function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function showDiv(div) {
	if(document.getElementById(div)) {
		var divObj = document.getElementById(div);
		divObj.style.visibility = 'visible';
		divObj.style.display = 'block';
	}		
}
function hideDiv(div) {
	if(document.getElementById(div)) {
		var divObj = document.getElementById(div);
		divObj.style.visibility = 'hidden';
		divObj.style.display = 'none';
	}
}
function toggleDiv(div) {
	if(document.getElementById(div)) {
		var divObj = document.getElementById(div);
		if(divObj.style.visibility == 'visible') {
			hideDiv(div);
		} else {
			showDiv(div);
		}
	}
}
function getRadioButtonValue (radio) {   
	var strOut = false;
	for (var i = 0; i < radio.length; i++) {
		if (radio[i].checked) { 
			strOut = radio[i].value;
			break; 
		}
    }
    return strOut;
}
