/*** slide up script ***/
$(document).ready(function(){	

   $('.mainslide .slide').cycle({ 
	   fx: 'fade', 
       speed:  'slow', 
       timeout: 5000, 
       pager:  '.slidepaper' ,
	    next:   '.btnnext', 
	    prev:   '.btnback' 
   });
   $(".thumbimgnews li a").fancybox();
	/*
	$('.s-thumb .img').cycle({ 
	    fx:     'scrollLeft', 
	    speed:  'slow', 
	    timeout: 0, 
	    next:   '.next', 
	    prev:   '.previous' 
	});
	*/
   if($(".footerslide ul li").size() > 5){
	   $('.footerslide').cycle({ 
		   fx: 'scrollHorz', 
	       speed:  'slow', 
	       timeout: 0,
		    next:   '.next', 
		    prev:   '.back' 
	   });
   }
   
   
 /*  $(".navleft > li").hover(
		function(){
			var sub = $(this).find("ul");
			sub.stop().animate({height:'auto'});

	   		//sub.slideDown("slow");
   		},
   		function(){
			var sub = $(this).find("ul");
			sub.stop().animate({height:'0'});
	   		//sub.slideUp("fast");	
   		}
   );*/
   $(".navleft .on + ul").slideDown("slow");
   $('.navleft').hoverAccordion();
});



		
