/* Compatibile XHTML Flash displayer Author : Razvan Stanga Date : 2006-03-07 17:39 */ function FlashAD () { this._swf = ''; this._width = 0; this._height = 0; this._version = 7; this._divid = ''; this._params = new Array(); } FlashAD.prototype.setSWF = function (_swf, _width, _height, _version) { this._swf = _swf; this._width = _width; this._height = _height; if ( isNaN (_version) == false ) { this._version = _version; } } FlashAD.prototype.setParam = function (paramName, paramValue) { this._params[this._params.length] = paramName+'|||'+paramValue; } FlashAD.prototype.setDivID = function (_divid) { this._divid = _divid; } FlashAD.prototype.display = function () { var _txt = ''; var params = ''; _txt += '\n'; _txt += '\n' _txt += '\n'; for ( i=0;i\n'; params += _param[0]+'="'+_param[1]+'" '; } _txt += '\n'; _txt += '\n'; if (this._divid) { document.getElementById (this._divid).innerHTML = _txt; } else { document.write (_txt); } } var _fAD = new FlashAD (); _fAD.setSWF ("http://a.webstyler.ro/a/669.swf?___rnd=201009032055", "540", "100"); _fAD.setParam ("quality", "high"); _fAD.setParam ("wmode", "transparent"); _fAD.setParam ("menu", "false"); //window.location.hostname _fAD.setParam ("menu", "false"); _fAD.setParam ("AllowScriptAccess", "always"); _fAD.setParam ("flashvars", "host=http://a.webstyler.ro/index.php&op=click&id=669&js=1"); _fAD.display ('');