function validate(theForm) {
var se_objFormElement
se_objFormElement = theForm.frmSiteURL
if (se_objFormElement.value == "") {
alert("Please enter value: Site URL");
se_objFormElement.focus();
return (false)
	}
if (se_objFormElement.value == "http://") {
alert("Please enter value: Site URL");
se_objFormElement.focus();
return (false)
	}
se_objFormElement = theForm.frmSiteTitle
if (se_objFormElement.value == "") {
alert("Please enter value: Site Title");
se_objFormElement.focus();
return (false)
	}
se_objFormElement = theForm.frmSiteDesc
var maxlength=200
if (se_objFormElement.value.length>maxlength) {
alert("The description must be 200 characters or less!");
se_objFormElement.focus();
return (false)
	}
se_objFormElement = theForm.frmContactName
if (se_objFormElement.value == "") {
alert("Please enter value: Contact Person");
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.frmRecLink
if (se_objFormElement.value == "") {
alert("Please enter value: Reciprocal Link");
se_objFormElement.focus();
return (false)
	}
if (se_objFormElement.value == "http://") {
alert("Please enter value: Reciprocal Link");
se_objFormElement.focus();
return (false)
	}


var btxt='Dear webmaster,%0D%0A%0D%0APlease consider placing in Altours BG links directory a link to our site with the following information:%0D%0ASite URL: '+document.theForm.frmSiteURL.value+';%0D%0A'+'Site title: '+document.theForm.frmSiteTitle.value+';%0D%0A'+'Site description: '+document.theForm.frmSiteDesc.value+'; '+'%0D%0A'+'Contact person: '+document.theForm.frmContactName.value+';%0D%0A';
btxt=btxt+'E-mail: '+' ('+document.theForm.frmEmail.value+')'+';%0D%0AReciprocal link to http://www.altours-bg.com already placed at: '+document.theForm.frmRecLink.value;
btxt=btxt+';%0D%0ANotes: > '+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;&#119;&#101;&#98;&#109;&#x61;&#115;&#x74;&#x65;&#x72;&#64;&#x61;&#108;&#x74;&#111;&#x75;&#x72;&#115;&#45;&#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><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="44" title="A Tradition of Excellence in Cultural Travel" alt="Altours motto" src="images/tradition-of-excellence-cultural-tourism-5.jpg" width="500" vspace="22" border="0"><\/td><td noWrap vAlign="top" align="center" width="180"><img height="91" alt="Altours logo" src="images/twenty-years-bulgaria.jpg" width="91" vspace="4" 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/addurlform-112x112.jpg" width="112" height="112" border="0" alt="Suggest your website"><\/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">Suggest a Website<\/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>LINK EXCHANGE FORM EXIT<\/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 width="200" align="right"><a href="'+ jsLink +'" title="'+ jsTitle +'"><img height="27" width="47" src="images/email.jpg" align="top" border="0" alt=""><\/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=""><\/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-2010 Altours<sup><font size=-2>BG<\/font><\/sup>&nbsp;~ Cultural Tours in  Bulgaria<\/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;
}

