/**
 * @author Hardy


var vph=Client.viewportHeight();
var showing_bottom=false;
var offset = vph - 80;
 function resizeViewPort() {
		if (showing_bottom) {
			$("html,body").css({
				"overflow": "hidden"
			});

			//now resize the main container to the size minus the bottom block


			$("#maincontainer").css({
				"height": offset + "px",
				"overflow": "auto"
			});

		}
 }
function closeBottomBlock() {




			$("#bottom_block").fadeOut();
			$("#maincontainer").css({"height":"auto","overflow":"hidden"});
			$("html,body").css({"overflow":"auto"});
			$(window).unbind("resize",resizeViewPort);

			showing_bottom=false;



}


 $(window).ready(function() {


		if(Client.viewportWidth()>1000) {

				$("body").append("<div id='bottom_block'><div style='position:relative;'><img src='/img/carallumaburn/bottle.png' id='floating_bottle' /></div><div id='bottom_close'>Close [X]</div></div>");

				$("#bottom_close").click(function() {   closeBottomBlock();   } );

				//show the bottom block
				$("#bottom_block").animate({"height":"80px"},3000,"linear",function() {

							showing_bottom=true;
							resizeViewPort();


				});
				$("#maincontainer").animate({"height": offset },3000,"linear");


		}


 });


window.onresize=resizeViewPort;
 */
