function open_new(url,w,h){
	open_new(url,w,h,'yes');
}
function open_new(url,w,h,s) { 
nPopUp = window.self.open("","_blank","toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=yes,copyhistory=no,width="+w+",height="+h);
ndoc = nPopUp.document;
ndoc.close();
ndoc.open();
atrs = '<HTML><HEAD><TITLE>Nazri Resort</TITLE></HEAD>';
atrs+= '<BODY BGCOLOR="white" LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH="" MARGINHEIGHT="">';
atrs+= "<A HREF='javascript:self.close()'><IMG SRC='"+url+"' BORDER=0></A>";

atrs+= "</BODY></HTML>";
ndoc.write(atrs);
ndoc.close();
}
function openWindow(obj,wd,ht){

	features = "width="+wd+",height="+ht;      
	features += ",left=10,top=10,screenX=0,screenY=0,location=no,toolbar=no,menubar=no,status=no,scrollbars=yes,resizable=no";
	webwindow=window.open(obj, 'webwindow1', features);
	if (parseInt(navigator.appVersion) >= 4) { 
		webwindow.window.focus(); 
	}
}

