CATALOGPATH = ""; // HREF FUNCTION function hrefFormat(loc){ var base = document.getElementsByTagName('base'); if (base && base[0] && base[0].href) { loc = base[0].href + loc; } return loc; } // LINK FUNCTION function gohref(loc){ loc = hrefFormat(loc); location.href = loc; } function sessionAppend() { var session_string = ""; return session_string; } // CATALOG SEARCH function SearchSubmit() { if ($('#item_search').val() == "") { alert("Please enter a search term."); } else { gohref('search/?item_search=' + $('#item_search').val() + sessionAppend()); } } function launchWindow(w,x,y,z) { PopUpWindow = window.open (hrefFormat('help.php?page_id=' + w + '&content_section_id=' + x), "PopUp", "location=no,toolbar=no,scrollbars=yes,width=" + y + ",height=" + z + ",resizeable=yes"); PopUpWindow.opener.name = "index_parent"; } 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(); } // jQuery Navbar menu slide up and down - Default menu build $(document).ready(function(){ $("#user, #blurb, #info").prependTo("#header"); $("#tagline").appendTo("#header"); if($("#blogFeed").length > 0){ $("#blogFeed").appendTo("#leftNav"); } $("#sub_nav dd:not(.expand)").hide(); $("#sub_nav dd ul li a").mouseover(function(){ $(this).css("font-weight","bold"); }).mouseout(function(){ if($(this).hasClass("purple_bold") == false){ $(this).css("font-weight","normal"); } }); $('#search_go').hover(function(){ $(this).attr('src','media/images/search_go-over.png'); }, function(){ $(this).attr('src','media/images/search_go.png'); }); }); function verifyReload(){}