// JavaScript Document
	function getHttpObject(){
		var xmlhttp;
		if(window.ActiveXObject){
			try{
				xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
			}catch(e){
				try{
					xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
				}catch(e){
					xmlhttp = false;
				}
			}
		}else if(window.XMLHttpRequest){
			try{
				xmlhttp = new XMLHttpRequest();
			}catch(e){
				xmlhttp = false;
			}
		}
		return xmlhttp;
	}
	
	function addListener(eSrc, eType, eFunc, cap){
		if(eSrc.attachEvent){
			eSrc.attachEvent('on' + eType, eFunc);
		}else if(eSrc.addEventListener){
			eSrc.addEventListener(eType, eFunc, cap);
		}else{
			alert('No support on your Browser');
			return false;
		}
	}
	
	
	function getMapInfo(lease_sno){
		var httpObj = getHttpObject();
		
		httpObj.open("POST","ajaxphp/getMapInfo.php" ,false);
		httpObj.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
		httpObj.send('sno='+lease_sno);
		return httpObj.responseText;
	}

	function getSameInfo(lease_sno){
		var httpObj = getHttpObject();
		
		httpObj.open("POST","ajaxphp/getSameInfo.php" ,false);
		httpObj.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
		httpObj.send('sno='+lease_sno);
		return httpObj.responseText;
	}

	function getBaloonInfo(lease_sno){
		var httpObj = getHttpObject();
		
		httpObj.open("POST","ajaxphp/getBaloonInfo.php" ,false);
		httpObj.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
		httpObj.send('sno='+lease_sno);
		return httpObj.responseText;
	}
	
