



//this opens up the window for the easy-print page
function openPrintable(url) {
   printWindow = window.open( url, "theWindow", "toolbar=yes,menubar=no,scrollbars=yes,resizable=yes,status=no,location=no,width=570,height=350"); 

   printWindow.focus(); 
}


function dropdown(topOrBottom) {
      whichOne = document.browse.elements[topOrBottom].selectedIndex;
      document.browse.elements[topOrBottom].selectedIndex = 0;
      document.location = document.browse.elements[topOrBottom].options[whichOne].value;
}

function dropdown2(topOrBottom) {
      whichOne = document.browse2.elements[topOrBottom].selectedIndex;
      document.browse2.elements[topOrBottom].selectedIndex = 0;
      document.location = document.browse2.elements[topOrBottom].options[whichOne].value;
}

//open a window with the following url, width and height
function openWin(url, myWidth, myHeight){

   myWindow = window.open( url, "theWindow", "toolbar=no,menubar=no,scrollbars=yes,resizable=yes,status=no,location=no,width=" + myWidth + ",height=" + myHeight);

   myWindow.focus();
}

var imgPath = '/images/'; 

function imgToggle(imgObjectName, imgObjectState) { 
imgObject = new Object(); 
imgObject = imgObjectName; 
imgObject.src = imgPath + imgObjectState; 
} 


//open a window with the following url, width and height 
function openWin(url, myWidth, myHeight){ 

   myWindow = window.open( url, "theWindow", "toolbar=no,menubar=no,scrollbars=yes,resizable=yes,status=no,location=yes,width=" + myWidth + ",height=" + myHeight); 

   myWindow.focus(); 
} 
