// JavaScript Document



function PopupImage(url) {
	w=open("",'image','width=300,height=200,toolbar=no,resizable=yes');	
	w.document.write("<HTML><HEAD><style type=\"text/css\">body {overflow: hidden;}</style><TITLE></TITLE></HEAD>");
	w.document.write("<SCRIPT language=javascript>function checksize()  { if (document.images[0].complete) {  window.resizeTo(document.images[0].width+12,document.images[0].height+60); window.focus();} else { setTimeout('check()',250) } }</"+"SCRIPT>");
	w.document.write("<BODY onload='checksize()' leftMargin=0 topMargin=0 marginwidth=0 marginheight=0><a href='javascript:window.close();'><IMG src='"+url+"' border=0></a>");
	w.document.write("");
	w.document.write("</BODY></HTML>");
	w.document.close();
}

function OpenPage(theURL) { 
w=window.open(theURL,"Photos","toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=yes,width=400,height=480");
MSIE=(navigator.appVersion.indexOf("MSIE")!=-1);
VERS=parseInt(navigator.appVersion);
if ((!MSIE) || (VERS >=5))
w.focus();
}