/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
function flashobj(w, h, f) { 
 var write_tag = ""; 
 n = f;
 f = f + '.swf';
 write_tag = '<OBJECT classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" '; 
 write_tag +='codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"'; 
 write_tag +='WIDTH="'+w+'" HEIGHT="'+h+'" />'; 
 write_tag +='<param name="id" value="'+n+'" />'; 
 write_tag +='<param name="movie" value="'+f+'" />'; 
 write_tag +='<param name="quality" value="high" />'; 
 write_tag +='<param name="bgcolor" value="#ffffff" />'; 
 write_tag +='<param name="allowScriptAccess" value="sameDomain" />';
 write_tag +='<embed src="'+f+'" quality="high" bgcolor="#ffffff" name="' +n+ '" allowScriptAccess="sameDomain" pluginspage="http://www.macromedia.com/go/getflashplayer" '; 
 write_tag +='type="application/x-shockwave-flash"  WIDTH="'+w+'" HEIGHT="'+h+'"></embed></object>';
 document.write(write_tag); 
} 

