//main functions

 	bname = navigator.appName;
     bver = parseFloat(navigator.appVersion);    
     v4=false;
     if (bver >= 4)
     	{
 		v4=true;

		
 		ba1=new Image(); ba2=new Image ();
 		ba1.src="gifs/m/b20.gif"; ba2.src="gifs/m/b20a.gif";		
 		bb1=new Image(); bb2=new Image ();
 		bb1.src="gifs/m/b21.gif"; bb2.src="gifs/m/b21a.gif";		
									
 	}
     else (alert("WARNING !!! Your browser is too old and will not display the page optimally !\n           Please upgrade to Netscape 7 (www.netscape.com) or Internet Explorer 6 (www.microsoft.com)\n        Download it FREE from http://home.netscape.com !"));
     
 	function hilight(imagE)
     	{
      	if (v4) document [imagE].src=eval(imagE+"2.src");
     	}
 
     function lolight(imagE)
 	    {
     	 if (v4) document [imagE].src=eval(imagE+"1.src");
     	}



function openWindow(URL, h, w) 
	{
  	var gg = typeof (popupWin);
  	if (gg =='object')
  		{ 
  		if (popupWin.closed ) {}
			else { popupWin.close();  }
		};
  	popupWin = window.open(URL, 'popup', 'dependent=0,height='+h+',width='+w+',screenX=20,left=10,screenY=150,top=10,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=0,resizable=0,scrollbars=1,status=0,toolbar=0', 'launcher');

	if (window.focus)
		{
     	popupWin.focus();
    	}
	}
// for showing the pop ups photos

function ShowPhoto(pic) 
{
	photo_act = "photo"+pic;
	divEl = document.getElementById(photo_act);
	
	if (divEl.style.display == "") 
		{
			divEl.style.display = "none";
  		}
  		else
		{
    		for (var i = 1; i <= 4; i++) 
					{
						photo_temp = "photo"+i;
						divE2 = document.getElementById(photo_temp);
						divE2.style.display = "none";			
					}
			divEl.style.display = "";
		}

}

function HidePhoto(pic)
{
				photo_act = "photo"+pic;
				divEl = document.getElementById(photo_act);
				divEl.style.display = "none";
}
