function navigatorBar( tableCellRef, hoverFlag, navStyle, statusText ) {
	if ( hoverFlag ) {
		window.status = statusText; 
		switch ( navStyle ) {
			case 1:
				tableCellRef.style.backgroundColor = '#FFFFDF';
				tableCellRef.style.color = '#292984';
				tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#292984';
				break;
			default:
				if ( document.getElementsByTagName ) {
					tableCellRef.style.color = '#292984';
					tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#292984';
				}
		}
	} else {
		window.status = '';
		switch ( navStyle ) {
			case 1:
				tableCellRef.style.backgroundColor = '#292984';
				tableCellRef.style.color = '#FFFFFF';
				tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#FFFFFF';
				break;
			default:
				if ( document.getElementsByTagName ) {
					tableCellRef.style.color = '#FFFFFF';
					tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#FFFFFF';
				}
		}
	}
}

function navigatorBarClick( tableCellRef, navStyle, url ) {
	 navigatorBar( tableCellRef, 0, navStyle, '' );
	 goTo( url );
}

function goTo( url ) {
	window.location.href = url;
}


var pic_width=120;
var pic_height=120;

/* define the length of time to stay on each image */ 
/* 1000 = 1 second */
var delay=5000;

/* define image urls */
if (document.images)
 {
     pic1= new Image(pic_width,pic_height);
     pic1.src="http://www.ebire.org/images/lab_graphic.gif";  
     pic2= new Image(pic_width,pic_height); 
     pic2.src="http://www.ebire.org/images/lab_graphic2.gif"; 
     pic3= new Image(pic_width,pic_height);
     pic3.src="http://www.ebire.org/images/lab_graphic3.gif";  

 }    
var pics= new Array(7) 
   pics[0]=pic1.src;
   pics[1]=pic2.src;
   pics[2]=pic3.src;
   
var numpics=3;
var thenum=0;
imgName="img1";

function change_it()
 {
   if (document.images)
    {
      document.write("<IMG SRC='"+pics[thenum]+"' border='0' width='"+pic_width+"' height='"+pic_height+"' name='img1'>\n");
      setTimeout('change_it2()',delay);  
   }
}

function change_it2()
 {
         var x=0;
          thenum+=1;	
           if (thenum>numpics-1)
             thenum=0;
           document[imgName].src=pics[thenum];
           x+=1;
           setTimeout('change_it2()',delay);			          
 }

