/* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
	Written by Bugimus 
	Copyright © 1998-2001 Bugimus, all rights reserved.
	You may use this code for your own *personal* use provided you leave this comment block intact.  
	A link back to Bugimus' page would be much appreciated.  
	http://bugimus.com/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */

function showPic( imgName, imgCaption, imgWidth, imgHeight, textColor, bgColor ) {
	if(textColor=="")textColor="#000000"
	if(bgColor=="")bgColor="#ffffff"
	if(imgWidth<=100)imgWidth=100
	if(imgHeight<=100)imgHeight=100
	winHeight=imgHeight+50;
	realwidth=imgWidth+65;
	realheight=imgHeight+110;
	w = window.open('','Demo','toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=yes,copyhistory=no,width='+realwidth+',height='+realheight);
	w.document.write( "<html><head><title>"+imgCaption+"</title>" );
	w.document.write( "<STYLE TYPE='text/css'>" );
	w.document.write( ".top {background-image: url(../images/shadow_top.jpg); background-repeat:repeat-x; background-position:bottom;}" );
	w.document.write( ".bottom {background-image: url(../images/shadow_bottom.jpg); background-repeat:repeat-x;}" );
	w.document.write( ".right {background-image: url(../images/shadow_right.jpg); background-repeat:repeat-y;}" );
	w.document.write( ".left {background-image: url(../images/shadow_left.jpg); background-repeat:repeat-y;}" );
	w.document.write( "BODY {margin: 10px 0px 20px 10px; background-color : #352c3d; }" );
	w.document.write( "</STYLE>" );
	w.document.write( "<script language='JavaScript'>\n");
	w.document.write( "IE5=NN4=NN6=false\n");
	w.document.write( "if(document.all)IE5=true\n");
	w.document.write( "else if(document.layers)NN4=true\n");
	w.document.write( "else if(document.getElementById)NN6=true\n");
	w.document.write( "function autoSize() {\n");
	w.document.write( "	if(IE5) self.resizeTo(document.images[1].width+50,document.images[1].height+41+68)\n");
	w.document.write( "	else if(NN6) self.sizeToContent()\n");
	w.document.write( "	else top.window.resizeTo(document.images[0].width,document.images[0].height+50)\n");
	w.document.write( "	self.focus()\n");
	w.document.write( "}\n");
	w.document.write( "</script>\n");
	w.document.write( "</head><body>" );
	w.document.write( "<table border='0' cellspacing='0' cellpadding='0'><tr>" );
	w.document.write( "<td valign='bottom'><img src='../images/shadow_topleft.jpg' /></td>" );
    w.document.write( "<td class='top' height='15'>&nbsp;</td>" );
    w.document.write( "<td valign='bottom'><img src='../images/shadow_topright.jpg' width='15' height='15' /></td>" );
 	w.document.write( "</tr>" );
    w.document.write( "<tr>" );
    w.document.write( "<td class='left'>&nbsp;</td>" );
    w.document.write( "<td><a href='javascript:top.window.close();'><img src='"+imgName+"' style='border:7px solid #625a68;' alt='"+imgCaption+"'/></a></td>" );
    w.document.write( "<td class='right'>&nbsp;</td>" );
  	w.document.write( "</tr>" );
  	w.document.write( "<tr>" );
    w.document.write( "<td valign='top'><img src='../images/shadow_bottomleft.jpg' width='15' height='15' /></td>" );
    w.document.write( "<td class='bottom' height='15'>&nbsp;</td>" );
    w.document.write( "<td valign='top'><img src='../images/shadow_bottomright.jpg' width='15' height='15' /></td>" );
  	w.document.write( "</tr>" );
  	w.document.write( "<tr>" );
 	w.document.write( "<td>&nbsp;</td>" );
 	w.document.write( "<td style='background-color: #635c69;'><div style='float:left;'><img src='../images/eventsbyeagle.jpg' width='102' height='25' border='0'/></div>" );
 	w.document.write( "<div style='float:right;'><a href='javascript:top.window.close();'><img src='../images/close.jpg' border='0' /></a></div></td>" );
 	w.document.write( "<td>&nbsp;</td>" );
  	w.document.write( "</tr>" );
	w.document.write( "</table>" );
	w.document.write( "</body></html>" );
	w.document.close();
}