var swidth=292;
var sheight=77;
var sspeed=2;
var restart=sspeed;
var rspeed=sspeed;
var spause=4000;
var sbcolor="#ffffff";


var singletext=new Array();
singletext[0]='<div class=tan><a target="_blank" href="manthan_popup.html" style="width:800px; height:600px;"><b>The Manthan Award Southasia 2008</b><br />MEdRC EduTech won "Manthan Award for Best e-Learning Content Development. These awards have been instituted by Digital Foundation and have seen over 350 entries from across 12 South Asian Nations...</a></div>';

singletext[1]='<div class=tan><a target="_blank" href="kle_popup.html"><b>KLE University E-Learning Programme</b><br />MEdRC has been championing technology-enabled learning across a wide spectrum of health care education, with a vision and commitment to transform the way health and education is delivered in our country...</a></div>';

singletext[2]='<div class=tan><a target="_blank" href="chettinad_popup.html"><b>Launch of Undergraduate Digital courses at Chettinad Hospital & Research Institute</b><br />MEdRC EduTech has launched a Digital Library at Chettinad Hospital and Research Institute, Chennai for SmarTeach UG Medical program...</a></div>';

<!--singletext[3]='<div class=tan><a target="_blank" href="hlcc_popup.html"><b>What Is HLCC 2008 Congress?</b><br />Heart, Lungs & Critical care congress 2008 (HLCC-2008) a major conference organized by the American college of chest physicians (ACCP) India from 7th to 10th August at Hyderabad...</a></div>';-->


var ii=0;
function goup(){if(sspeed!=rspeed*16){sspeed=sspeed*2;restart=sspeed;}}

function start(){

if(document.getElementById){ns6div=document.getElementById('iens6div');ns6div.style.top=sheight+"px";ns6div.innerHTML=singletext[0];sizeup=ns6div.offsetHeight;ns6scroll();}
else 
if(document.layers){ns4layer=document.ns4div.document.ns4div1;ns4layer.top=sheight;ns4layer.document.write(singletext[0]);ns4layer.document.close();sizeup=ns4layer.document.height;ns4scroll();}
else 
if(document.all){iediv=iens6div;iediv.style.pixelTop=sheight+"px";iediv.innerHTML=singletext[0];sizeup=iediv.offsetHeight;iescroll();}}
function iescroll(){if(iediv.style.pixelTop>0&&iediv.style.pixelTop<=sspeed){iediv.style.pixelTop=0;setTimeout("iescroll()",spause);}else 
if(iediv.style.pixelTop>=sizeup*-1){iediv.style.pixelTop-=sspeed+"px";setTimeout("iescroll()",100);}else{if(ii==singletext.length-1)ii=0;else ii++;iediv.style.pixelTop=sheight+"px";iediv.innerHTML=singletext[ii];sizeup=iediv.offsetHeight;iescroll();}}
function ns4scroll(){if(ns4layer.top>0&&ns4layer.top<=sspeed){ns4layer.top=0;setTimeout("ns4scroll()",spause);}else 
if(ns4layer.top>=sizeup*-1){ns4layer.top-=sspeed;setTimeout("ns4scroll()",100);}else{if(ii==singletext.length-1)ii=0;else ii++;ns4layer.top=sheight;ns4layer.document.write(singletext[ii]);ns4layer.document.close();sizeup=ns4layer.document.height;ns4scroll();}}
function ns6scroll(){if(parseInt(ns6div.style.top)>0&&parseInt(ns6div.style.top)<=sspeed){ns6div.style.top=0;setTimeout("ns6scroll()",spause);}else 
if(parseInt(ns6div.style.top)>=sizeup*-1){ns6div.style.top=parseInt(ns6div.style.top)-sspeed+"px";setTimeout("ns6scroll()",100);}
else{if(ii==singletext.length-1)ii=0;else ii++;
ns6div.style.top=sheight+"px";ns6div.innerHTML=singletext[ii];sizeup=ns6div.offsetHeight;ns6scroll();}

}

