﻿if(window.location.host.search(/:8080/) > -1)
{
  document.write("<span style=\"position:absolute; top:10px; right:10px; color:#009933; font-weight:bold; font-size:1.1em; \">Test</span>");
}
else if(window.location.host.search(/localhost/) > -1)
{
  document.write("<span style=\"position:absolute; top:10px; right:10px; color:#0099FF; font-weight:bold; font-size:1.1em; \">Local</span>");
}