function openStartPage() { try { if(typeof(window.opener)!="undefined") { var ps_mlx_child_win = window.self; if(typeof(ps_mlx_child_win.opener)!="undefined") { //while((ps_mlx_child_win!="undefined") &&(!ps_mlx_child_win.closed)) while(ps_mlx_child_win!="undefined") { ps_mlx_child_win = ps_mlx_child_win.opener; if((typeof(ps_mlx_child_win.opener)=="undefined")) { if((!ps_mlx_child_win.closed)) { ps_mlx_child_win.location.href="/"; break; } } } } else { ps_mlx_child_win.location.href="/"; } } else { window.location.href="/"; } } catch(e) { window.open("/"); } } function SetfavPagesTop() { if(window.location.href.toString().toLowerCase().indexOf("contactus")==-1 ){ return; } if(document.getElementById("favPagesTop")!= null) { document.getElementById("favPagesTop").style.top="100px"; return; } else { window.setTimeout("SetfavPagesTop()",1); } } function CloseWin() { var ps_appname_new = ""; ps_appname_new = VirtualDir; if (ps_appname_new.toUpperCase() == "GCAR") { location.href = "/gcar/logout.aspx?close=true"; } else { top.close(); } } function InitializeSplashRequest() { try { request = new ActiveXObject("Microsoft.XMLHTTP");//Try creating an XMLHTTP Object } catch(Ex) { try { request = new ActiveXObject("Microsoft.XMLHTTP");//First failure, try again creating an XMLHTTP Object } catch(Ex) { request = null;//Else assign null to request } } if(!request&&typeof XMLHttpRequest != 'undefined') { request = new XMLHttpRequest(); } } function ProcessSplashRequest() { if(request.readyState == 4)//If the readyState is in the "Ready" state { if(request.status == 200)//If the returned status code was 200. Everything was OK. { if(request.responseText != "")//If responseText is not blank { var formatstr = request.responseText; if (formatstr.indexOf("^^") < 0) { var arrstr = formatstr.split('||'); window.open(arrstr[0],arrstr[1],arrstr[2]); } else { var retstr = formatstr.split('^^'); var i = 0; for (i = 0; i < retstr.length ;i++) { var winstr = retstr[i].split('||'); window.open(winstr[0],winstr[1],winstr[2]); } } } } } return true;//return } function SendSplashRequest(APPID) { InitializeSplashRequest(); var url = "/public/bin/_include/splashajax.asp?APPID=" + APPID; request.onreadystatechange = ProcessSplashRequest; request.open("GET", url, true); request.send(null); } var HDR_HEIGHT = 65; function buildIt(){}