function InsertFlash()
{
   var holderID = arguments[0];
   var swfFile = ((typeof arguments[1]) == 'string' ? arguments[1] : arguments[1][0]);
   var flashVars = ((typeof arguments[1]) == 'string' ? "myVarHolder=0" : arguments[1][1]);
   var width = arguments[2];
   var height = arguments[3];
   var movieID = "noID";
   if(arguments.length == 5) movieID = arguments[4];
   var path = document.location.href.substring(0,document.location.href.lastIndexOf('/')+1);
   var objectHTML = ('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="'+width.toString()+'" height="'+height.toString()+'" id="'+movieID+'"><param name="allowScriptAccess" value="sameDomain" /><param name="movie" value="'+(path+swfFile)+'" /><param name="quality" value="high" /><param name="FlashVars" value="'+flashVars+'" /><embed src="'+(path+swfFile)+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" width="'+width.toString()+'" height="'+height.toString()+'" name="'+movieID+'" FlashVars="'+flashVars+'"></embed></object>');

   if(holderID == 'menu_holder' && document.location.href.indexOf('gallery.php') == -1)
   {
	   objectHTML += '<div style="position:absolute; width:298px; z-index:1; left:0px; top:0px; background-color:#FFFFFF; border:solid 1px #243B87; color:#333333"; id="shop_add"><a href="http://www.wyd08thegong.org/online-shop/" target="_blank" style="color:#243B87;"><img src="http://www.dow.org.au/wyd2008/home/images/online_shop.jpg" width="78" height="110" border="0" style="margin:5px; float:left"/></a><div style="margin:5px;">Our online shop is now open,<br /><a href="http://www.wyd08thegong.org/online-shop/" target="_blank" style="color:#243B87;">click here</a> to visit</div><div style="position:absolute; left:278px; top:0px; padding:2px; z-index:2;"><a href="javascript:hideShopAdd()" style="color:#243B87;">&nbsp;x&nbsp;</a></div></div></div>';
   }
   var oDiv =  document.getElementById(holderID);
   
   oDiv.innerHTML = '';
   oDiv.innerHTML = objectHTML;
}

function hideShopAdd()
{
	var oDiv =  document.getElementById('shop_add');
	
	oDiv.style.display = 'none';
	oDiv.style.height = '0px';
}