function errorHandler() {
   return true;
}

window.onerror = errorHandler;

function closeDrop() {
	window.setTimeout("if (!showDrop) {objvzugdropoffen.hideIt();objvzugdrop.hideIt();showFlash()}",1000);
}
	
function hideFlash() {
	if(hasRightVersion && objflashflash) {
		objflashflash.displayNone();
		objflashhtml.displayBlock();
	}
}
function showFlash() {
	if(hasRightVersion && objflashflash &&
	(location.href.indexOf("steamen/de/default.html") == -1 &&
	location.href.indexOf("steamen/fr/default.html") == -1 &&
	location.href.indexOf("steamen/it/default.html") == -1 &&
	location.href.indexOf("steamen/en/default.html") == -1 &&
	location.href.indexOf("www.steamen.ch") == -1 &&
	location.href.indexOf("www.cuisine-vapeur.ch") == -1 &&
	location.href.indexOf("www.cuisinevapeur.ch") == -1 &&
	location.href.indexOf("www.cucina-vapore.ch") == -1 &&
	location.href.indexOf("www.cucinavapore.ch") == -1 &&
	location.href.indexOf("www.cook-with-steam.com") == -1)) {
		objflashflash.displayBlock();
		objflashhtml.displayNone();
	}
}

function showDropFlash() {
	if (testLoaded) {
		objvzugdrop.showIt();
		objvzugdropoffen.showIt();
		hideFlash();
	} else {
		window.open("http://www.vzug.ch");
	}
}
