document.write('<div id="hlp" class="hlpdiv" style="background-image:url(/images/backg_moverHead.gif)"></div>');
var titles = new Array();
titles[0] = 'mouseover the text for details';
titles[1] = 'mouseover negative batting average for details';
titles[2] = 'mouseover positive batting average for details';

var ns4 = (document.layers);
var ie4 = (document.all);
var ns6 = (!document.all && document.getElementById);

var id = 'hlp';
var tbl_id = 'mo_tbl';
var bak = '#ffffcc';
var offsetX = 10;
var offsetY = 20;
var width = 0;

if (ns4)
	div = document.layers[id];
else if (ns6)
	div = document.getElementById(id).style;
else if (ie4)
	div = document.all[id].style;
if (ns4) document.captureEvents(Event.MOUSEMOVE);

//document.onmousemove = get_mouse;
		
function get_mouse(e) {
	windowWidth = (document.body && !window.innerWidth) ?
		document.body.scrollLeft + document.body.clientWidth :
		window.innerWidth + window.pageXOffset;
		
	var x = (ns4||ns6) ? e.pageX : event.x + document.body.scrollLeft;
	x = Math.min(windowWidth - width, x) - offsetX;
	var y = (ns4||ns6) ? e.pageY : event.y + document.body.scrollTop;
	
	div.left = x;
	div.top = y + offsetY;
	if (div.width>windowWidth)	div.left = windowWidth - div.width;
}

function show_title_header(event, n, width) {
	get_mouse(event);
	if (ns4) {
		div.document.write('<TABLE WIDTH=' + width + 'BORDER=0 BGCOLOR=' + bak + '><TD ALIGN=left><FONT FACE="Arial, Helvetica, sans-serif" COLOR=black SIZE=1>' + titles[n] + '</FONT></TD></TABLE>');
		div.document.close();
	}
    else {
    	div.width = width;
    	if (ns6) {
    		document.getElementById(id).innerHTML = titles[n];
    	} else {
    		document.all(id).innerHTML = titles[n];
    	}
    }
	get_mouse(event);	
    div.visibility = 'visible';
}

