function doPic(imgName,imgLoc) {
imgOn = ("" + imgName);
document.mainpic.src = imgOn;
//window.location=imgLoc;
}