function popup_ss(file,w,h,name){
	t= h + 40 ;
	var win=window.open("",name,"width="+w+",height="+t+",resizable=0,scrollbars=0");

	win.document.open("text/html");
	win.document.write('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">');
	win.document.write('<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">');
	win.document.write('<head><meta http-equiv="content-language" content="ja" />');
	win.document.write('<title>スクリーンショット</title></head>');
	win.document.write('<body style="background:url(http://static.nexon.co.jp/lostonline/common/20070201_bg.jpg);margin:0;">');
	win.document.write('<p style="margin:0;"><img src="http://static.nexon.co.jp/lostonline/top/ss/'+file+'" border="0" width="'+w+'" height="'+h+'" alt="" /></p>');
	win.document.write('<div style="width:100%;height:40px;margin:0;padding-top:10px;text-align:center;"><a href="javascript:close();" style="font-size:14px;font-weight:bold;color:#ffffff;">× 閉じる</a></div>');
	win.document.write('</body></html>');
	win.document.close();

	if(navigator.userAgent.indexOf("Mac")!=-1){
	win.resizeTo(w,h);
	}
}
