// JavaScript by Smart Graphics
// not for commercial use

	var ns = document.getElementById && !document.all;
	var ie4 = document.all;
	var alte_breite = 0;
	var neue_breite = 0;
	
	function byid(eingabe){
		if (ie4){
			return document.all[eingabe];
		}else if (ns) {
			return document.getElementById(eingabe);
		}else{
			alert('Ihr Browser unterstützt nicht die notwendigen Funktionen?'); 
		}
	}
	
	function flash_objekt(div_id,datei,wmode,width,height,scale){
		var objekt = '<ob' +  'ject clas' +  'sid="cl' +  'sid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="'+width+'" height="'+height+'">'+
						'<par' +  'am name="movie" value="'+datei+'" />'+
						'<pa' +  'ram name="quality" value="high" />'+
						'<pa' +  'ram name="SCALE" value="'+scale+'">'+
						'<pa' +  'ram name="WMODE" value="'+wmode+'">'+
						'<e' +  'mbe' +  'd src="'+datei+'" wmode="'+wmode+'" SCALE="'+scale+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="appl' +  'ication/x-shoc' +  'kwave-fl' +  'ash" width="'+width+'" height="'+height+'"></emb' +  'ed>'+
					'</ob' +  'ject>';
		byid(div_id).innerHTML = objekt;
	}
