// JavaScript Document
// file di configurazione script per mediatrading


//shadow box
Shadowbox.init({
    language:   "it",
    players:  ['flv', 'html', 'iframe', 'img', 'qt', 'swf', 'wmp'],
	enableKeys:			true,
	continuous:			true
 
   
});

/*gallery top*/	
		$(function() {
			$('#eslide').cycle({ 
				fx:     'fade', 
				pager:	'#pager',
	 			cleartype:  1, // enable cleartype corrections
				pause:      1,     // true to enable "pause on hover" 
				timeout: 6000
			});
	});


//	slide tirocini	
				$(function() {
					$('.boxtirocini').cycle({ 
						fx:     'fade', 
						pager:	'#pager1',
						cleartype:  1, // enable cleartype corrections
						pause:      1,     // true to enable "pause on hover" 
						timeout: 6000
					});
			});
				
	
//	slide corsi	
				$(function() {
					$('.boxcorsi').cycle({ 
						fx:     'fade', 
						pager:	'#pager2',
						cleartype:  1, // enable cleartype corrections
						pause:      1,     // true to enable "pause on hover" 
						timeout: 6000
					});
			});


//slide foto articoli
		$(function() {
					$('#immcnt').cycle({ 
					  fx:     'scrollHorz', 
					  pager:	'#pager3', 
					  timeout: 0 
					});
			});
		

//attiva  pngfix 
$(document).pngFix();



	//apre i link in esterno in base all'url
	$("a.ext").click(function() {  
		window.open(this.href,'','');
		return false;
	}); 



