/**
 * 28/01/2011 
 * @author pkkamos
 * 
 * @param str
 * @return
 */
function reLoad()
{
	
	var timer_is_on=0;	

	
if (window.XMLHttpRequest)
  {// code for IE7+, Firefox, Chrome, Opera, Safari
  xmlhttp=new XMLHttpRequest();
  }
else
  {// code for IE6, IE5
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }

xmlhttp.onreadystatechange=function()
  {
  if (xmlhttp.readyState==4 && xmlhttp.status==200)
    {
	 
     document.getElementById("t").innerHTML=xmlhttp.responseText;
     setTimeout('reLoad()',300000);
    

    }
  }

xmlhttp.open("POST","./gseticker/tickerView.php",true);
xmlhttp.send();
}


function readLatestData()
{	
	
if (!timer_is_on)
  {
  timer_is_on=1;
  reLoad();
  }
}

