function 
popUpImg(url, w, h, title)
{
	var width = w + 30;
	var height = h + 40;
    var left = (screen.width/2) - (width/2);
	var top = (screen.height/2) - (height/2);
	top -= 100;
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(url, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=' + width + ',height=' + height + ',left=' + left + ',top=' + top);");
}


function 
popUp(url, w, h, title)
{
	var width = w;
	var height = h;
    var left = (screen.width/2) - (width/2);
	var top = (screen.height/2) - (height/2);
	top -= 100;
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(url, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=' + width + ',height=' + height + ',left=' + left + ',top=' + top);");
}

