		function underConstruction()
		{	
			alert("Under Construction");
		}
	
		function resizeWindow(windowname, windowWidth, windowHeight)
		{
				var centerWidth = (window.screen.width - windowWidth) / 2;
  				var centerHeight = (window.screen.height - windowHeight) / 2;
	
				if(document.location.search=='') 
				{
					 newwin=window.open(document.location + "?newwin=true", windowname, "toolbar=no,status=no,menubar=no,scrollbars=yes,resizable=no,directories=no,location=no,width=" + windowWidth + ",height=" + windowHeight + ",left=" + centerWidth + ",top=" + centerHeight);
					 self.close()
				}
		}

		function detectBrowser() {
			var strBrowser="";
			
			if ((i = navigator.userAgent.indexOf("Opera")) >= 0)
				strBrowser = "Opera";
			else if ((i = navigator.userAgent.indexOf("Netscape6")) >= 0)
				strBrowser = "Netscape6/";
			else if ((i = navigator.userAgent.indexOf("Gecko")) >= 0)
				strBrowser = "Gecko";
			else if ((i = navigator.userAgent.indexOf("MSIE")) >=0 )
				strBrowser = "MSIE";
		
			return strBrowser;
		}


		function popup(mylink, windowname, windowWidth, windowHeight)
		{
			var centerWidth = (window.screen.width - windowWidth) / 2;
		    var centerHeight = (window.screen.height - windowHeight) / 2;

			if (! window.focus)return true;
			var href;
			if (typeof(mylink) == 'string')
			   href=mylink;
			else
			   href=mylink.href;		

			window.open(href, windowname, 'width=' + windowWidth + ',height=' + windowHeight + ',left=' + centerWidth + ', top=' + centerHeight + ', scrollbars=yes');
			return false;
		}

		function getBrowserHeight()
			{
				if (window.innerHeight && window.scrollMaxY) {// Firefox    
				     yWithScroll = window.innerHeight + window.scrollMaxY;
					 xWithScroll = window.innerWidth + window.scrollMaxX;
				} else if (document.body.scrollHeight > document.body.offsetHeight){ // all but Explorer Mac
					yWithScroll = document.body.scrollHeight;
					xWithScroll = document.body.scrollWidth;} 
				else { // works in Explorer 6 Strict, Mozilla (not FF) and Safari 
			        yWithScroll = document.body.offsetHeight;
					xWithScroll = document.body.offsetWidth;}

				if(yWithScroll==0)
				{
					yWithScroll=550;
				}

				return { width: parseInt(xWithScroll), height: parseInt(yWithScroll) };
			} 

            function setLayerPosition() {
                var shadow = document.getElementById("shadow");               
				var loader=document.getElementById("loader");

                var bws = getBrowserHeight();
                shadow.style.width = bws.width + "px";
                shadow.style.height = bws.height + "px";               

				loader.style.left = parseInt((bws.width - 32) / 2)+ "px";
                loader.style.top = parseInt((bws.height - 32) / 2)+ "px";			
                shadow = null;
				loader = null;               
            }

            function disableWindow() {

				//return;
                //setLayerPosition();

                //var shadow = document.getElementById("shadow");
				//var loader=document.getElementById("loader"); 
				
                //shadow.style.display = "block";  
				//loader.style.display = "block";
           
                //shadow = null;   
				//loader = null;                   
            }
            
            function enableWindow() {
                //var shadow = document.getElementById("shadow"); 
				//var loader=document.getElementById("loader");
  
                //shadow.style.display = "none"; 
				//loader.style.display = "none";

                //shadow = null;
				//loader = null; 
            }

            //window.onresize = setLayerPosition;