var IE = (document.all) ? 1 : 0;
var DOM = 0; 
if (parseInt(navigator.appVersion) >=5) {DOM=1};

function txtshow( txt2show ) {
	// Detect Browser
	if (DOM) {
	var viewer = document.getElementById("ashowText");
			viewer.innerHTML=txt2show;
	} else if (IE) {
			document.all["ashowText"].innerHTML=txt2show;
	}
 }
 
function ashowSET(Num) {
	if (Num == 1) {
		document.getElementById('ashow').style.display = 'block';
		txtshow(' | <b><a href=\"javascript: ashowSET(0)\">Hide</a></b>');
	} else {
		document.getElementById('ashow').style.display = 'none';
		txtshow(' | <b><a href=\"javascript: ashowSET(1)\">Show</a></b>');
	}
}

function openUrl() {
	var fin_id = document.getElementById("FSselect").options[document.getElementById("FSselect").selectedIndex].value;
	if (fin_id > 0) {
		location.href = 'download_file.php?fin_id='+fin_id+'&&zip=yes';
	}
}
	
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);