 jQuery.noConflict();

jQuery(document).ready(function() { 

	jQuery("a.fancy").fancybox({ 
		'hideOnContentClick': true, 
		'imageScale': true,
		'zoomSpeedIn': 250, 
		'zoomSpeedOut': 250, 
		'overlayShow': false 
	}); 
	
	jQuery("a.iframes").fancybox({  
         'frameWidth': 900, //frameWidth = Default width for iframed and inline content  
	     'frameHeight': 600, //frameHeight = Default height for iframed and inline content  
		 'overlayShow': false     
     });  
     
   	jQuery(".advent").fancybox({ 
		'zoomSpeedIn': 300, 
		'zoomSpeedOut': 300, 
		'hideOnContentClick': false,
		'frameWidth': 700,
		'frameHeight': 450
	}); 



    lastBlock = jQuery("#accord");
    maxWidth = 150;
    minWidth = 25;	

    jQuery("ul.accords li a").hover(
      function(){
        jQuery(lastBlock).animate({width: minWidth+"px"}, { queue:false, duration:400 });
		jQuery(this).animate({width: maxWidth+"px"}, { queue:false, duration:400});
	lastBlock = this;
    });


});  

	function onloadfunction(){
	     readhidden() 
	}
	window.onload = onloadfunction;    

	SyntaxHighlighter.all()