//<!-- CURSORTAIL sets up here--requires activation in the Body of the page ----		

var x, y;
var CursorTailLetterSpacing = 8;
var CursorTailFlag = 0;
var CursorTailSpeed = 25;
var MySpan = 0;
var timer = 0;
var CursorText = " If its online,ITSBITS ";
CursorText = CursorText.split("");
var XPosition = new Array();
var YPosition = new Array();

function MouseMoveHandler(e) 
{
    x = (document.layers)?e.pageX : document.body.scrollLeft + event.clientX;
    y = (document.layers)?e.pageY : document.body.scrollTop + event.clientY;
    CursorTailFlag = 1;
}

function CursorTailCreator() 
{
     XPosition[0] = x + CursorTailLetterSpacing;
     YPosition[0] = y;
     for (i = (CursorText.length - 1); i >= 1; i--) 
     {
        XPosition[i] = XPosition[i - 1] + CursorTailLetterSpacing;  
        YPosition[i] = YPosition[i - 1];
     }
     if (CursorTailFlag == 1 && document.all) 
     {
        for (i = 0; i < (CursorText.length - 1); i++) 
        {
            MySpan = eval("span" + (i) + ".style");
            MySpan.posLeft = XPosition[i];
            MySpan.posTop = YPosition[i];
         }
      }
      else if (CursorTailFlag==1 && document.layers) 
      {
          for (i = 0; i < (CursorText.length - 1); i++) 
          {
               MySpan = eval("document.span" + i);
               MySpan.left = XPosition[i];
               MySpan.top = YPosition[i];
           }
      }
      timer = setTimeout("CursorTailCreator()", CursorTailSpeed);  
}
// End CursorTail script -------------------------------------------------------------->
		

//<!-- Code to add a bookmark --		
function addBookmark(sUrl,sTitle,sIcon)
{
   if (navigator.appName && navigator.appName.indexOf("Netscape")>=0)
   {
   }
   else
   {
      if (document.all)
         window.external.AddFavorite(sUrl,sTitle);
            }
}
//-->


