<!--
// ie 4 version

if((document.all) && (navigator.appVersion.substring(0,3) >= "4.0")){
 bigheight = ((staticlogo.height + staticlogo1.height) * logosize) + 0;
 bigwidth = staticlogo.width * logosize + 5;
 document.write('<span id="logo" style="position:absolute;top:100;width:'+bigwidth+';height:'+bigheight+'">');
 //span (hot metal3 fix)
 document.write('</span>');
 w=document.body.clientWidth-logo.style.pixelWidth-5
 h=document.body.clientHeight-logo.style.pixelHeight-5
 logo.style.left=w
 logo.style.top=h
}

function logoit(){
 var w2=document.body.scrollLeft+w
 var h2=document.body.scrollTop+h
 logo.style.left=w2
 logo.style.top=h2
}

function insertimage(){
 wx=wr*6;
 ww=wr*11;
 hh=hr*14;
 logo.innerHTML='<a href="'+logolink+'"><img src="'+staticlogo.src+'" border=0 alt="'+alttext+'" name="fred" align="" width="'+staticlogo.width*logosize+'" height="'+staticlogo.height*logosize+'">';
 logo.insertAdjacentHTML("beforeEnd", '<a href="'+logolink+'"><img src="'+staticlogo1.src+'" border=0 name="bret" width="'+staticlogo1.width*logosize+'" height="'+staticlogo1.height*logosize+'" align="left" hspace=4>');
 logo.insertAdjacentHTML("beforeEnd", '<img src="'+imgarray[11].src+'" border=0 name="e1" width="'+ww+'" height="'+hh+'">');
 logo.insertAdjacentHTML("beforeEnd", '<img src="'+imgarray[11].src+'" border=0 name="e2" width="'+ww+'" height="'+hh+'">');
 logo.insertAdjacentHTML("beforeEnd", '<img src="'+imgarray[12].src+'" border=0 name="e3" width="'+wx+'" height="'+hh+'">');
 logo.insertAdjacentHTML("beforeEnd", '<img src="'+imgarray[11].src+'" border=0 name="e4" width="'+ww+'" height="'+hh+'">');
 logo.insertAdjacentHTML("beforeEnd", '<img src="'+imgarray[11].src+'" border=0 name="e5" width="'+ww+'" height="'+hh+'">');
 logo.insertAdjacentHTML("beforeEnd", '<img src="'+imgarray[12].src+'" border=0 name="e6" width="'+wx+'" height="'+hh+'">');
 logo.insertAdjacentHTML("beforeEnd", '<img src="'+imgarray[11].src+'" border=0 name="e7" width="'+ww+'" height="'+hh+'">');
 logo.insertAdjacentHTML("beforeEnd", '<img src="'+imgarray[11].src+'" border=0 name="e8" width="'+ww+'" height="'+hh+'">');
 logocreated++;
}

if((document.all) && (navigator.appVersion.substring(0,3) >= "4.0")){
 window.onscroll=logoit
 window.onresize=new Function("window.location.reload()")
 window.onload=insertimage
}

// netscape 4 here
function regenerate(){
 window.location.reload()
}

function regenerate2(){
 if (document.layers)
  setTimeout("window.onresize=regenerate",400)
}

function createlogo(){
 wx=wr*6;
 ww=wr*11;
 hh=hr*14;
 staticimage=new Layer(140*wr)
 staticimage.left=-300
 staticimage.top=120
 staticimage.document.write('<a href="'+logolink+'"><img src="'+staticlogo.src+'" border=0 alt="'+alttext+'" align="" width="'+staticlogo.width*logosize+'" height="'+staticlogo.height*logosize+'">')
 staticimage.document.write('<a href="'+logolink+'"><img src="'+staticlogo1.src+'" border=0 alt="'+alttext+'" width="'+staticlogo1.width*logosize+'" height="'+staticlogo1.height*logosize+'" hspace=3 align="left">')
 staticimage.document.write('<IMG SRC="'+imgarray[11].src+'" border=0 name="f1" width="'+ww+'" height="'+hh+'">');
 staticimage.document.write('<IMG SRC="'+imgarray[11].src+'" border=0 name="f2" width="'+ww+'" height="'+hh+'">');
 staticimage.document.write('<IMG SRC="'+imgarray[12].src+'" border=0 name="f3" width="'+wx+'" height="'+hh+'">');
 staticimage.document.write('<IMG SRC="'+imgarray[11].src+'" border=0 name="f4" width="'+ww+'" height="'+hh+'">');
 staticimage.document.write('<IMG SRC="'+imgarray[11].src+'" border=0 name="f5" width="'+ww+'" height="'+hh+'">');
 staticimage.document.write('<IMG SRC="'+imgarray[12].src+'" border=0 name="f6" width="'+wx+'" height="'+hh+'">');
 staticimage.document.write('<IMG SRC="'+imgarray[11].src+'" border=0 name="f7" width="'+ww+'" height="'+hh+'">');
 staticimage.document.write('<IMG SRC="'+imgarray[11].src+'" border=0 name="f8" width="'+ww+'" height="'+hh+'">');
 staticimage.document.close()
 staticimage.visibility="show"
 regenerate2()
 staticitns()
 logocreated++;
}

if(document.layers)
 window.onload=createlogo

function logoit2(){
 staticimage.left=pageXOffset+window.innerWidth-staticimage.document.width-20
 staticimage.top=pageYOffset+window.innerHeight-staticimage.document.height
}

function staticitns(){
 setInterval("logoit2()",90)
}

// end of netscape only

function locate() {
 stopclock();
 showtime();
 /* last parameter of setTimeout = update rate in mS */
 timerID = setTimeout("locate()",1000);
 timerRunning = 1
 if(!document.layers){
  if((runonce > 0) && (staticlogo.complete == true) && (logocreated != 0)){
   runonce = 1;
   logocreated = 1;
   e1.src = imgarray[eval(timeparms[0]) + 1].src;
   e2.src = imgarray[eval(timeparms[1]) + 1].src;
   e4.src = imgarray[eval(timeparms[3]) + 1].src;
   e5.src = imgarray[eval(timeparms[4]) + 1].src;
   e7.src = imgarray[eval(timeparms[6]) + 1].src;
   e8.src = imgarray[eval(timeparms[7]) + 1].src;
  }
 }
 else
 {
  if((runonce > 0) && (staticlogo.complete == true) && (logocreated != 0)){
   runonce = 1;
   logocreated=1;
   staticimage.document.f1.src=imgarray[eval(timeparms[0]) + 1].src;
   staticimage.document.f2.src=imgarray[eval(timeparms[1]) + 1].src;
   staticimage.document.f4.src=imgarray[eval(timeparms[3]) + 1].src;
   staticimage.document.f5.src=imgarray[eval(timeparms[4]) + 1].src;
   staticimage.document.f7.src=imgarray[eval(timeparms[6]) + 1].src;
   staticimage.document.f8.src=imgarray[eval(timeparms[7]) + 1].src;
  }
 }
 runonce++;
}


if(navigator.appVersion.substring(0,3) >= "4.0")
{
 locate();
}
//-->