	var hasRightVersion = false;
	var testLoaded = false;
	
   	function libinit(){
		if (document.getElementById("flashflash") && document.getElementById("flashhtml")) {
			objflashflash=new lib_obj('flashflash');
			objflashhtml=new lib_obj('flashhtml');
			if(hasRightVersion) {
				if ((location.href.indexOf("de/default.html") > -1 || 
				location.href.indexOf("fr/default.html") > -1 || 
				location.href.indexOf("it/default.html") > -1 || 
				location.href.indexOf("en/default.html") > -1) && (
				document.referrer.indexOf("steamen/de") > -1 || 
				document.referrer.indexOf("steamen/fr") > -1 ||
				document.referrer.indexOf("steamen/it") > -1 ||
				document.referrer.indexOf("steamen/en") > -1 ||				
				document.referrer.indexOf("www.steamen.ch") > -1 || 
				document.referrer.indexOf("www.cuisine-vapeur.ch") > -1 ||
				document.referrer.indexOf("www.cuisinevapeur.ch") > -1 ||
				document.referrer.indexOf("www.cucina-vapore.ch") > -1 ||
				document.referrer.indexOf("www.cucinavapore.ch") > -1 ||
				document.referrer.indexOf("www.cooking-with-steam.com") > -1)) {
					objflashflash.displayNone();
					objflashhtml.displayBlock();
				} else {
					objflashflash.displayBlock();
					objflashhtml.displayNone();
				}
			} else {
				objflashflash.displayNone();
				objflashhtml.displayBlock();
			}
		}
		if (document.getElementById("teaser1content")){
			objteaser1=new lib_obj('teaser1content');
		}
		if (document.getElementById("teaser2content")){
			objteaser2=new lib_obj('teaser2content');
		}
		if (document.getElementById("teaser3content")){
			objteaser3=new lib_obj('teaser3content');
		}
		objvzugdrop=new lib_obj('vzugdrop');
		objvzugdropoffen=new lib_obj('vzugdropoffen');
		testLoaded = true;

		
		if (document.getElementById("linkpopup")){
			objlinkpopup=new lib_obj('linkpopup')
			objlinkpopup.dragdrop()
		}
	}
	onload=libinit;
