// chargerobject.js
function CreerControleObject(DivID, Type, ObjectID,
                       Width, Height, Url)
{
  var d = document.getElementById(DivID);
  if (d){
	  d.innerHTML = 
	    "<object type='" + Type + "' id='" + ObjectID + 
	    "' data='" + Url +
	    "' width='" + Width + "' height='" + Height + "'>" +
	    "<param name='movie' value='" + Url + "' />" +
	    "</object>";
	}
}

function WriteControleObject(Type, ObjectID,
                       Width, Height, Url)
{
	document.write( 
	    "<object type='" + Type + "' id='" + ObjectID + 
	    "' data='" + Url +
	    "' width='" + Width + "' height='" + Height + "'>" +
	    "<param name='movie' value='" + Url + "' />" +
	    "</object>");
}	