<!--
var newWind;

function openwindow(cPicture,cMessage,cWidth,cHeight,cScroll)
{
var output;
var adjustHeight = cHeight + 90;
var adjustWidth = cWidth + 50;

if ((cScroll=='yes') || (cScroll=='Yes') || (cScroll=='YES'))
{adjustWidth = cWidth + 74;}

if (parseInt(navigator.appVersion) >= 4)
    {var winleft=(screen.width - screen.width);
     var wintop=((screen.height - adjustHeight) - 68);}
else
    {var winleft=0;
     var wintop=152;}

if (wintop < 0)
{wintop = 0;}

winprops='width='+adjustWidth+',height='+adjustHeight+',top='+wintop+',left='+winleft+',scrollbars='+cScroll+',status=no,resizable=no,resize=no,hotkeys=no,menubar=no';
		
newWind=window.open("","winnam",winprops);

		 output="<HTML><TITLE>Photo Gallery</TITLE>"
		 output+="<BODY BGCOLOR='#000000'><IMG SRC='/images/anim_loading_white.gif'>"
		 output+="<CENTER><IMG SRC='"+cPicture+"'></CENTER>"
		 output+="<table align=center width="+cWidth+"><td><font face='arial' size='2' color='#FFFFFF'><b>"+cMessage+"</b></font></td></table>"
		 output+="</BODY></HTML>"

		 newWind.document.write(output);
		 newWind.document.close();
		 newWind.focus();
}

function closePopImg()     // close pop-up window if open 
{    
  if(newWind != null) if(!newWind.closed) newWind.close() 
}

function setStatus(msg)
{
  status = msg
  return true
}


//-->