function postToTwitter(){	
	
	xmlHttp=GetXmlHttpObject();	
	
	
	if (xmlHttp==null){
		//alert ("Browser does not support HTTP Request")
		return
	}	
	
	params = 'title=' + escape(document.title);
	
	params = params + '&link=' + escape(location.href);	

	var url="http://www.toursansebastian.com/galveston/posttotwitter.php?" +params ;
		
	xmlHttp.onreadystatechange=stateChanged 	
	
	xmlHttp.open("post",url,true)	;
	
	xmlHttp.send(null);

}

function stateChanged(){
	return true;
}
function GetXmlHttpObject(){
	 var xmlHttp=null;
	 try{
	  // Firefox, Opera 8.0+, Safari
	  xmlHttp=new XMLHttpRequest();
	 }catch (e) {
	  //Internet Explorer
	  try{
	   xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
	  }catch (e){
	   xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
	  }
	 }
	 return xmlHttp;
	 return true;
}
