function show_flash(widht,height,src,cyt,trans)
{
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="#ffffff" />');
document.write('<PARAM NAME=FlashVars VALUE="'+cyt+'">');
document.write('<embed src="'+src+'" quality="high" FlashVars="'+cyt+'" bgcolor="#ffffff" 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="#ffffff" />');
document.write('<PARAM NAME=FlashVars VALUE="'+cyt+'">');
document.write('<embed src="'+src+'" quality="high" FlashVars="'+cyt+'" bgcolor="#ffffff" 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 bilder(b1,show1,b2,show2,b3,show3,b4,show4,b5,show5) { 
if(document.getElementById){
if(b1 != null){document.getElementById(b1).style.display = show1;
               document.getElementById(b1).style.visibility="visible";
}
if(b2 != null){document.getElementById(b2).style.display = show2;
               document.getElementById(b2).style.visibility="visible";
 }
if(b3 != null){document.getElementById(b3).style.display = show3;
               document.getElementById(b3).style.visibility="visible";
}
if(b4 != null){document.getElementById(b4).style.display = show4;
               document.getElementById(b4).style.visibility="visible";
}
if(b5 != null){document.getElementById(b5).style.display = show5;
               document.getElementById(b5).style.visibility="visible";
}
}
}

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 = "SK-Games"; 
  url = "http://www.skgames.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 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";
		}
	}
}
var picArray=new Array("first","second","third")
function showPic(which){
	if(document.getElementById)
	for (a=0;a<picArray.length;a++){
		if(picArray[a]!=which){
			document.getElementById(picArray[a]).style.display = "none";
		}else{
			document.getElementById(which).style.display = "block";
		}
	}
}

