function domSwap(id, newimg) {
theImg=document.getElementById(id);
theImg.setAttribute("src", newimg);
}

function domSwap1(id, newimg, dir, ext) {
var img = newimg.substr(1);
var newimg = dir + img + ext;
domSwap(id, newimg);
}

function change(what) {
value = what.options[what.selectedIndex].value;
if (value != '')
if (document.images)
document.images['prodfoto'].src = value;
}

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

function printWindow() {
bV = parseInt(navigator.appVersion);
if (bV >= 4) window.print();
}