function getLINK(m,w,h) {

var obj;
var prm;
var emb;

obj = document.createElement('obj');  
obj.setAttribute('classid' , "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000");

obj.setAttribute('codebase' , "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0");
obj.setAttribute('WIDTH' , w);
obj.setAttribute('HEIGHT' , h);

prm = document.createElement('PARAM');
prm.setAttribute('allowScriptAccess' , "always");
prm.setAttribute('movie' , m);
prm.setAttribute('allowfullscreen' , "true");


emb = document.createElement('embed');
emb.setAttribute('src' , m);
emb.setAttribute('type' , "application/x-shockwave-flash");
emb.setAttribute('allowfullscreen' , "true");
emb.setAttribute('allowscriptaccess' , "always");
emb.setAttribute('width' , w);
emb.setAttribute('height' , h);

obj.appendChild(prm);

obj.appendChild(emb);

document.getElementById("videobox").appendChild(obj);


var newW = parseInt(w) + 14;
var newH = parseInt(h) + 14;

document.getElementById("mainbox").style.width=newW  + "px";;
document.getElementById("mainbox").style.height=newH  + "px"; ;

var marginL =  (parseInt(w) + 14) / 2;
document.getElementById("mainbox").style.marginLeft=-marginL + "px";

var marginH =  (parseInt(h) + 14) / 2;
document.getElementById("mainbox").style.marginTop=-marginH + "px";;

document.getElementById("tframe").style.visibility='visible';



}



function close()
{
document.getElementById("videobox").innerHTML ="";
document.getElementById("tframe").style.visibility='hidden';

}


function close2()
{
document.getElementById("videobox").innerHTML ="";
document.getElementById("tframe").style.visibility='hidden';
}
