			var booksiteURL = 'http://www.theheightsphuket.com';
			var booksiteName = 'The Heights Phuket'; 
			var formPoint = 'http://www.raimonland.com/en/ContactSaveBar_theheightsphuket.php';
			var facebookLink = 'http://www.facebook.com/pages/Bangkok-Thailand/Raimon-Land/310353922747';
			var twitterLink = 'http://twitter.com/raimonland';
			var siteURL = 'http://www.theheightsphuket.com/';
			var imgPart = 'http://www.theheightsphuket.com/images/';
			var BrowsWidth = screen.availWidth-20;
			document.write('<div style="width:100%;height:30px;position:fixed;bottom:0px;left:0px;text-align:center;z-index:9999;display:block; vertical-align:bottom; table-layout:fixed;">');
			document.write('<table width="100%" height="30" border="0" cellpadding="0" cellspacing="0"><tr><td>');
			document.write('<!-- bottom menu -->');
			document.write('<!--[if lte IE 9]><![endif]-->');
			document.write('<div align="center" style="width:100%;height:30px;position:fixed;bottom:0px; left:0; text-align:center;z-index:9999;display:block; vertical-align:top; table-layout:fixed; border:none 0px; background-color:transparent; background:url(http://www.theheightsphuket.com/images/bg.png) repeat-x;">');
			document.write('<div align="center" style="width:970px; height:30px; text-align:center;margin:0px auto 0px auto;vertical-align:top;table-layout:fixed;">');
			function ckf(form){
				var valid = true;
				if((form.txtName.value == '')||(form.txtName.value == 'NAME')){
					alert('Please fill Name');
					form.txtName.focus();
								valid = false;
				}else
				if((form.txtEmail.value == '')||(form.txtEmail.value == 'EMAIL')){
		
					alert('Please fill Email');
					form.txtEmail.focus();
								valid = false;
				}else
				if((form.txtTel.value == '')||(form.txtTel.value == 'TELEPHONE')){
					alert('Please fill Telephone number');
					form.txtTel.focus();
								valid = false;
				}else
				if(valid == true){
					alert('Thank you for your interest in Raimon Land and our developments.\nYou will be hearing from us soon if you selected to be contacted or sent our monthly newsletters.')
				}
				return valid;
			}
			document.write('<form id="frmReg_Eng" name="frmReg_Eng" method="post" action="'+formPoint+'" style="font:Verdana, Arial, Helvetica, sans-serif 9px #FFF;color:#666666;text-align:center;vertical-align:top;margin:0px 0px 0px 0px; border:none 0px;" onSubmit="pageTracker._trackPageview(\'/bottomBar.js\'); return ckf(frmReg_Eng);">');
			document.write('<table border="0" width="970px" height="30px" cellpadding="0" cellspacing="0" style="table-layout:fixed;">');
			document.write('<tr height="30" valign="top">');
			document.write('<td width="970px" valign="top">');
			document.write('<div style="float:left; width:90px; padding:8px 0px 0px 14px; border:none 0px;">');
			document.write('<a href="'+facebookLink+'" target="_blank"><img src="http://www.theheightsphuket.com/images/facebook.png" alt="Facebook" border="0" width="18"></a><img src="http://www.theheightsphuket.com/images/blank.png" width="5" height="1">');
			document.write('<a href="'+twitterLink+'" target="_blank"><img src="http://www.theheightsphuket.com/images/twitter.png" alt="Twitter" border="0" width="18"></a><img src="http://www.theheightsphuket.com/images/blank.png" width="5" height="1">');   
      function bookmark_us(url, title){
        if (window.sidebar) // firefox
            window.sidebar.addPanel(title, url, "");
        else if(window.opera && window.print){ // opera
            var elem = document.createElement('a');
            elem.setAttribute('href',url);
            elem.setAttribute('title',title);
            elem.setAttribute('rel','sidebar');
            elem.click();
        }
        else if(document.all)// ie
            window.external.AddFavorite(url, title);
      }
			document.write('<a href="javascript:bookmark_us(booksiteURL,booksiteName);">');			
			document.write('<img src="http://www.theheightsphuket.com/images/bookmark.png" alt="Twitter" border="0" width="18"></a>');
			document.write('</div>');
			document.write('<div style="float:left; width:31px; padding:0px 0px 0px 0px;"><img src="http://www.theheightsphuket.com/images/line.png" border="0" width="31" height="30"/></div>');
			document.write('<div style="float:left; width:188px; padding:5px 0px 0px 5px;"><!--[if lte IE 9]>');
			document.write('<input name="txtName" id="txtName" type="text" value="NAME" onfocus="clrval2(txtName);" onblur="blFill2(txtName);" style="width:188px;max-width:188px;height:20px;font-size:12px !important; line-height:120% !important;color:#fff;border:none;background:url(http://www.theheightsphuket.com/images/input0.png) no-repeat transparent top left;padding:3px 20px 0px 11px;margin:0px 0px 0px 0px;border-spacing:0px;"  maxlength="30" />');
			document.write('<![endif]--><!--[if !IE]><!-->');
			document.write('<input name="txtName" id="txtName" type="text" value="NAME" onfocus="clrval2(txtName);" onblur="blFill2(txtName);" style="width:188px;height:20px;font-size:11px !important;line-height:120% !important;color:#fff;border:none;background:url(http://www.theheightsphuket.com/images/input0.png) no-repeat transparent top left;padding:0px 20px 0px 10px;margin:0px 0px 0px 0px;border-spacing:0px;" maxlength="30" />');
			document.write('<!--<![endif]-->');
			function clrval2(eleid){
				var temVal = eleid.value ;
				eleid.style.background='url(http://www.theheightsphuket.com/images/input.png) no-repeat transparent top left';
				if(temVal == 'NAME'){
					eleid.value='';
				}
				else{
					eleid.value=temVal;
				}
			}
			
			function blFill2(eleid){
				eleid.style.background='url(http://www.theheightsphuket.com/images/input0.png) no-repeat transparent top left';
			}
			document.write('</div>');
			document.write('<div style="float:left; width:188px; padding:5px 0px 0px 10px;">');
			document.write('<!--[if lte IE 9]>');
			document.write('<input name="txtEmail" id="txtEmail" type="text" value="EMAIL" onfocus="clrval1(txtEmail);" onblur="blFill1(txtEmail);" style="width:188px;max-width:188px;height:20px;font-size:12px !important;line-height:120% !important;color:#fff;border:none;background:url(http://www.theheightsphuket.com/images/input0.png) no-repeat transparent top left;padding:3px 20px 0px 11px;margin:0px 0px 0px 0px;border-spacing:0px;" maxlength="30" />');
			document.write('<![endif]-->');
			document.write('<!--[if !IE]><!-->');
			document.write('<input name="txtEmail" id="txtEmail" type="text" value="EMAIL" onfocus="clrval1(txtEmail);"  onblur="blFill1(txtEmail);" style="width:188px;height:20px;font-size:11px !important;line-height:120% !important;color:#fff;border:none;background:url(http://www.theheightsphuket.com/images/input0.png) no-repeat transparent top left;padding:0px 20px 0px 10px;margin:0px 0px 0px 0px;border-spacing:0px;" maxlength="30" />');
			document.write('<!--<![endif]-->');
			function clrval1(eleid){
				var temVal = eleid.value ;
				eleid.style.background='url(http://www.theheightsphuket.com/images/input.png) no-repeat transparent top left';
				if(temVal == 'EMAIL'){
					eleid.value='';
				}
				else{
					eleid.value=temVal;
				}
			}
			
			function blFill1(eleid){
				eleid.style.background='url(http://www.theheightsphuket.com/images/input0.png) no-repeat transparent top left';
			}
			document.write('</div>');
			document.write('<div style="float:left; width:188px; padding:5px 0px 0px 10px;">');
			document.write('<!--[if lte IE 9]>');
			document.write('<input name="txtTel" id="txtTel" type="text" value="TELEPHONE"  onfocus="clrval(txtTel);" onblur="blFill(txtTel);" style="width:188px;max-width:188px;height:20px;font-size:12px !important;line-height:120% !important;color:#fff;border:none;background:url(http://www.theheightsphuket.com/images/input0.png) no-repeat transparent top left;padding:3px 20px 0px 11px;margin:0px 0px 0px 0px;border-spacing:0px;" maxlength="30" />');
			document.write('<![endif]-->');
			document.write('<!--[if !IE]><!-->');
			document.write('<input name="txtTel" id="txtTel" type="text" value="TELEPHONE"  onfocus="clrval(txtTel);" onblur="blFill(txtTel);" style="width:188px;height:20px;font-size:11px !important;line-height:120% !important;color:#fff;border:none;background:url(http://www.theheightsphuket.com/images/input0.png) no-repeat transparent top left;padding:0px 20px 0px 10px;margin:0px 0px 0px 0px;border-spacing:0px;" maxlength="30" />');
			document.write('<!--<![endif]-->');
			function clrval(eleid){
				var temVal = eleid.value ;
				eleid.style.background='url(http://www.theheightsphuket.com/images/input.png) no-repeat transparent top left';
				if(temVal == 'TELEPHONE'){
					eleid.value='';
				}
				else{
					eleid.value=temVal;
				}
			}
			
			function blFill(eleid){
				eleid.style.background='url(http://www.theheightsphuket.com/images/input0.png) no-repeat transparent top left';
			}
			document.write('</div>');    
    	document.write('<div style="float:left; width:auto; padding-top:12px; padding-left:10px;"><img src="http://www.theheightsphuket.com/images/contact-me.png" alt="Contact me"></div>');
    	document.write('<div style="float:left; width:auto; padding-top:5px;"><input name="chk1" type="checkbox" value="Contact Me Yes" checked="checked"/></div>');
    	document.write('<div style="float:left; width:auto; padding-top:12px; padding-left:10px;"><img src="http://www.theheightsphuket.com/images/newsletter.png" alt="Newsletter"></div>');
    	document.write('<div style="float:left; width:auto; padding-top:5px;"><input name="chk2" type="checkbox" value="Newsletter Yes" checked="checked"/></div>');
			document.write('<div style="float:left; width:52px; padding-top:2px; padding-left:10px; padding-right:5px;"><input name="submit" type="image" src="http://www.theheightsphuket.com/images/submit.png" style="font:0.65em bold; margin:3px;background:transparent url(http://www.theheightsphuket.com/images/submit.png) no-repeat;height:20px;border:none 0 #fff;width:51px;color:#fff;text-transform:uppercase;" id="submit" value="submit" /></div>');    
			document.write('<input name="current" type="hidden" value="'+document.location.href+'" />');
    	document.write('<input name="previous" type="hidden" value="'+document.referrer+'" />');    
			document.write('</td></tr></table></form></div></div></td></tr></table></div>');     

