// Set up the image files to be used.

var theImages = new Array() // do not change this

// To add more image files, continue with the

// pattern below, adding to the array.



theImages[0] = 'sm_pic1'

theImages[1] = 'sm_pic2'

theImages[2] = 'sm_pic3'

theImages[3] = 'sm_pic4'



// 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('<div id="'+theImages[whichImage]+'"></div>');

}

//end images





// Set up the image files to be used.

var theBg = new Array() // do not change this

// To add more image files, continue with the

// pattern below, adding to the array.



theBg[0] = 'page_bg'

theBg[1] = 'page_bg2'





// do not edit anything below this line



var j = 0

var p = theBg.length;

var preBuffer = new Array()

for (i = 0; i < p; i++){

   preBuffer[i] = new Image()

   preBuffer[i].src = theBg[i]

}

var whichBg = Math.round(Math.random()*(p-1));

function showBg(){

document.write('<div id="'+theBg[whichBg]+'">');

}

//end bg



function footer()

{



document.write ("<div id=footerlinks>Copyright &copy;2012</div>")



}
