﻿// Array Function

function makeArray() {
var args = makeArray.arguments;
    for (var i = 0; i < args.length; i++) {
    this[i] = args[i];
    }
this.length = args.length;
}

// This array holds the descriptions and names of the pages.

var pages = new makeArray("Quick link to stores...",
                          "Blackhawk Cleaners",
                          "Blackhawk Grille",
						  "Blackhawk Museum",
                          "Blackhawk Pizzeria",
                          "Blackhawk Plastic Surgery",
                          "Blackhawk Plaza Dental",
                          "California Living",
                          "Century Theatres",
                          "Draeger's",
                          "G.R. Doodlebug",
						  "Jewels in Disguise",						                           
						  "Patrick James",                          
						  "Patrizia Marrone",                                                  
						  "Pride of the Mediterranean",                          
						  "Restoration Hardware",
						  "Starbucks",
						  "Visual Expressions Optometry",
						  "What's In Store",                           
						  "Yotaka Sushi Grill");

// This array hold the URLs of the pages.

var urls = new makeArray("",
						  "/shops/bh_cleaners.html",
						  "/shops/bh_grille.html",
						  "/shops/bhmuseum.html",
						  "/shops/bh_pizzeria.html",
						  "/shops/bh_plasticsurgery.html",        
						  "/shops/bh_plazadental.html",
						  "/shops/caliving.html",
						  "/shops/century.html",
						  "/shops/draegers.html",
						  "/shops/grdoodlebug.html",
						  "/shops/jewelsindisguise.html",						  
						  "/shops/patrickjames.html",
						  "/shops/patriziamarrone.html",
						  "/shops/pride.html",
						  "/shops/restorationhardware.html",
						  "/shops/starbucks.html",
						  "/shops/veoptometry.html",
						  "/shops/whatsinstore.html",
						  "/shops/yotakasusigrill.html");

// This function determines which page is selected and goes to it.

function goPage(form) {
i = form.menu.selectedIndex;            
    if (i != 0) {
    window.top.location.href = urls[i];  
    }
}

//-->

