	function resize(){
		var bname = navigator.appName;
		x=window.document.clientHeight;
		y=window.document.clientWidth;
		if(bname.search(/netscape/i) == 0){
			var x=window.innerHeight;
			var y=window.innerWidth;
		}
		else{
				var myWidth = 0, myHeight = 0;
 				 if( typeof( window.innerWidth ) == 'number' ) {
    					//Non-IE
    					myWidth = window.innerWidth;
    					myHeight = window.innerHeight;
 				 }
				 else if( document.documentElement &&  document.documentElement.clientHeight  ) 				{
    					//IE 6+ in 'standards compliant mode'
   						 myWidth = document.documentElement.clientWidth;
		 				myHeight = document.documentElement.clientHeight;
  				}
				else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    					//IE 4 compatible
   						 myWidth = document.body.clientWidth;
    					myHeight = document.body.clientHeight;
  				}
  			//	window.alert( 'Width = ' + myWidth );
  				x=myHeight;
				y=myWidth;
  		}
				if(x<=550){
					x=550;
				}
				if(y<=1001){
					y=1000;
				}
				if(!(x>=768)){
					$("#bottom_zone").css({top:(x-20)});
				}
			$("#wrapper").css({height:x+"px", width:y+"px", overflow:'hidden'}); 
		}
	
	$(document).ready(function(){
		resize();
		//i=setInterval(function(){ resize(); },100);	
		window.onresize=function(){ resize(); }
	  });// Example:

	/*$(document).ready(function page_load(){
		//$("#ajax_loader").css({display: 'none'},1500);			
			$("#content").css({display: 'block'});
		});*/