
// JavaScript Document
$(document).ready(function(){ 
        $("ul.sf-menu").supersubs({ 
            minWidth:    6,   // minimum width of sub-menus in em units 
            maxWidth:    30,   // maximum width of sub-menus in em units 
            extraWidth:  1     // extra width can ensure lines don't sometimes turn over 
                               // due to slight rounding differences and font-family 
        }).superfish({autoArrows:true});  // call supersubs first, then superfish, so that subs are 
                         // not display:none when measuring. Call before initialising 
                         // containing tabs for same reason. 
						 
		//$('.scroll-pane').jScrollPane({scrollbarWidth:10,showArrows:false});
		
		//$('newsimage').click(function(){
		//		var img = $(this).attr("name");
		//		
		//});
		
		$('.pics').cycle({
		timeout: 8000 ,	
		delay:  0, 
		speed:  3000,
		pause:	1,
		next:   '#next', 
		prev:   '#prev'
	});
		/*
		*/
		
		//$('hr').attr("noshade","noshade");
		$(document).pngFix(); 

}); 



function toggleP(me,target) {
	$("#"+me).hide();	
	$("#"+target).fadeIn("slow");	
}
/*$(function() {
	$('.pics').cycle({
		timeout: 10000 ,	
		delay:  1000, 
		speed:  2000
		
	});
}); */


