function show_flash(widht,height,src,cyt,trans,bgcolor)
{

if (window.ActiveXObject)
{
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="'+widht+'" height="'+height+'" id="'+src+'">');
document.write('<param name="allowScriptAccess" value="always" />');
document.write('<param name="movie" value="'+src+'" />');
document.write('<param name="quality" value="high" />');
document.write('<param name="wmode" value="'+trans+'">');
document.write('<param name="bgcolor" value="'+bgcolor+'" />');
document.write('<param name="wmode" value="transparent" />');
document.write('<PARAM NAME=FlashVars VALUE="'+cyt+'">');
document.write('<embed src="'+src+'" quality="high" FlashVars="'+cyt+'" bgcolor="'+bgcolor+'" width="'+widht+'" height="'+height+'" name="'+src+'" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="https://www.macromedia.com/go/getflashplayer" wmode="'+trans+'" />');
document.write('</object>');
}
else
{
document.write('<object id="'+src+'" data="'+src+'" type="application/x-shockwave-flash" width="'+widht+'" height="'+height+'">');
document.write('<param name="allowScriptAccess" value="always" />');
document.write('<param name="movie" value="'+src+'" />');
document.write('<param name="quality" value="high" />');
// document.write('<param name="wmode" value="'+trans+'">');
document.write('<param name="bgcolor" value="'+bgcolor+'" />');
document.write('<param name="wmode" value="transparent" />');
document.write('<PARAM NAME=FlashVars VALUE="'+cyt+'">');
document.write('<embed src="'+src+'" quality="high" FlashVars="'+cyt+'" bgcolor="'+bgcolor+'" width="'+widht+'" height="'+height+'" name="'+src+'" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="https://www.macromedia.com/go/getflashplayer" />');
document.write('</object>');
}
}

function showthumb(i){   
	document.getElementById("pic"+i).style.display = "block";
}
var bildArray=new Array(1,2,3,4,5,6);
function bild(nummer){
	if(document.getElementById)
	for (a=0;a<bildArray.length;a++){
		if(bildArray[a]!=nummer){
			document.getElementById("bild"+bildArray[a]).style.display = "none";
		}else{
			document.getElementById("bild"+nummer).style.display = "block";
		}
	}
}

function cytshort() {
  if(document.getElementById)
  document.getElementById("cytshort").style.display = "block";
  document.getElementById("cytdesc").style.display = "none";
}
function cytdesc() {
  if(document.getElementById)
  document.getElementById("cytdesc").style.display = "block";
  document.getElementById("cytshort").style.display = "none";
}

 function CreateBookmarkLink() {
  title = "Tanc"; 
  url = "http://www.tanc.de"; 
  if (window.sidebar) { // Mozilla Firefox Bookmark	
  window.sidebar.addPanel(title, url,"");
  } else if( window.external ) { // IE Favorite
  window.external.AddFavorite( url, title);
  }	else { 
      alert("Diese Funktion wird leider von ihrem Browser nicht unterstützt");}
  }
function setol_hpos(position) {
ol_hpos = position;
}
function updateajax(){
OLgetRef('ajaxexa1').innerHTML= OLresponseAJAX ;
}
function OLcmdExT1() {
overlib( OLresponseAJAX ,FULLHTML,OFFSETX,-30,OFFSETY,-50,WIDTH,432,HEIGHT,280,STICKY,DELAY,0,FILTER,FADEIN,25,FADEOUT,25,FADETIME,500);
}
quick_view = '';
function change_quick_view(tpl,language) {
	if(quick_view == ''){
	quick_view = 1;
	document.getElementById("quick_view_button").src = tpl + 'images/' + language + '/quick_view_off.gif';
	document.getElementById("quick_view_button2").src = tpl + 'images/' + language + '/quick_view_off.gif';
	}else{
	quick_view = '';
	document.getElementById("quick_view_button").src = tpl + 'images/' + language + '/quick_view_on.gif';
	document.getElementById("quick_view_button2").src = tpl + 'images/' + language + '/quick_view_on.gif';
	}
}