

flashlocked=[99,.5,3,1/30,99,1/6,3,1/30,99,1.5]; 
sos=[99,.5,3,1/3,99,1/3,3,1/3,99,1/3,3,1/3,99,1,3,1,99,1/3,3,1,99,1/3,3,1,99,1,
     3,1/3,99,1/3,3,1/3,99,1/3,3,1/3,99,2.5]
tac1seq=[99,.5,3,1/30,99,1/6,3,1,99,1.5];
tac2seq=[99,.5,3,1/30,99,1/6,3,1/30,99,1/6,3,1,99,1.5];
setflash=[99,.5,5,.25,99,.25,5,.25,99,.25,5,.25,99,.25,5,.25,99,.25];
errorflash=[99,.5,15,.5,3,.5,15,.5,3,.5,99,.25];
forcepriseq=[99,.5,3,1,99,1.5];
locatorseq=[99,.5,3,1/30,99,1];
reallocator=[99,2.5,3,1/30,99,.5];
rfsseq=[99,.5,8,.5,7,.5,6,.5,5,.5,4,.5,3,.5,2,.5,1,.5,0,.5,99,1.5];
eeseq=[99,.5,3,.15,99,.15,3,.15,99,.15,3,.15,99,.15,3,.15,99,.45,
3,.15,99,.15,3,.15,99,.9,3,.45,99,.15,3,.15,99,.15,3,.15,99,.45,3,.15,99,.9,
3,.45,99,.15,3,.15,99,.45,3,.15,99,.15,3,.15,99,.15,3,.45,99,.45,
3,.15,99,.15,3,.45,99,.15,3,.45,99,.15,3,.45,99,.15,3,.45,99,.45,
3,.45,99,.15,3,.15,99,.15,3,.15,99,.15,3,.45,99,1];
flasherid=0;
loop=false;

seq=new Array();
function doflashing() {
  stopflasher();
  if (fx>=seq.length) {
    if (loop) fx=0; else return; 
  }
  switch (seq[fx]) {
    case 100: 
	 break;
    case 99: document.light.src="images/off.gif";  
      break;
    default: document.light.src="images/" + seq[fx]+".jpg";  
      break;
  }
  
  flasherid=window.setTimeout("doflashing()",seq[fx+1]*1000);
  fx+=2;
  document.form1.text1.focus();

}

function flasher(series,repeater) {
  seq=series;
  loop=repeater;
  fx=0;
  doflashing();
}

function stopflasher() {
  if (flasherid) {
    window.clearTimeout(flasherid);
    if (menu!=4) document.light.src="images/off.gif";
  }
  document.form1.text1.focus();
}