/* Nome Cliente 	Nome Cliente */
/* Creato:			00/00/2010 */
/* Autore:			fabio@evoluzionetelematica.it */
/* Ultima Modifica:	gg/mm/aaaa	Autore: Nome Cognome */

//<![CDATA[

			$(document).ready(function(){
					if ($('#colDx').length > 0) {
						$( '#colDx' ).css("display", "none").fadeIn(1000);
					}
					
					if ($('ul#talents li img').length > 0) {
						$('ul#talents li img').jcaption({
								copyStyle: true,
								animate: true,
								show: {height: "show"},
								hide: {height: "hide"}
							});
					}
								
									
					/*
					
					if ($('#video').length > 0) {
						$('#video').flash(
								{
									swf: 'video/video-rai.swf',
									width:  580,
									height: 435
								}
						);
					}
					
					*/
					
					if ($('.boxedAutorizzo').length > 0) {
						$(".boxedAutorizzo").fancybox({
							'width'				: 500,
							'height'			: 400,
							'autoScale'     	: false,
							'transitionIn'		: 'none',
							'transitionOut'		: 'none',
							'type'				: 'iframe'
						});
						
					}
					
					
					
						bgImageTotal=5;

						randomNumber = Math.round(Math.random()*(bgImageTotal-1))+1;
					
						imgPath=('img/bg/'+randomNumber+'.jpg');
					
						$('body').css('background-image', ('url("'+imgPath+'")'));
$('body').css('opactiy',0.5);

					
			});


//]]>
