
	
	
	var ns = (navigator.appName.indexOf("Netscape") != -1);
	var d = document;
	function internetal_floatdiv(id, sx, sy) {
		sx = 17;
		sy = 100;
		var el=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id];
		var px = document.layers ? "" : "px";
		window[id + "_obj"] = el;
		if(d.layers)el.style=el;
		el.cx = el.sx = sx;el.cy = el.sy = sy;
		el.sP=function(x,y){this.style.left=x+px;this.style.top=y+px;};

		el.floatIt=function()
		{
			var pX, pY;
			pX = (this.sx >= 0) ? 0 : ns ? innerWidth : 
			document.documentElement && document.documentElement.clientWidth ? 
			document.documentElement.clientWidth : document.body.clientWidth;
			pY = ns ? pageYOffset : document.documentElement && document.documentElement.scrollTop ? 
			document.documentElement.scrollTop : document.body.scrollTop;
			if(this.sy<0) 
			pY += ns ? innerHeight : document.documentElement && document.documentElement.clientHeight ? 
			document.documentElement.clientHeight : document.body.clientHeight;
			this.cx += (pX + this.sx - this.cx)/8;this.cy += (pY + this.sy - this.cy)/8;
			this.sP(this.cx, this.cy);
			setTimeout(this.id + "_obj.floatIt()", 40);
		}
		return el;
	}
	



	function konzertwahl (form) {
		var konzertseite = form.konzertwahla.options[form.konzertwahla.selectedIndex].value;
		parent.location.href='http://www.baselsinfonietta.ch/html_de/' + konzertseite;
	}
	function linkwahl (linkpage) { 
		parent.location.href='http://www.baselsinfonietta.ch/html_' + linkpage + '.html';
	}
		
	
	var lastmenuid;
	function showmenu (menuid, menutitel) {
		hidemenu();
		showmenu1 (menuid, menutitel);
		lastmenuid = menuid;
	}
	function hidemenu (menucolor) {
		if (lastmenuid) {
			hidemenu1 (lastmenuid, menucolor);
		} 
		lastmenuid = '';
	}
	
	function showmenuimg (menuid, status) {
		alert (menuid + status);
		eval("document.'+menuid+'.src = '../abbbg/video_button_'+status+'.png'");
	}
	
	function showmenu1 (menuid, menutitel) {
		if (menuid) {	
			window.status=menutitel;	
			if (document.layers) {
				eval("document." + menuid + ".color = '000000'");
				eval("document." + menuid + ".backgroundColor = '#e66c2d'");
			}
			else if (document.all) {
				eval("document.all." + menuid + ".style.color = '000000'");
				eval("document.all." + menuid + ".style.backgroundColor = '#e66c2d'");
			}
			else {
				eval("document.getElementById('" + menuid + "').style.color = '000000'");
				eval("document.getElementById('" + menuid + "').style.backgroundColor = '#e66c2d'");
			}
		}
	}
	function hidemenu1 (hidemenuid, menucolor) {
		window.status='';
		if (document.layers) {
			eval("document." + hidemenuid + ".color = '#ffffff'");
			eval("document." + hidemenuid + ".backgroundColor = '#" + menucolor + "'");
		}
		else if (document.all) {
			eval("document.all." + hidemenuid + ".style.color = '#ffffff'");
			eval("document.all." + hidemenuid + ".style.backgroundColor = '#" + menucolor + "'");
		}
		else {
			eval("document.getElementById('" + hidemenuid + "').style.color = '#ffffff'");
			eval("document.getElementById('" + hidemenuid + "').style.backgroundColor = '#" + menucolor + "'");
		}	 
	}
	function showpage (template, contentfile) {
		self.location = 'http://www.baselsinfonietta.ch/html_de/' + contentfile + '.html';
	}
	function showpdf (pdffile) {
		self.location = 'http://www.baselsinfonietta.ch/pdf/' + pdffile;
	}
	
