var imagePath="images/cover/"
var imageType=".gif"
var image0 = "enter";

mouse_over_0 = new Image;
mouse_over_0.src = imagePath+image0+"_"+imageType;
/////////////////////////////////////////
mouse_out_0 = new Image;
mouse_out_0.src = imagePath+image0+imageType;

function mover()
{document.enter.src = mouse_over_0.src;}
function mout()
{document.enter.src = mouse_out_0.src;}

var i=0
function pop(src,file,w,h)
{
var doc=window.open ("","new"+i,"width="+w+" height="+h+" top=20 left=20");
doc.document.write("<html><head><title>Redang Lang Island Resort</title>");
doc.document.write("<style type=\"text/css\">body{margin:0px;}</style>");
doc.document.write("<body><img src=\"images/"+src+"/"+file+".jpg\"></body></html>");
i+=1;
}

function CHKBooking(f)
{
	if(f.email.value!="")
	{
		if(f.email.value.search("@")==-1 || f.email.value.search("[.*]")==-1)
		{alert("Please enter your valid email address.");f.email.focus();return false;}
	}
return true;
}

function momo()
{if (event.keyCode < 48 || event.keyCode > 57) event.returnValue = false;}