// JavaScript Document

// 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
 
   
});




$(document).ready(function()
{
//attiva  pngfix 
$(document).pngFix();



	//apre i link in esterno in base all'url
	$("a.ext").click(function() {  
		window.open(this.href,'','');
		return false;
	}); 
	
	
//columnizer
	$('#testoart').columnize({ 
			columns: 2, 
		lastNeverTallest:true 
						});
	
	
});


//	slide	
		$(function() {
			$('#fotohome').cycle({ 
				fx:     'fade', 
				pager:	'#pager',
	 			cleartype:  1, // enable cleartype corrections
				pause:      1,     // true to enable "pause on hover" 
				timeout: 6000
			});
	});
	
	


//slide foto articoli
$(function() {
			$('#immcnt').cycle({ 
			  fx:     'scrollHorz', 
			  prev:   '#prev', 
    		  next:   '#next', 
    		  timeout: 0 
			});
	});
