//      EXPLORER DESTROYER      -->
//     explorerdestroyer.com    -->
//     LEVEL 2:  SEMI-SERIOUS    -->
//  To install, follow the instructions that come with the scripts. -->
// 
//IMPORTANT: Where to place the script
//The key part of installing the script is to copy and past the full contents of this file in place of the 
//<body> tag in your html.  
//Doing so will put the script code where it belongs and will use the <body> tag that appears directly below 
//this comment in place of the one in your current HTML (you need that javascript bit for the script to work).
//<!-- 
//UNDER 50 SETTING
//If you would like to send stats to explorerdestroyer.com about what percentage of your visitors are using 
//IE, set the variable below called 'hasFF_phone_home' to 1.  
//Check out the sidebar on explorerdestroyer.com for more info about the 'get under 50' campaign.  If the 
//variable is set to 0, no info will be sent.
//-->

<!--
var hasFF_phone_home = 0;

// This function does the actual browser detection
function hasFF_FF() {
  var ua = navigator.userAgent.toLowerCase();
//  return ((ua.indexOf('msie') == -1) && (ua.indexOf('opera') != -1) && 
//          (ua.indexOf('webtv') == -1) && (navigator.userAgent.indexOf("Firefox")==-1) &&
  return ((navigator.userAgent.indexOf("Firefox")!=-1) &&
          (location.href.indexOf('seenIEPage') == -1));
}

function hasFF_showOnlyLayer(whichLayer)
{
  if (document.getElementById)
    {
      var style2 = document.getElementById(whichLayer);
    }
  else if (document.all)
    {
      var style2 = document.all[whichLayer];
    }
  else if (document.layers)
    {
      var style2 = document.layers[whichLayer];
    }
  var body = document.getElementsByTagName('body');
  body[0].innerHTML = style2.innerHTML;
}

function hasFF_showLayer(whichLayer)
{
  if (document.getElementById)
    {
      var style2 = document.getElementById(whichLayer).style;
      style2.display = "block";
    }
  else if (document.all)
    {
      var style2 = document.all[whichLayer].style;
      style2.display = "block";
    }
  else if (document.layers)
    {
      var style2 = document.layers[whichLayer].style;
      style2.display = "block";
    }
}

function hasFF_moveAd(adid) {
  if (document.getElementById)
    {
      var ad = document.getElementById('hasFF_ad');
      var adloc = document.getElementById(adid);
    }
  else if (document.all)
    {
      var ad = document.all['hasFF_ad'];
      var adloc = document.all[adid];
    }
  else if (document.layers)
    {
      var ad = document.layers['hasFF_ad'];
      var adloc = document.layers[adid];
    }
  adloc.innerHTML = ad.innerHTML;
}

// Hides and shows sections of the page based on whether or not it's running in IE
function hasFF_hideAndShow() {
  if (hasFF_FF()) {
    hasFF_showOnlyLayer("hasFF_level2");
          if (hasFF_phone_home == 1)
            hasFF_phoneHome('getIE_pingimage2');
  } else {
    if (hasFF_phone_home == 1)
      hasFF_phoneHome('getIE_pingimage0');
  }
}

function hasFF_phoneHome(image) {
  if (document.getElementById)
    {
      var img = document.getElementById(image);
    }
  else if (document.all)
    {
      var img = document.all[image];
    }
  else if (document.layers)
    {
      var img = document.layers[image];
    }
  img.setAttribute('src','http://getunder50.com/ping.php?host='+location.host);

}

function hasFF_ContinueWithoutIE() {
    if (location.href.indexOf('?') != -1)
        location.href += '&seenIEPage=1';
    else
        location.href += '?seenIEPage=1';
}
//////////////////////////////////WRITE CODE//////////////////////////////////////
	document.write("<span style='position:absolute; width: 0px; height:0px; left:-1000px; top: -1000px'><img id='getIE_pingimage0'/></span>");
	document.write("<!-- LEVEL 2: SPLASH WITH CLICK THROUGH --> ");
	document.write("<div id='hasFF_level2' style='display: none;'>");
	document.write("<span style='position:absolute; width: 0px; height:0px; left:-1000px; top: -1000px'><img id='getIE_pingimage2'/></span>");
	document.write("<p>");
	document.write("<div style='padding: 0px; background-color: #FFFFFF; font-family: arial; height: 100%; font-size: 15px; font-weight: normal; color: #111111; line-height: 17px;'>");
	document.write("<div style='width: 630px; margin: 0 auto 0 auto;'>");
	document.write("<div style='padding-left: 10px; padding-top: 0px; float: right;'>");
	document.write("<!-- REPLACE THIS BLOCK OF SCRIPT WITH YOUR OWN FIREFOX REFERRAL BUTTON -->");
	document.write("<a href='http://www.microsoft.com/ie' onClick='IE();return false'><img src=images/IE8-Get_240x108.jpg width='286' height='114'></a>");
	document.write("</div>");
	document.write("<strong>We see you're using Safari, which is not compatible with this site.&nbsp;&nbsp;We strongly suggest using Windows Internet Explorer 8 on Windows XP, Windows Vista, & Windows 7.  We think you'll like it better:</strong>  ");
	document.write("<p>");
	document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>&middot;</strong> Internet Explorer blocks pop-up windows.");
	document.write("<br>");
	document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>&middot;</strong> It's more secure against viruses and spyware.");
	document.write("<br>");
	document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>&middot;</strong> It's better for web designers and developers.");
	document.write("<br>");
	document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>&middot;</strong> Features like tabbed browsing. ");
	document.write("<br>");
	document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>&middot;</strong> Another feature includes a phishing filters to protect against Password stealing website");
	document.write("<p>");
	document.write("Click the IE8 Image on the right to download Internet Explorer For Windows XP SP2.&nbsp;&nbsp;It's free, and is included in Windows Vista.");
	document.write("<p>");
	document.write("<a href='javascript:hasFF_ContinueWithoutIE();' class=special>Continue without Internet Explorer >></a>");
	document.write("</div>");
	document.write("</div>");
	document.write("</div>");
//-->