function getInfo() {

doyou = confirm("These pictures contain nudity. Are you over 18? (OK = Yes   Cancel = No)"); //Your question.
if (doyou == true)
document.location.href = 'gallery.htm';

else

if (doyou == false)

alert("You are not old enough to view this page"); //If your question is answered No.



if (doyou == false)

history.go(0); //After answered No, the action. (In < this < case, it sends you back 1 page!)

}

function dom(myUrl) { //v2.0
  window.open(myUrl,'','scrollbars=yes,left=50,top=50,width=500,height=600');
}

  function dom(myUrl) { //v2.0
	    window.open(myUrl,'','scrollbars=yes,left=50,top=50,width=500,height=600');
	  }
	  
	  function validateForm(objForm)
	  {
	  	var szErrorMessage = "You need to enter the following information : \n\n";
	  	var szEmpty = "";
	  	var bOk = true;
	  	
	  if (objForm.firstname.value == szEmpty) {bOk = false; szErrorMessage += "your first name\n";}
	  if (objForm.email.value == szEmpty) {bOk = false; szErrorMessage += "your email address\n";}
	  if (objForm.enquiry.value == szEmpty) {bOk = false; szErrorMessage += "your enquiry\n";}
	  	if (!bOk) {
	  		alert(szErrorMessage);
	  	}
	  	return bOk;
}