
	// Cufon text replacememnt, add more elements to replace text with cufon generated text.
	Cufon.replace('ul.sf-menu a, h3, h1, a.btn, .cufon, .entry-title, #content_area h1, #content_area h2, #content_area h3, #content_area h4, #content_area h5, #content_area h6, #content_area dt, #footer h4',{hover: true});
	
	//Anything with the class .image_load that hols and image will use the ajax loader.
	$(function () {
		$('.image_load img').hide();//hide all the images on the page
	});

	var i = 0;//initialize
	var int=0;//Internet Explorer Fix
	$(window).bind("load", function() {//The load event will only fire if the entire page or document is fully loaded
		var int = setInterval("doThis(i)",500);//500 is the fade in speed in milliseconds
	});

	function doThis() {
		var images = $('.image_load img').length;//count the number of images on the page
		if (i >= images) {// Loop the images
			clearInterval(int);//When it reaches the last image the loop ends
		}
		$('.image_load img:hidden').eq(0).fadeIn(500);//fades in the hidden images one by one
		i++;//add 1 to the count
	}
	
$(document).ready(function() { 
		
		//Main navigation dropdowns
        $('ul.sf-menu').superfish({ 
            delay:       300,                            // one second delay on mouseout 
            animation:   {height:'show'},  // fade-in and slide-down animation 
            speed:       'slow',                          // faster animation speed 
            autoArrows:  false,                           // disable generation of arrow mark-up 
            dropShadows: true                            // disable drop shadows 
        }); 
}); 
