   // JavaScript Document
/* This script actually executes the fadeouts. */
 xmlDoc=newLoadXMLDoc("http://www.bu.edu/law/news-cms/templates/takenote-banking-99.xml");
 initdowrite();
 /* The following looks for IE6 and earlier to correct a positioning issue */ 
 var found=0;
 found=navigator.appVersion.search(/MSIE/);
 if (found>0) /* Browser is some version of IE */
  {
   var calcUrl=navigator.appVersion.substring(22,23); /* Find exact version */ 
   if (calcUrl < 7)
    {
     document.getElementById("story1").style.left=315; /* Correct for left positioning */
     document.getElementById("story2").style.left=315;
     document.getElementById("story3").style.left=315;
     document.getElementById("story4").style.left=315;
     document.getElementById("story5").style.left=315;
     document.getElementById("story6").style.left=315;
    }
   }
 var int=self.setInterval("dowrite()",21000); /* Change stories every 21 seconds.*/