function sessionAppend() { var session_string = ""; return session_string; } // CATALOG SEARCH function SearchSubmit() { if (document.searchForm.item_search.value == "") { alert("Please enter a search term."); if (top.IsFormAdvanced) document.searchForm.item_search.focus(); } else { location.href = "index.php?level2=catalog&level3=item_list&item_search=" + document.searchForm.item_search.value + sessionAppend(); } } function PrintFrame(){ var DivCont = document.getElementById("content").innerHTML; window.frames.myiFrame.document.getElementById("printcontent").innerHTML= DivCont; document.getElementById("myiFrame").contentWindow.focus(); document.getElementById("myiFrame").contentWindow.print(); } function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i