/*function setupSIFR(){
	if(typeof sIFR == "function"){
		sIFR.setup();	
		sIFR.replaceElement(named({sSelector:"h1", sFlashSrc:"http://www.buurtdiensten.dev/buurtdiensten/images/frutiger.swf", sColor:"#FFFFFF", sLinkColor:"#90e4ff", sWmode:"transparent"}));
		sIFR.replaceElement(named({sSelector:"h2", sFlashSrc:"http://www.buurtdiensten.dev/buurtdiensten/images/frutiger.swf", sColor:"#FFFFFF", sLinkColor:"#90e4ff", sWmode:"transparent"}));
		sIFR.replaceElement(named({sSelector:"h3", sFlashSrc:"http://www.buurtdiensten.dev/buurtdiensten/images/frutiger.swf", sColor:"#FFFFFF", sLinkColor:"#90e4ff", sWmode:"transparent"}));		
		sIFR.replaceElement(named({sSelector:"DIV.menu LI SPAN", sFlashSrc:"http://www.buurtdiensten.dev/buurtdiensten/images/frutiger.swf", sColor:"#000000", sLinkColor:"#000000", sWmode:"transparent"}));
		
	};
}*/

$(document).ready(function($){

	$("DIV.menu UL LI").click( function() {
		//window.location = $(this).find('A').attr('href');
		window.location = $(this).attr('title');
	});
	$("DIV.menu UL LI").css('cursor','pointer');
	$("DIV.menu UL LI SPAN").css('cursor','pointer');
	$("DIV.menu UL LI SPAN EMBED").css('cursor','pointer');
		
});

/*****************************************************************************
    The sIFR configuration should typically go in `sifr-config.js`, but in order to
    keep the config file clean, and to give a quick overview, it's done here instead.
    *****************************************************************************/
  

    var frutiger = {
      src: 'http://www.buurtdiensten.nl/buurtdiensten/images/frutiger.swf'
     // ,ratios: [6, 1.41, 9, 1.35, 15, 1.29, 21, 1.25, 22, 1.22, 27, 1.24, 29, 1.21, 34, 1.22, 41, 1.21, 45, 1.2, 46, 1.21, 59, 1.2, 68, 1.19, 69, 1.2, 96, 1.19, 97, 1.18, 102, 1.19, 103, 1.18, 107, 1.19, 108, 1.18, 112, 1.19, 114, 1.18, 116, 1.19, 120, 1.18, 121, 1.19, 1.18]
	 ,ratios: [8, 1.3, 9, 1.22, 10, 1.25, 15, 1.22, 19, 1.18, 27, 1.17, 34, 1.16, 36, 1.14, 38, 1.15, 55, 1.14, 96, 1.13, 97, 1.12, 100, 1.13, 101, 1.12, 102, 1.13, 106, 1.12, 107, 1.13, 114, 1.12, 115, 1.13, 1.12]
    };

    sIFR.activate(frutiger);

    sIFR.replace(frutiger, {
      selector: 'DIV.menu LI SPAN'
      ,css: [
        '.sIFR-root { color: #000000; }'
        ,'a { text-decoration: none; }'
        ,'a:link { color: #000000; }'
        ,'a:hover { color: #000000; }'
      ]
	  ,wmode: 'transparent'
    });
	
	sIFR.replace(frutiger, {
      selector: 'H1, H2, H3'
      ,css: [
        '.sIFR-root { color: #ffffff; }'
        ,'a { text-decoration: none; }'
        ,'a:link { color: #90e4ff; }'
        ,'a:hover { color: #90e4ff; }'
      ]
	  ,wmode: 'transparent'
    });
	
	
	
  /*
    sIFR.replace(rockwell, {
      selector: 'h5#pullquote'
      ,css: 'em { font-style: normal; color: #660000; }'
      ,selectable: false
    });
  
    sIFR.replace(cochin, {
      selector: 'h3.sidebox'
      ,css: {
        '.sIFR-root': { 'background-color': '#DCDCDC' }
      }
    });
  
   */