
// -------------------------------------------------------------------------

var D6=window,Y7=document;
function B8()
{this.ver=navigator.appVersion;
this.agent=navigator.userAgent;
this.dom=Y7.getElementById?1:0;
this.opera5=this.agent.indexOf("Opera 5")>-1;
this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom && !this.opera5)?1:0;
this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom && !this.opera5)?1:0;
this.ie7=(this.ver.indexOf("MSIE 7")>-1 && this.dom && !this.opera5)?1:0;
this.ie4=(Y7.all && !this.dom && !this.opera5)?1:0;
this.ie=this.ie4||this.ie5||this.ie6 ||this.ie7;
this.mac=this.agent.indexOf("Mac")>-1;
this.ns6=(this.dom && parseInt(this.ver)>=5)?1:0;
this.ns4=(Y7.layers && !this.dom)?1:0;
this.bw=(this.ie6||this.ie5||this.ie4||this.ns4||this.ns6||this.opera5);
return this;}

bw=new B8();
z=0;
b=0;
g="";
if(bw.opera5||bw.ns6){b=2};
if(bw.ie){g=" style='width: 100%'"}else{z=6}mt=10;
ml=10;
w=150;
mh=23;
mw=ml-w;
k=1;
mt=mt-z;
p="<a class='mi'"+g+" href='";
q="' title='";r="\"; return true' onmouseout='window.status=\"\";return true'Open links in this window>";
t="</a>";
a="' onmouseover='window.status=\"";
v="<div class=sp></div>";
m=new Array();
n=new Array();
s=new Array();
sw=new Array();
su=new Array();
st=new Array();

m[0]='Welcome';n[0]='#';sw[0]=150;su[0]='Welcome';st[0]="";s[0]=""
+p+"mainhub.html"+q+a+"Home"+r+"Home"+t
+p+"nav_prime.html"+q+a+"Site Map"+r+"Site Map"+t
+p+"book.html"+q+a+"Read The Book"+r+"Read The Book"+t
+p+"philosophy.html"+q+a+"Philosophy"+r+"Philosophy"+t
+p+"why.html"+q+a+"Rationale"+r+"Rationale"+t
+p+"economic.html"+q+a+"Economics"+r+"Economics"+t

m[1]='Who we are';n[1]='#';sw[1]=150;su[1]='Who we are';st[1]="";s[1]=""
+p+"media.html"+q+a+"Media Coverage"+r+"Media Coverage"+t
+p+"selectedcolonists.html"+q+a+"First Colonists"+r+"First Colonists"+t
+p+"crewbios.html"+q+a+"Crew Bios"+r+"Crew Bios"+t
+p+"lnw.html"+q+a+"Join The League"+r+"Join The League"+t
+p+"application.html"+q+a+"Colonize with us"+r+"Colonize with us"+t
+p+"sponsors.html"+q+a+"Sponsors"+r+"Sponsors"+t
+p+"history.html"+q+a+"Founder's History"+r+"Founder's History"+t
+p+"environmental.html"+q+a+"Conservation"+r+"Conservation"+t
+p+"briefings.html"+q+a+"Crewmembers Only"+r+"Crewmembers Only"+t

m[2]='Project Details';n[2]='#';sw[2]=150;su[2]='Project Details';st[2]="";s[2]=""
+p+"plan.html"+q+a+"Approach"+r+"Approach"+t
+p+"atlantica_i_mission.html"+q+a+"Atlantica 1"+r+"Atlantica 1"+t
+p+"joinus.html"+q+a+"Join Us"+r+"Join Us"+t
+p+"milestones.html"+q+a+"Milestones"+r+"Milestones"+t
+p+"manifest.html"+q+a+"Manifest"+r+"Manifest"+t
+p+"science.html"+q+a+"Science"+r+"Science"+t
+p+"research.html"+q+a+"Reasearch"+r+"Research"+t
+p+"http://chamberland.blogspot.com/"+q+a+"Status Blog"+r+"Status Blog"+t

m[3]='Action';n[3]='#';sw[3]=150;su[3]='Action';st[3]="";s[3]=""
+p+"joinus.html"+q+a+"Join The League (1 yr)"+r+"Join The League (1 yr)"+t
+p+"lifetimelnw.html"+q+a+"Join Lifetime"+r+"Join Lifetime"+t
+p+"application.html"+q+a+"Apply for Colony"+r+"Apply for Colony"+t
+p+"launchcrew.html"+q+a+"Join Launch Crew"+r+"Join Launch Crew"+t
+p+"captainstable.html"+q+a+"Captain's Table"+r+"Captain's Table"+t

