cornerreturn = new Image;
gotoformcorner = new Image;
gotofunctioncorner = new Image;
gotoergocorner = new Image;
gotohistorycorner = new Image;
gotogallerycorner = new Image;
gotospeccorner = new Image;
gotolinkscorner = new Image;
gotofaqcorner = new Image;
gotocontactcorner = new Image;


cornerreturn.src="images/cornerimages/cornerindex.jpg";
gotoformcorner.src="images/cornerimages/gotoformcorner.jpg";
gotofunctioncorner.src="images/cornerimages/gotofunctioncorner.jpg";
gotoergocorner.src="images/cornerimages/gotoergocorner.jpg";
gotohistorycorner.src="images/cornerimages/gotohistorycorner.jpg";
gotogallerycorner.src="images/cornerimages/gotogallerycorner.jpg";
gotospeccorner.src="images/cornerimages/gotospeccorner.jpg";
gotolinkscorner.src="images/cornerimages/gotolinkscorner.jpg";
gotofaqcorner.src ="images/cornerimages/gotofaqcorner.jpg";
gotocontactcorner.src="images/cornerimages/gotocontactcorner.jpg";

var pictures = new Array;
pictures[0] = "images/backgroundimages/BlackMed3x9.jpg";
pictures[1] = "images/backgroundimages/bluesidestudio1100.jpg";
pictures[2] = "images/backgroundimages/Coppersideview1250.jpg";
pictures[3] = "images/backgroundimages/sidebandw.jpg";
pictures[4] = "images/backgroundimages/sidebandwgray.jpg";
pictures[5] = "images/backgroundimages/yellowmedium.jpg";


var rand1 = Math.floor(Math.random() * pictures.length);
var pagepicture = pictures[rand1];

function resizeWindow()
{
if (document.body.clientWidth < 800) self.resizeTo(850,700);

}


