
jQuery(window).load(function(){
	jQuery("#header_thumbnails").nivoSlider({
		animSpeed:500,
        pauseTime:2000,
		randomStart:true,
		manualAdvance:false,
		pauseOnHover:true,
        directionNav:false,
        directionNavHide:true,	
		controlNav:false,
		controlNavThumbs:false,
		controlNavThumbsFromRel:false
	});
//setTimeout(function() {
//var count = jQuery('#header_thumbnails').data('nivo:vars').currentSlide;
//if(count>0)
//{
//$('#header_thumbnails').data('nivo:vars').stop = true;
//}
//}, 1800);
	
});	
//jQuery(window).load(function(){	  
//jQuery('#header_thumbnails').hover(function(){
//$(".nivo-directionNav").fadeIn('slow');
//});
//});	

jQuery(window).load(function(){	
	jQuery("#homepage_thumbnails").nivoSlider({
		effect: 'slideInLeft',
		animSpeed:500,
        pauseTime:7000,
		pauseOnHover:true,
        directionNav:true,
        directionNavHide:true,		
		controlNav:false,
		controlNavThumbs:false,
		controlNavThumbsFromRel:false
	});
});

jQuery(window).load(function(){	  
jQuery('a.nivo-prevNav').hover(function(){
jQuery('#header_thumbnails').nivoSlider({
effect:'slideInRight'
});
});
jQuery('a.nivo-nextNav').hover(function(){
jQuery('#header_thumbnails').nivoSlider({
effect:'slideInLeft'
});
});
});
