function getAudioPlayer(looping, mp3path){
	document.write("<object type=\"application/x-shockwave-flash\" ");
	document.write("data=\"http://www.ledge.ch/inc/swf/audioplayer.swf?looping="+looping+"&mp3path="+mp3path+"\" width=\"300\" height=\"75\">");
	document.writeln("<param name=\"movie\" value=\"http://www.ledge.ch/inc/swf/audioplayer.swf?looping="+looping+"&mp3path="+mp3path+"\">");
	document.writeln("</object>");
}
function getFLVPlayer(loop, flvpath){
	document.write("<object type=\"application/x-shockwave-flash\" ");
	document.write("data=\"http://www.ledge.ch/inc/swf/indexplayer.swf?autostart="+loop+"&flvpath="+flvpath+"\" width=\"300\" height=\"265\">");
	document.writeln("<param name=\"movie\" value=\"http://www.ledge.ch/inc/swf/indexplayer.swf?autostart="+loop+"&flvpath="+flvpath+"\">");
	document.writeln("</object>");
}
function getVideoPlayer(autostart,looping,flvpath,bgcolor){
	document.writeln("<object type=\"application/x-shockwave-flash\" ");
	document.write("data=\"http://www.ledge.ch/inc/swf/ledgeflvplayer.swf?autostart="+autostart+"&looping="+looping+"&flvpath="+flvpath+"&bgcolor="+bgcolor+"\" width=\"300\" height=\"265\">");
	document.writeln("<param name=\"movie\" value=\"http://www.ledge.ch/inc/swf/ledgeflvplayer.swf?autostart="+autostart+"&looping="+looping+"&flvpath="+flvpath+"&bgcolor="+bgcolor+"\">");
	document.writeln("</object>");
}
function getVideoThumbnail(flvpath){
	document.writeln("<object style=\"margin:2px;\" type=\"application/x-shockwave-flash\" ");
	document.write("data=\"http://www.ledge.ch/inc/swf/flvthumbnail.swf?flvpath="+flvpath+"\" width=\"100\" height=\"75\">");
	document.writeln("<param name=\"movie\" value=\"http://www.ledge.ch/inc/swf/flvthumbnail.swf?flvpath="+flvpath+"\">");
	document.writeln("</object>");
}
function watchFLV(loop,path){
	var e = document.getElementById('videocontainer');
	if(e){
		e.innerHTML ="<object type=\"application/x-shockwave-flash\" data=\"http://www.ledge.ch/inc/swf/indexplayer.swf?autostart="+loop+"&amp;flvpath="+path+"\" height=\"265\" width=\"300\"><param name=\"movie\" value=\"http://www.ledge.ch/inc/swf/indexplayer.swf?autostart="+loop+"&amp;flvpath="+path+"\">\r\n</object>\r\n";
	}
}
function listenMp3(looping,mp3path){
	var e = document.getElementById('audiocontainer');
	if(e){
		e.innerHTML ="<object type=\"application/x-shockwave-flash\" data=\"http://www.ledge.ch/inc/swf/audioplayer.swf?looping="+looping+"&amp;mp3path="+mp3path+"\" height=\"75\" width=\"300\"><param name=\"movie\" value=\"http://www.ledge.ch/inc/swf/audioplayer.swf?looping="+looping+"&amp;mp3path="+mp3path+"\">\r\n</object>\r\n";
	}
}
function getRatingStars(id, rated, ratewhat){
	document.writeln("<object type=\"application/x-shockwave-flash\" data=\"/inc/swf/ratingstars.swf?id="+id+"&amp;rated="+rated+"&amp;ratewhat="+ratewhat+"\" height=\"20\" width=\"65\">");
	document.writeln("<param name=\"movie\" value=\"/inc/swf/ratingstars.swf?id="+id+"&amp;rated="+rated+"&amp;ratewhat="+ratewhat+"\"></object>");
}
function getImagesSlider(path){
	document.writeln("<object type=\"application/x-shockwave-flash\" data=\"/inc/swf/imgviewer.swf?path="+path+"\" height=\"500\" width=\"550\">");
	document.writeln("<param name=\"movie\" value=\"/inc/swf/imgviewer.swf?path="+path+"\"></object>");
}
function getVideosSlider(path){
	document.writeln("<object type=\"application/x-shockwave-flash\" data=\"/inc/swf/vidviewer.swf?path="+path+"\" height=\"650\" width=\"550\">");
	document.writeln("<param name=\"movie\" value=\"/inc/swf/vidviewer.swf?path="+path+"\"></object>");
}