/********************************************************
*** Function to format currency in the  field. ***
********************************************************
*/

function TickerText()
{
var content='<a href=# onClick=MM_openBrWindow("http://www.indiaengineering.com/Auction-photo/asset_exchange.htm","","scrollbars=yes,width=800,height=600")>'
content  = content + '<p>Pipes, Valves & Fittings for Mazagon Dock Ltd., Mumbai</p>'
content  = content + '<p>Electrical & Instrumentation Items for Mazagon Dock Ltd., Mumbai</p>'
content  = content + '<p>C S Pipes & Diving Items for Mazagon Dock Ltd., Mumbai</p>'
content  = content + '<p>Welding Equipments for Saraswat Coop. Bank Ltd., Pune</p>'
content  = content + '<p>Prime / Nonprime Steel for Kalyani Steels Ltd., Pune</p>'
content  = content + '<p>Workshop Machinery for TAL Manufacturing Solutions Ltd., Pune</p>'
content  = content + '<p>Testing Equipments for Kalyani Brakes, Chakan</p>'
content  = content + '</a>';
return content;
}


function ReadTickerText()
{
	var msg;
	
	objXml = new ActiveXObject("Microsoft.XMLHTTP");
	//var datafile = "http://www.indiaengineering.com/Auction-photo/tickertext.txt";
	var datafile = "upload/tickertext.txt";
	
	objXml.open("GET", datafile, false);
	objXml.onreadystatechange=function() {
	   if (objXml.readyState==4) {
		   msg = objXml.responseText;
	  }
	 }
	objXml.send(null);
	
	return msg;
}
function ReadTickerTextProc()
{
	var msg;
	objXml = new ActiveXObject("Microsoft.XMLHTTP");
	var datafile = "tickertextproc.txt";
	
	objXml.open("GET", datafile, false);
	objXml.onreadystatechange=function() {
	   if (objXml.readyState==4) {
		   msg = objXml.responseText;
	  }
	 }
	objXml.send(null);
	return msg;
}