// Pizza-pizza JavaScript Document


// siFR implementation
//
function add_menu_siFR(){
  if(typeof(sIFR) == "function"){
    sIFR.replaceElement(named({sSelector:".header ul.nav li", sFlashSrc:"/sifr/zennorplain.swf", sLinkColor:"#4C110C", sHoverColor:"#BB1000", sFlashVars:"textalign=center", sWmode:'transparent' }));
  };
}

function add_steps_siFR(){
  if(typeof(sIFR) == "function"){
    if(!checkIEversion()) sIFR.replaceElement(named({sSelector:".leftBlock div.highLighted .titleBlock h2", sFlashSrc:"/sifr/zennorplain.swf", sColor:"#199a00", sWmode:'transparent' }));
  };
}

function add_catTitles_siFR(){
  if(typeof(sIFR) == "function"){
    sIFR.replaceElement(named({sSelector:"#categories .leftBlock .titleBlock h2", sFlashSrc:"/sifr/deadhistory.swf", sColor:"#118900", sWmode:"transparent" }));
  };
}

// Categories icons clicking fixing for IE7 : due to IE7 bug for block elements inside of links
//
function iconsClickFixing() {
  if(checkIEversionExtended(7) && !checkIEversionExtended(6) ) 
    $$('.thumbHolder img').each( function(e){ e.observe('click',function(){ var a = this.up('a'); location.href = a.readAttribute('href'); }); });
}

