//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=\"Onedaycourse.htm\" target=\"top\">For course details click here </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>Ain<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\">    Swara Yoga is an ancient science of breathing to balance the energies which interact  with the cosmic energies which is responsible for good and bad experiences in our life.    A One day Sadhana Course will be conducted by Sn CHARANASHRIT In  Bangalore, India on 14th March 2010.  contact for course detail.<br><br>Thank You,<br>SYC.</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=\"http://www.yogavision.net/home.htm\" target=\"top\">Satyananda Yoga</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=\"Contact.htm\" target=\"top\">Contact Us</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>";
