	function show_main_balloon(){
		if(navigator.appName == "Microsoft Internet Explorer"){ // INTERNET EXPLORER
			if(document.body.client){
				document.body.getElementById('main_smokescreen').style.height=document.body.clientHeight;
			}else if(getWindowScrollOffsetY()){
//				alert("1");
				var a = getWindowScrollOffsetY();
				document.body.getElementById('main_smokescreen').style.height = parseInt(document.body.style.height) + parseInt(a);
//				alert(parseInt(document.body.style.height) + parseInt(a));
//				alert("3");
			}else{
				
			}
		}else{
			document.getElementById('main_smokescreen').style.height=document.height;
		}
		document.getElementById('main_smokescreen').style.display='block';
		document.getElementById('main_balloon_holder').style.display='block';
	}
	function hide_main_balloon(){
		document.getElementById('main_smokescreen').style.display='none';
		document.getElementById('main_balloon_holder').style.display='none';
	}
	function getInnerWindowWidth(){
		if(typeof(window.innerWidth)=="number"){
			// Non-Internet Explorer
			var innerWindowWidth = window.innerWidth;
		}else if(document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)){
			// IE 6+ in "standards compliant mode"
			var innerWindowWidth = document.documentElement.clientWidth;
		}else if(document.body && (document.body.clientWidth || document.body.clientHeight)){
			// IE 4 compatible
			var innerWindowWidth = document.body.clientWidth;
		}else {
			var innerWindowWidth = 0;
		}
		return innerWindowWidth;
	}
	function getInnerWindowHeight(){
		if(typeof(window.innerWidth)=="number"){
			// Non-Internet Explorer
			var innerWindowHeight = window.innerHeight;
		}else if(document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)){
			// IE 6+ in "standards compliant mode"
			var innerWindowHeight = document.documentElement.clientHeight;
		}else if(document.body && (document.body.clientWidth || document.body.clientHeight)){
			// IE 4 compatible
			var innerWindowHeight = document.body.clientHeight;
		}else {
			var innerWindowHeight = 0;
		}
		return innerWindowHeight;
	}
	function getWindowScrollOffsetX(){
		if(typeof(window.pageYOffset)== "number"){
			//Netscape compliant
			var scrollOffsetX = window.pageXOffset;
		}else if(document.body && (document.body.scrollLeft || document.body.scrollTop)){
			//DOM compliant
			var scrollOffsetX = document.body.scrollLeft;
		}else if(document.documentElement && (document.documentElement.scrollLeft || document.documentElement.scrollTop)){
			//IE6 standards compliant mode
			var scrollOffsetX = document.documentElement.scrollLeft;
		}else {
			var scrollOffsetX = 0;
		}
		return scrollOffsetX;
	}
	function getWindowScrollOffsetY(){
		if(typeof(window.pageYOffset)== "number"){
			//Netscape compliant
			var scrollOffsetY = window.pageYOffset;
		}else if(document.body && (document.body.scrollLeft || document.body.scrollTop)){
			//DOM compliant
			var scrollOffsetY = document.body.scrollTop;
		}else if(document.documentElement && (document.documentElement.scrollLeft || document.documentElement.scrollTop)){
			//IE6 standards compliant mode
			var scrollOffsetY = document.documentElement.scrollTop;
		}else {
			var scrollOffsetY = 0;
		}
		return scrollOffsetY;
	}
	function setUseableWidthGlobalVariable(){
		var innerWindowWidth = getInnerWindowWidth();
		var useableWidth = innerWindowWidth - 4;
		document.getElementById("useableWidth").innerHTML=parseInt(useableWidth);
	}
	function setUseableHeightGlobalVariable(){
		var innerWindowHeight = getInnerWindowHeight();
		var useableHeight = innerWindowHeight;
		document.getElementById("useableHeight").innerHTML=parseInt(useableHeight);
	}
	
