if ( ! attachOnLoadHandler(function () { MainFlash();})) window.onload = function () { MainFlash();};
function MainFlash() {
FLASHOBJ.init();
}
if (typeof FLASHOBJ == "undefined") { FLASHOBJ = {}; }
FLASHOBJ = {
flash: "",
cssStyle: document.write("<style type=text/css>div.imgblock200{width:200;height:200;overflow:hidden}</style>"),
mainclass: "imgblock200",
maintag: "DIV",
mainid: document.getElementById("content_controlpanel_1_1"),
init: function() {
this.openForm();
},
openForm: function() {
FLASHOBJ.flash = FLASHOBJ.cssStyle;
FLASHOBJ.flash = "<embed src='http://www.youtube.com/watch?v=DKBikcF-H5U' quality='high' width='200' height='200' wmode='transparent' align='middle' AllowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'></embed>";
FLASHOBJ.getElementsByClassName(FLASHOBJ.mainid,FLASHOBJ.maintag,FLASHOBJ.mainclass)[0].innerHTML=FLASHOBJ.flash;
},
getElementsByClassName: function(oElm, strTagName, strClassName) {
var arrElements = (strTagName == "*" && oElm.all)? oElm.all : oElm.getElementsByTagName(strTagName);
var arrReturnElements = new Array();
strClassName = strClassName.replace(/\-/g, "\\-");
var oRegExp = new RegExp("(^|\\s)" + strClassName + "(\\s|$)");
var oElement;
for(var i=0; i<arrElements.length; i++){
oElement = arrElements[i];
if(oRegExp.test(oElement.className)){
arrReturnElements.push(oElement);
}
}
return (arrReturnElements);
}
};
heres my codes....but still the white page is there???any help?