function isIE6() {
    return ((window.XMLHttpRequest == undefined) && (ActiveXObject != undefined))
}

$(document).ready(function(){
  $('ul.sf-menu').superfish({ 
      autoArrows:  false,
      dropShadows: false
  });
  $("#manseticerik ul li:first").removeClass("hide");
  $("#mansetspot ul li:first").removeClass("hide");
  
  $("a[name='featured-news']").mouseover(function () {
      var id=$(this).attr("id");
      $("#manseticerik ul li").addClass("hide");
      $("#mansetspot ul li").addClass("hide");
      $("#img-"+id).removeClass("hide");
      $("#li-"+id).removeClass("hide");
   });
   
  $("#panoicerik ul").cycle({
    fx:     "scrollUp",
    timeout: 6000,
    delay:  -2000,
    pause:  true,
    cleartype:  true
  });
  
  if (isIE6()==false) {
    $("#mansetliste").css("width","auto");
    $("#pano").css("width","210px");
  }

});