function password() { if(member=="vincent") { if(pass=="1668") { alert("Check this out !!") window.location.href = "http://www.kvl.com.hk/new/main.html"," _self" flag2=1 } } if(member=="") { } else { if(flag==3) { window.location.href = "http://www.kvl.com.hk" flag2=1 } if(flag2==1) {} else { alert ("Pls contact us at : pck@kvl.com.hk") flag=flag+1 } } }