function putFlash(fName, Width, Height, Params){
	if(!fName || !Width || !Height) {return}
	var Objstr = '';
	Objstr += '\n<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="'+Width+'" height="'+Height+'" id="oFlash">';
	Objstr += '\n<param name="movie" value="'+fName+'"/>';
	Objstr += '\n<param name="quality" value="high"/>';
	if(Params){
		for(param in Params){Objstr += '\n<param name="'+param+'" value="'+Params[param]+'"/>';}
	}
	Objstr += '\n<embed src="'+fName+'" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"';
	Objstr += ' type="application/x-shockwave-flash" width="'+Width+'" height="'+Height+'"';
	if(Params){
		for(param in Params){Objstr += ' '+param+'="'+Params[param]+'"';}
	}
	Objstr += '></embed>';
	Objstr += '\n</object>';
	document.write(Objstr);
}

function setFlashHeight (h) {
	var is_ie = document.all&&!window.opera;
	if (is_ie) {
		var o = document.getElementById('oFlash');
	} else {
		var o = document.getElementById('dFlash');
	}
	var documentHeight = document.body.offsetHeight;
	if(h < 650) h = 650;
	o.style.height = h+'px';
}

function getTimeStamp() {
	d = new Date()
	return d.getTime();
}
