if (document.all)    {n=0;ie=1;fShow="visible";fHide="hidden";}
if (document.layers) {n=1;ie=0;fShow="show";   fHide="hide";}

function smallWin(page,h,w,WinName) {
if (WinName == null) 
 { WinName = "new";};
parm = "height=" + h + ",width=" + w + ",toolbar=no,menubar=yes,location=no,scrollbars=yes,resizable=yes,screenY=200,screenX=100 ";
OpenWin = this.open(page,WinName,parm);
}

function bigWin(page,WinName,Height,Width) {

if (WinName == null) 
 { WinName = "new";};

if (Height == null)
 {Height = 400;};

if (Width == null)
 {Width = 650;};

parm ="height=" + Height + ",width=" + Width
+ ",toolbar=yes,menubar=yes,location=yes,scrollbars=yes,resizable=yes";

OpenWin = this.open(page,WinName,parm);
}


function itemWin(pic,h,w,WinName,text) {
if (WinName == null)
 { WinName = "new";};
parm = "height=" + h + ",width=" + w + ",toolbar=no,menubar=yes,location=no,scrollbars=no,resizable=yes,screenY=200,screenX=100 ";
doc = this.open("",WinName,parm);
doc.document.clear();
doc.document.write('<HEAD><TITLE>VOCO Photo');
doc.document.write('</TITLE><LINK REL=StyleSheet HREF="index.css" TYPE="text/css" MEDIA="screen"></LINK></HEAD>');
doc.document.write('<body TEXT="#000000" BGCOLOR="#FFFFCC" LINK="#0000EE">');
doc.document.write('<img src="' + pic + '">');
doc.document.write('<br><div class="tinyText"><br>');
doc.document.write(text);
doc.document.write('<p align="center"><a href="javascript:self.close()">Close</a></p>');
doc.document.write('</div>');
doc.focus();
doc.document.close();

}



/********************************************
WinPop
AUTHOR:WWW.CGISCRIPT.NET.LLC
URL:http://www.cgiscript.net
Use the code for FREE but leave this message intact
Download your FREE CGI/Perl Scripts today!
( http://www.cgiscript.net/scripts.htm )
****************************************************/

function winPop(mypage,myname,w,h){
var winPopWindow=null;
LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;

TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;

settings='width='+ w + ',height='+ h + ',top=' + TopPosition + ',left=' + LeftPosition + ',location=no,directories=no,menubar=yes,toolbar=no,status=no,resizable=yes,dependent=no,scrollbars=yes';

winPopWindow=window.open('',myname,settings);

winPopWindow.focus();winPopWindow.location=mypage;
}
