//captions for the rotating image
var frontcaptions = new Array("A Table Runner","A Blanket","Pillows","Tartan Samples","A Shawl","Towels","Scarves","A Tartan Hat","Pillows","Molly V Manaugh");
//TOTAL number of images for rotating image
var numfront = 9;
//don't mess with the next line
var whichfront = Math.round(Math.random()*(numfront-1));

//function that displays the image and text for the rotating image
function frontrotate(){
document.write('<img src="images/front'+whichfront+'.jpg" alt="'+frontcaptions[whichfront]+'"><br><img src="images/spacer.gif" width="3" height="3" alt=" "><br>'+frontcaptions[whichfront]);
}

//centered popup function
function NewWindow(mypage, myname, w, h, tool, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',toolbar='+tool+',scrollbars='+scroll+',noresize'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}