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=no,resizable=yes,screenY=200,screenX=100 ";
OpenWin = this.open(page,WinName,parm);
// <a href="javascript:if (newwindow) newwindow.close()">Close</a> the popup.
}

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('<LINK REL=StyleSheet HREF="index.css" TYPE="text/css" MEDIA="screen"></LINK>');
doc.document.write('<body TEXT="#000000" BGCOLOR="#FAEBD7" 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();

}


