ns4 = (document.layers)? true:false;
ie4 = (document.all)? true:false;

 var str=new Array();
 var tstr=new Array();

 str[0]="We have the pleasure of Introducing ourself as small Manufacturers of HIGH QUALITY rubber 'O' Rings, Seals, Gaskets for Pressure cooker, Pumps and Motor Parts, Automobile Components etc. In north INDIA, We are having well equipped plant with testing facility and also a team of well qualified and accustomed both technical and administrative staff.";
 str[1]="";
// str[2]="";
 //str[3]="";
// str[4]="";
// str[5]="* Self Tapping Screws";
// str[6]="* Carriage Bolts";
// str[7]="* Washers";
// str[8]="* Threaded Rods";
// str[9]="* Anchor Bolts";
//str[10]="* Studs";
// str[11]="* Socket Head Screws";
str[12]="* Special Fasteners";
// str[13]="* Special Fasteners";
// str[14]="* Special Fasteners";
 
var speed = 300; //increase the number to decrease the speed and vice-versa. fontface = "arial"; fontsize = 2;
   
  //first
  if (str[0].charAt(0) != '#' )
  {
   tstr[0] = str[0]+"<br>";
  }
  if (str[1].charAt(0) != '#' )
  {
   tstr[0] = tstr[0]+str[1]+"<br>";
  }
//  if (str[2].charAt(0) != '#' )
//  {
 //  tstr[0] = tstr[0]+str[2]+"<br>";
 // }
//  if (str[3].charAt(0) != '#' )
 // {
 //  tstr[0] = tstr[0]+str[3]+"<br>";
 // }
//  if (str[4].charAt(0) != '#' )
//  {
//   tstr[0] = tstr[0]+str[4]+"<br>";
//  }
//   if (str[5].charAt(0) != '#' )
//  {
//   tstr[0] = tstr[0]+str[5]+"<br>";
//  }
//   if (str[6].charAt(0) != '#' )
//  {
//   tstr[0] = tstr[0]+str[6]+"<br>";
//  }
//   if (str[7].charAt(0) != '#' )
//  {
//   tstr[0] = tstr[0]+str[7]+"<br>";
//  }
//  if (str[8].charAt(0) != '#' )
//  {
 //  tstr[0] = tstr[0]+str[8]+"<br>";
 // }
//  if (str[9].charAt(0) != '#' )
//  {
//   tstr[0] = tstr[0]+str[9]+"<br>";
//  }
//  if (str[10].charAt(0) != '#' )
//  {
//   tstr[0] = tstr[0]+str[10]+"<br>";
//  }
//  if (str[11].charAt(0) != '#' )
//  {
//   tstr[0] = tstr[0]+str[11]+"<br>";
//  }
//  if (str[12].charAt(0) != '#' )
 // {
 //  tstr[0] = tstr[0]+str[12]+"<br>";
 // }
 

//second
 // if (str[5].charAt(0) != '#' )
//  {
  // tstr[1] = str[5]+"<br><br>";
//  }
	//     if (str[6].charAt(0) != '#' )
//  {
  // tstr[1] = tstr[1]+str[6]+"<br><br>";
//  }
  //	     if (str[7].charAt(0) != '#' )
//  {
  // tstr[1] = tstr[1]+str[7]+"<br><br>";
//  }
  //           if (str[8].charAt(0) != '#' )
//  {
  // tstr[1] = tstr[1]+str[8]+"<br><br>";
//  }
  //           if (str[9].charAt(0) != '#' )
   //{
    //tstr[1] = tstr[1]+str[9]+"<br><br>";
//   }
  
  
//third
     //        if (str[10].charAt(0) != '#' )
//  {
  // tstr[2] = str[10]+"<br><br>";
//  }
    //         if (str[11].charAt(0) != '#' )
  //{
//   tstr[2] = tstr[2]+str[11]+"<br><br>";
  //}
             if (str[12].charAt(0) != '#' )
//  {
   //tstr[2] = tstr[2]+str[12]+"<br><br>";
  //}
  //           if (str[13].charAt(0) != '#' )
//  {
  // tstr[2] = tstr[2]+str[13]+"<br><br>";
//  }
    //         if (str[14].charAt(0) != '#' )
  // {
    //tstr[2] = tstr[2]+str[14]+"<br><br>";
//   }
  
  
   
//tstr[0] = str[0]+"<br><br>"+str[1]+"<br><br>"+str[2]+"<br><br>"+str[3];  
//tstr[1] = str[4]+"<br><br>"+str[5]+"<br><br>"+str[6]+"<br><br>"+str[7];  
//tstr[2] = str[8]+"<br><br>"+str[9]+"<br><br>"+str[10]+"<br><br>"+str[11];
var speed = 100; //increase the number to decrease the speed and vice-versa.     
fontface = "Arial";     
fontsize = 1;    
var FLAG=1;   
var ctr = 1;   
var curr = 0;   
var ctext = ""; 
  
function chcolor()
   {   	
ctext=tstr[curr].substring(0,ctr);
   	
if (ns4)
{ 
document.layers["object1"].document.open(); 
var tmp='<font color=#626262 face=arial size=1 > <b><span class=ticker>'+ctext+'</span></b></font>'; 
document.layers["object1"].document.write(tmp); 
document.layers["object1"].document.close();
}
else
{
object1.innerHTML='<font color=#626262 face=verdana,arial ><strong><small><small><span class=ticker>'+ctext+'</span></small></small></strong></font>';
}
if (tstr[curr].substring(ctr,ctr+1) == " ")
{
ctr++;
ctext=tstr[curr].substring(0,ctr);
}
if (tstr[curr].substring(ctr,ctr+1) == "<")
{
ctr+=8;
ctext=tstr[curr].substring(0,ctr);
}
ctr++;
if ( ctr > tstr[curr].length)
{
ctr=0;
curr++;
if (curr>=tstr.length)
{
curr=0;
}
setTimeout("chcolor()",1000);
}
else
{
setTimeout("chcolor()",speed);
}
}
//setInterval("chcolor()",speed*FLAG);
  setTimeout("chcolor()",speed*FLAG);
