
function MediaWriteSWF(){
	var SWFVersionTbl = new Array('','','','','4,0,2,0','5,0,0,0','6,0,0,0','7,0,0,0','8,0,0,0');
	var MDWriteSwfObj= '<object width="' +MDWriteSwfWidth+ '" height="' +MDWriteSwfHeight+ '" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=' +SWFVersionTbl[MDWriteSwfVer]+ '" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000">'
										+'<param name="movie" value="' +MDWriteSwfURL+ '">'
										+'<param name="bgcolor" value="' +MDWriteSwfBgColor+ '">'
										+'<param name="menu" value="false">'
										+'<param name="quality" value="high">'
										+'<param name="wmode" value="transparent">'
										+'<embed wmode="transparent" src="' +MDWriteSwfURL+ '" bgcolor="' +MDWriteSwfBgColor+ '" width="' +MDWriteSwfWidth+ '" height="' +MDWriteSwfHeight+ '" menu="false" quality="high" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></object>';
	document.write(MDWriteSwfObj);
	
	//clear
	MDWriteSwfVer = MDWriteSwfWidth = MDWriteSwfHeight = 0;
	MDWriteSwfBgColor = MDWriteSwfURL = '';
}

function showDiscs(target){
	if(document.all){
		_visa = document.all("menu_visa").style;
		_faq = document.all("menu_faq").style;
		_bureau = document.all("menu_bureau").style;
		_fee = document.all("menu_fee").style;
		_contact = document.all("menu_contact").style;
		_adire = document.all("menu_adire").style;
	}else if(document.getElementById){
		_visa = document.getElementById("menu_visa").style;
		_faq = document.getElementById("menu_faq").style;
		_bureau = document.getElementById("menu_bureau").style;
		_fee = document.getElementById("menu_fee").style;
		_contact = document.getElementById("menu_contact").style;
		_adire = document.getElementById("menu_adire").style;
	}
	_visa.display = (target=="visa") ? 'block' : 'none';
	_faq.display = (target=="faq") ? 'block' : 'none';
	_bureau.display = (target=="bureau") ? 'block' :'none';
	_fee.display = (target=="fee") ? 'block' :'none';
	_contact.display = (target=="contact") ? 'block' :'none';
	_adire.display = (target=="adire") ? 'block' :'none';
}