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 historybikepictures = new Array;
historybikepictures[0] = "images/HistoryPics/Pedersensideview.jpg";
historybikepictures[1] = new Image;
historybikepictures[1] = "images/HistoryPics/Pedersen1905.jpg";
historybikepictures[2] = new Image;
historybikepictures[2] = "images/HistoryPics/OldPedersensaddle.jpg";

var rand1 = Math.floor(Math.random() * historybikepictures.length);
var historypicturebike = historybikepictures[rand1];

var historypictures2 = new Array;
historypictures2[0] = "images/HistoryPics/Pedersenbrakes.jpg";
historypictures2[1] = "images/HistoryPics/Pedersenhandlebars.jpg";
historypictures2[2] = "images/HistoryPics/Pedersensaddlerear.jpg";

var rand1 = Math.floor(Math.random() * historypictures2.length);
var historypicturebike2 = historypictures2[rand1];


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

}

