function showHide(targetName) {
       if( document.getElementById ) { // NS6+
           target = document.getElementById(targetName);
       } else if( document.all ) { // IE4+
           target = document.all[targetName];
       }
       
       if( target ) {
           if( target.style.display == "none" ) {
               target.style.display = "inline";
           } else {
               target.style.display = "none";
           }
       }
   } 

function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}

function toggle( targetId ){
	 if (document.getElementById){
	 target = document.getElementById( targetId );
     if (target.style.display == "none"){
	 target.style.display = "";
     } else {
      target.style.display = "none";
     }
   }
}

//Centers the popup window
function NewWindow(mypage, myname, w, h, scroll) {
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
	win = window.open(mypage, myname, winprops)
	if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
