// quick link jumper

function doSel(obj)
{
     for (i = 1; i < obj.length; i++)
        if (obj[i].selected == true)
           eval(obj[i].value);
}

// All BROWSERS 4 AND ABOVE (inc netscape 6)
// This script is needed as a work around to Netcape's resizing problem

	function reloadPage(init) 

	{ if (init==true) with (navigator) { if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.pgW=innerWidth; document.pgH=innerHeight; onresize=reloadPage; }} else if (innerWidth!=document.pgW || innerHeight!=document.pgH) location.reload();} reloadPage(true);

// tests which browser is viewing the page

 	ns4 = (document.layers)? true:false
	ie4 = (document.all)? true:false
	ns6 = (document.getElementById)? true:false
	
// Generic show Layers/Div function for all browsers which can be used independently from showHide()
	function show(id) {
		if (ns4) document.layers[id].visibility = "show";
		else if (ie4) document.all[id].style.visibility = "visible";
	 	else if (ns6) document.getElementById(id).style.visibility = "visible";
	}
	
// Generic Hide Layers/Div function for all browsers which can be used independently from showHide()	
	function hide(id) {
		if (ns4) document.layers[id].visibility = "hide";
		else if (ie4) document.all[id].style.visibility = "hidden";
		else if (ns6) document.getElementById(id).style.visibility = "hidden";
	}	
	
/***********************************************
* Bookmark site script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

/* Modified to support Opera */
function bookmarksite(title,url){
if (window.sidebar) // firefox
	window.sidebar.addPanel(title, url, "");
else if(window.opera && window.print){ // opera
	var elem = document.createElement('a');
	elem.setAttribute('href',url);
	elem.setAttribute('title',title);
	elem.setAttribute('rel','sidebar');
	elem.click();
} 
else if(document.all)// ie
	window.external.AddFavorite(url, title);
}
