// JavaScript Document
//
// USAGE:
// var so = new SWFObject(filename, name/id, width, height, playerversion, bgcolor)
//
// add parameter like <param name="wmode" value="transparent" />
// so.addParam("wmode", "transparent");
//
// add flashvars like <param name="flashvars" value="action=<?php echo $action;?>&lang=<?php echo LANG;?>" />
// so.addVariable("action", Action);
// so.addVariable("lang", Lang);
//
// there is no php allowed in this file
// if u need other variables exept of $action and LANG, then use the parameterlist of the function i.e.
// function buildSwf_example(otherVar)
// {
//		...
//		so.addVariable("otherVar", otherVar);
// }
/* <script>buildSwf_example('<?php echo $otherVar;?>');</script>*/
//
// so.write(IdOfContainer)

//swf example
function buildSwf_radioStreamer()
{
	var so = new SWFObject("data/banner_radio.swf", "radioStreamer_swf", "147", "150", "7", "#ffffff");
	// add parameter
	//so.addParam("wmode", "transparent");
	so.addParam("menu", "false");
	so.addParam("quality", "high");
	// add Variables
	//so.addVariable("action", Action);
	so.addVariable("lang", Lang);
	
	so.write("radioStreamer_div");
}