function submitIt_EditProfile(theForm){

			if (theForm.fld_pw_new1.value != theForm.fld_pw_new2.value){
				alert("Passwords do not match")
				theForm.fld_pw_new2.focus()
				return false
			}
			
			if (theForm.fld_name1.value == "") {
				alert("Please enter your first name")
				theForm.fld_name1.focus()
				return false
			}

						
			if (theForm.fld_name2.value == "") {
				alert("Please enter your second name")
				theForm.fld_name2.focus()
				return false
			}
			
		return true
		}

function submitIt_contact(theForm){

			if (theForm.from.value == "") {
				alert("What's your name?")
				theForm.from.focus()
				return false
			}

			if (theForm.from_email.value == "") {
				alert("What's your email address?")
				theForm.from_email.focus()
				return false
			}

			if (theForm.from.value == "") {
				alert("What's your name?")
				theForm.from.focus()
				return false
			}

			if (theForm.subject.value == "") {
				alert("What's the subject?")
				theForm.subject.focus()
				return false
			}

			if (theForm.message.value == "") {
				alert("Please say something?")
				theForm.message.focus()
				return false
			}
			
			if (theForm.validate.value == "") {
				alert("Please enter the validation code")
				theForm.validate.focus()
				return false
			}			

		return true
		}

function submitIt_card_build(theForm){

			if (theForm.Card_Sender.value == "") {
				alert("What's your name?")
				theForm.Card_Sender.focus()
				return false
			}

			if (theForm.Senders_Email.value == "") {
				alert("What's your email address?")
				theForm.Senders_Email.focus()
				return false
			}

			if (theForm.Card_Recipient.value == "") {
				alert("What's their name?")
				theForm.Card_Recipient.focus()
				return false
			}

			if (theForm.Recipients_Email.value == "") {
				alert("What's their email address?")
				theForm.Recipients_Email.focus()
				return false
			}

			if (theForm.Card_Heading.value == "") {
				alert("Please enter a title for the ecard")
				theForm.Card_Heading.focus()
				return false
			}

			if (theForm.Card_Body.value == "") {
				alert("Please enter a message")
				theForm.Card_Body.focus()
				return false
			}

		return true
		}

function af(theForm){

			if (theForm.Card_Recipient.value == "") {
				alert("What's their name?")
				theForm.Card_Recipient.focus()
				return false
			}

			if (theForm.Recipients_Email.value == "") {
				alert("What's their email address?")
				theForm.Recipients_Email.focus()
				return false
			}

			if (theForm.Card_Heading.value == "") {
				alert("Please enter a title for the ecard")
				theForm.Card_Heading.focus()
				return false
			}

			if (theForm.Card_Body.value == "") {
				alert("Please enter a message")
				theForm.Card_Body.focus()
				return false
			}

		return true
		}

function OnButton1(){

			if (theForm.Card_Sender.value == "") {
				alert("What's your name?")
				theForm.Card_Sender.focus()
				return false
			}

			if (theForm.Senders_Email.value == "") {
				alert("What's your email address?")
				theForm.Senders_Email.focus()
				return false
			}

			if (theForm.Card_Recipient.value == "") {
				alert("What's their name?")
				theForm.Card_Recipient.focus()
				return false
			}

			if (theForm.Recipients_Email.value == "") {
				alert("What's their email address?")
				theForm.Recipients_Email.focus()
				return false
			}

			if (theForm.Card_Heading.value == "") {
				alert("Please enter a title for the ecard")
				theForm.Card_Heading.focus()
				return false
			}

			if (theForm.Card_Body.value == "") {
				alert("Please enter a message")
				theForm.Card_Body.focus()
				return false
			}

			if (document.all||document.getElementById){
			for (i=0;i<theForm.length;i++){
			var tempobj=theForm.elements[i]
			if(tempobj.type.toLowerCase()=="submit"||tempobj.type.toLowerCase()=="reset")
			tempobj.disabled=true
			}
			}

		document.theForm.action = "preview.asp"
		document.theForm.submit();
		return true;

		return true
		}

function OnButton2(){

			if (theForm.Card_Sender.value == "") {
				alert("What's your name?")
				theForm.Card_Sender.focus()
				return false
			}

			if (theForm.Senders_Email.value == "") {
				alert("What's your email address?")
				theForm.Senders_Email.focus()
				return false
			}

			if (theForm.Card_Recipient.value == "") {
				alert("What's their name?")
				theForm.Card_Recipient.focus()
				return false
			}

			if (theForm.Recipients_Email.value == "") {
				alert("What's their email address?")
				theForm.Recipients_Email.focus()
				return false
			}

			if (theForm.Card_Heading.value == "") {
				alert("Please enter a title for the ecard")
				theForm.Card_Heading.focus()
				return false
			}

			if (theForm.Card_Body.value == "") {
				alert("Please enter a message")
				theForm.Card_Body.focus()
				return false
			}

			if (document.all||document.getElementById){
			for (i=0;i<theForm.length;i++){
			var tempobj=theForm.elements[i]
			if(tempobj.type.toLowerCase()=="submit"||tempobj.type.toLowerCase()=="reset")
			tempobj.disabled=true
			}
			}

		document.theForm.action = "process.asp"
		document.theForm.submit();
		return true;

		return true
		}

