function drag_by_minimap(left, top){
		var tmp  = Math.floor(Math.sqrt(Math.pow((83-parseInt(left)),2) + Math.pow((78.5-parseInt(top)),2)));
			if (tmp > 90) {
				return false;
			} else {
				var xxx = 0 - Math.floor(((left-24)/233)*2855);
				var yyy = 0 - Math.floor(((top-17)/233)*2572);
				
				if (xxx >=0) {xxx = 0}
				if (yyy >=0) {yyy = 0}
				if (xxx <=x) {xxx = x}
				if (yyy <=y) {yyy = y}
				$('.container').get(0).style.left = xxx+'px';
		   	 	$('.container').get(0).style.top = yyy+'px';
			}
			
			//alert(left+','+top)
	}
	
	function getDocHeight() {
	    var D = document;
	    return Math.max(
	        Math.max(D.body.scrollHeight, D.documentElement.scrollHeight),
	        Math.max(D.body.offsetHeight, D.documentElement.offsetHeight),
	        Math.max(D.body.clientHeight, D.documentElement.clientHeight)
	    );
	}
