<!--
nn4= (document.layers);
ie4= (document.all && !document.getElementById);
ie5= (document.all && document.getElementById);
nn6= (document.getElementById && !document.all);
mac= (navigator.userAgent.indexOf('Mac')>-1 && ie4);
ok= (nn4 || ie4 || ie5 || nn6 && !mac);
numOfPages= 8;
loadFlg= 0;
active= 0;
curr= 0;
nnBuf=(nn4)?5:0;
nnSpeed=(nn4||nn6)?15:10;
speed= nnSpeed;
var timeoutID;
function initMouseEvents() {
document.onmousedown = mouseDown
if (nn4||nn6) document.captureEvents(Event.MOUSEDOWN )
}
function mouseDown(e) {
if (ie4||ie5) {
if (event.button == 2) { location.href="";return false}
}	 
if (nn4||nn6) {
if (e.which == 3) { location.href="";return false} }
}
function makePageObj(obj,nest){
nest=(!nest)?'':'document.'+nest+'.';
this.sty= (nn4)?eval(nest+'document.'+obj):(ie4)?document.all[obj].style:document.getElementById(obj).style;
this.doc= (nn4)?this.sty.document:(ie4)?document.all[obj]:document.getElementById(obj);
this.ht= (nn4)?this.sty.clip.height:this.doc.offsetHeight;
this.timerID= null;
this.moveIt= moveIt;
this.moveUp= moveUp;
this.obj= obj+'Object';
eval(this.obj+'=this');
}
function moveIt(x,y){
this.x=x;
this.y=y;
this.sty.left= this.x= x+nnBuf;
this.sty.top= this.y= y+nnBuf;
}
function moveUp(end,num){
if(this.y-speed>end){
this.moveIt(0,this.y-speed);
this.timerID= setTimeout(this.obj+'.moveUp('+end+','+num+')',30);
}
else{
clearTimeout(this.timerID);
this.moveIt(0,end);
if(curr==num){
this.moveIt(0,0);
active= 0;
}
else this.moveIt(0,view.ht)
}
}
function chgPage(num){
clearTimeout(timeoutID);//kills the default message if another link is hovered
if(!loadFlg) return;
if(active) return;
active= 1;
page[curr].moveUp(-page[curr].ht,curr);
curr=num;
page[curr].moveUp(0,curr);
timeoutID=setTimeout("goBack(0)",9000);//reverts to default message after 5 seconds.
}
function goBack(num){
if(!loadFlg) return;
if(active) return;
active= 1;
page[curr].moveUp(-page[curr].ht,curr);
curr=num;
page[curr].moveUp(0,curr);
}
function setUp(){
if(!ok) return;
view= new makePageObj('viewPort');
page= new Array();
for(var i=0;i<numOfPages;i++){
page[i]= new makePageObj('page'+i,'viewPort');
page[i].moveIt(0,view.ht);
}
page[0].moveIt(0,0);
view.sty.visibility= 'visible';
loadFlg= 1;
}
//onload= setUp;
//-->