// incrust.js

// title - text of title
// width - estimate width in pixels
// mode  - 1 for index, 2 - for Rus
function bullTitle (title, width, mode) {
	var str1, str2, str3, str4, str5, str6, str7, str8, str9
	var dir
	if (mode == 1) {dir = ".";}
	else if (mode == 2) {dir = "..";}
	str1 = '<br><br>'
	str2 = '<table width=\"100%\" border=0 cellspacing=0 cellpadding=0>'
	str3 = '<tr> <td colspan=2> <table width=\"' + width + '%\" border=0 cellspacing=0 cellpadding=0>'
	str4 = '<tr> <td width=23 class=\"T1bg1\"><img src=\"' + dir + '/Images/bull_title_left.gif\" width=19 height=20>'
	str5 = '<td class=\"T1bg1\">' + title + '</td>	<td width=23><img src=\"' + dir + '/Images/bull_title_right.gif\" width=19 height=20>'
	str6 = '</table> <tr> '
	str7 = '<td width=10><img src=\"' + dir + '/Images/spacer.gif\" width=10 height=1>'
	str8 = '<td width=\"100%\"><img src=\"' + dir + '/Images/dot_blue_light.gif\" height=2 width=\"100%\">'
	str9 = '</table>'
	document.write(str1, str2, str3, str4, str5, str6, str7, str8, str9)
}
