/**
 * @author tbuehner
 */

function kleiderschrank_wrapper(arg0, arg1) {
	popup_kleiderschrank(arg0, arg1);
}
// Es wird NUR diese JS-Funktion auf der Home-Seite genutzt, functions.js macht hier keinen Sinn!
function changeMe(reiter,zustand){
    myTarget = $("navi_"+reiter);
    myTarget.src = "/media/images/navi/navi_" + reiter + "-" + zustand + ".gif";
}

// TB 27. Oktober 2010
function showGuidedtourInfo(sprache){
	//alert("YO"+sprache+topic);
	switch(sprache){
	case "de":
		myUrl = "/de/guided-tour.html";
		break;
    case "nl":
    	myUrl = "/nl/guidedtour.html";
        break;
    case "en":
    	myUrl = "/en/guided-tour.html";
    	break;
    case "es":
    	myUrl = "/es/guided-tour.html";
    	break;
	}
	//window.open(myUrl);
	setTimeout("showGuidedtourInfoSqueezeBox(myUrl)", 100); // Mini-Verzögerung, um Swf2Squeezebox-Bug zu beheben

	}

// TB 27. Oktober 2010
function showGuidedtourInfoSqueezeBox(myUrl){
	if( SqueezeBox != undefined ) {
		SqueezeBox.open(myUrl, {handler: 'iframe',size: {x: 680, y: 570}});
	}
}
