/* This source has been formatted by an unregistered SourceFormatX */
/* If you want to remove this info, please register this shareware */
/* Please visit http://www.textrush.com to get more information    */

var SAL=function(){return{debug:function(){return(false);},targetId:'',
postResponse:'',GetXmlHttp:function(){var xmlhttp=false;if(
window.XMLHttpRequest){xmlhttp=new XMLHttpRequest()}else if(
window.ActiveXObject){try{xmlhttp=new ActiveXObject("Msxml2.XMLHTTP")}catch(e){
try{xmlhttp=new ActiveXObject("Microsoft.XMLHTTP")}catch(E){xmlhttp=false}}};
return xmlhttp;},PostToUrl:function(url,saveToVar){var xmlhttp=new 
SAL.GetXmlHttp();if(xmlhttp){if(typeof saveToVar!='undefined'){
xmlhttp.onreadystatechange=function(){if(this.readyState==4)if(this.status==200
){eval(saveToVar+" = "+this.responseText+";");}};}xmlhttp.open("GET",url,true);
xmlhttp.send(null);}},PassAjaxResponseToFunction:function(url,callbackFunction,
params){var xmlhttp=new SAL.GetXmlHttp();if(xmlhttp){xmlhttp.onreadystatechange
=function(){if(this&&this.readyState==4){if(this.status==200){var response=
this.responseText;if(SAL.debug()){alert(response);}if(callbackFunction!=null&&
callbackFunction!='undefined'){var functionToCall=callbackFunction+'(response,'
+params+')';eval(functionToCall);}}else if(SAL.debug()){document.write(
this.responseText);}}};xmlhttp.open("GET",url,true);xmlhttp.send(null);}},
PassAjaxResponseToStringVariable:function(url,variableToSet){var xmlhttp=new 
SAL.GetXmlHttp();if(xmlhttp){xmlhttp.onreadystatechange=function(){if(this&&
this.readyState==4){if(this.status==200){var response=this.responseText;if(
SAL.debug()){alert(response);}if(callbackFunction!=null&&callbackFunction!=
'undefined'){var functionToCall=variableToSet+' = "'+response+'"';eval(
functionToCall);}}else if(SAL.debug()){document.write(this.responseText);}}}
xmlhttp.open("GET",url,true);xmlhttp.send(null);}},SetInnerHTMLFromAjaxResponse
:function(url,obj_id){var xmlhttp=new SAL.GetXmlHttp();if(xmlhttp){SAL.targetId
=obj_id;xmlhttp.onreadystatechange=function(){if(this&&this.readyState==4){if(
this.status==200){if(SAL.debug()){alert(this.responseText);}if(typeof 
SAL.targetId=='object'){SAL.targetId.innerHTML=this.responseText;}else{
document.getElementById(SAL.targetId).innerText=this.responseText;}}else if(
SAL.debug()){document.Write(this.responseText);}}};xmlhttp.open("GET",url,true)
;xmlhttp.send(null);}}}}();
