// javascript 1 - Print Date// 
var dayStr = new Array(
      'Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'
    );
    var monStr = new Array(
      'January','February','March','April','May','June','July','August','September','October','November','December'
    );
    var today = new Date();
    var day = dayStr[today.getDay()];
    var d = today.getDate();
    var m = monStr[today.getMonth()];
    var y = today.getFullYear();

    function printDate()
    {
      document.write(day+' '+m+' '+d+', '+y);
    }
// javascript 2 - Random Image// 
// var theImages = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

// theImages[0] = 'http://aha.channing-bete.com/images/index01.jpg'
// theImages[1] = 'http://aha.channing-bete.com/images/index02.jpg'
// theImages[2] = 'http://aha.channing-bete.com/images/index03.jpg'
// theImages[3] = 'http://aha.channing-bete.com/images/index04.jpg'
// theImages[4] = 'http://aha.channing-bete.com/images/index05.jpg'
// theImages[5] = 'http://aha.channing-bete.com/images/index06.jpg'
// theImages[6] = 'http://aha.channing-bete.com/images/index07.jpg'
// theImages[7] = 'http://aha.channing-bete.com/images/index08.jpg'


// do not edit anything below this line

// var j = 0
// var p = theImages.length;
// var preBuffer = new Array()
// for (i = 0; i < p; i++){
//    preBuffer[i] = new Image()
//    preBuffer[i].src = theImages[i]
// }
// var whichImage = Math.round(Math.random()*(p-1));
// function showImage(){
// document.write('<img src="'+theImages[whichImage]+'">');
// }