
names=new Array()
names.push(0,0,"Super Duper!","okok!")
names.push(465,475,"Space Mountain","space-mountain")
names.push(55,390,"Splash Mountain","splash-mountain")
names.push(370,100,"Toon Town","toon-town")
names.push(160,485,"Pirates of the Caribbean","pirates-of-the-caribbean")
names.push(190,455,"Tarzan's Treehouse","tarzans-treehouse")
names.push(415,160,"It's a Small World","its-a-small-world")
names.push(40,350,"The Many Adventures of Winnie the Pooh","adventures-of-winnie-the-pooh")
names.push(88,360,"Davy Crockett's Explorer Canoes","davy-crocketts-explorer-canoes")
names.push(65,420,"Haunted Mansion","haunted-mansion")
names.push(240,460,"Jungle Cruise","jungle-cruise")
names.push(210,470,"Indiana Jones Adventure","indiana-jones-adventure")
names.push(325,320,"Sleeping Beauty Castle","sleeping-beauty-castle")
names.push(345,295,"Peter Pan's Flight","peter-pans-flight")
names.push(410,300,"Matterhorn Bobsleds","matterhorn-bobsleds")
names.push(432,460,"Captain EO Tribute","captain-eo")
names.push(130,430,"Rafts to Tom Sawyer Island","tom-sawyer-island")
names.push(410,400,"Star Tours","star-tours")

var end1=names.length/4

names.push(400,350,"Space Food","1")
names.push(100,300,"Wet Food","wet-food")
names.push(280,100,"Candy","3")
names.push(90,420,"Argh!","4")
names.push(250,420,"Wooden Treats","5")
names.push(600,300,"Secret Escape","index")

var end2=names.length/4

names.push(315,680,"Disneyland Railroad","dr")
names.push(590,420,"Secret Tunnel","index")

var end3=names.length/4

pic1= new Image(); 
pic2= new Image(); 
pic3= new Image(); 
pic1.src="/pics/white-left.gif"; 
pic2.src="/pics/white-center.gif"; 
pic3.src="/pics/white-right.gif"; 

var bigged=0;
function gobig(item) {
  if(bigged) {return}
  bigged=1
  document.getElementById("pick").style.visibility="visible"
  document.getElementById(picked).style.visibility="visible"
  document.getElementById("map").style.width=600+"px"
  document.getElementById("map").style.height=600+"px"
  document.getElementById("pointatme").style.visibility="hidden"
}
function nobig(item) {
  if(!bigged) {return}
  bigged=0
  document.getElementById("pick").style.visibility="hidden"
  document.getElementById("text").style.visibility="hidden"
  document.getElementById("attr").style.visibility="hidden"
  document.getElementById("food").style.visibility="hidden"
  document.getElementById("other").style.visibility="hidden"
  document.getElementById("map").style.width=120+"px"
  document.getElementById("map").style.height=120+"px"
  document.getElementById("pointatme").style.visibility="visible"
}
function mover(item) {
  posleft =names[item*4+0]+30
  postop  =names[item*4+1]+3
  itemname=names[item*4+2]
  sometext="<table cellpadding=0 cellspacing=0 border=0><tr><td width=20 background='pics/white-left.gif'></td>"
  sometext+="<td bgcolor='#dbdbd6' background='pics/white-center.gif' align='center'><img src='pics/blank.gif' border=0 width=1 height=15>"
  sometext+="<font face='arial'><b>"+itemname+"</td><td width=20 background='pics/white-right.gif'>&nbsp;</td></tr></table>"
  document.getElementById("text").innerHTML=sometext
  document.getElementById("text").style.marginTop=postop
  document.getElementById("text").style.marginLeft=posleft
  document.getElementById("text").style.visibility="visible"
}
function mout(item) {
  document.getElementById("text").style.visibility="hidden"
}
function select(item) {
  picked=item
  document.getElementById("food").style.visibility="hidden"
  document.getElementById("attr").style.visibility="hidden"
  document.getElementById("other").style.visibility="hidden"
  document.getElementById(item).style.visibility="visible"
}

document.write("<div id='text' class='divt'></div>")
document.write("<div id='pointatme' class='divs'><img src='pics/point-to-me2.gif'></div>")

document.write("<div id='attr' class='divs'>")
for(x=1;x<end1;x++) {
  document.write("<div id='div"+x+"' class='divs' style='margin-left:"+names[x*4+0]+"px;margin-top:"+names[x*4+1]+"px;'>")
  document.write("<a href='"+names[x*4+3]+".html' target='_top'>")
  document.write("<img id='pic"+x+"' src='pics/yellow-ball.gif' onMouseover='mover("+x+")' onMouseout='mout("+x+")' width=25 border=0></a></div>")
} document.write("</div>")

document.write("<div id='food' class='divs'>")
for(x=end1;x<end2;x++) {
  document.write("<div id='div"+x+"' class='divs' style='margin-left:"+names[x*4+0]+"px;margin-top:"+names[x*4+1]+"px;'>")
  document.write("<a href='"+names[x*4+3]+".html' target='_top'>")
  document.write("<img src='pics/blue-ball.gif' onMouseover='mover("+x+")' onMouseout='mout("+x+")' width=25 border=0></a></div>")
} document.write("</div>")

document.write("<div id='other' class='divs'>")
for(x=end2;x<end3;x++) {
  document.write("<div id='div"+x+"' class='divs' style='margin-left:"+names[x*4+0]+"px;margin-top:"+names[x*4+1]+"px;'>")
  document.write("<a href='"+names[x*4+3]+".html' target='_top'>")
  document.write("<img src='pics/green-ball.gif' onMouseover='mover("+x+")' onMouseout='mout("+x+")' width=25 border=0></a></div>")
} document.write("</div>")

ptext="<a href=\"attractions.html\" onClick=\"select('attr');blur();return false\">"
ptext+="<img src='pics/yellow-ball.gif' width=15 border=0>&nbsp;Attractions</a><br>"
//ptext+="<a href=\"food.html\" onClick=\"select('food');blur();return false\">"
//ptext+="<img src='pics/blue-ball.gif' width=15 border=0>&nbsp;Food</a><br>"
//ptext+="<a href=\"other.html\" onClick=\"select('other');blur();return false\">"
//ptext+="<img src='pics/green-ball.gif' width=15 border=0>&nbsp;Other</a><br>"
document.write("<div id='pick' class='divs'>"+ptext+"</div>")

document.getElementById("other").style.visibility="hidden"
document.getElementById("food").style.visibility="hidden"
document.getElementById("attr").style.visibility="hidden"
document.getElementById("pick").style.visibility="hidden"


