function insertFestivalsNavigation(the_festival_number, the_xml){
	document.write('<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" WIDTH="567" HEIGHT="85" BORDER="0">');
	document.write('	<PARAM NAME="movie"   VALUE="/common/flash/thm-box.swf">');
	document.write('	<PARAM NAME="quality" VALUE="high">');
	document.write('	<PARAM NAME="bgcolor" VALUE="#C7DAE0">');
	document.write('	<PARAM NAME="WMode"   VALUE="Transparent">');
	document.write('	<PARAM NAME="FlashVars" VALUE="link_xml='+the_xml+'&selectedBtn='+the_festival_number+'">');
	document.write('<EMBED SRC="/common/flash/thm-box.swf" FlashVars="link_xml='+the_xml+'&selectedBtn='+the_festival_number+'" WMODE="transparent" QUALITY="high" TYPE="application/x-shockwave-flash" WIDTH="567" HEIGHT="85" BGCOLOR="#C7DAE0"></EMBED>');
	document.write('</OBJECT>');	
}

function insertLatestBox(linkTo){
	document.write('<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" WIDTH="213" HEIGHT="264" BORDER="0">');
	document.write('	<PARAM NAME="movie"   VALUE="/common/flash/latest.swf">');
	document.write('	<PARAM NAME="quality" VALUE="high">');
	document.write('	<PARAM NAME="bgcolor" VALUE="#C7DAE0">');
	document.write('	<PARAM NAME="WMode"   VALUE="Transparent">');
	document.write('	<PARAM NAME="FlashVars" VALUE="linkTo='+linkTo+'">');
	document.write('<EMBED SRC="/common/flash/latest.swf" FlashVars="linkTo='+linkTo+'" WMODE="transparent" QUALITY="high" TYPE="application/x-shockwave-flash" WIDTH="213" HEIGHT="264" BGCOLOR="#C7DAE0"></EMBED>');
	document.write('</OBJECT>');	
}

function insertHomePageContentMenu(the_xml){
	document.write('<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" WIDTH="156" HEIGHT="416" BORDER="0">');
	document.write('	<PARAM NAME="movie"   VALUE="/home/flash/menu.swf?the_xml='+the_xml+'">');
	document.write('	<PARAM NAME="quality" VALUE="high">');
	document.write('	<PARAM NAME="bgcolor" VALUE="#C7DAE0">');
	document.write('	<PARAM NAME="WMode"   VALUE="Transparent">');
	document.write('<EMBED SRC="/home/flash/menu.swf?the_xml='+the_xml+'" WMODE="transparent" QUALITY="high" TYPE="application/x-shockwave-flash" WIDTH="156" HEIGHT="416" BGCOLOR="#C7DAE0"></EMBED>');
	document.write('</OBJECT>');	
}

function insertGeeVeePlayer(media_entity_ID, live_mode){
	document.write('<OBJECT ID="MEDIA_PLAYER" CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" WIDTH="366" HEIGHT="428" BORDER="0">');
	document.write('	<PARAM NAME="movie"   VALUE="/home/flash/gvee_player.swf?media_entity_ID='+media_entity_ID+'&live_mode='+live_mode+'">');
	document.write('	<PARAM NAME="quality" VALUE="high">');
	document.write('	<PARAM NAME="bgcolor" VALUE="#C7DAE0">');
	document.write('	<PARAM NAME="WMode"   VALUE="Transparent">');
	document.write('<EMBED ID="MEDIA_PLAYER" SRC="/home/flash/gvee_player.swf?media_entity_ID='+media_entity_ID+'&live_mode='+live_mode+'" WMODE="transparent" QUALITY="high" TYPE="application/x-shockwave-flash" WIDTH="366" HEIGHT="428" BGCOLOR="#C7DAE0"></EMBED>');
	document.write('</OBJECT>');	
}

function insertAudioPlayer(media_entity_ID, theWidth, theHeight){
	document.write('<OBJECT ID="MEDIA_PLAYER" CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" WIDTH="'+theWidth+'" HEIGHT="'+theHeight+'" BORDER="0">');
	document.write('	<PARAM NAME="movie"   VALUE="/common/flash/audio_player/music player.swf?media_entity_ID='+media_entity_ID+'">');
	document.write('	<PARAM NAME="quality" VALUE="high">');
	document.write('	<PARAM NAME="bgcolor" VALUE="#05377C">');
	document.write('	<PARAM NAME="WMode"   VALUE="Transparent">');
	document.write('<EMBED NAME="MEDIA_PLAYER" SRC="/common/flash/audio_player/music player.swf?media_entity_ID='+media_entity_ID+'" WMODE="transparent" QUALITY="high" TYPE="application/x-shockwave-flash" WIDTH="'+theWidth+'" HEIGHT="'+theHeight+'" BGCOLOR="#FF0000" swLiveConnect=true></EMBED>');
	document.write('</OBJECT>');	
}