// JavaScript Document
jQuery(document).ready(imageSwap);
function imageSwap(){
	$("#content3")
		.css( {backgroundPosition: "0 0"} )
		.everyTime(3000,function(i) {
			$(this).stop().animate({backgroundPosition:"(0 -" + Number(i) * 90 + "px)"}, {duration:500});
		});
	$("#content4")
		.css( {backgroundPosition: "0 0"} )
		.everyTime(3100,function(i) {
			$(this).stop().animate({backgroundPosition:"(0 -" + Number(i) * 90 + "px)"}, {duration:510});
		});
}
jQuery(document).ready(vis);
function vis () {
	$(".vis").hover(function() {
		$(this).css("filter","alpha(opacity=100)");
		$(this).css("-moz-opacity","1");	
		$(this).css("-khtml-opacity","1");	
		$(this).css("opacity","1");	
	},
	function () {
		$(this).css("filter","alpha(opacity=80)");
		$(this).css("-moz-opacity","0.8");	
		$(this).css("-khtml-opacity","0.8");	
		$(this).css("opacity","0.8");	
	});
}
