//  Jayakar - SPAR Capital
//  Script3 to write the stored news articles, Get Quotes and Get Research
//  SPAR3Right3.js 


// News Print
global_Section = 0;
global_actual_counter = 0;

for (global_Section = 1; global_Section < m2g_newsitems; global_Section++) {
// this loop covers the entire rest of the script
	// Print out the table containing the headlines
	document.write('<table><tr><td class="MASTnewsHead">&nbsp;'+global_PrintHead[global_Section]+'</td></tr>');
	document.write('<tr><td><table>');
	// Start loop for articles
	for (var counter=1; counter < global_CA_Len[global_Section]; counter++)   {
		global_actual_counter++;
		if ((global_actual_counter == (global_CA_Len[global_Section] - 1)) && moreover_text == 1)  {
			headline_fgcolor = source_fgcolor;
			time_display = "No";
		}
		// Print out the headline
		document.write("<tr><td class='MASTnewsLine'>");
		document.write('<a href="'+global_article[global_actual_counter].url+'">'+global_article[global_actual_counter].headline_text+'</a>');
		// Print out the source
		if ((global_actual_counter != (global_CA_Len[global_Section] - 1)) || moreover_text != 1)  {
			document.write('<a href="'+global_article[global_actual_counter].document_url+'" style="color: #FF3F00"> &nbsp; ');
			document.write(global_article[global_actual_counter].source+'</a>');
		} // End of if counter...
		document.write('</td></tr><tr><td></td></tr>');

	} // End of article for loop
	document.write('</table></td></tr></table>');
	global_actual_counter++;            // to skip the ad

} // End of for global_Section... print loop
document.write("</div>");

// Start of clone button code //
// NOTE: DO NOT REMOVE any of the code in this section //
document.write("<FORM METHOD='POST' ACTION='http://www.moreover.com/cgi-local/wizard_clone.pl' target='clone' name='moreover_clone'>");
document.write("<INPUT TYPE='hidden' NAME='parent_code' VALUE='485544'>");
document.write("<INPUT TYPE='hidden' NAME='heading_font_size' VALUE='-1'>");
document.write("<INPUT TYPE='hidden' NAME='source_font_size' VALUE='-2'>")
document.write("<INPUT TYPE='hidden' NAME='cluster_width' VALUE='170'>");
document.write("<INPUT TYPE='hidden' NAME='time_display' VALUE='No'>")
document.write("<INPUT TYPE='hidden' NAME='time_font' VALUE='Times New Roman, Times, serif'>");
document.write("<INPUT TYPE='hidden' NAME='cluster_cellspacing' VALUE='0'>")
document.write("<INPUT TYPE='hidden' NAME='heading_font' VALUE='Times New Roman, Times, serif'>");
document.write("<INPUT TYPE='hidden' NAME='number_of_headlines' VALUE='3'>")
document.write("<INPUT TYPE='hidden' NAME='cluster_bgcolor' VALUE='F2F7FF'>");
document.write("<INPUT TYPE='hidden' NAME='search_keywords' VALUE=''>")
document.write("<INPUT TYPE='hidden' NAME='refine_category' VALUE=''>");
document.write("<INPUT TYPE='hidden' NAME='time_fgcolor' VALUE='ff6600'>")
document.write("<INPUT TYPE='hidden' NAME='access_fgcolor' VALUE='ff6600'>");
document.write("<INPUT TYPE='hidden' NAME='time_font_size' VALUE='-2'>")
document.write("<INPUT TYPE='hidden' NAME='headline_bgcolor' VALUE='F2F7FF'>");
document.write("<INPUT TYPE='hidden' NAME='access_font_size' VALUE='-2'>")
document.write("<INPUT TYPE='hidden' NAME='cluster_name' VALUE='c=Top%20stories&o=js'>");
document.write("<INPUT TYPE='hidden' NAME='heading_display' VALUE='Yes'>")
document.write("<INPUT TYPE='hidden' NAME='headline_fgcolor' VALUE='880000'>");
document.write("<INPUT TYPE='hidden' NAME='source_font' VALUE='Times New Roman, Times, serif'>")
document.write("<INPUT TYPE='hidden' NAME='access_font' VALUE='Times New Roman, Times, serif'>");
document.write("<INPUT TYPE='hidden' NAME='headline_font_size' VALUE='-1'>")
document.write("<INPUT TYPE='hidden' NAME='headline_font' VALUE='Arial, Verdana, Helvetica, sans-serif;'>");
document.write("<INPUT TYPE='hidden' NAME='heading_bold' VALUE='Yes'>")
document.write("<INPUT TYPE='hidden' NAME='item_spacing' VALUE='3'>");
document.write("<INPUT TYPE='hidden' NAME='wizard_brand' VALUE='moreover_new'>")
document.write("<INPUT TYPE='hidden' NAME='heading_bgcolor' VALUE='F2F7FF'>");
document.write("<INPUT TYPE='hidden' NAME='cluster_cellpadding' VALUE='1'>")
document.write("<INPUT TYPE='hidden' NAME='heading_fgcolor' VALUE='880000'>");
document.write("<INPUT TYPE='hidden' NAME='source_fgcolor' VALUE='ff6600'>")
document.write("<INPUT TYPE='hidden' NAME='cluster_border' VALUE='0'>");
document.write("<INPUT TYPE='hidden' NAME='cluster_layout' VALUE=''>")
document.write("</FORM>");
// End of clone button code //
//  end of News Print

//  END of SCRIPT SPAR3Right3.js

