tid = 0;
	function write_title(title, scheme, w) {
		tid++;
		var flvars = "title_txt=" + escape(title) + "&title_type=" + escape(scheme);
		var nm = "title" + tid;
		
		if (w) document.write("<div style=\"overflow: hidden; width: " + w + "px\">");
		// document.write("<" + "div style=\"width: " + w + "px\">";
		
			AC_FL_RunContent(
			'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
			'width', 550,
			'height', '28',
			'src', 'static/usmarkets0809/swf/titlebar',
			'quality', 'high',
			'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
			'align', 'middle',
			'play', 'true',
			'loop', 'true',
			'scale', 'noscale',
			'wmode', 'transparent',
			'devicefont', 'false',
			'id',  nm,
			'name',  nm,
			'menu', 'true',
			'allowFullScreen', 'false',
			'allowScriptAccess','sameDomain',
			'movie', 'static/usmarkets0809/swf/titlebar',
			'salign', '',
			'flashvars', flvars
			); //end AC code
		if (w) document.write("<" + "/div>");
	}
	
	/**
	 * titlebar over two lines and accepting html.
	 * @param title_html
	 * @param scheme
	 * @param w
	 * @return
	 */
	function write_title2(title_html, scheme, w) {
		tid++;
		var flvars = "title_html=" + escape(title_html) + "&title_type=" + escape(scheme);
		var nm = "title" + tid;
		
		document.write("<div style=\"overflow: hidden; height: 49px; width: " + w + "px\">");
		if (w) document.write("<div style=\"overflow: hidden; width: " + w + "px\">");
			AC_FL_RunContent(
			'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
			'width', '550',
			'height', '49',
			'src', 'static/usmarkets0809/swf/titlebar2',
			'quality', 'high',
			'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
			'align', 'middle',
			'play', 'true',
			'loop', 'true',
			'scale', 'noscale',
			'wmode', 'transparent',
			'devicefont', 'false',
			'id',  nm,
			'name',  nm,
			'menu', 'true',
			'allowFullScreen', 'false',
			'allowScriptAccess','sameDomain',
			'movie', 'static/usmarkets0809/swf/titlebar2',
			'salign', '',
			'flashvars', flvars
			); //end AC code
			if (w) document.write("<" + "/div>");
		document.write("<" + "/div>");
		
	}
	
	
	