$(document).ready(function() {
	$(window).bind('load', function() {
	    var preload = new Array();
	    $(".hover").each(function() {
	        s = $(this).attr("src").replace("_off", "_on");
	        preload.push(s)
	    });
	    var img = document.createElement('img');
	    $(img).bind('load', function() {
	        if(preload[0]) {
	            this.src = preload.shift();
	        }
	    }).trigger('load');
	});
	
	$(".hover").hover(
		function() {
			this.src = $(this).attr("src").replace("_off", "_on");
		},
		function() {
			this.src = $(this).attr("src").replace("_on", "_off");
		}
	);
	
	if (window.innerHeight > 650) {
		$("body").css("overflow", "hidden");
	}
});