//scroller's width
var swidth=180;
//scroller's height (as a guide: 20 to 22.5 per row!)
var sheight=275;
//slider's speed
var sspeed=2;
var resumesspeed=2;
//background color
var bcolor="#ff9966"; //white


//var wholemessage='';
//wholemessage = "<table width=80% align=center border=0 cellspacing=0 cellpadding=0><tr><td><div align=justify> <font face=Arial size=2>Swara Yoga Activities  News</font></div></td></tr></table>";
function start()
{
if (document.all) 
{
iemarquee(iens6slider);
}
else if (document.getElementById)
{
document.getElementById("iens6slider").style.top=sheight;
ns6marquee(document.getElementById('iens6slider'));
}
else if(document.layers)
{
document.ns4slider1.visibility="show";
ns4marquee(document.ns4slider1.document.ns4slider2);
}
}
function iemarquee(whichdiv)
{
iediv=eval(whichdiv);
iediv.innerHTML=wholemessage;
iediv.style.pixelTop=sheight;
ieslide();
}
function ieslide()
{
if (iediv.style.pixelTop>=iediv.offsetHeight*-1)
{
iediv.style.pixelTop-=sspeed;
setTimeout("ieslide()",100);
}
else{
iediv.style.pixelTop=sheight;
ieslide();
}
}
function ns4marquee(whichlayer)
{
ns4layer=eval(whichlayer);
ns4layer.document.write(wholemessage);
ns4layer.document.close();
ns4layer.top-=ns4layer.document.height;
ns4slide();
}
function ns4slide()
{
if (ns4layer.top>=ns4layer.document.height*-1)
{
ns4layer.top-=sspeed;
setTimeout("ns4slide()",100);
}
else{
ns4layer.top=sheight;
ns4slide();
}
}
function ns6marquee(whichdiv)
{
ns6div=eval(whichdiv);
ns6div.innerHTML=wholemessage;
ns6div.style.top=sheight;
ns6slide();
}
function ns6slide(){
if (parseInt(ns6div.style.top)>=ns6div.offsetHeight*-1)
{
ns6div.style.top=parseInt(ns6div.style.top)-sspeed;
setTimeout("ns6slide()",100);
}
else{
ns6div.style.top=sheight;
ns6slide();
}
}
onload=start;

if (document.getElementById||document.all){
//charn document.write('<div style="position:relative;overflow:hidden;width:'+swidth+';height:'+sheight+';clip:rect(0 '+swidth+' '+sheight+' 0);border:1px solid black ;background-color:'+bcolor+';" onMouseover="sspeed=0;" onMouseout="sspeed=resumesspeed">');
document.write('<div style="position:relative;overflow:hidden;width:'+swidth+';height:'+sheight+';clip:rect(0 '+swidth+' '+sheight+' 0);" onMouseover="sspeed=0;" onMouseout="sspeed=resumesspeed">');
document.writeln('<div id="iens6slider" style="position:relative;width:'+swidth+';height:'+sheight+';">');
document.writeln('</div></div>');
}

  var wholemessage = "<table>";
		  
          
          
		  wholemessage += "<tr> <td align=center height=\"2\" colspan=\"2\" class=\"uline\"><font face=\"Verdana, Arial, Helvetica, sans-serif\" size=\"2\"> <font color=\"#000000\"><b><a href=\"Specialsadhana.htm\" target=\"top\">Special Sadhana </a></b></font></font></td></tr>";
          
		  
		 // wholemessage += "<tr> <td align=center height=\"2\" colspan=\"2\" class=\"uline\"><font face=\"Verdana, Arial, Helvetica, sans-serif\" size=\"2\"> <font color=\"#000000\"><b><a href=\"SwaraCycle.htm\" target=\"top\">Swara Cycles</a></b></font></font></td></tr>";

         
      //   wholemessage += "<tr> <td align=center height=\"2\" colspan=\"2\" class=\"uline\"><font face=\"Verdana, Arial, Helvetica, sans-serif\" size=\"2\"> <font color=\"#000000\"><b><a href=\"MorningSadhana.htm\" target=\"top\">Morning Sadhana</a></b></font></font></td></tr>";
			
		  
		//  wholemessage += "<tr> <td align=center height=\"2\" colspan=\"2\" class=\"uline\"><font face=\"Verdana, Arial, Helvetica, sans-serif\" size=\"2\"> <font color=\"#000000\"><b><a href=\"Panchangcalculator.htm\" target=\"top\">Swara Panchang</a></b></font></font></td></tr>";
                  

		  
		//  wholemessage += "<tr><td colspan=\"2\" class=\"uline\"><font face=\"Verdana, Arial, Helvetica, sans-serif\" size=\"1\"><i><font size=\"1\"><font face=\"Verdana, Arial, Helvetica, sans-serif\"></font></font></i></font></td></tr><tr><td colspan=\"2\" class=\"uline\"> <font face=\"Arial, Helvetica, sans-serif\" size=\"1\"><b>A Sadhana Course  will be conducted by Sn CHARANASHRIT, In Atma Darshan Yogashram, Bangalore, India on 9th,10th & 11th  April 2005 to balance the energies which intereact with the cosmic energies which is responsible for good and bad experiences in our life. One of the rare repository  of Swara  Yoga is as  mystifying as this ancient science itself. And has the touch of the    divine    about    it. <br><br>Thank You,<br>ADY.</font></td></tr><tr><td colspan=\"2\">&nbsp;</td></tr>";
            wholemessage += "<tr> <td align=center height=\"2\" colspan=\"2\" class=\"uline\"><font face=\"Verdana, Arial, Helvetica, sans-serif\" size=\"1\"> <font color=\"#000000\">A Sadhana Course  will be conducted by Sn CHARANASHRIT, In Atma Darshan Yogashram, Bangalore, India on 9th,10th & 11th  April 2005 to balance the energies which interact  with the cosmic energies which is responsible for good and bad experiences in our life. One of the rare repository  of Swara  Yoga is as  mystifying as this ancient science itself. And has the touch of the divine about it. <br><br>Thank You,<br>ADY.</font></td></tr><tr><td colspan=\"2\">&nbsp;</td></tr>";
		  
		  wholemessage += "<tr> <td align=center height=\"2\" colspan=\"2\" class=\"uline\"><font face=\"Verdana, Arial, Helvetica, sans-serif\" size=\"2\"> <font color=\"#000000\"><b><a href=\"Birthswaracycles.htm\" target=\"top\">Birth Swara Cycles</a></b></font></font></td></tr>";

          
		  
		  wholemessage += "<tr><td colspan=\"2\"><font face=\"Verdana, Arial, Helvetica, sans-serif\" size=\"2\"></font></td></tr>";
		  
		            
			wholemessage += "</table>";
