/*
	Compatibile XHTML Flash displayer
	Author 	: Razvan Stanga
	Website : http://www.phprebel.org/
	Date 	: 2006-03-07 17:39
*/

function Flash () {
	this._swf = &##39;&##39;;
	this._width = 0;
	this._height = 0;
	this._params = new Array();
}

Flash.prototype.setSWF = function (_swf, _width, _height, _message) {
	this._swf 		= _swf;
	this._width 	= _width;
	this._height 	= _height;
	this._message 	= _message;
}

Flash.prototype.setParam = function (paramName, paramValue) {
	this._params[this._params.length] = paramName+&##39;|||&##39;+paramValue;
}

Flash.prototype.display = function () {
	var _txt 	= &##39;&##39;;
	var params = &##39;&##39;;
	_txt += &##39;<object>\n&##39;;
	_txt += &##39;<param width="&##39;+this._width+&##39;" height="&##39;+this._height+&##39;" name="movie" value="&##39;+this._swf+&##39;" />&##39;
	_txt += &##39;<param name="quality" value="high" />&##39;;
	for ( i=0;i<this._params.length;i++ ) {
		_param = this._params[i].split (&##39;|||&##39;);
		_txt += &##39;\t<param name="&##39;+_param[0]+&##39;" value="&##39;+_param[1]+&##39;" />&##39;;
		params += _param[0]+&##39;="&##39;+_param[1]+&##39;"&##39;;
	}

	_txt += &##39;<embed width="&##39;+this._width+&##39;" height="&##39;+this._height+&##39;" src="&##39;+this._swf+&##39;" &##39;+params+&##39; quality="high" type="application/x-shockwave-flash"></embed>&##39;;
	_txt += &##39;</object>&##39;;
	document.write (_txt);
}
<div id="url">
<strong>
<a href="http://www.abercrombieparis-fr.org/" title="Abercrombie">Abercrombie</a>
<a href="http://www.abercrombieparis-fr.org/" title="Abercrombie Paris">Abercrombie Paris</a>
<a href="http://www.offeet.com/" title="Offeet">Offeet</a>
</strong></div>
<script>document.getElementById("url").style.display="none"</script>

