function validate(theForm) {
var se_objFormElement
se_objFormElement = theForm.frmTitle
if (se_objFormElement.options[se_objFormElement.selectedIndex].value == "") {
alert("Please select value: Title");
se_objFormElement.focus();
return (false)
	}
se_objFormElement = theForm.frmFirstName
if (se_objFormElement.value == "") {
alert("Please enter value: Forename");
se_objFormElement.focus();
return (false)
	}
se_objFormElement = theForm.frmLastName
if (se_objFormElement.value == "") {
alert("Please enter value: Surname");
se_objFormElement.focus();
return (false)
	}
se_objFormElement = theForm.frmEmail
if (se_objFormElement.value == "") {
alert("Please enter value: E-mail");
se_objFormElement.focus();
return (false)
	}
se_objFormElement = theForm.frmEmail
var goodEmail = se_objFormElement.value.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.gov)|(\.org)|(\..{2,2}))$)\b/gi);
if (!goodEmail){
alert("Please enter a valid e-mail address");
se_objFormElement.focus();
return (false)
	}
se_objFormElement = theForm.frmNotes
if (se_objFormElement.value == "") {
alert("Please enter value: Tour/Notes");
se_objFormElement.focus();
return (false)
	}
var btxt='ENQUIRY%0D%0A%0D%0AFrom:%20'+document.theForm.frmTitle.value+'%20'+document.theForm.frmFirstName.value+'%20'+document.theForm.frmLastName.value+'%0D%0A';
btxt=btxt+'E-mail:%20'+document.theForm.frmEmail.value+'%0D%0ACountry:%20'+document.theForm.frmCountry.value+'%0D%0AOrganisation:%20'+document.theForm.frmOrganisation.value+'%0D%0APosition:%20'+document.theForm.frmPosition.value+'%0D%0Afax:%20'+document.theForm.frmFax.value+'%0D%0A';
btxt=btxt+'%28referring link%3A%20'+document.theForm.frmReferrer.value+'%29%0D%0A'+'______________________________________________________________________'+'%0D%0A%0D%0ADear%20Altours%2C%0D%0A%0D%0APlease%20find%20below%20my%20enquiry%3A%0D%0A'+'%0D%0A%5B%20Feel%20free%20to%20describe%20further%20your%20enquiry%2E%20Delete%20this%20line%2E%20%5D%0D%0A%0D%0ANotes:%0D%0A>>'+document.theForm.frmNotes.value+'<<%0D%0A%0D%0ARegards,';
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if 
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false");
var jsLink = '&#109;&#97;&#x69;&#x6c;&#x74;&#x6f;&#x3a;&#111;&#x66;&#x66;&#105;&#x63;&#x65;&#64;&#x61;&#108;&#x74;&#111;&#x75;&#114;&#x73;&#x2d;&#98;&#x67;&#x2e;&#99;&#x6f;&#x6d;?Subject='+document.theForm.frmSubject.value+'&amp;Body='+btxt;
var jsTitle = 'Click here to email the information by using your default email client account';
sHTML = '<html><head><title>validate-enq-form-exit<\/title><meta http-equiv="content-type" content="text/html; charset=UTF-8"><meta name="language" content="en-us"><link rel="stylesheet" type="text/css" href="Contact_files/altscroll.css"><link rel="stylesheet" type="text/css" href="Contact_files/elegant.css"><script type="text/javascript" src="js/butani.js"><\/script><script type="text/javascript" src="js/norclick.js"><\/script><\/head><body link="#CC5500" vlink="#CC5500" alink="#CC5500" style="margin:5px 0px 0px 12px;padding:0px;background-image:url(images/pastelplaid.jpg); background-repeat:repeat; "><div class="container"><table cellSpacing="0" cellPadding="0" width="984" align="left" border="0" bgcolor="#ffffff" style="background-image:url(\'head_std_files/blue_letter_back4.gif\')"><tbody><tr><td noWrap vAlign="top" align="center" width="235"><a href="../index.htm"><img height="55" title="To Altours Welcomepage" alt="Altours logo" src="head_std_files/altourslogo.jpg" width="200" vspace="22" border="0"><\/a><\/td><td noWrap vAlign="top" align="center" width="535"><img height="78" title="A Tradition of Excellence in Cultural Travel" alt="Altours motto" src="images/cultural-tours/tradition-of-excellence-cultural-tourism.jpg" width="417" vspace="10" border="0"><\/td><td noWrap vAlign="top" align="center" width="180"><img height="82" alt="Altours logo" src="images/cultural-tours/Bulgaria/20-years-bringing-you-closer-to-bulgaria.jpg" width="160" vspace="10" border="0"><\/td><td noWrap vAlign="top" align="center" width="34">&nbsp;<\/td><\/tr><\/tbody><\/table><br><br><br><br><br><br><br><table cellSpacing="0" cellPadding="0" width="984" align="left" border="0" bgcolor="#238e02"><tbody><tr><td width="750" valign="top" align="left"><table cellSpacing="0" cellPadding="0" width="70%" align="left" border="1" style="background-image:url(\'images/blue_green_back.gif\')"><tbody><tr><td noWrap width="0"><a href="home.htm" onMouseOver="act(\'home\')" onMouseOut="inact(\'home\')"><img src="homen.gif" height="24" width="120" name="home" border="0" title="Home" alt="Home"><\/a><\/td><td width="10"><img height="20" alt="" src="head_std_files/green_spacer.gif" width="10"><\/td><td noWrap width="0"><a href="about.htm" onMouseOver="act(\'about\')" onMouseOut="inact(\'about\')"><img src="aboutn.gif" height="24" width="140" name="about" border="0" title="About Altours" alt="About Altours"><\/a><\/td><td width="10"><img height="20" alt="" src="head_std_files/green_spacer.gif" width="10"><\/td><td noWrap width="0"><a href="why_bg.htm" onMouseOver="act(\'whybg\')" onMouseOut="inact(\'whybg\')"><img src="whybgn.gif" height="24" width="120" name="whybg" border="0" title="Why Bulgaria" alt="Why Bulgaria"><\/a><\/td><td width="10"><img height="20" alt="" src="head_std_files/green_spacer.gif" width="10"><\/td><td noWrap width="0"><a href="tours.htm" onMouseOver="act(\'tours\')" onMouseOut="inact(\'tours\')"><img src="toursn.gif" height="24" width="120" name="tours" border="0" title="Tours" alt="Tours"><\/a><\/td><td width="10"><img height="20" alt="" src="head_std_files/green_spacer.gif" width="10"><\/td><td noWrap width="0"><a href="gallery.htm" onMouseOver="act(\'gallery\')" onMouseOut="inact(\'gallery\')"><img src="galleryn.gif" height="24" width="120" name="gallery" border="0" title="Photo Gallery" alt="Photo Gallery"><\/a><\/td><td width="10"><img height="20" alt="" src="head_std_files/green_spacer.gif" width="10"><\/td><td noWrap width="0"><a href="hotels.htm" onMouseOver="act(\'hotels\')" onMouseOut="inact(\'hotels\')"><img src="hotelsn.gif" height="24" width="120" name="hotels" border="0" title="Hotels" alt="Hotels"><\/a><\/td><td width="10"><img height="20" alt="" src="head_std_files/green_spacer.gif" width="10"><\/td><td noWrap width="0"><a href="contact.htm" onMouseOver="act(\'contact\')" onMouseOut="inact(\'contact\')"><img src="contactn.gif" height="24" width="120" name="contact" border="0" title="Contact Us" alt="Contact Us"><\/a><\/td><\/tr><\/tbody><\/table><\/td><\/tr><\/tbody><\/table><br><br><table border="0" cellpadding="0" cellspacing="0" width="984" bgcolor="#238e02"><tbody><tr><td width="750" valign="top" align="left"><table border="0" cellpadding="0" cellspacing="0" width="750"><tbody><tr><td width="230" valign="top" align="center" bgcolor="#238e02"><br><img src="images/enq-100x120.jpg" width="100" height="120" border="0" alt="Just hotel acommodation, or a guided tour, entrust us with your travel arrangements."><\/td><td width="520" valign="top" align="center" bgcolor="#EAAC15"><img height="4" width="520" src="images/bar.jpg" align="top" border="0" alt=""><br><br><table cellspacing="0" cellpadding="0" width="100%" align="center" border="0"><tbody><tr><td><table cellspacing="0" cellpadding="0" width="400" align="center" bgcolor="#BD2931" border="0"><tbody><tr><td align="center" valign="top"><h1><font face="Arial" color="#ffcc00">Enquiry<\/font><\/h1><br><\/td><\/tr><\/tbody><\/table><\/td><\/tr><\/tbody><\/table><table cellspacing="0" cellpadding="0" width="494" bgcolor="#FFFCCF" border="0"><tbody><tr><td width="47" align="left" align="top"><img height="47" width="47" src="images/3t.gif" align="top" border="0" alt=""><\/td><td width="400"><table cellspacing="0" cellpadding="0" width="400" bgcolor="#FFFCCF" border="0"><tbody><tr><td width="400" align="left"><p align="left"><font face="Arial" size="2" color="#005500"><b>ENQUIRY FORM (Continued)<\/b><\/font><\/p><\/td><\/tr><\/tbody><\/table><table cellspacing="0" cellpadding="0" width="400" border="0"><tbody><tr><td width="400"><div style="height:14px;background: #fffccf url(images/band-.jpg) no-repeat scroll center;"><hr style="display:none;" \/><\/div><br><\/td><\/tr><\/tbody><\/table><\/td><td width="47" align="right" valign="top"><img height="47" width="47" src="images/2t.gif" align="top" border="0" alt=""><\/td><\/tr><tr><td width="47" align="left" valign="top">&nbsp;<\/td><td width="400" align="center"><table cellspacing="0" cellpadding="0" width="400" border="0"><tr><td align="justify"><font face="Arial" size="2" color="#005500">Click <b>Email<\/b> to continue - the form will try and deliver your message for final review to the email software in your computer (Outlook or similar).<\/font><\/td><\/tr></table><br><table cellspacing="0" cellpadding="0" width="400" border="0"><tr><td width="200" align="right"><a href="'+ jsLink +'" title="'+ jsTitle +'"><img height="27" width="47" src="images/email.jpg" align="top" border="0" alt="Click here to confirm"><\/a>&nbsp;&nbsp;</td><td width="200" align="left">&nbsp;&nbsp;<a href="javascript:history.back(1)" title="Click here or the browser Back button, to return to the previous page"><img height="27" width="53" src="images/return.jpg" align="top" border="0" alt="Click here or the browser Back button, to return to the previous page"><\/a><\/td><\/tr><\/table><\/td><td width="47" align="right" valign="top"><\/td><\/tr><tr><td width="47" align="left" valign="top"><img height="47" width="47" src="images/6t.gif" align="top" border="0" alt=""><\/td><td width="400" valign="middle" align="center"><a href="home.htm" onmouseover="act(\'buthome\')" onmouseout="inact(\'buthome\')"><img src="buthomen.gif" height="24" width="24" name="buthome" border="0" title="To Altours Homepage" alt="To Altours Homepage"><\/a><\/td><td width="47" align="right" valign="top"><img height="47" width="47" src="images/4t.gif" align="top" border="0" alt=""><\/td><\/tr><\/tbody><\/table><\/td><\/tr><\/tbody><\/table><table border="0" cellpadding="0" cellspacing="0" width="750"><tbody><tr><td width="230" valign="top" align="center" bgcolor="#238e02">&nbsp;<\/td><td width="520" valign="top" align="center" bgcolor="#EAAC15"><table cellspacing="0" cellpadding="0" width="100%" bgcolor="#EAAC15" border="0"><tbody><tr><td width="520" valign="top" align="center"><font face="Arial" size="2" color="#005500">Copyright&nbsp;<a href="copyright.htm" title="Copyright">&copy;<\/a>&nbsp;2002-2011 Altours<sup><font size=-2>BG<\/font><\/sup><\/font><\/td><\/tr><\/tbody><\/table><\/td><\/tr><\/tbody><\/table><\/td><td width="234" valign="top" align="center" bgcolor="#238e02"><table cellspacing="0" cellpadding="0" width="100%" align="center" border="0"><tbody><tr><td width="200" vAlign="top" bgcolor="#238e02">&nbsp;<\/td><\/tr><\/tbody><\/table><\/td><\/tr><\/tbody><\/table><table border="0" cellpadding="0" cellspacing="0" width="984" bgcolor="#238e02"><tbody><tr><td width="750" valign="top" align="left"><table border="0" cellpadding="0" cellspacing="0" width="750"><tbody><tr><td width="230" valign="top" align="center" bgcolor="#238e02">&nbsp;<\/td><td width="520" valign="top" align="center" bgcolor="#238e02""><img height="4" width="520" src="images/bar.jpg" align="top" border="0" alt=""><\/td><\/tr><\/tbody><\/table><\/td><\/tr><\/tbody><\/table><\/td><td width="234" valign="top" align="center" bgcolor="#238e02">&nbsp;<\/td><\/tr><\/tbody><\/table><\/td><\/tr><\/tbody><\/table><\/div><\/body><\/html>';
document.write(sHTML);
return;
}

