
// JavaScript Document
$(document).ready(function(){ 
        $("ul.sf-menu").supersubs({ 
            minWidth:    6,   // minimum width of sub-menus in em units 
            maxWidth:    20,   // 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:false});  // 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({
			fx: 'fade',
			timeout: 3000,	
			delay:  0, 
			speed:  1500,
			random: true
		});
		*/
		//$('hr').attr("noshade","noshade");
		$('.pics').cycle({
				fx: 'fade',
				timeout: 3000,	
				delay:  0, 
				speed:  1500
		});
		
		 $(document).pngFix(); 
}); 



function toggleP(me,target) {
	$("#"+me).hide();	
	$("#"+target).fadeIn("slow");	
}


