/* FILE ARCHIVED ON 8:51:39 Jan 19, 2009 AND RETRIEVED FROM THE AN OPENWAYBACK INSTANCE ON 5:41:23 Oct 7, 2024. JAVASCRIPT APPENDED BY OPENWAYBACK, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ //// *********************************** //// //// State of California master template //// //// Version 1.20 //// //// Last Updated 03/23/2007 //// //// //// //// Add your own Department-specific //// //// scripts here. //// //// *********************************** //// // selectSearch - If you are not using DTS site search you may delete lines 10-to-25 // Choose between the statewide search and your own local site search. function selectSearch() { if (document.getElementById("control").which[0].checked) { document.getElementById("ca_form").q.value = document.getElementById("search").value; document.getElementById("ca_form").submit(); } else { // Change the 'q' to the parameter your search engine uses for its text field document.getElementById("local_form").q.value = document.getElementById("search").value; document.getElementById("local_form").submit(); } return false; } // End of selectSearch javascript ///////////////////////// //// tabpanel_module //// ///////////////////////// //// tabpanel_mouseover //// This function is called when a tabpanel tab is hovered function tabpanel_mouseover(node) { var panel_1_width = document.getElementById("tabpanel_1_sublist").offsetWidth; // Needed for IE document.getElementById("tabpanel_1").className = ""; // De-activate default item node.className = "tabpanel_default"; // Activate the hovered item if (panel_1_width) { if (document.getElementById("tabpanel_2_sublist")) document.getElementById("tabpanel_2_sublist").style.width = (panel_1_width - 2) + "px"; // Needed for IE if (document.getElementById("tabpanel_3_sublist")) document.getElementById("tabpanel_3_sublist").style.width = (panel_1_width - 2) + "px"; // Needed for IE } } //// tabpanel_mouseout //// This function is called on mouseout function tabpanel_mouseout(node) { node.className = ""; // De-activate this item document.getElementById("tabpanel_1").className = "tabpanel_default"; // Activate default item } // End of tabpanel_module javascript