	function showGlass() {
		//alert("starting");
		try{
			var div = document.getElementById("smokedglass");
			if(div) {
				//alert(getWidth());
				div.style.height = getHeight();
				div.style.width = getWidth();
				div.style.display = "block";
				div.style.top = 0;
				div.style.left = 0
			}
		}
		catch(e) {
			alert("SmokedGlass: " + e);	
		}
		return true;
	}
	function hideGlass() {
		try{
			var div = document.getElementById("smokedglass");
			div.style.display = "none";
		}
		catch(e) {}
		
		
	}
	function getWidth() {
		if (document.documentElement && document.documentElement.clientWidth) {
			winW = document.documentElement.clientWidth;
			winW += "px";
		}
		else if (navigator.appName.indexOf("Microsoft")!=-1) {
			//alert("Using MS");
			winW = document.body.clientWidth;
			winW += "px";
		}
		else {
			winW = "100%";
		}
		return winW;
	}
	function getHeight() {
		if (document.documentElement && document.documentElement.clientHeight) {
			winH = document.documentElement.clientHeight;;
			winH += "px";
		}
		else if (navigator.appName.indexOf("Microsoft")!=-1) {
			//alert("Using MS");
			winH = document.body.clientHeight;
			winH += "px";
		}
		else {
			winH = "100%";
		}
		return winH;
	}
