document.write(''); document.write(''); document.write(''); document.write(' '); document.write(' '); document.write(' '); document.write('
'); document.write('

If this window does not automatically close, you may have a popup blocker which prevents the eAssistant from launching automatically.


'); document.write('
'); document.write(' Please configure your popup blocker to allow popups from this website or click here to launch the eAssistant manually.'); document.write('
'); //We have to try and create the control manually to see if it is installed function ActiveXInstalled() { var bFound = false; try { //*The following were commented out. Why? var ctrl = new ActiveXObject("WindowControl.WinCtrl"); bFound = true; var ctrl = NULL; //* } catch(objException) {} return bFound; } function ReloadMe() { if (ActiveXInstalled()) { window.location.reload() } } function AllowActiveX(){ var bFound = false; try{ WinCtrl.WindowId = "#TARGET#"; bFound = true; } catch(objException) {} return bFound; } function CloseWindow() { document.title="#TARGET#"; if(AllowActiveX()) { WinCtrl.WindowId = "#TARGET#"; if (parent != self) { history.back(); } else { WinCtrl.ForceClose(true); } } else { window.close(); } } function LaunchEAssistant() { var x, y, hWnd; var pic, i, vwidth, vheight; var realUrl; var tmpName; var sep; vwidth = window.screen.availWidth * .30 vheight = window.screen.availHeight * .60 realUrl = " "; tmpName = " "; i = 0; // find the directory and filename of web url tmpName = location.href.toString(); i = tmpName.lastIndexOf("/",tmpName.length); sep = "/" // find the directory and filename of file server if (i < 0) { // could not find a url separator. try to find a file separator i = tmpName.lastIndexOf("\\",tmpName.length); sep = "\\"; } realUrl = "j_" + tmpName.substr(i + 3,tmpName.length - (i + 1)); x = (window.screen.availWidth - vwidth) * .98; y = (window.screen.availheight - vheight) * .02; if (window.name == "xJobAid") { window.location=realUrl; } else { if (ActiveXInstalled()) { hWnd=window.open(realUrl,"xJobAid","left=" + x + ",top=" + y + ",width=" + vwidth + ",height="+vheight+",menubar=no,toolbar=no,location=no,status=yes,scrollbars=yes,resizable=yes",false); if (hWnd) { var oInterval = ""; oInterval = window.setInterval("CloseWindow()",250); hWnd.focus(); } } else { oInterval = window.setInterval("ReloadMe()", 250); } } } LaunchEAssistant();