﻿// JScript File

function WriteObj(objlines)
{
    document.writeln(objlines);
}

function activatemovie(idname)
{
	var obj = document.getElementById(idname);
	if (obj != null)
	{
		var width = obj.getAttribute('width');
		var height = obj.getAttribute('height');
		var content = obj.getAttribute('content');
        obj.innerHTML = '<embed width="'+width+'" height="'+height+'" controller="true" src="'+content+'" type="application/x-mplayer2" id="player" />';
	}
}
