/*requires global var translate2 from smarty*/

 $(document).ready(function(){
		
		
		
 
 		
		$(function(){	 //on document ready
	  //to german from any language:
	  //$('body').translate('de');
		
	  //from english to german:
	  $('body').translate('en',translate2);
			
	  //with options:
	  //$('body').translate('de', { toggle: true } );
	  //$('body').translate('en', 'de', { fromOriginal: true } );
	  
	  //you can set the languges in the options too (setting as a separate parameter like above overrides it):
	  //$('body').translate( { from: 'en', to: 'de', fromOriginal: true} );
	
	  //as of v1.4 you can also pass a complete callback as the third argument:
	  //$('body').translate('en','de', function(){ alert("complete"); });
		})
 
 

	  	$("#trigger").mouseover(function () {
        	$("#target").fadeIn(100);
      	});
		
		
		
	
		$('.slideshow').cycle({
		fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
		});
		
	
 
 });
