// THIS CODE IS ONLY ONLY ONLY for Netscape version 4
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); // again, only needed for NS4

function flip(which) 
{ 
    var flop = document.getElementById("FLIP_" + which); 
    var sect = document.getElementById("SECT_" + which); 
    var dvs = document.getElementsByTagName("DIV");
    for ( var d = 0; d < dvs.length; ++d )
    {
        var dv = dvs[d];
        if ( dv.id != null && dv.id.substring(0,5) == "SECT_" )
        {
            if ( dv != sect ) 
            {
				dv.style.display = "none";
				document.getElementById(dv.id.replace(/SECT/,"FLIP")).innerHTML = " + ";
			}
        }
    }
    var show = sect.style.display != "none"; 
    flop.innerHTML = show ? " + " : " - "; 
    sect.style.display = show ? "none" : "block"; 
} 

function emailCheck( em ) 
{ 
    var re = /^([a-z][\w\-\*\']+\.)*[a-z][\w\-\*\']+\@([a-z][\w\-\*\']+\.)+[a-z]{2,5}$/i
    if ( ! re.test( em.value ) ) 
    { 
        alert('The email address "' + em.value + '" does not appear valid to me.'); 
        return false; 
    } 
    // alert("okay");
    return true; 
} 


<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->


<!--

function clearTextField( fname )
{
   fname.value = ''; 
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->

// Why isn't this in the functions.js file??
function imgfix(i)
{
   var h = i.height;
   var w = i.width;
   //   alert(i.src + "\n" + h + "x" + w);
   if ( h==0 || w==0 )
   {
       var cmd = "imgfix( document.getElementById('" + i.id + "') )"
       // alert( cmd );
       setTimeout( cmd, 500 );
       return;
   }
   if ( h > 164 )
   {
       w = parseInt( w * 164 / h );
       h = 164;
   }
   if ( w > 122 )
   {
       h = parseInt( h * 122 / w );
       w = 122;
   }
   i.height = h;
   i.width = w;
   i.style.visibility = "visible";
}

function page(where)
{
    document.theForm.page.value = where;
    document.theForm.submit( );
}

<!--
function swap(source) {
    if (document.images) {
        document.images['prodimg'].src = source;
    }
}
//-->
