/**
 * ----------------------------------------------------------------------------
 * Copyright 2011 Andreas Klein
 * Original author: Andreas Klein <mail@andreasklein.org>
 * Cologne, Germany
 * ----------------------------------------------------------------------------
 * LICENSE
 *
 * [All rights reserved]. This product and related documentation are protected
 * by copyright restricting its use, copying, distribution, and decompilation
 * No part of this product or related documentation may be reproduced in any
 * form by any means without prior written authorization of the owners or
 * his partners,if any. Unless otherwise arranged, third parties may not have
 * access no this product or relatec docs.
 * ----------------------------------------------------------------------------
 **/  

$(function () {
		//-- Enables the vertical image_scroller 
	    $("#scroller").imageScroller( {speed:'4000', direction:'top', loading:'...'} );  
});


$(document).ready(function(){    
	    
		var images_to_display = 3;
		var imgs_in_gallery = 1;
	    
		//Blend Container in after loading
		$('.container').animate({opacity: 1}, 1200);  
				 
		//Gallery's image_to_display 
		$('.jido_gallery').each(function(index){
			
			imgs_in_gallery = 1;
			
			$('.gallery-item', this).each(function(){   		   
				if(imgs_in_gallery>3) $(this).addClass('dont-show'); 
								
				$(this).addClass('item'+imgs_in_gallery);
				imgs_in_gallery++;       
			});
		});		 
});//-- end document_ready_handler


