var NS = IE = Mac = false;
var navVer = navigator.appVersion;

if(navVer.substr(0,3) >= 4) 
{
 if(navigator.appName == 'Netscape')
 {
    	NS = true;
 } else
 {
	IE = true;
 }
}

if (navigator.platform.indexOf("Mac") >= 0)
 Mac=true;
 
function refresh(){
  location.reload()
}

function showimage(imageName){
  if( (NS==true) && (NS6==false))
    location.href="../images/"+imageName;
  else
  {
    pic=window.open('','img','width=500,height=300,toolbar=no,status=no,title=no,left=0,top=0');
    if (pic.document['img']){
      pic.document['img'].src="../images/"+imageName;
      pic.resizeTo(pic.document['img'].width+10, pic.document['img'].height+30);
      pic.focus();
	  pic.location.reload();
    }
    else {
      pic.document.write("<html> <head> <title> Enlarged Picture </title><script src='../images.js'></script></head>");
      pic.document.write("<body style='margin:0px' bgcolor='#000000'>");
      pic.document.write("<img src='../images/" + imageName + "' border=0 onload='window.resizeTo(this.width+10,this.height+30);'>");
      pic.document.write("</body></html>");
	  pic.location.reload();	  
    }
  }
}
