document.write(''); document.write(''); var tmpName; var relUrl; var x; var tag; tmpName = TRANSIT_HOME.toString(); // find the directory and filename of web url x = tmpName.lastIndexOf("/",tmpName.length); if (x > 0) { // change the reference relative pathing relUrl = tmpName.substr(0,x+1) + "ResitePub.css"; } else { // change the reference to same directory and hope for the best relUrl = "ResitePub.css"; } tag = returnObject("lnk"); tag.href = relUrl; function SetCookie(sName, sValue) { document.cookie = sName + "=" + sValue; } function GetCookie(sName) { // cookies are separated by semicolons var aCookie = document.cookie.split("; "); for (var i=0; i < aCookie.length; i++) { // a name/value pair (a crumb) is separated by an equal sign var aCrumb = aCookie[i].split("="); if (sName == aCrumb[0]) return aCrumb[1]; } // a cookie with the requested name does not exist return null; } function showGif(o){ var x, y, hWnd; var tag, href, url; tag = o.getElementsByTagName("a").item(0); href = tag.getAttribute("href"); SetCookie("imgfile",href); url = "showscrn.htm"; x = (window.screen.availWidth - 575) * .5; y = (window.screen.availheight - 400) * .5; if (window.name == "xShowScreen"){ window.location=url; } else { hWnd=window.open(url,"xShowScreen","left="+x+",top="+y+",width=750,height=550,menubar=no,toolbar=no,location=no,status=no,scrollbars=yes,resizable=yes",false); if (document.referrer != "") { window.location = document.referrer; } else { window.back; } } return false; } function ShowReference(){ var realUrl; var tmpName; var x; realUrl = " "; tmpName = " "; x = 0; tmpName = location.href.toString(); // find the directory and filename of web url x = tmpName.lastIndexOf("/",tmpName.length); if (x < 0) { // could not find a url separator. try to find a file separator x = tmpName.lastIndexOf("\\",tmpName.length); } // change the reference to jobaid for the base*.htm files realUrl = tmpName.substr(x + 3,tmpName.length - (x + 1)); // open a default browser window window.open(realUrl,"","",false); } function ShowReferencePrint(){ var realUrl; var tmpName; var x; realUrl = " "; tmpName = " "; x = 0; tmpName = location.href.toString(); // find the directory and filename of web url x = tmpName.lastIndexOf("/",tmpName.length); if (x < 0) { // could not find a url separator. try to find a file separator x = tmpName.lastIndexOf("\\",tmpName.length); } // change the reference to jobaid for the base*.htm files realUrl = "p_" + tmpName.substr(x + 1,tmpName.length - (x + 1)); // open a default browser window window.open(realUrl,"","",false); } function returnObject(thisobj) { var returnobj; if (document.getElementById && document.getElementById(thisobj) != null) returnobj = document.getElementById(thisobj); else if (document.layers && document.layers[thisobj] != null) returnobj = document.layers[thisobj]; else if (document.all) returnobj = document.all[thisobj]; return returnobj; } function LaunchFlow(){ 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 = "f_" + tmpName.substr(i + 3,tmpName.length - (i + 1)); x = (window.screen.availWidth - vwidth) * .98; x = (x - vwidth); y = (window.screen.availheight - vheight) * .02; if (window.name == "xFlow") { window.location=realUrl; } else { hWnd=window.open(realUrl,"xFlow","left=" + x + ",top=" + y + ",width=" + vwidth + ",height="+vheight+",menubar=no,toolbar=no,location=no,status=no,scrollbars=yes,resizable=yes",false); } } function AddProcessLink(tcodeline) { document.write(tcodeline); var tcode; tcodeend = tcodeline.length-13; tcodestart = tcodeline.lastIndexOf(">", tcodeend)+1; tCode = tcodeline.substring(tcodestart,tcodeend); theDiv = document.getElementById("ProcessList"); theDiv.innerHTML = theDiv.innerHTML + "