// <![CDATA[
////////////////////////////////////////////////////////////////////////
var focusindex = '400';
var blurindex = '0';
var currentindex = '0';

function init(){
	if($('topnav')){
		//Effect.Appear('topnav',{delay:0,duration:0.3,form:0, to:1});
	}
	
	if($('topimg')){
		//Effect.Appear('topimg',{delay:0,duration:0.5,to:1});
		$$('#topimg div').each(function(n) {
		z=n.identify();
		if(z!='bactief') Effect.Appear(n,{delay:0,duration:0.3,to:0.5});
		});
		//Effect.multiple('bimg', Effect.Appear,{speed:0});

		if($('bactief')){
			Effect.Appear('bactief',{delay:0,duration:0.3,from:0.5,to:1});
		}
	}

	if($('images')){
		Effect.Appear('images',{delay:0.5,duration:0.5,to:1});
	}
	
	if($('panorama')){
		//Effect.Appear('panorama',{delay:0.5,duration:1});
	}
	
	if($('rij')){
		Effect.Appear('rij',{delay:0.5,duration:0.5,form:0, to:1});
	}
/* Replacement calls. Please see documentation for more information. */

/*	if(typeof sIFR == "function"){
//		alert('sIFR!');
// This is the preferred "named argument" syntax
	sIFR.replaceElement(named({sSelector:"h1", sFlashSrc:"data/fonts/sovereign.swf", sColor:"#9c0c14"}));

// This is the older, ordered syntax
	//sIFR.replaceElement("h1.titel", "data/fonts/sovereign.swf", "#9c0c14", null, null, null, 0, 0, 0, 0);
	sIFR.replaceElement("h2.kop", "data/fonts/sovereign.swf", "#9c0c14", null, null, null, 0, 0, 0, 0);
	};*/

}

//====== do it
Event.observe(window, "load", init);
//]]>
