
$(document).ready(function(){   
	//DropDown Menu
		$('div#navcontainer ul#navlist').superfish({ 
            delay:       1000,             // one second delay on mouseout 
            animation:   {height:'show'},  // slide-down animation 
            speed:       'fast',           // faster animation speed 
            autoArrows:  false,           // disable generation of arrow mark-up 
            dropShadows: false             // disable drop shadows
        });
       
		
		$('.circle .thumb').cycle({ 
			delay:  2000, 
			speed:  1000
		});
		
		 // jquery cycle: ticker news 
		$('div#ticker ul').cycle({ 
			fx: 'scrollDown',
			timeout: 3000,
			speed: 400
		});
		
		//jquery photogallery scrollable
	   $('#photogallery_article .scrollable').scrollable({
			loop: true,
			circular: false, 
			mousewheel: true,
			nav:'ul.items',
			size: 6,
			speed: 1000
		});
		
		$(".box h1").equalizeCols();
		$(".box.prodotti .contentarticlebox").equalizeCols();
		$(".listaprodotti .box h4").equalizeCols();
		
		$(".table table tr:even").addClass("alt");

		// For Attachment 
		$("a[href*=.pdf]").addClass("pdf");
		$("a[href*=.zip]").addClass("zip");
		$("a[href*=.jpg], a[href*=.gif], a[href*=.png]").addClass("jpg");
		$("a[href*=.swf], a[href*=.fla]").addClass("swf");
		$("a[href*=.txt],  a[href*=.xls], a[href*=.doc], , a[href*=.rtf], , a[href*=.pps]").addClass("doc");
		$("a[href*=.mpg], a[href*=.mpeg], a[href*=.avi], a[href*=.mv2], a[href*=.mov], a[href*=.mp4], a[href*=.wmv]").addClass("video");
		$("a[href*=.zip], a[href*=.rar], a[href*=.ace], a[href*=.tar.gz], a[href*=.tgz]").addClass("zip");
		$("a[href*=.mp3], a[href*=.aiff], a[href*=.wav], a[href*=.ogg], a[href*=.wma]").addClass("audio");
		$("a[href*=@]").addClass("email");
		
		
		$("#focus, #principal_article, #configuratore").equalizeCols();
 
 
});
