var t1=500;
$(function(){
	Cufon.now();
	Cufon.replace('h1');
	$('a.lb').fancybox({'type':'iframe','width':800,'height':600});


if (document.all && parseInt(navigator.appVersion.substr(navigator.appVersion.indexOf('MSIE') + 5), 10) <= 7)
{
	$("#skicamps").hover(function(){
		$(this).stop(true,true).animate({width: '300px', marginTop: '-10px', marginLeft: '-275px'},t1).find("div.i img").stop(true,true).animate({width:'300px',height:'200px'},t1);
	},function(){
		$(this).animate({width: '200px', marginTop: '23px', marginLeft: '-225px'},t1).find("div.i img").animate({width:'200px',height:'133px'},t1);
	});
	$("#surfcamps").hover(function(){
		$(this).stop(true,true).animate({width: '300px', marginTop: '190px', marginLeft: '-275px'},t1).find("div.i img").stop(true,true).animate({width:'300px',height:'200px'},t1);
	},function(){
		$(this).animate({width: '200px', marginTop: '223px', marginLeft: '-225px'},t1).find("div.i img").animate({width:'200px',height:'133px'},t1);
	});
	$("#incent").hover(function(){
		$(this).stop(true,true).animate({width: '300px', marginTop: '390px', marginLeft: '-275px'},t1).find("div.i img").stop(true,true).animate({width:'300px',height:'200px'},t1);
	},function(){
		$(this).animate({width: '200px', marginTop: '423px', marginLeft: '-225px'},t1).find("div.i img").animate({width:'200px',height:'133px'},t1);
	});
	$("#spman").hover(function(){
		$(this).stop(true,true).animate({width: '300px', marginTop: '390px', marginLeft: '-20px'},t1).find("div.i img").stop(true,true).animate({width:'300px',height:'200px'},t1);
	},function(){
		$(this).animate({width: '200px', marginTop: '423px', marginLeft: '30px'},t1).find("div.i img").animate({width:'200px',height:'133px'},t1);
	});
	$("#ffs").hover(function(){
		$(this).stop(true,true).animate({width: '300px', marginTop: '390px', marginLeft: '235px'},t1).find("div.i img").stop(true,true).animate({width:'300px',height:'200px'},t1);
	},function(){
		$(this).animate({width: '200px', marginTop: '423px', marginLeft: '285px'},t1).find("div.i img").animate({width:'200px',height:'133px'},t1);
	});
	$("#shop").hover(function(){
		$(this).stop(true,true).animate({width: '300px', marginTop: '390px', marginLeft: '490px'},t1).find("div.i img").stop(true,true).animate({width:'300px',height:'200px'},t1);
	},function(){
		$(this).animate({width: '200px', marginTop: '423px', marginLeft: '540px'},t1).find("div.i img").animate({width:'200px',height:'133px'},t1);
	});
}
else
{
	$("#skicamps").hover(function(){
		$(this).stop(true,true).animate({width: '300px', marginTop: '5px', marginLeft: '5px'},t1).find("div.i img").stop(true,true).animate({width:'300px',height:'200px'},t1);
	},function(){
		$(this).animate({width: '200px', marginTop: '38px', marginLeft: '55px'},t1).find("div.i img").animate({width:'200px',height:'133px'},t1);
	});
	$("#surfcamps").hover(function(){
		$(this).stop(true,true).animate({width: '300px', marginTop: '205px', marginLeft: '5px'},t1).find("div.i img").stop(true,true).animate({width:'300px',height:'200px'},t1);
	},function(){
		$(this).animate({width: '200px', marginTop: '238px', marginLeft: '55px'},t1).find("div.i img").animate({width:'200px',height:'133px'},t1);
	});
	$("#incent").hover(function(){
		$(this).stop(true,true).animate({width: '300px', marginTop: '405px', marginLeft: '5px'},t1).find("div.i img").stop(true,true).animate({width:'300px',height:'200px'},t1);
	},function(){
		$(this).animate({width: '200px', marginTop: '438px', marginLeft: '55px'},t1).find("div.i img").animate({width:'200px',height:'133px'},t1);
	});
	$("#spman").hover(function(){
		$(this).stop(true,true).animate({width: '300px', marginTop: '405px', marginLeft: '260px'},t1).find("div.i img").stop(true,true).animate({width:'300px',height:'200px'},t1);
	},function(){
		$(this).animate({width: '200px', marginTop: '438px', marginLeft: '310px'},t1).find("div.i img").animate({width:'200px',height:'133px'},t1);
	});
	$("#ffs").hover(function(){
		$(this).stop(true,true).animate({width: '300px', marginTop: '405px', marginLeft: '515px'},t1).find("div.i img").stop(true,true).animate({width:'300px',height:'200px'},t1);
	},function(){
		$(this).animate({width: '200px', marginTop: '438px', marginLeft: '565px'},t1).find("div.i img").animate({width:'200px',height:'133px'},t1);
	});
	$("#shop").hover(function(){
		$(this).stop(true,true).animate({width: '300px', marginTop: '405px', marginLeft: '770px'},t1).find("div.i img").stop(true,true).animate({width:'300px',height:'200px'},t1);
	},function(){
		$(this).animate({width: '200px', marginTop: '438px', marginLeft: '820px'},t1).find("div.i img").animate({width:'200px',height:'133px'},t1);
	});
}
});

