

// Array Function

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



var pages = new makeArray("Discover Kinston Sponsors",
			  "Atlantic Coast Compounding",
			  "Charles Hughes Construction",
			  "CSS Neuse Foundation",
			  "Cultural Heritage Museum",
			  "Down East Protection",
			  "Extensive Pharmaceutical Services",
			  "Gordon Street Christian Church",
			  "Grainger-Hill PAC",
			  "Granville Academy",
			  "H2GO, LLC",
			  "Hidden Treasures",
			  "Kinston Press",
			  "Kinston Pulmonary Associates",
			  "Kinston Real Estate",
			  "Lenoir County GOP",
			  "Mike Jones Construction",
			  "Natural Body Pilates",
			  "The Perfect Finish",
			  "Pizza Villa",
			  "Realo Discount Drugs",
			  "Rustikat Internet Hosting",
			  "Rustikat Web Design",
			  "Scarborough Farms Inc",
			  "Veterinary Meetings");
                          



var urls = new makeArray("",
			 "http://www.atlanticcoastcompounding.com",
			 "http://charleshughesconstruction.com/",
			 "http://www.cssneusefoundation.com/",
			 "http://uscoloredtroops.org",
			 "http://depsnet.com/",
			 "http://epspharmacy.com/",
			 "http://gscc.kinstonlc.com",
			 "http://ghpac.com",
			 "http://granvilleacademync.com/",
			 "http://h2gollc.com/",
			 "http://kinstonshiddentreasures.com",
			 "http://www.kinstonpress.com",
			 "http://www.kinstonpulmonary.com",
			 "http://www.kathyriggs.com",
			 "http://lenoirgop.com",
			 "http://mikejonesconstruction.com/",
			 "http://naturalbodypilates.com",
			 "http://myuglytub.com",
			 "http://pizzavillakinston.com",
			 "http://realodrugs.com",
			 "http://rustikat.net",
			 "http://rustikat.com",
			 "http://sfiexplosives.com",
			 "http://www.vetmeetings.com");
                         



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

document.write('<FORM><SELECT NAME = "menu" onChange = "goPage(this.form)">');
    for (var i = 0; i < pages.length; i++) {
    document.write('<OPTION>' + pages[i]);
    }
document.write('</SELECT></FORM>');

