/*var imageplayerswf = "/local/flash/container.swf";  // write the "link-to-player.swf" here//if (navigator.appName.match(/explorer/i)) {imageplayerswf = imageplayerswf + "?" + Math.round(Math.random() * 100);} var flashvars = {};//flashvars.file =               "img/****.xml";';var params = {};	params.allowscriptaccess = 'sameDomain';	params.allowfullscreen =   'false';	params.bgcolor =           '#000000';	params.scale =             'noscale';var attributes = {};	swfobject.embedSWF(imageplayerswf, "flashcontent", "1024", "525", "8.0.0", false, flashvars, params, attributes);//	swfobject.embedSWF("link-to-player.swf", "div id", "width", "height", "flash version", false, flashvars, params, attributes);*/function opengallerywin(url, anzahl, img_sid) {var screenwidth = 800;var screenheight = 600;var winwidth = 700;var winheight = 550;var widthpos = 0;var heightpos = 0;screenwidth = screen.width;screenheight = screen.height;if (anzahl > 24) { 	winwidth = (screenwidth-50);	winheight = (screenheight-50);		gallerywin = window.open(url,"gallerywin",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,top='+heightpos+',left='+widthpos+',width='+winwidth+',height='+winheight+',resizable=1');	gallerywin.focus();	} else { 	if (anzahl > 8) { winwidth = 850; }	if (anzahl > 10) { winheight = 650; }	if (anzahl > 15) { winwidth = 1000; }	if (anzahl > 18) { winheight = 800; }	widthpos = (((screenwidth - winwidth) / 2) - 20);	heightpos = (((screenheight - winheight) / 4));	if (widthpos < 0) { widthpos = 0; }	if (heightpos < 0) { heightpos = 0; }//alert('screenwidth: '+screenwidth+' screenheight: '+screenheight+' widthpos: '+widthpos+' heightpos: '+heightpos+' winwidth: '+winwidth+' winheight: '+winheight+' bild-anzahl: '+anzahl+' img_sid: '+img_sid);	gallerywin = window.open(url,"gallerywin",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,top='+heightpos+',left='+widthpos+',width='+winwidth+',height='+winheight+',resizable=1');	gallerywin.focus();}} // ++++ swap newstower items ++++activeMenuID = 'news';function changeMenue(m_id) {		if(m_id == activeMenuID) return true;		// hide active menu	activeitem = document.getElementById(activeMenuID+'items');	activeitem.style.display = 'none';	activetab = document.getElementById(activeMenuID+'tab');	activetab.setAttribute("class", "niks"); 	activetab.setAttribute("className", "niks"); // this is bugfix for ie		// show current menu	currentitem = document.getElementById(m_id+'items');	currentitem.style.display = 'block';	currenttab = document.getElementById(m_id+'tab');	currenttab.setAttribute("class", "selected"); 	currenttab.setAttribute("className", "selected"); // this is bugfix for ie		activeMenuID = m_id;}// ++++ flowplayer items ++++function setquality(quality) {	document.getElementById('player'+quality).style.display = 'block';	document.getElementById('playbuthq').style.display = 'none';	document.getElementById('playbutlq').style.display = 'none';	document.getElementById('stierkopf').style.visibility = 'hidden';	document.getElementById('topnavflashid').style.top = '50%';	document.getElementById('topnavflashid').style.marginTop = '-222px';	document.getElementById('topnavflashid').style.marginLeft = '-415px';	document.getElementById('topnavflashid').style.padding = '15px';	document.getElementById('topnavflashid').style.backgroundColor = '#1a1a1a';	document.getElementById('topnavflashid').style.height = '425px';	document.getElementById('overlay').style.display = 'block';}