/*
以後
*/
function openimg(path,w,h,uri) {
	var img=new Image();
	img.src=path;
	var func='width='+w+',height='+h;
	var ls=window.open('about:blank','_blank',func);
	ls.focus();	
	ls.document.open();
	ls.document.writeln('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">');
	ls.document.writeln('<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-TW" lang="zh-TW">');
	ls.document.writeln('<head>');
	ls.document.writeln('<meta http-equiv="Content-Language" content="zh-tw" />');
	ls.document.writeln('<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />');
	ls.document.writeln('<meta http-equiv="Cache-Control" content="no-cache" />');
	ls.document.writeln('<meta name="keyed" content="After" />');
	ls.document.writeln('<title>照片瀏覽</title>');
	ls.document.writeln('<style type="text/css">');
	ls.document.writeln('body {margin:0;}');
	ls.document.writeln('.pa {left:'+(w-100)+'px;top:'+(h-30)+'px;position:absolute;cursor:pointer;}');
	ls.document.writeln('</style>');
	ls.document.writeln('</head>');
	ls.document.writeln('<body>');
	ls.document.writeln('<img src="'+uri+'images/close.gif" border="0" class="pa" onclick="window.close()" />');
	ls.document.writeln('<img src="'+uri+path+'" border="0" />');
	ls.document.writeln('</body>');
	ls.document.writeln('</html>');
	ls.document.close();
}
