$(function(){	
/*
	// rent buttons
	
	var rentButtonOpacity = 0.9;
	var animDuration = 300;
	$(".rent-button").css({opacity:rentButtonOpacity}).mouseenter(function(){
		$(this).fadeTo(animDuration,1);
	}).mouseleave(function(){
		$(this).fadeTo(animDuration,rentButtonOpacity);
	})
	
	
	var rWidth =  $("#rent").width();
	$("#rent").hide().width(0);
	var preventHideRent = false;
	
	var showRent =function(){
		preventHideRent = true;
		$("#rent").animate({width:rWidth},animDuration*2);
	};
	var hideRent = function(){
		if (!preventHideRent) {
			$("#rent").animate({width:10},animDuration*2);
		} else {
			preventHideRent = false;
			setTimeout(hideRent,2000);
		}
	}
	
	$("#rent").mouseover(showRent).mouseleave(hideRent);
	
	setTimeout(showRent,2000);
	setTimeout(hideRent,10000);
	
	
	// rent images
	$("body").prepend($("<div>").addClass("overlay").attr({id:'rentoverlay'}).hide());
	$("#rentoverlay").overlay({
		useCurtain:true,
		opacity:0.4,
		animDuration:100
	});
	
	$(".rent-button").click(function(){
		var page = $(this).attr("rel")+".html";
		$.post(SERVER_DATA.__URLPATH__ + '/modules/rent/load.php',{page:page},function(html){
				$("#rentoverlay").html(html)
		});
		$("#rentoverlay").overlay("show");
	});
*/	
});

