function fixparam(objid)
{
	var ex=document.getElementById("ec"+objid);
	var ec=ex.getElementsByTagName("object");
	for(var i=0; i<ec.length; i++)
	{
	  ec[i].id="vc"+i;
	  id=ec[i].id;
	  var el = document.getElementById(id);
	  el.width = "100%";
	  var child = null;
	  var wmode="transparent";
	  var param = document.createElement('param');
	  param.name = 'wmode';
	  param.value = wmode;
	  el.appendChild(param);
	  for (var y=0, end = el.childNodes.length; y < end; y++) {
			child = el.childNodes[y];
			if (child.nodeName === 'EMBED') {
				  child.name="vce"+i;
				  //child.wmode = wmode;
				  child.setAttribute('wmode',wmode);
				  child.width = "100%";
			}
	  }
			
	}
}

