function openDoc(theurl,targ,whichWin){ if(targ!=currFrame){ if(targ=="Content"){ top.Content.location=theurl; } if(targ!="Content"){ top.document.location=theurl+"&expit="+top.Navigator.document.tempformtopassgedysstr.gedysstr2.value; } } if(targ==currFrame){ top.Content.location=theurl+"&1"; }} function openWin(n,url,properties,tim){ n2 = n eval(n+'= window.open(url,n2,properties)'); if(tim!="Off"){ setTimeout(n+'.close()',tim) } } function startSearch(query){ if(query=="") {alert("Please fill out the Search field before clicking the Search button"); return false; } else { top.Content.document.location.href="../vSEARCH?SearchView&Query="+query; } } function openDoc2(url,targ){ if(targ=='_top'){ top.document.location.href=url } if(targ=='_blank'){ window.open(url,'somewindow') } if(targ=='Content'){ top.Content.document.location.href=url } } function surf(){ query= Green.doc.forms["theform"].Query.value if(query=="") {alert("Please fill out the Search field before clicking the Search button"); return false; } else { location.href="../vSEARCH?SearchView&Query="+query; } } function menulv4Expand(var1,var2){ top.document.frames[0].expLV4(var1,var2) } /*Hempel specific javascript code*/ function toggleMenu4(menu,id){ top.document.frames[0].toggleMenu4(menu,id) } function loadDynDoc(var1,var2,var3){ top.document.frames[0].loadDynDoc(var1,var2,var3) } function changesort(sortty){ top.document.frames[0].changesort(sortty) } function loadSearch(sorttype){ top.document.frames[0].loadSearch(sorttype) } function disValues(sortt){ top.document.frames[0].disValues(sortt) } function setsortlinks(fulllist,sorttype){ top.document.frames[0].setsortlinks(fulllist,sorttype) } function getIt(where,what){ top.document.frames[0].getIt(where,what) } function goCheckReturn(e){ if(frames[0].event.keyCode==13){ frames[0].loadSearch(frames[0].sorttype) }} function getDoc(var1){ var arr = top.document.getElementsByTagName('FRAME'); if (arr[1]) { arr[1].src = "/internet/inehkc.nsf/vHEMPELDOC/"+var1+"?OpenDocument&1"; } //document.frames[1].location = "/internet/inehkc.nsf/vHEMPELDOC/"+var1+"?OpenDocument&1" }