function show_field_hint(event, parType, parWidth, parText1, parText2, parText3, parText4, parText5, parText6, parText7, parText8) {
	var sText="<table id="+tbl_id+" border=0 cellspacing=0 cellpadding=1>";
	if (parType==2) {
		if (parText1!='') { sText += "<tr><td class=contentext align=center><b>" +parText1+ "</b></td></tr>"; }
		if (parText2!='') { sText += "<tr><td class=contentext align=left nowrap> >&nbsp;provides ratings directly to " +parText8+ " since " +parText2+ "</td></tr>"; }
		if (parText3!='') { sText += "<tr><td class=contentext align=left nowrap> >&nbsp;is an independent research firm</td></tr>"; }
		if (parText5!='') { 
			if (parText4=='') { sText += "<tr><td class=contentext align=left> >&nbsp;Ratings received since " +parText5+ " were time stamped by " +parText8+ " on the date that they were received</td></tr>";} 
			else {	sText += "<tr><td class=contentext align=left> >&nbsp;provided " +parText8+ " with historical ratings from " +parText4+ " to " +parText5+ ". Those historical ratings may not be 100% accurate. Ratings received since " +parText5+ " were time stamped by " +parText8+ " on the date that they were received</td></tr>"; }
		}		
		if (parText6!='') { sText += "<tr><td class=contentext align=left  nowrap> >&nbsp;Coverage Frequency  by stock: <b>" +parText6+ " </b></td></tr>"; 		}				
	} 	
	if (parType==3) {
		sText += "<tr><th class=contentext align=center nowrap colspan=2><b>Total Ratings in Selected Period " +parText6+ "</b></th></tr>";
		if (parText1!='') { sText += "<tr><td class=contentext align=left>Negative Ratings:</td><td class=tableTxtR align=right nowrap>&nbsp;" +parText1+ "</td></tr>"; }
		if (parText2!='') { sText += "<tr><td class=contentext align=left>Neutral Ratings:</td><td class=tableTxtR align=right nowrap>&nbsp;" +parText2+ "</td></tr>"; }
		if (parText3!='') { sText += "<tr><td class=contentext align=left>Positive Ratings:</td><td class=tableTxtR align=right nowrap>&nbsp;" +parText3+ "</td></tr>"; }
		if (parText7!='') { sText += "<tr><td class=contentext align=left nowrap>First Rating in the Database</td><td class=tableTxtR>" +parText7+ "</td></tr>"; } 
	} 	
	if (parType==4) {
		sText += "<tr><th class=contentext align=center nowrap colspan=2><b>Total Ratings in Selected Period " +parText6+ "</b></th></tr>";
		if (parText1!='') { sText += "<tr><td class=contentext align=left>Sell</td><td class=tableTxtR nowrap>&nbsp;" +parText1+ "</td></tr>"; }
		if (parText2!='') { sText += "<tr><td class=contentext align=left>Underperform</td><td class=tableTxtR nowrap>&nbsp;" +parText2+ "</td></tr>"; }
		if (parText3!='') { sText += "<tr><td class=contentext align=left>Perform</td><td class=tableTxtR nowrap>&nbsp;" +parText3+ "</td></tr>"; }
		if (parText4!='') { sText += "<tr><td class=contentext align=left>Outperform</td><td class=tableTxtR nowrap>&nbsp;" +parText4+ "</td></tr>"; }
		if (parText5!='') { sText += "<tr><td class=contentext align=left>Buy</td><td class=tableTxtR nowrap>&nbsp;" +parText5+ "</td></tr>"; }
		if (parText7!='') { sText += "<tr><td class=contentext align=left nowrap>First Rating in the Database</td><td class=tableTxtR>" +parText7+ "</td></tr>"; }		
	} 	
	if (parType==5) {
		if (parText1!='') { sText += "<tr><td class=contentext align=left nowrap>Percentage of time that<br>" +parText1+ " ratings went " +parText2+"</td><td class=tableTxtR nowrap>&nbsp;" +parText3+ "</td></tr>"; }
		if (parText4!='') { sText += "<tr><td class=contentext align=left nowrap>Rating average time (trading days)</td><td class=tableTxtR nowrap>&nbsp;" +parText4+ "</td></tr>"; }
		if (parText5!='') { sText += "<tr><td class=contentext align=left nowrap>Last Rating Date</td><td class=tableTxtR nowrap>&nbsp;" +parText5+ "</td></tr>"; }		
	} 	
	if (parType==6) {
		if (parText1!='') { sText += "<tr><td class=contentext align=left nowrap>Date of Rating:</td><td class=tableTxtR nowrap>" +parText1+ "</td></tr>"; }
		if (parText2!='') { sText += "<tr><td class=contentext align=left nowrap>" +parText8+ " Normalized Rating:</td><td class=tableTxtR nowrap>" +parText2+ "</td></tr>"; }
		if (parText3!='') { sText += "<tr><td class=contentext align=left nowrap>Firm`s Rating:</td><td class=tableTxtR nowrap>" +parText3+ "</td></tr>"; }		
		if (parText4!='') { sText += "<tr><td class=contentext align=left callspan=2><hr size=1></td></tr><tr><td class=tableTxtL collspan=2 nowrap>For more information please visit: " +parText4+ "</td></tr>"; }				
	} 
	if (parType==7) {
		if ((parText1!='') && (parText2!='') && (parText3!='')) { sText += "<tr><td class=contentext align=left>Estimate made on <b>" +parText1+"</b> for the fiscal <b>" +parText2+ "</b> period ending <b>" +parText3+ "&nbsp;" +parText4+ "</b></td><tr>"; } 
	} 
	if (parType==8) {
		if (parText1!='') { sText += "<tr><td class=contentext align=left nowrap>Country:</td><td class=tableTxtR nowrap>&nbsp;" +parText1+ "</td></tr>"; }
		if (parText2!='') { sText += "<tr><td class=contentext align=left nowrap>Currency</td><td class=tableTxtR nowrap>&nbsp;" +parText2+ "</td></tr>"; }
	} 	
	if (parType==9) {
		sText += "<tr><th class=contentext align=center nowrap colspan=2><b>Stocks Currently Covered " +parText6+ "</b></th></tr>";
		if (parText1!='') { sText += "<tr><td class=contentext align=left>Negative Ratings:</td><td class=tableTxtR align=right nowrap>&nbsp;" +parText1+ "</td></tr>"; }
		if (parText2!='') { sText += "<tr><td class=contentext align=left>Neutral Ratings:</td><td class=tableTxtR align=right nowrap>&nbsp;" +parText2+ "</td></tr>"; }
		if (parText3!='') { sText += "<tr><td class=contentext align=left>Positive Ratings:</td><td class=tableTxtR align=right nowrap>&nbsp;" +parText3+ "</td></tr>"; }
	} 		

	sText += "</table>";
	get_mouse(event);
	if (ns4) {
		div.document.write('<TABLE WIDTH=' +parWidth+ 'BORDER=0 BGCOLOR=' + bak + '><TD ALIGN=left><FONT FACE="Arial, Helvetica, sans-serif" COLOR=black SIZE=1>' + sText + '</FONT></TD></TABLE>');
		div.document.close();
	}
    else {
    	if (ns6) {
    		document.getElementById(id).innerHTML = sText;
			div.width =document.getElementById(tbl_id).offsetWidth+5;
    	} else {
    		document.all(id).innerHTML = sText;
			div.width =document.all(tbl_id).offsetWidth+5;
    	}
    }
	get_mouse(event);	
    div.visibility = 'visible';
}

function show_help_text(event, ParStr, szWidth) {
	width = szWidth;
	get_mouse(event);
	if (ns4) {
		div.document.write('<TABLE WIDTH=' + width + 'border=0 cellspacing=0 cellpadding=2><TD ALIGN=left><FONT FACE="Arial, Helvetica, sans-serif" COLOR=black SIZE=1>' + ParStr + '</FONT></TD></TABLE>');
		div.document.close();
	}
    else {
   		div.width = width;
   		if (ns6) {
    		document.getElementById(id).innerHTML = ParStr;
   		} else {
   			document.all(id).innerHTML = ParStr;
    	}
   	}
	get_mouse(event);
    div.visibility = 'visible';
}

function hide_help() {
	div.visibility = 'hidden';
}


