	
function load_join_us_form()			
{
	var joinus=document.getElementById('joinus').value;	
								
	if(joinus!="" && isEmail(joinus)){

		var xmlhttp;					
		try{					
			xmlhttp=new XMLHttpRequest();					
		} 					
		catch(e){
			try{
				xmlhttp=new ActiveXObject("Msxml2.XMLHTTP");					
			}
			catch(e){
				try{
					xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");										
				}
					catch(e){
						alert("AJAX Not Supported");
					}
				}
			}
		xmlhttp.onreadystatechange=function(){
			if(xmlhttp.readyState!=4){												
				var display=document.getElementById('joinusdiv');										display.innerHTML="<br /><img src='images/ajax_loader.gif' />";

			}																	
			if(xmlhttp.readyState==4){										
				var display=document.getElementById('joinusdiv');										display.innerHTML=xmlhttp.responseText;															
			}								
		}												
		var url="/submit-join-us-form.php";
		data="joinus="+URLEncode(joinus);						
		if (xmlhttp) {
			//alert (url +"?"+ data);
			//xmlhttp.onreadystatechange=xmlhttpChange;
			xmlhttp.open("POST",url,true);
			xmlhttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
			xmlhttp.send(data);
		}

		}else{
			alert("Please enter a valid email address");
		}			
}		
