function orbigraph(swfName,width,height,bgColor,fVars)
{
	fv = 'CUSTOM=""';
	if(fVars != undefined) {
		if(fVars.charAt(0) == '<') {
			fv = 'XMLtoPARSE=<orb>'+fVars+'</orb>';
		}else{
			fv = 'CUSTOM='+fVars;
		}
	}
	//
   document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" ');
   document.write('codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"');
   document.write('width="'+width+'" height="'+height+'" align="middle">');
   document.write('<param name=FlashVars value="'+fv+'">');
   document.write('<param name="allowScriptAccess" value="always">');
   document.write('<param name="movie" value="'+swfName+'">');
   document.write('<param name="quality" value="high">');
   document.write('<param name="bgcolor" value="#'+bgColor+'">');
   document.write('<embed src="'+swfName+'" FlashVars="'+fv+'" quality="high" bgcolor="#'+bgColor+'"');
   document.write('width="'+width+'" height="'+height+'" align="middle" allowScriptAccess="always"');
   document.write('type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">');
   document.write('</object>');
}

