	function resizeOverLay() {
		var height = Math.max($(window).height() , 700);
		var width = Math.max($(window).width() , 900);
		
		$('#background').css("width",width+ "px");
		$('#leftBar,#rightBar,#mainBar').css("height",(height - 145) + "px");
		$('#mainBar').css("width",(width - 440) + "px");
		$('#menuDiv').css("width",(width - 50) + "px");

		$('#leftBarOverLay,#rightBarOverLay,#mainBarOverLay').css("height",(height - 120) + "px");
		$('#mainBarOverLay').css("width",(width - 400) + "px");
		$('#rightBarOverLay').css("left",(width - 200) + "px");
		$('#rightBar').css("left",(width - 190) + "px");
		
		$('#kalima').css("left",(width - 90) + "px");

		$('#tBanner,#bBanner').css("width",(width - 50) + "px");
		$('#tMain,#bMain').css("width",(width - 450) + "px");
		$('#rLeft,#lLeft').css("height",(height - 170) + "px");
		$('#rMain,#lMain').css("height",(height - 170) + "px");
		$('#rRight,#lRight').css("height",(height - 170) + "px");

		$('.tr-main,.br-main,.r-main').css("left",(width - 225) + "px");
		$('.tl-right,.bl-right,.l-right').css("left",(width - 200) + "px");
		$('.tr-right,.br-right,.r-right,.tr-banner,.br-banner,.r-banner').css("left",(width - 25) + "px");
		$('.t-right,.b-right').css("left",(width - 175) + "px");
		$('.bl-right,.br-right,.b-right,.bl-main,.br-main,.b-main,.bl-left,.br-left,.b-left').css("top",(height - 25) + "px");
	}

	$(window).bind("resize", function() {
		resizeOverLay();
	}).bind("ready", function() {
		resizeOverLay();
		setTimeout(function(){
			resizeOverLay();
		},1000);
	});

