/*

function arguments
DivID	Div id from html page there is a relation of "topname" we are getting topname in this variable
CLSID	flash cls id
ObjectID	flash object id

following all are self explanatory
WIDTH, HEIGHT, URL, TRANS

*/ 
function CreateControl(DivID, CLSID, ObjectID,
                       WIDTH, HEIGHT, URL, TRANS)
{
  //var d = document.getElementById(DivID);

  DivID.innerHTML = 
    '<object classid=' + CLSID + ' id=' + ObjectID + ' width=' + WIDTH + ' height=' + HEIGHT +'>'+
	'<param name="movie" value="' + URL + '">'+
	'<param name="wmode" value='+TRANS+'>'+
    '<embed src="'+URL+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer"'+
    'type="application/x-shockwave-flash"  width=' + WIDTH + ' height=' + HEIGHT +' wmode='+TRANS+'></embed>';

}
