$(document).ready(function(){
        
        
        
        $('a.srcutl').each(function(){
										 
			 var url=$(this).attr("href");
			 var curl ='/video/player/videopl.php?url='+url;
										 
			 $(this).flash(
					{ 
						src: '/video/player/video4.swf',
						width: 485,
						height: 395,
						quality: 'high',
						pluginspage: 'http://www.macromedia.com/go/getflashplayer',
						play: 'true',
						loop: 'false',
						scale: 'true',
						wmode: 'window',
						id: 'fPlayer',
						bgcolor: '#000',
						name: 'fPlayer',
						menu: 'false',
						allowFullScreen: 'true',
						allowScriptAccess:'sameDomain',
						flashvars: { playList: curl}
						},{ version:10, expressInstall: true}
);

													 
	  }); //ecah
        
        
        
        $("#vcamerino a").click( function(){
        
            var idx= $("#vcamerino a").index(this);
            var tnumb=$("#vcamerino a").length;
            
            $('#vstage .active').removeClass("active").hide();
            $('#vstage .media:eq('+idx+')').addClass("active").fadeIn(2000,function(){
                    $('#vstage').removeClass("loading");
                });
             $('#vtnumb').html(tnumb);
             $('#vcnumb').html((idx+1));
             $('#vctitle').html($(this).attr("title"));
        });    
            
            
      
            setTimeout(function(){
             $('#vcamerino a:first').trigger("click");
            },1000);
});
