function addcontent(g1,g2)
{
var https=null;
try{https=new XMLHttpRequest();}catch(err1){try{https=new ActiveXObject("Msxml2.XMLHTTP");}catch(err2){try{https=new ActiveXObject("MICROSOFT.XMLHTTP");}catch(err3){https=null;alert('your browser doesnot support ajax');}}}
https.onreadystatechange=function()
{  if(https.readyState!=4) document.getElementById(g1).innerHTML='Loading...';  
   if(https.readyState==4) document.getElementById(g1).innerHTML=https.responseText; } 
https.open('GET',g2,true);
https.send(null);
}

function addstock(g1)
{
var https=null;
try{https=new XMLHttpRequest();}catch(err1){try{https=new ActiveXObject("Msxml2.XMLHTTP");}catch(err2){try{https=new ActiveXObject("MICROSOFT.XMLHTTP");}catch(err3){https=null;alert('your browser doesnot support ajax');}}}
https.onreadystatechange=function()
{  if(https.readyState!=4) document.getElementById(g1).innerHTML='Loading...';  
   if(https.readyState==4) document.getElementById(g1).innerHTML=https.responseText; } 
https.open('GET','http://marketgraphs.economictimes.indiatimes.com/Charting/PriceSummary.aspx?indexID=2365',true);
https.send(null);
}
function addsensex(g1)
{
var https=null;
try{https=new XMLHttpRequest();}catch(err1){try{https=new ActiveXObject("Msxml2.XMLHTTP");}catch(err2){try{https=new ActiveXObject("MICROSOFT.XMLHTTP");}catch(err3){https=null;alert('your browser doesnot support ajax');}}}
https.onreadystatechange=function()
{  if(https.readyState!=4) document.getElementById(g1).innerHTML='Loading...';  
   if(https.readyState==4) document.getElementById(g1).innerHTML=https.responseText; } 
https.open('GET','http://www.dinamalar.com/business/SensexValue.asp',true);
https.send(null);
}
function addexchange(g1)
{
var https=null;
try{https=new XMLHttpRequest();}catch(err1){try{https=new ActiveXObject("Msxml2.XMLHTTP");}catch(err2){try{https=new ActiveXObject("MICROSOFT.XMLHTTP");}catch(err3){https=null;alert('your browser doesnot support ajax');}}}
https.onreadystatechange=function()
{  if(https.readyState!=4) document.getElementById(g1).innerHTML='Loading...';  
   if(https.readyState==4) document.getElementById(g1).innerHTML=https.responseText; } 
https.open('GET','http://www.dinamalar.com/business/CurrencyLarge.asp',true);
https.send(null);
}
function addgold(g1)
{
var https=null;
try{https=new XMLHttpRequest();}catch(err1){try{https=new ActiveXObject("Msxml2.XMLHTTP");}catch(err2){try{https=new ActiveXObject("MICROSOFT.XMLHTTP");}catch(err3){https=null;alert('your browser doesnot support ajax');}}}
https.onreadystatechange=function()
{  if(https.readyState!=4) document.getElementById(g1).innerHTML='Loading...';  
   if(https.readyState==4) document.getElementById(g1).innerHTML=https.responseText; } 
https.open('GET','http://www.dinamalar.com/business/gold.asp',true);
https.send(null);
}
function addsilver(g1)
{
var https=null;
try{https=new XMLHttpRequest();}catch(err1){try{https=new ActiveXObject("Msxml2.XMLHTTP");}catch(err2){try{https=new ActiveXObject("MICROSOFT.XMLHTTP");}catch(err3){https=null;alert('your browser doesnot support ajax');}}}
https.onreadystatechange=function()
{  if(https.readyState!=4) document.getElementById(g1).innerHTML='Loading...';  
   if(https.readyState==4) document.getElementById(g1).innerHTML=https.responseText; } 
https.open('GET','http://www.dinamalar.com/business/silver.asp',true);
https.send(null);
}
