function open_window(url,settings)
{
mywin = window.open(url,"win",settings);
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

	function helpPopUp(URL) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'width=410,height=350,left=20,top=20');");
}


function ZoomLarge(theURL) {
if ((navigator.appVersion.indexOf("AOL") >0)) {
  MM_openBrWindow(theURL,"ZoomLarge",'scrollbars=yes,resizable=yes,width=800,height=600,left=10,top=30');
} else if (navigator.appVersion.indexOf("Mac") != -1) {
  MM_openBrWindow(theURL,"ZoomLarge",'scrollbars=yes,resizable=yes,width=800,height=600,left=10,top=30');
} else {

PopUp=window.open("","ZoomLarge",'scrollbars=yes,resizable=yes,width=800,height=600,left=10,top=30');
	PopUp.document.write ("<HTML><HEAD><TITLE>");
	PopUp.document.write ("Image Zoom");
	PopUp.document.write ("</TITLE></HEAD>");
	PopUp.document.write ("<body border=0 TOPMARGIN=0 LEFTMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 BGCOLOR=#FFFFFF TEXT=#000000 LINK=#336699 VLINK=#336699>");
        PopUp.document.write ("<center><A HREF='JavaScript:this.close()'><font face=Verdana, Arial, Helvetica, sans-serif size=1 color=#000000><b>CLOSE THIS WINDOW</b></font></a></center><br>");

PopUp.document.write ("<table cellpadding=0 cellspacing=0 bgcolor=#FFFFFF border=0 width=100%><tr><td>");
	PopUp.document.write ("<P ALIGN=CENTER>");
	PopUp.document.write ("<A HREF='JavaScript:this.close()'><IMG BORDER=0 HSPACE=0 VSPACE=0 SRC='");
	PopUp.document.write (theURL);
	PopUp.document.write ("'></a>");
	PopUp.document.write ("</P>");
	PopUp.document.write ("</td></tr><tr><td bgcolor=#ffffff>");
	PopUp.document.write ("</td></tr></table><br>");
	PopUp.document.write ("</td></tr></table>");
	PopUp.document.write ("<P ALIGN=CENTER>");
	PopUp.document.write ("<A HREF='JavaScript:this.close()'><font face=Verdana, Arial, Helvetica, sans-serif size=1 color=#000000><b>CLOSE THIS WINDOW</b></font></a>");
	PopUp.document.write ("</P>");
    PopUp.document.write ("</BODY></HTML>");

	}
}

function ZoomPopUp(theURL) {
if ((navigator.appVersion.indexOf("AOL") >0)) {
  MM_openBrWindow(theURL,"ZoomPopUp",'scrollbars=yes,resizable=yes,width=700,height=600,left=200,top=30');
} else if (navigator.appVersion.indexOf("Mac") != -1) {
  MM_openBrWindow(theURL,"ZoomPopUp",'scrollbars=yes,resizable=yes,width=700,height=600,left=200,top=30');
} else {

PopUp=window.open("","ZoomPopUp",'scrollbars=yes,resizable=yes,width=700,height=600,left=200,top=30');
	PopUp.document.write ("<HTML><HEAD><TITLE>");
	PopUp.document.write ("Image Zoom");
	PopUp.document.write ("</TITLE></HEAD>");
	PopUp.document.write ("<body border=0 TOPMARGIN=0 LEFTMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 BGCOLOR=#FFFFFF TEXT=#000000 LINK=#336699 VLINK=#336699>");
        PopUp.document.write ("<center><A HREF='JavaScript:this.close()'><font face=Verdana, Arial, Helvetica, sans-serif size=2 color=#000000><b>Close this window</b></font></a></center><br>");

PopUp.document.write ("<table cellpadding=0 cellspacing=0 bgcolor=#FFFFFF border=0 width=100%><tr><td>");
	PopUp.document.write ("<P ALIGN=CENTER>");
	PopUp.document.write ("<A HREF='JavaScript:this.close()'><IMG BORDER=0 HSPACE=0 VSPACE=0 SRC='");
	PopUp.document.write (theURL);
	PopUp.document.write ("'></a>");
	PopUp.document.write ("</P>");
	PopUp.document.write ("</td></tr><tr><td bgcolor=#ffffff class=tan>");

	PopUp.document.write ("</td></tr></table>");
	PopUp.document.write ("<center><A HREF='JavaScript:this.close()'><font face=Verdana, Arial, Helvetica, sans-serif size=2 color=#000000><b>Close this window</b></font></a></center>");
        PopUp.document.write ("</BODY></HTML>");

	}
}
