var currentdate = 0
var core = 0

function StringArray (n) {
  this.length = n;
  for (var i =1; i <= n; i++) {
    this[i] = ' '

  }
}

image = new StringArray(10)
image[0] = '../banner1.jpg'
image[1] = '../banner2.jpg'
image[2] = '../banner3.jpg'
image[3] = '../banner4.jpg'
image[4] = '../banner5.jpg'
image[5] = '../banner6.jpg'
image[6] = '../banner7.jpg'
image[7] = '../banner8.jpg'
image[8] = '../banner1.jpg'
image[9] = '../banner2.jpg'

var ran = 60/image.length

function ranimage() {
  currentdate = new Date()
  core = currentdate.getSeconds()
  core = Math.floor(core/ran)
    return(image[core])
}

document.write("<a href='../home.html'><img src='" +ranimage()+ "' border='0' style='Z-INDEX: 101; LEFT: 8px; POSITION: absolute; TOP: 8px'></a>")
document.write("<IMG src='../menubar.jpg' border='0' usemap='#Map' style='Z-INDEX: 102; LEFT: 8px; POSITION: absolute; TOP: 160px'>")
document.write("<map name='Map'>")
document.write("<area shape='rect' coords='134,4,283,49' href='http://board.airplanespin.com'>")
document.write("<area shape='rect' coords='281,4,425,50' href='../about.html'>")
document.write("<area shape='rect' coords='425,5,574,49' href='../contact.html'>")
document.write("<area shape='rect' coords='574,5,761,48' href='../hosted.html'>")
document.write("</map>")
document.write("<select style='Z-INDEX: 105; LEFT: 16px; WIDTH: 120px; COLOR: white; FONT-FAMILY: Arial; POSITION: absolute; TOP: 176px; BACKGROUND-COLOR: black' onChange='window.parent.location.href=value'>")
document.write("<option value='#' selected>Select an Area</option>")
document.write("<option value='../road.html'>Road Reports</option>")
document.write("<option value='../results.html'>Results</option>")
document.write("<option value='../upcoming.html'>Upcoming Shows</option>")
document.write("<option value='../interviews.html'>Interviews</option>")
document.write("<option value='../links.html'>Links</option>")
document.write("<option value='training.html'>Training School Journal</option>")
document.write("<option value='archive.html'>News Archives</option>")
document.write("</select>")

//<body text='white' vLink='gray' aLink='gray' link='gray' bgColor='black' MS_POSITIONING='GridLayout'
	//background='images/bg.gif'>
//
		//	<IMG src='images/menubar.jpg' border='0' usemap='#Map' style='Z-INDEX: 102; LEFT: 8px; POSITION: absolute; TOP: 160px'>
          //  <map name='Map'>
            //  <area shape='rect' coords='134,4,283,49' href='http://board.airplanespin.com'>
              //<area shape='rect' coords='281,4,425,50' href='about.html'>
//              <area shape='rect' coords='425,5,574,49' href='contact.html'>
  //            <area shape='rect' coords='574,5,761,48' href='hosted.html'>
    //        </map>
      //      <select style='Z-INDEX: 105; LEFT: 16px; WIDTH: 120px; COLOR: white; FONT-FAMILY: Arial; POSITION: absolute; TOP: 176px; BACKGROUND-COLOR: black'
				//onChange='window.parent.location.href=value'>
           //   <option value='#' selected>Select an Area</option>
             // <option value='road.html'>Road Reports</option>
              //<option value='results.html'>Results</option>
             // <option value='upcoming.html'>Upcoming Shows</option>
             // <option value='interviews.html'>Interviews</option>
              //<option value='links.html'>Links</option>
            //</select>	
   // </body>
//</HTML>l'>Links</option>
            //</select>	
   // </body>
//</HTML>