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=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=780,height=450');      
}