function activateAllObjects() {
	theObjects = document.getElementsByTagName("object"); 
	for (var i = 0; i < theObjects.length; i++) {
	  	if(theObjects[i].getAttribute('type') == 'flash')
			theObjects[i].outerHTML = theObjects[i].outerHTML; 
	}
}

function activateObject(objId) {
	obj = document.getElementById(objId);
	obj.outerHTML = obj.outerHTML;
}