function PopupDivToPrint(c,a,d){var b=window.open("","mywindow","left=0,top=0,width="+d+",height="+a+",toolbar=0,scrollbars=0,status=0,resizable=1");b.document.open();b.document.write("<html><head></head><body onload='print()'>");b.document.write(document.getElementById(c).innerHTML);b.document.write("</body></html>");if(b){b.document.close()}return true}function ClientAreaHeight(){myHeight=0;if(typeof(window.innerWidth)=="number"){myHeight=window.innerHeight}else{if(document.documentElement&&(document.documentElement.clientWidth||document.documentElement.clientHeight)){myHeight=document.documentElement.clientHeight}else{if(document.body&&(document.body.clientWidth||document.body.clientHeight)){myHeight=document.body.clientHeight}}}return myHeight}function ClientAreaWidth(){var a=0;if(typeof(window.innerWidth)=="number"){a=window.innerWidth}else{if(document.documentElement&&(document.documentElement.clientWidth||document.documentElement.clientHeight)){a=document.documentElement.clientWidth}else{if(document.body&&(document.body.clientWidth||document.body.clientHeight)){a=document.body.clientWidth}}}return a}function SleepPprocessing(c){var b=new Date();var a=null;do{a=new Date()}while(a-b<c)}function OpenjQueryPopup(a){a="#"+a;jQuery(a).dialog({bgiframe:true,width:621,modal:true,autoOpen:false,resizable:false,zIndex:100009,closeOnEscape:true});jQuery(a).dialog("open")}function ClosejQueryPopup(a){a="#"+a;jQuery(a).dialog("close")};
/*var secureUrlPattern='|117|137|1947|1948|1983|1984|1985|1986|2002|2049|2059|';if(location.protocol.toLowerCase()=='http:'&&location.href.match(secureUrlPattern))location.href=location.href.replace('http:','https:');else if(location.protocol.toLowerCase()=='https:'&&!location.href.match(secureUrlPattern))location.href=location.href.replace('https:','http:');
javascript.js*/
function GetAddress(){document.getElementById("HouseNumb").value="Rail Europe";document.getElementById("Street").value="34 Tower View";document.getElementById("Town").value="Kings Hill, West Malling";document.getElementById("County").value="Kent"}function GetDeliveryAddress(){document.getElementById("DHouseNumb").value=document.getElementById("HouseNumb").value;document.getElementById("DStreet").value=document.getElementById("Street").value;document.getElementById("DTown").value=document.getElementById("Town").value;document.getElementById("DCounty").value=document.getElementById("County").value}function ShowBookingForm(){document.getElementById("BookingForm").style.display="block";document.getElementById("JourneySummary").style.display="none"}function HideBookingForm(){document.getElementById("BookingForm").style.display="none";document.getElementById("JourneySummary").style.display="block"}function ConfirmEmailReminder(){document.getElementById("EmailReminder").style.display="none";document.getElementById("EmailReminderConfirm").style.display="block"}function ShowInterRail(){document.getElementById("SwissPass").style.display="none";document.getElementById("InterRail").style.display="block"}function ShowSwissPass(){document.getElementById("InterRail").style.display="none";document.getElementById("SwissPass").style.display="block"}function ShowItinery(a){document.getElementById("Itinery"+a).style.display="block"}function ShowBTN(b,a){document.getElementById(b).style.display="none";document.getElementById(a).style.display="block"}function HideBTN(b,a){document.getElementById(b).style.display="block";document.getElementById(a).style.display="none"}function ShowPassenger(a){document.getElementById("Passenger"+a).style.display="block"}function ShowDetails(a){el=document.getElementById(a);var b=el.style.display?"":"none";el.style.display=b}function ShowExpandResults(a){document.getElementById("ExpandOptions"+a).style.display="block";document.getElementById("BookNow"+a).style.display="none";document.getElementById("CloseOption"+a).style.display="block";document.getElementById("PriceChange"+a).style.display="block";document.getElementById("TrainExpand"+a).style.display="block"}function HideExpandResults(a){document.getElementById("ExpandOptions"+a).style.display="none";document.getElementById("BookNow"+a).style.display="block";document.getElementById("CloseOption"+a).style.display="none";document.getElementById("PriceChange"+a).style.display="none";document.getElementById("TrainExpand"+a).style.display="none"}function HideSummary(b){var a=confirm("Remove this journey?");if(a){document.getElementById("BasketJourneySummary"+b).style.display="none"}}function HideParisSummary(b){var a=confirm("Remove this Paris PLUS pass?");if(a){document.getElementById("AddonSummaryText"+b).style.display="none"}}function UpdatePrice(b,c,d){var a=1;for(a=1;a<=d;a++){for(j=1;j<=7;j++){document.getElementById(d+"c"+a+"r"+j).className="NonSelectedExpand"}}var a=4;for(a=4;a<=6;a++){for(j=1;j<=7;j++){document.getElementById(d+"c"+a+"r"+j).className="NonSelectedExpandPrices"}}var a=1;for(a=1;a<=d;a++){document.getElementById(d+"c"+a+"r"+c).className="SelectedExpand"}var a=4;for(a=4;a<=6;a++){document.getElementById(d+"c"+a+"r"+c).className="SelectedExpandPrices"}document.getElementById(d+"TotalPrice").innerHTML="£"+b.value+"*";if(document.getElementById(d+"c1r"+c).innerHTML=="Standard Class Seat"){document.getElementById(d+"Leg1Extras").innerHTML='<div class="fl" style="padding:2px;"><img src="/00 - Web Site Images/Disabled_info_BTN_blue.gif" alt="Disabled Access" /></div>';document.getElementById(d+"Leg1Title").innerHTML="Standard Class Seat";document.getElementById(d+"Leg1Image").innerHTML='<img src="/00 - Web Site Images/Img_test_EstarStandard.jpg" />';document.getElementById(d+"Leg1Description").innerHTML="Everything a traveller needs<ul><li>Decent seat</li></ul>"}if(document.getElementById(d+"c1r"+c).innerHTML=="Leisure Select Seat"){document.getElementById(d+"Leg1Extras").innerHTML='<div class="fl" style="padding:2px;"><img src="/00 - Web Site Images/Disabled_info_BTN_blue.gif" alt="Disabled Access" /></div><div class="fl" style="padding:2px;"><img src="/00 - Web Site Images/Food_info_BTN_blue.png" alt="Meal included" /></div><div class="fl" style="padding:2px;"><img src="/00 - Web Site Images/Bar_info_BTN.png" alt="Snack Bar on board" /></div>';document.getElementById(d+"Leg1Title").innerHTML="Leisure Select Seat";document.getElementById(d+"Leg1Image").innerHTML='<img src="/00 - Web Site Images/Img_test_estar_First.jpg" />';document.getElementById(d+"Leg1Description").innerHTML="Everything a traveller needs<ul><li>Decent seat</li><li>Waiter service</li></ul>"}if(document.getElementById(d+"c1r"+c).innerHTML=="Business Premier Seat"){document.getElementById(d+"Leg1Extras").innerHTML='<div class="fl" style="padding:2px;"><img src="/00 - Web Site Images/Disabled_info_BTN_blue.gif" alt="Disabled Access" /></div><div class="fl" style="padding:2px;"><img src="/00 - Web Site Images/Food_info_BTN_blue.png" alt="Meal included" /></div><div class="fl" style="padding:2px;"><img src="/00 - Web Site Images/Bar_info_BTN.png" alt="Snack Bar on board" /></div>';document.getElementById(d+"Leg1Title").innerHTML="Business Premier Seat";document.getElementById(d+"Leg1Image").innerHTML='<img src="/00 - Web Site Images/Img_estar_business.jpg" />';document.getElementById(d+"Leg1Description").innerHTML="Everything a businessman needs<ul><li>Decent seat</li><li>Electric plug</li><li>Waiter service</li></ul>"}if(document.getElementById(d+"c2r"+c).innerHTML=="Four Berth Sleeper"){document.getElementById(d+"Leg2Extras").innerHTML='<div class="fl" style="padding:2px;"><img src="/00 - Web Site Images/Disabled_info_BTN_blue.gif" alt="Disabled Access" /></div><div class="fl" style="padding:2px;"><img src="/00 - Web Site Images/Food_info_BTN_blue.png" alt="Meal included" /></div><div class="fl" style="padding:2px;"><img src="/00 - Web Site Images/Bar_info_BTN.png" alt="Snack Bar on board" /></div>';document.getElementById(d+"Leg2Title").innerHTML="Four Berth Sleeper";document.getElementById(d+"Leg2Image").innerHTML='<img src="/00 - Web Site Images/Img_test_night4.jpg" />';document.getElementById(d+"Leg2Description").innerHTML="Everything for a good night sleep<ul><li>Decent seat/bed</li></ul>"}if(document.getElementById(d+"c2r"+c).innerHTML=="Double Sleeper"){document.getElementById(d+"Leg2Extras").innerHTML='<div class="fl" style="padding:2px;"><img src="/00 - Web Site Images/Disabled_info_BTN_blue.gif" alt="Disabled Access" /></div><div class="fl" style="padding:2px;"><img src="/00 - Web Site Images/Food_info_BTN_blue.png" alt="Meal included" /></div><div class="fl" style="padding:2px;"><img src="/00 - Web Site Images/Bar_info_BTN.png" alt="Snack Bar on board" /></div>';document.getElementById(d+"Leg2Title").innerHTML="Double Sleeper";document.getElementById(d+"Leg2Image").innerHTML='<img src="/00 - Web Site Images/Img_test_night.jpg" />';document.getElementById(d+"Leg2Description").innerHTML="Everything for a good night sleep<ul><li>Decent seat/bed</li><li>Sleeps 4</li></ul>"}if(document.getElementById(d+"c2r"+c).innerHTML=="Single Sleeper with Shower"){document.getElementById(d+"Leg2Extras").innerHTML='<div class="fl" style="padding:2px;"><img src="/00 - Web Site Images/Disabled_info_BTN_blue.gif" alt="Disabled Access" /></div><div class="fl" style="padding:2px;"><img src="/00 - Web Site Images/Food_info_BTN_blue.png" alt="Meal included" /></div><div class="fl" style="padding:2px;"><img src="/00 - Web Site Images/Bar_info_BTN.png" alt="Snack Bar on board" /></div>';document.getElementById(d+"Leg2Title").innerHTML="Single Sleeper with Shower";document.getElementById(d+"Leg2Image").innerHTML='<img src="/00 - Web Site Images/Img_test_night3.jpg" />';document.getElementById(d+"Leg2Description").innerHTML="Everything for a good night sleep<ul><li>Decent seat/bed</li><li>Sleeps 1</li><li>Clean water</ul>"}if(document.getElementById(d+"c3r"+c).innerHTML=="Standard Class Seat"){document.getElementById(d+"Leg3Extras").innerHTML='<div class="fl" style="padding:2px;"><img src="/00 - Web Site Images/Disabled_info_BTN_blue.gif" alt="Disabled Access" /></div><div class="fl" style="padding:2px;"><img src="/00 - Web Site Images/Food_info_BTN_blue.png" alt="Meal included" /></div><div class="fl" style="padding:2px;"><img src="/00 - Web Site Images/Bar_info_BTN.png" alt="Snack Bar on board" /></div>';document.getElementById(d+"Leg3Title").innerHTML="Standard Class Seat";document.getElementById(d+"Leg3Image").innerHTML='<img src="/00 - Web Site Images/Img_test_ter2.jpg" />';document.getElementById(d+"Leg3Description").innerHTML="Everything for a good night sleep<ul><li>Decent seat/bed</li><li>Sleeps 1</li><li>Clean water</ul>"}if(document.getElementById(d+"c3r"+c).innerHTML=="First Class Seat"){document.getElementById(d+"Leg3Extras").innerHTML='<div class="fl" style="padding:2px;"><img src="/00 - Web Site Images/Disabled_info_BTN_blue.gif" alt="Disabled Access" /></div><div class="fl" style="padding:2px;"><img src="/00 - Web Site Images/Food_info_BTN_blue.png" alt="Meal included" /></div><div class="fl" style="padding:2px;"><img src="/00 - Web Site Images/Bar_info_BTN.png" alt="Snack Bar on board" /></div>';document.getElementById(d+"Leg3Title").innerHTML="First Class Seat";document.getElementById(d+"Leg3Image").innerHTML='<img src="/00 - Web Site Images/Img_test_ter1.jpg" />';document.getElementById(d+"Leg3Description").innerHTML="Everything for a good night sleep<ul><li>Decent seat/bed</li><li>Sleeps 1</li><li>Clean water</ul>"}}function ChangeBookingForm(a){if(a=="1"){document.getElementById("IR_Bookingform").style.display="none";document.getElementById("PTP_Bookingform").style.display="block";document.getElementById("RailPassTabs").style.display="none";document.getElementById("PTPTabs").style.display="block"}if(a=="2"){document.getElementById("IR_Bookingform").style.display="block";document.getElementById("PTP_Bookingform").style.display="none";document.getElementById("RailPassTabs").style.display="block";document.getElementById("PTPTabs").style.display="none"}}function UpdateValues(){if((document.getElementById("class").value)=="1"){document.getElementById("YouthPrice").innerHTML="N/A";document.getElementById("Youths").disabled=true;if((document.getElementById("Type").value)=="1"){if((document.getElementById("period").value)=="1"){document.getElementById("AdultPrice").innerHTML="@ £234";document.getElementById("ChildPrice").innerHTML="@ £117"}if((document.getElementById("period").value)=="2"){document.getElementById("AdultPrice").innerHTML="@ £262";document.getElementById("ChildPrice").innerHTML="@ £131"}if((document.getElementById("period").value)=="3"){document.getElementById("AdultPrice").innerHTML="@ £334";document.getElementById("ChildPrice").innerHTML="@ £167"}if((document.getElementById("period").value)=="4"){document.getElementById("AdultPrice").innerHTML="@ £371";document.getElementById("ChildPrice").innerHTML="@ £186"}}if((document.getElementById("Type").value)=="2"){if((document.getElementById("period").value)=="1"){document.getElementById("AdultPrice").innerHTML="@ £135";document.getElementById("ChildPrice").innerHTML="@ £68"}if((document.getElementById("period").value)=="2"){document.getElementById("AdultPrice").innerHTML="@ £173";document.getElementById("ChildPrice").innerHTML="@ £87"}if((document.getElementById("period").value)=="3"){document.getElementById("AdultPrice").innerHTML="@ £234";document.getElementById("ChildPrice").innerHTML="@ £117"}if((document.getElementById("period").value)=="4"){document.getElementById("AdultPrice").innerHTML="@ £284";document.getElementById("ChildPrice").innerHTML="@ £142"}}if((document.getElementById("Type").value)=="3"){if((document.getElementById("period").value)=="1"){document.getElementById("AdultPrice").innerHTML="@ £86";document.getElementById("ChildPrice").innerHTML="@ £43"}if((document.getElementById("period").value)=="2"){document.getElementById("AdultPrice").innerHTML="@ £111";document.getElementById("ChildPrice").innerHTML="@ £56"}if((document.getElementById("period").value)=="3"){document.getElementById("AdultPrice").innerHTML="@ £148";document.getElementById("ChildPrice").innerHTML="@ £74"}if((document.getElementById("period").value)=="4"){document.getElementById("AdultPrice").innerHTML="@ £173";document.getElementById("ChildPrice").innerHTML="@ £83"}}if((document.getElementById("Type").value)=="4"){if((document.getElementById("period").value)=="1"){document.getElementById("AdultPrice").innerHTML="@ £62";document.getElementById("ChildPrice").innerHTML="@ £32"}if((document.getElementById("period").value)=="2"){document.getElementById("AdultPrice").innerHTML="@ £86";document.getElementById("ChildPrice").innerHTML="@ £43"}if((document.getElementById("period").value)=="3"){document.getElementById("AdultPrice").innerHTML="@ £123";document.getElementById("ChildPrice").innerHTML="@ £62"}if((document.getElementById("period").value)=="4"){document.getElementById("AdultPrice").innerHTML="@ £148";document.getElementById("ChildPrice").innerHTML="@ £74"}}}else{document.getElementById("Youths").disabled=false;if((document.getElementById("Type").value)=="1"){if((document.getElementById("period").value)=="1"){document.getElementById("AdultPrice").innerHTML="@ £174";document.getElementById("ChildPrice").innerHTML="@ £87";document.getElementById("YouthPrice").innerHTML="@ £115"}if((document.getElementById("period").value)=="2"){document.getElementById("AdultPrice").innerHTML="@ £192";document.getElementById("ChildPrice").innerHTML="@ £96";document.getElementById("YouthPrice").innerHTML="@ £128"}if((document.getElementById("period").value)=="3"){document.getElementById("AdultPrice").innerHTML="@ £247";document.getElementById("ChildPrice").innerHTML="@ £124";document.getElementById("YouthPrice").innerHTML="@ £161"}if((document.getElementById("period").value)=="4"){document.getElementById("AdultPrice").innerHTML="@ £275";document.getElementById("ChildPrice").innerHTML="@ £138";document.getElementById("YouthPrice").innerHTML="@ £178"}}if((document.getElementById("Type").value)=="2"){if((document.getElementById("period").value)=="1"){document.getElementById("AdultPrice").innerHTML="@ £100";document.getElementById("ChildPrice").innerHTML="@ £50";document.getElementById("YouthPrice").innerHTML="@ £66"}if((document.getElementById("period").value)=="2"){document.getElementById("AdultPrice").innerHTML="@ £128";document.getElementById("ChildPrice").innerHTML="@ £64";document.getElementById("YouthPrice").innerHTML="@ £83"}if((document.getElementById("period").value)=="3"){document.getElementById("AdultPrice").innerHTML="@ £174";document.getElementById("ChildPrice").innerHTML="@ £87";document.getElementById("YouthPrice").innerHTML="@ £113"}if((document.getElementById("period").value)=="4"){document.getElementById("AdultPrice").innerHTML="@ £211";document.getElementById("ChildPrice").innerHTML="@ £106";document.getElementById("YouthPrice").innerHTML="@ £137"}}if((document.getElementById("Type").value)=="3"){if((document.getElementById("period").value)=="1"){document.getElementById("AdultPrice").innerHTML="@ £64";document.getElementById("ChildPrice").innerHTML="@ £32";document.getElementById("YouthPrice").innerHTML="@ £42"}if((document.getElementById("period").value)=="2"){document.getElementById("AdultPrice").innerHTML="@ £82";document.getElementById("ChildPrice").innerHTML="@ £41";document.getElementById("YouthPrice").innerHTML="@ £54"}if((document.getElementById("period").value)=="3"){document.getElementById("AdultPrice").innerHTML="@ £110";document.getElementById("ChildPrice").innerHTML="@ £55";document.getElementById("YouthPrice").innerHTML="@ £71"}if((document.getElementById("period").value)=="4"){document.getElementById("AdultPrice").innerHTML="@ £128";document.getElementById("ChildPrice").innerHTML="@ £64";document.getElementById("YouthPrice").innerHTML="@ £83"}}if((document.getElementById("Type").value)=="4"){if((document.getElementById("period").value)=="1"){document.getElementById("AdultPrice").innerHTML="@ £45";document.getElementById("ChildPrice").innerHTML="@ £23";document.getElementById("YouthPrice").innerHTML="@ £30"}if((document.getElementById("period").value)=="2"){document.getElementById("AdultPrice").innerHTML="@ £64";document.getElementById("ChildPrice").innerHTML="@ £32";document.getElementById("YouthPrice").innerHTML="@ £42"}if((document.getElementById("period").value)=="3"){document.getElementById("AdultPrice").innerHTML="@ £91";document.getElementById("ChildPrice").innerHTML="@ £46";document.getElementById("YouthPrice").innerHTML="@ £59"}if((document.getElementById("period").value)=="4"){document.getElementById("AdultPrice").innerHTML="@ £110";document.getElementById("ChildPrice").innerHTML="@ £55";document.getElementById("YouthPrice").innerHTML="@ £71"}}}}function CalculateTotal(){totalAdult=(parseInt((document.getElementById("AdultPrice").innerHTML).substring(3))*document.getElementById("Adult").value);totalChild=(parseInt((document.getElementById("ChildPrice").innerHTML).substring(3))*document.getElementById("Children").value);if(document.getElementById("YouthPrice").innerHTML=="N/A"){strYouthPrice="0"}else{strYouthPrice=parseInt((document.getElementById("YouthPrice").innerHTML).substring(3))}totalYouth=(strYouthPrice*document.getElementById("Youths").value);total=(totalAdult+totalChild+totalYouth);if(!isNaN(total)){document.getElementById("InterRailTotal").innerHTML="£"+total}};
/*gradient.js*/
window.addEventListener?window.addEventListener("load",createGradient,false):window.attachEvent("onload",createGradient);function createGradient(){if(!document.getElementById){return}objArray=getGradientObjects();if(!objArray.length){return}for(i=0;i<objArray.length;i++){params=objArray[i].id.split(" ");if(document.all&&!window.opera){objArray[i].style.width=objArray[i].offsetWidth+"px";params[3]=="horizontal"?gType=1:gType=0;objArray[i].style.filter="progid:DXImageTransform.Microsoft.Gradient(GradientType="+gType+',StartColorStr="#'+params[1]+'",EndColorStr="#'+params[2]+'")'}else{colorArray=createColorPath(params[1],params[2]);x=0;y=0;if(params[3]=="horizontal"){w=Math.round(objArray[i].offsetWidth/colorArray.length);if(!w){w=1}h=objArray[i].offsetHeight}else{h=Math.round((objArray[i].offsetHeight/colorArray.length)*10)/10;if(!h){h=1}w=objArray[i].offsetWidth}makeGrandParent(objArray[i]);tmpDOM=document.createDocumentFragment();for(p=0;p<colorArray.length;p++){g=document.createElement("div");g.setAttribute("style","position:absolute;z-index:0;top:"+y+"px;left:"+x+"px;height:"+h+"px;width:"+w+"px;background-color:rgb("+colorArray[p][0]+","+colorArray[p][1]+","+colorArray[p][2]+");");params[3]=="horizontal"?x+=w:y+=h;tmpDOM.appendChild(g);if(y>=objArray[i].offsetHeight||x>=objArray[i].offsetWidth){break}}objArray[i].appendChild(tmpDOM);tmpDOM=null}}}function getGradientObjects(){a=document.getElementsByTagName("*");objs=new Array();for(i=0;i<a.length;i++){c=a[i].id;if(c!=""){if(c.indexOf("gradient")==0){objs[objs.length]=a[i]}}}return objs}function createColorPath(d,b){colorPath=new Array();colorPercent=1;do{colorPath[colorPath.length]=setColorHue(longHexToDec(d),colorPercent,longHexToDec(b));colorPercent-=0.01}while(colorPercent>0);return colorPath}function setColorHue(d,b,e){returnColor=new Array();for(w=0;w<d.length;w++){returnColor[w]=Math.round(d[w]*b)+Math.round(e[w]*(1-b))}return returnColor}function longHexToDec(b){return new Array(toDec(b.substring(0,2)),toDec(b.substring(2,4)),toDec(b.substring(4,6)))}function toDec(b){return parseInt(b,16)}function makeGrandParent(b){disp=document.defaultView.getComputedStyle(b,"").display;disp=="block"?nSpan=document.createElement("div"):nSpan=document.createElement("span");mHTML=b.innerHTML;b.innerHTML="";nSpan.innerHTML=mHTML;nSpan.setAttribute("style","position:relative;z-index:10;");b.appendChild(nSpan)};
/*AC_OETags.js*/
var isIE=(navigator.appVersion.indexOf("MSIE")!=-1)?true:false;var isWin=(navigator.appVersion.toLowerCase().indexOf("win")!=-1)?true:false;var isOpera=(navigator.userAgent.indexOf("Opera")!=-1)?true:false;function ControlVersion(){var a;var b;var c;try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");a=b.GetVariable("$version")}catch(c){}if(!a){try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");a="WIN 6,0,21,0";b.AllowScriptAccess="always";a=b.GetVariable("$version")}catch(c){}}if(!a){try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");a=b.GetVariable("$version")}catch(c){}}if(!a){try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");a="WIN 3,0,18,0"}catch(c){}}if(!a){try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");a="WIN 2,0,0,11"}catch(c){a=-1}}return a}function GetSwfVer(){var g=-1;if(navigator.plugins!=null&&navigator.plugins.length>0){if(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]){var f=navigator.plugins["Shockwave Flash 2.0"]?" 2.0":"";var a=navigator.plugins["Shockwave Flash"+f].description;var e=a.split(" ");var c=e[2].split(".");var h=c[0];var b=c[1];var d=e[3];if(d==""){d=e[4]}if(d[0]=="d"){d=d.substring(1)}else{if(d[0]=="r"){d=d.substring(1);if(d.indexOf("d")>0){d=d.substring(0,d.indexOf("d"))}}}var g=h+"."+b+"."+d}}else{if(navigator.userAgent.toLowerCase().indexOf("webtv/2.6")!=-1){g=4}else{if(navigator.userAgent.toLowerCase().indexOf("webtv/2.5")!=-1){g=3}else{if(navigator.userAgent.toLowerCase().indexOf("webtv")!=-1){g=2}else{if(isIE&&isWin&&!isOpera){g=ControlVersion()}}}}}return g}function DetectFlashVer(f,d,c){versionStr=GetSwfVer();if(versionStr==-1){return false}else{if(versionStr!=0){if(isIE&&isWin&&!isOpera){tempArray=versionStr.split(" ");tempString=tempArray[1];versionArray=tempString.split(",")}else{versionArray=versionStr.split(".")}var e=versionArray[0];var a=versionArray[1];var b=versionArray[2];if(e>parseFloat(f)){return true}else{if(e==parseFloat(f)){if(a>parseFloat(d)){return true}else{if(a==parseFloat(d)){if(b>=parseFloat(c)){return true}}}}}return false}}}function AC_AddExtension(b,a){if(b.indexOf("?")!=-1){return b.replace(/\?/,a+"?")}else{return b+a}}function AC_Generateobj(e,d,a){var c="";if(isIE&&isWin&&!isOpera){c+="<object ";for(var b in e){c+=b+'="'+e[b]+'" '}for(var b in d){c+='><param name="'+b+'" value="'+d[b]+'" /> '}c+="></object>"}else{c+="<embed ";for(var b in a){c+=b+'="'+a[b]+'" '}c+="> </embed>"}document.write(c)}function AC_FL_RunContent(){var a=AC_GetArgs(arguments,".swf","movie","clsid:d27cdb6e-ae6d-11cf-96b8-444553540000","application/x-shockwave-flash");AC_Generateobj(a.objAttrs,a.params,a.embedAttrs)}function AC_GetArgs(b,e,g,d,h){var a=new Object();a.embedAttrs=new Object();a.params=new Object();a.objAttrs=new Object();for(var c=0;c<b.length;c=c+2){var f=b[c].toLowerCase();switch(f){case"classid":break;case"pluginspage":a.embedAttrs[b[c]]=b[c+1];break;case"src":case"movie":b[c+1]=AC_AddExtension(b[c+1],e);a.embedAttrs.src=b[c+1];a.params[g]=b[c+1];break;case"onafterupdate":case"onbeforeupdate":case"onblur":case"oncellchange":case"onclick":case"ondblClick":case"ondrag":case"ondragend":case"ondragenter":case"ondragleave":case"ondragover":case"ondrop":case"onfinish":case"onfocus":case"onhelp":case"onmousedown":case"onmouseup":case"onmouseover":case"onmousemove":case"onmouseout":case"onkeypress":case"onkeydown":case"onkeyup":case"onload":case"onlosecapture":case"onpropertychange":case"onreadystatechange":case"onrowsdelete":case"onrowenter":case"onrowexit":case"onrowsinserted":case"onstart":case"onscroll":case"onbeforeeditfocus":case"onactivate":case"onbeforedeactivate":case"ondeactivate":case"type":case"codebase":a.objAttrs[b[c]]=b[c+1];break;case"id":case"width":case"height":case"align":case"vspace":case"hspace":case"class":case"title":case"accesskey":case"name":case"tabindex":a.embedAttrs[b[c]]=a.objAttrs[b[c]]=b[c+1];break;default:a.embedAttrs[b[c]]=a.params[b[c]]=b[c+1]}}a.objAttrs.classid=d;if(h){a.embedAttrs.type=h}return a};
var secureUrlPattern='|1947|1984|2049|2059|1948|1973|2002|';var tabId='|'+document.getElementById('hdnCurrentTabId').value+'|';if(location.protocol.toLowerCase()=='http:'&& secureUrlPattern.indexOf(tabId)!=-1)location.href=location.href.replace('http:','https:');else if(location.protocol.toLowerCase()=='https:'&& secureUrlPattern.indexOf(tabId)==-1) location.href=location.href.replace('https:','http:');