// JavaScript Document

$(document).ready(function() {
	$('.in-splash-rotate').cycle({fx:'fade', timeout:10000,  speed:1000, pager:'.splash-control', pagerAnchorBuilder: function(idx, slide) 
	{ return '<li class="in-splash-paginate-no"><a href="#"></a></li>'; } 
	});
});

$(document).ready(function(){ 
        $(document).pngFix(); 
});

$(document).ready(function() {

	var move = -15
	     zoom = 1.1;

	$('.client').hover(function() {
		
		width = $('.client').width() * zoom;
		height = $('.client').height() * zoom;
	
		$(this).find('img').stop(false,true).animate({'width':width, 'height':height, 'top':move, 'left':move}, {duration:300});
		$(this).find('div.caption').stop(false,true).fadeIn(300);
	},
	function() {

		$(this).find('img').stop(false,true).animate({'width':$('.client').width(), 'height':$('.client').height(), 'top':'0', 'left':'0'}, {duration:300});	
		$(this).find('div.caption').stop(false,true).fadeOut(400);
	});

});

