function p(url,name,height,width) {
height += 20;
width += 20;
var l,t,X,Y,lv,rv;
Y = window.screen.availHeight;
X = window.screen.availWidth;
lv = (X - width) / 2;
rv = (Y - height) / 2;
if(navigator.appName == "Microsoft Internet Explorer") {
l = lv;
t = rv;
} else {
l = (lv - pageXOffset);
t = (rv - pageYOffset);
}
open(url,name,"status=0, toolbar=0, location=0, height="+height+", width="+width+", left = "+l+", top = "+t);
}
