function openWindow(url, w, h) {
	var windowprops = "width=" + w + ",height=" + h;
	popup = window.open(url,'remote',windowprops);
}

function OpenPopup(path){
window.open('./' + path, 'WindowNAME', 'toolbar=yes,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=800,height=800');       
}