function submitIt_pickup(theForm){

			if (theForm.id.value == "") {
				alert("Please enter the card ID as per your email")
				theForm.id.focus()
				return false
			}

		return true
		}

function validate_gb_send(theForm){

			if (theForm.recName.value == "") {
				alert("What's your name?")
				theForm.recName.focus()
				return false
			}

			if (theForm.recBody.value == "") {
				alert("What's your message?")
				theForm.recBody.focus()
				return false
			}

			if (document.all||document.getElementById){
			for (i=0;i<theForm.length;i++){
			var tempobj=theForm.elements[i]
			if(tempobj.type.toLowerCase()=="submit"||tempobj.type.toLowerCase()=="reset")
			tempobj.disabled=true
			}
			}

		return true
		}

function validate_gb_reply(theForm){

			if (theForm.recName.value == "") {
				alert("What's your name?")
				theForm.recName.focus()
				return false
			}

			if (theForm.recTitle.value == "") {
				alert("What's the title/subject of the message?")
				theForm.recTitle.focus()
				return false
			}

			if (theForm.recBody.value == "") {
				alert("What's your message?")
				theForm.recBody.focus()
				return false
			}

			if (document.all||document.getElementById){
			for (i=0;i<theForm.length;i++){
			var tempobj=theForm.elements[i]
			if(tempobj.type.toLowerCase()=="submit"||tempobj.type.toLowerCase()=="reset")
			tempobj.disabled=true
			}
			}

		return true
		}

function submitIt_links(theForm){

			if (theForm.LinkTitle.value == "") {
				alert("What's the link title?")
				theForm.LinkTitle.focus()
				return false
			}

			if (theForm.linkHref.value == "") {
				alert("What's the link?")
				theForm.linkHref.focus()
				return false
			}

			if (theForm.linkInfo.value == "") {
				alert("What's the link description?")
				theForm.linkInfo.focus()
				return false
			}

		return true
		}

function submitIt_UserLogin(theForm){

			if (theForm.un.value == "") {
				alert("Please enter your username")
				theForm.un.focus()
				return false
			}

			if (theForm.pw.value == "") {
				alert("Please enter your password")
				theForm.pw.focus()
				return false
			}

		return true
		}

function validateTop (){

			if (document.all||document.getElementById){
			for (i=0;i<theForm.length;i++){
			var tempobj=theForm.elements[i]
			if(tempobj.type.toLowerCase()=="submit"||tempobj.type.toLowerCase()=="reset")
			tempobj.disabled=true
			}
			}
return true
}

function MM_jumpMenu(targ,selObj,restore){
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function submitIt_contactReg(theForm){

			if (theForm.fld_un.value == "") {
				alert("Please enter a username")
				theForm.fld_un.focus()
				return false
			}
			
			if (theForm.fld_pw.value == "") {
				alert("Please enter a password")
				theForm.fld_pw.focus()
				return false
			}
			
			if (theForm.fld_pw2.value == "") {
				alert("Please confirm your password")
				theForm.fld_pw2.focus()
				return false
			}				

			if (theForm.fld_pw.value !=  theForm.fld_pw2.value) {
				alert("Passwords do not match")
				theForm.fld_pw.focus()
				return false
			}	

			if (theForm.fld_name1.value == "") {
				alert("Please enter your first name")
				theForm.fld_name1.focus()
				return false
			}		
		
			if (theForm.fld_name2.value == "") {
				alert("Please enter your surname")
				theForm.fld_name2.focus()
				return false
			}					

			if (theForm.fld_email.value == "") {
				alert("Please enter your email address")
				theForm.fld_email.focus()
				return false
			}

			if (theForm.fld_email2.value == "") {
				alert("Please confirm your email address")
				theForm.fld_email2.focus()
				return false
			}

			if (theForm.fld_email.value !=  theForm.fld_email2.value) {
				alert("Emails do not match")
				theForm.fld_email.focus()
				return false
			}	

			if (theForm.validate.value == "") {
				alert("Please enter the validation key")
				theForm.validate.focus()
				return false
			}

		return true
		}
