if (top != self) {
top.location = self.location;
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i1024 || height>768)
{
window.open("show_image.php?name="+name+"&filename="+filename+"&width="+width+"&height="+height, "photos", "scrollbars=yes,resizable=yes");
} else {
window.open("show_image.php?name="+name+"&filename="+filename+"&width="+width+"&height="+height, "photos", "scrollbars=no,resizable=yes,width="+(width+56)+",height="+(height+56));
}
}