/* Detecting Server Settings... ------------------------------------*/ /* Environment: Live */ /* Media Server to use: http://media.ef.com */ /* Detecting Browser Settings... ------------------------------------*/ /* Country: us /* Language: us /* Web crawler? True /* Your browser: generic crawler /* Your browser version: 1 /* Your platform: function platform(str) { //Use this if you are using short hand like 'windows' or 'mac' //The more speciffic you are the more likely this will give you an accurate response if (platform_n.indexOf(str)!=-1) { Response.WriteBlock(38) Response.Write(str) Response.WriteBlock(39) Response.Write(platform_n) Response.WriteBlock(40) return true; } else { return false; } } /* Accepts Style sheets? False /* /* You can switch style sheets using the following scripts: /* (remove spaces between < and % for asp /* < %if(browser("IE==5")) {% > Your styles < %}% > /* for multiple use commas, for version equal to less than or greater than use conditionals <,>,==,!=,>=,<= /* < %if(browser("IE>5,firefox,safari<3")) {% > Your styles < %}% > /* /* the following variables may also be used /* browser_n (browser name), browser_v (version), isCrawler (boolean true if a spider) */ ie5 = (document.all && document.getElementById) ? true : false; ns6 = (!document.all && document.getElementById) ? true : false; ie7 = (document.all && !window.opera && window.XMLHttpRequest) ? true : false; //testimonial data promoNum = 0; promoArray = new Array(); promoUrl = "/_media/lt/prom_xml.asp"; promoPars = "ctr=us&type=news,"; function newsPromoSetup() { promoXmlOpen("GET",promoUrl,promoPars,theResponseHandler); } function setPromoArray (originalRequest) { var newData = originalRequest.responseXML; dataArray = newData.getElementsByTagName("promo"); } //this function is called when the page is loaded function promosSetup() { if(promoArray.length != 0) { var promoHolder = document.getElementById("promoContainer"); var outString = ""; for(i = 0; i <= promoArray.length - 1; i ++) { curPromo = promoArray[i]; if(curPromo[3].indexOf("promo_id") != -1) { curLink = "/master/lt/news/promotions/" + curPromo[3]; } else { curLink = curPromo[3]; } outString += "
" + curPromo[1] + " 