var url = document.location.toString();

var server, flashSrc;


if (url.search("localhost") > -1) 
{

	server = "localhost";
	flashSrc = "/Enterasys.Web/flash/tradeGothic.swf";
}
else if (url.search("\/kr\/") > -1) 
{
	server = "kr";
	flashSrc = "/kr/flash/korean.swf";
}
else if (url.search("\/solutions\/") > -1) 
{

    server = "solutions";
    flashSrc = "/flash/tradeGothic.swf";
}
else 
{

	server = "live";
	flashSrc = "/flash/tradeGothic.swf";
}

 var tradeGothic = {
   src: flashSrc
 };


 if (server == "live") 
 {
  sIFR.debugMode = true;
  sIFR.prefetch(tradeGothic);
  sIFR.activate();
  
    sIFR.replace(tradeGothic, {
    selector: 'h2'
	,thickness: '0'
    ,css: {
    '.sIFR-root': { 'color': '#414b56', 'background-color': '#ffffff', 'font-weight': 'normal', 'font-size': '22px' }
    }
  });
}

if (server == "solutions") 
{
    sIFR.prefetch(tradeGothic);
    sIFR.activate();

    sIFR.replace(tradeGothic, {
        selector: 'h2'
	, thickness: '0'
    , css: {
        '.sIFR-root': { 'color': '#414b56','background-color' : '#F8F8F8', 'font-weight': 'normal', 'font-size': '22px' }
    }
    });
}



