<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Anders Jennerberg (anders@katedral.se) -->
<!-- Begin
function ViewImage(ifile,ix,iy,ititle) {
var win;
var sWidth;
var sHeight;
var NS = (document.layers) ? 1 : 0;
win = window.open("","imageviewer","width="+ix+",height="+iy+",menubar=no,toolbar=no");
if (NS) {
sWidth = win.innerWidth;
sHeight = win.innerHeight;
} else {
sWidth = win.document.body.clientWidth;
sHeight = win.document.body.clientHeight;
}
if(sWidth!=ix || sHeight!=iy) {
win.close();
setTimeout("ViewImage('"+ifile+"',"+ix+","+iy+",'"+ititle+"')", 250);
return;
}
win.document.open();
win.document.write("<html><head><title>"+ititle+"</title>");
win.document.write("<META http-equiv='imagetoolbar' content='no'> </head><body>");
win.document.write('<div style="position:absolute;width:'+ix+'px;height:'+iy+'px;left:0px;top:0px">');
win.document.write("<a href=javascript:window.close()><img src="+ifile+" alt='이미지를 클릭하시면 창이 닫힙니다'></a></div></body></html>");
win.document.close();
}
// End -->
</script>
</HEAD>
<BODY>
<a href="javascript:ViewImage('apartment-large.jpg',576,303,'An Apartment')">
<img src="apartment-small.jpg" width=288 height=152 border=1></a>
<br>
<br>
<a href="javascript:ViewImage('apartment-large.jpg',576,303,'An Apartment')">집구경 하기</a> |
|