m[4]='Habitats & Vehicles';n[4]='#';sw[4]=150;su[4]='Habitats & Vehicles';st[4]="";s[4]=""
+p+"roadmap.html"+q+a+"Habitat History"+r+"Habitat History"+t
+p+"scsas.html"+q+a+"Scott Carpenter Station"+r+"Scott Carpenter Station"+t
+p+"nwe.html"+q+a+"NWE Habitat"+r+"NWE Habitat"+t
+p+"leviathan.html"+q+a+"Leviathan Habitat"+r+"Leviathan Habitat"+t
+p+"challsta.html"+q+a+"Challenger Habitat"+r+"Challenger Habitat"+t
+p+"kouwalter.html"+q+a+"Kou Walter boat"+r+"Kou Walter boat"+t
+p+"bluedominion.html"+q+a+"Blue Dominion S3"+r+"Blue Dominion S3"+t
+p+"dstii.html"+q+a+"DST II Submarine"+r+"DST II Submarine"+t


m[5]='Help Us';n[5]='#';sw[5]=150;su[5]='Help Us';st[5]="";s[5]=""
+p+"contact.html"+q+a+"Contact"+r+"Contact"+t
+p+"store.html"+q+a+"Shop"+r+"Shop"+t
+p+"joinus.html"+q+a+"Join Us"+r+"Join Us"+t
+p+"contributor.html"+q+a+"Donate"+r+"Donate"+t
+p+"oceandive.html"+q+a+"OceanDive"+r+"OceanDive"+t


ma=m.length;


if (k==1) {
mw2=ml-w;
for (i=0; i < ma; i++){document.write("<div id='sb"+i+"' class='mn' style='position: absolute; top:"+(mt+mh)+";left:"+(mw+=w+2)+";width:"+(sw[i]-b)+"' onmouseover='o["+i+"].showIt()' onmouseout='o["+i+"].hideIt()'>"+s[i]+"</div>")}
for (i=0; i < ma; i++){document.write("<div style='position: absolute; top:"+mt+";left:"+(mw2+=w+2)+";width:"+w+"' onmouseover='o["+i+"].showIt()' onmouseout='o["+i+"].hideIt()'><a class='bi'"+g+" href='"+n[i]+q+st[i]+a+su[i]+r+m[i]+t+"</div>")}
} else {
  mw2=mt-mh;mt2=mt-mh+2;
  for (i=0; i < ma; i++){document.write("<div id='sb"+i+"' class='mn' style='position: absolute; top:"+(mt2+=(mh+1))+";left:"+(ml+w-10)+";width:"+sw[i]+"' onmouseover='o["+i+"].showIt()' onmouseout='o["+i+"].hideIt()'>"+s[i]+"</div>")}
  for (i=0; i < ma; i++){document.write("<div style='position: absolute; top:"+(mw2+=(mh+1))+";left:"+ml+";width:"+w+"' onmouseover='o["+i+"].showIt()' onmouseout='o["+i+"].hideIt()'><a class='bi'"+g+" href='"+n[i]+q+st[i]+a+su[i]+r+m[i]+t+"</div>")}
}


function lib_obj(obj,nest){
  nest=(!nest) ? "":'document.'+nest+'.';
  this.evnt=bw.dom? document.getElementById(obj):bw.ie4?document.all[obj]:bw.ns4?eval(nest+"document.layers." +obj):0;
  this.css=bw.dom||bw.ie4?this.evnt.style:this.evnt;
  this.ref=bw.dom||bw.ie4?document:this.css.document;

  this.x=parseInt(this.css.left)||this.css.pixelLeft||this.evnt.offsetLeft||0;
  this.y=parseInt(this.css.top)||this.css.pixelTop||this.evnt.offsetTop||0;return this
}

function lib_doc_size(){
  this.x=0;this.x2=bw.ie && document.body.offsetWidth-20||innerWidth||0;
  this.y=0;this.y2=bw.ie && document.body.offsetHeight-5||innerHeight||0;
  this.x50=this.x2/2;
  this.y50=this.y2/2;
  return this;
}

lib_obj.prototype.showIt = function(){this.css.visibility="visible"}
lib_obj.prototype.hideIt = function(){this.css.visibility="hidden"}

function libinit(){
  page=new lib_doc_size();
  o=new Array();
  for (i=0; i < ma; i++){
	o[i]=new lib_obj('sb'+i);o[i].hideIt()
  }
}

libinit();
