// JavaScript Document
function updateYoutube(xmlLocation,videoIndex,filename,sWidth,sHeight){
	idString=xmlLocation.slice(xmlLocation.lastIndexOf(",")+1);
	var so=new SWFObject("flash/"+filename, "youtube", sWidth, sHeight, "8", "#FFFFFF");
    so.addVariable("xmlLocation",xmlLocation);
	so.addVariable("videoIndex",videoIndex);
	so.addVariable("playerType",filename);
	so.addParam("wmode","opaque");
    so.write("divYouTube"+idString);
}