// JavaScript Document

function playTrack(pfad, infotext, playerpfad) {
	//alert("pfad: "+pfad+" infotext: "+infotext+" playerpfad: "+playerpfad);
	// pfad = "38_186.mp3";
	 html = "<HTML>\n<HEAD>\n<TITLE>audioscape 1.0</TITLE>\n</HEAD>\n<BODY bgcolor=white LEFTMARGIN=0 MARGINWIDTH=0 TOPMARGIN=0 MARGINHEIGHT=0>";
	 html += "\n<OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' WIDTH='150' HEIGHT='150' id='scapePlayer' ALIGN=''>";
	 html += "\n<PARAM NAME=movie VALUE='templates/pics/scapePlayer.swf?track="+pfad+"&infotext="+escape(infotext)+"'> ";
	 html += "\n<PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#000000>";
	 html += "\n<PARAM NAME=menu VALUE=false>";
	  html += "\n<EMBED SRC='templates/pics/scapePlayer.swf?track="+pfad+"&infotext="+escape(infotext)+"' quality='high' bgcolor='#000000' width='150' height='150' name='arsapp' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />";
	 html += "</OBJECT>";
	 html += "\n</BODY>\n</HTML>";
	 popup=window.open('','image','width=150,height=150');
	 popup.document.open(); 
	 popup.document.write(html);
	 popup.document.focus();
}