var max=0;
function textlist()
{
max=textlist.arguments.length;
for (i=0; i<max; i++)
this[i]=textlist.arguments[i];
}
tl = new textlist
(
" Welcome to the home of Nordic Rotors",
"       www.nordicrotors.com",
"",
" For information regarding new stuff on the site, take a look in the ",
" 'What's-New' box on the index-pages.  ",
"",
"       www.nordicrotors.com",
"",
" Nordic Rotors is a site dedicated to all rotary wing aircraft in Sweden.  ",
" If you're only interested in fixed-wing's you're definitly at the wrong place!  ",
"",
"       www.nordicrotors.com",
"",
" Your faithful editor & webmaster is Rickard Gillberg, a 20 year old helicopter- ",
" student from the northern parts of Stockholm (the capital of Sweden)  ",
"",
"       www.nordicrotors.com",
"",
" Interested in advertising on Nordic Rotors? Contact Rickard for more info.  ",
"       rickard@nordicrotors.com       ",
"",
"       www.nordicrotors.com",
"",
" Please drop a few lines in the guestbook before leaving.  ",
" Any comments or related suggestions are welcome.  ",
"",
"",
"",
""
);
var x=0; pos=0;
var l=tl[0].length;
function textticker()
{
document.tickform.tickfield.value=tl[x].substring(0,pos)+"_";
if(pos++==l) { pos=0; setTimeout("textticker()",700); x++;
if(x==max) x=0; l=tl[x].length; } else
setTimeout("textticker()",30);
}


if (document.layers) {
  visible = 'show';
  hidden = 'hide';
} else if (document.all) {
  visible = 'visible';
  hidden = 'hidden';
}

function ClickShw(menu) {
  if (document.layers) {
    daMenu = document.layers[menu];
  } else if (document.all) {
    daMenu = document.all(menu).style;
  }
  if (daMenu.visibility == hidden) {
    daMenu.visibility = visible;
  } else {
    daMenu.visibility = visible;
  }
  lastMenu = daMenu;
}

function ClickClo(menu) {
  if (document.layers) {
    daMenu = document.layers[menu];
  } else if (document.all) {
    daMenu = document.all(menu).style; {
    daMenu.visibility = hidden;
  }  }
  lastMenu = daMenu;
}


function StaScr(dir, spd, loop) {
loop = true;
direction = "up";
speed = 10;
scrolltimer = null;
if (document.layers) {
var page = eval(document.scrollmeny);
}
else {
if (document.getElementById) {
var page= eval("document.getElementById('scrollmeny').style");
}
else {
if (document.all) {
var page = eval(document.all.scrollmeny.style);
      }
   }
}
direction = dir;
speed = parseInt(spd);
var y_pos = parseInt(page.top);
if (loop == true) {
if (direction == "dn") {
page.top = (y_pos - (speed));
} else {
if (direction == "up" && y_pos < 20) {
page.top = (y_pos + (speed));
} else {
if (direction == "top") {
page.top = 10;
      }
   }
}
scrolltimer = setTimeout("StaScr(direction,speed)", 1);
   }
}
function StoScr() {
loop = false;
clearTimeout(scrolltimer);
}



function StaScr02(dir, spd, loop) {
loop = true;
direction = "up";
speed = 10;
scrolltimer = null;
if (document.layers) {
var page = eval(document.scrollmeny);
}
else {
if (document.getElementById) {
var page= eval("document.getElementById('scrollmeny01').style");
}
else {
if (document.all) {
var page = eval(document.all.scrollmeny01.style);
      }
   }
}
direction = dir;
speed = parseInt(spd);
var y_pos = parseInt(page.top);
if (loop == true) {
if (direction == "dn") {
page.top = (y_pos - (speed));
} else {
if (direction == "up" && y_pos < 54) {
page.top = (y_pos + (speed));
} else {
if (direction == "top") {
page.top = 10;
      }
   }
}
scrolltimer = setTimeout("StaScr02(direction,speed)", 1);
   }
}
function StoScr02() {
loop = false;
clearTimeout(scrolltimer);
}


function StaScr03(dir, spd, loop) {
loop = true;
direction = "up";
speed = 10;
scrolltimer = null;
if (document.layers) {
var page = eval(document.scrollmeny);
}
else {
if (document.getElementById) {
var page= eval("document.getElementById('scrollmeny02').style");
}
else {
if (document.all) {
var page = eval(document.all.scrollmeny02.style);
      }
   }
}
direction = dir;
speed = parseInt(spd);
var y_pos = parseInt(page.top);
if (loop == true) {
if (direction == "dn") {
page.top = (y_pos - (speed));
} else {
if (direction == "up" && y_pos < 54) {
page.top = (y_pos + (speed));
} else {
if (direction == "top") {
page.top = 10;
      }
   }
}
scrolltimer = setTimeout("StaScr03(direction,speed)", 1);
   }
}
function StoScr03() {
loop = false;
clearTimeout(scrolltimer);
}


function StaScr04(dir, spd, loop) {
loop = true;
direction = "up";
speed = 10;
scrolltimer = null;
if (document.layers) {
var page = eval(document.scrollmeny);
}
else {
if (document.getElementById) {
var page= eval("document.getElementById('scrollmeny03').style");
}
else {
if (document.all) {
var page = eval(document.all.scrollmeny03.style);
      }
   }
}
direction = dir;
speed = parseInt(spd);
var y_pos = parseInt(page.top);
if (loop == true) {
if (direction == "dn") {
page.top = (y_pos - (speed));
} else {
if (direction == "up" && y_pos < 54) {
page.top = (y_pos + (speed));
} else {
if (direction == "top") {
page.top = 10;
      }
   }
}
scrolltimer = setTimeout("StaScr04(direction,speed)", 1);
   }
}
function StoScr04() {
loop = false;
clearTimeout(scrolltimer);
}


