// ingen konflikter med andre frameworks
jQuery.noConflict();

// onload
jQuery(document).ready(function(){

 // markeringseffekt paa nyhedspot
 jQuery(".news_sundhed_element_effekt_box").hover(
	 function () {
	  jQuery(this).stop(1,1).animate( { opacity:0.6 }, 200 )
	 }, 
	 function () {
	  jQuery(this).stop(1,1).animate( { opacity:1.0 }, 200 )
	 }
 );

 jQuery(".newsspot_forside_element_blaa_spalte").hover(
  function () {
   jQuery(this).stop(1,1).animate( { opacity:0.6 }, 200 )
  }, 
  function () {
   jQuery(this).stop(1,1).animate( { opacity:1.0 }, 200 )
  }
 );

 // slideshow start
	jQuery('.slideshow').cycle({ 
  fx:'fade', 
  speed:500, 
  timeout:15000,
  random:0
 }).cycle('pause');		
 
 // NAV
 jQuery('#slideshow_nav_knap1').mouseover(function() { 
  jQuery('.slideshow').stop(1,1).cycle(1); 
  return false; 
 });
 jQuery('#slideshow_nav_knap2').mouseover(function() { 
  jQuery('.slideshow').stop(1,1).cycle(2); 
  return false; 
 });
 jQuery('#slideshow_nav_knap3').mouseover(function() { 
  jQuery('.slideshow').stop(1,1).cycle(3); 
  return false; 
 });
 jQuery('#slideshow_nav_knap4').mouseover(function() { 
  jQuery('.slideshow').stop(1,1).cycle(4); 
  return false; 
 });
 // slideshow slut 

}); 
 
	

