
function openpic(obj) {
	var ns = (navigator.appName=="Netscape")?true:false;
	src=obj.src.replace("_thumb","");
		
	OpenWindow=window.open("", "_blank", "toolbar=no,width=256,height=128,scrollbars=0,resizable=no,menubar=no");
	OpenWindow.document.write("<HTML>\n<TITLE>Popup</TITLE>\n")
	OpenWindow.document.write("<BODY style='margin: 0 0 0 0;'> \n")
	OpenWindow.document.write("<img onload='resize();' onclick='window.close();' name='pic' src='"+src+"'>\n");
	OpenWindow.document.write("<script language='javascript'>\n");
	OpenWindow.document.write("function resize(){ \n");
		
	if(!ns) OpenWindow.document.write("var x=document.body.clientWidth; var y=document.body.clientHeight;\n");
	if( ns) OpenWindow.document.write("var x=window.innerWidth; var y=window.innerHeight;\n");
		 
	OpenWindow.document.write("window.resizeBy(document.pic.width - x, document.pic.height - y); \n");
	
	if( ns) OpenWindow.document.write("window.resizeBy(20, 20); \n");
	if( ns) OpenWindow.document.write("window.resizeBy(-20, -20); \n");
	OpenWindow.document.write("}\n ");
	OpenWindow.document.write("</script>\n")
	OpenWindow.document.write("</BODY>")
	OpenWindow.document.write("</HTML>")


}

function picmouseover(obj){

obj.style.cursor='hand';
}

function picmouseout(obj){

obj.style.cursor='default';
}

