

  var theRoot_Path = '/dmv/';          //--  global declaring the Root Directory Path
  
  var  collapse_Menu = false;  //--  enables you to close all "menu elements" upon first visit to page set to false to leave open
  var  collapse_Body = false;  //--  enables you to close all "body elements" upon first visit to page set to false to leave open
  var    unique_Menu = false;  //--  enables a unique left hand menu for each page set to false if your menu is the same on every page

									   
//---------------------------   ONLOAD,UNLOAD, & RESIZE BODY    -------------------------//

  function onPageLoad(){
	document.forms['search'].reset();    // reset the search form
    openCloseDivs();                     // used by collapsible.js to detect cookies
  }
  
  function onPageUnload(){
    setCollapsibleCookies();             // used by collapsible.js to set cookies
  }
  
  function onPageResize(){
    if(document.layers){
	  //window.location.href = window.location.href;
	}  //for stupid Netscape 4 - was having problems with divs and resizing
  }

  
//----------------------------    SEARCH/FORM FUNCTIONS    ------------------------------//

  function sword(){if (document.search.qt.value == 'DMV')document.search.qt.value = '';}
  function submitForm(whatForm){document.forms[whatForm].submit();}
  
  
////////////////////////////////--  EXTERNAL FILE LINKs    --//////////////////////////////// 
  
  document.write('<script src="'+theRoot_Path+'java/didYouKnow/dyk.js"></' + 'script>');

  document.write('<script src="'+theRoot_Path+'java/standard/detectflash.js"></' + 'script>');
  
  document.write('<script src="'+theRoot_Path+'java/standard/generalJava.js"></' + 'script>');

  document.write('<script src="'+theRoot_Path+'java/standard/collapsible.js"></' + 'script>');

////////////////////////////////-- END EXTERNAL FILE LINKs --//////////////////////////////// 

