$(document).ready(function(){
	initSIFR();
	selectboxForms();
});
function selectboxForms(){
	$('div.form div.select select').selectbox();
	var zIndex = 9999;
	$('div.form div.entry').each(function(){
		$(this).css('z-index',zIndex);
		zIndex--;
	});
}
function initSIFR(){
	sIFR.replace(sifr, {
	selector: 'div.title'
	,css: [
	  '.sIFR-root { padding: 0px; font-weight: bold; font-size: 15px; color: #ffffff; width: auto;}'
	],
	wmode: 'transparent'
	});
	sIFR.replace(sifr, {
	selector: 'h1.detail'
	,css: [
	  '.sIFR-root { padding: 0px; font-weight: bold; font-size: 19px; color: #009bdb; width: auto;}'
	],
	wmode: 'transparent'
	});
	sIFR.replace(sifr, {
	selector: 'h2.detail'
	,css: [
	  '.sIFR-root { padding: 0px; font-weight: bold; font-size: 18px; color: #009bdb; width: auto;}'
	],
	wmode: 'transparent'
	});
}
function detailSlideshow(){
	$('#keukenslider').slideKey({
		sEasing: 'easeInOutBack',
		bKeyboard: true,
		sDirection: 'y',
		sExtension: 'detail'
	});	
	$('#numbering').fadeTo(0,0.8);
}

function sfeerCycle() {
	$('#cycle')
		.after('<div id="nav">')
		.cycle({
			fx:     'fade',
			timeout: 6000,
			speed:	 900,
			pager: '#nav',
			after: function(curr,next,opts) {

			}
	});
}

