m1on = new Image();
m1on.src = "images/m1lon.gif";
m1off = new Image();
m1off.src = "images/m1l.gif";

m2on = new Image();
m2on.src = "images/m2lon.gif";
m2off = new Image();
m2off.src = "images/m2l.gif";

m3on = new Image();
m3on.src = "images/m3lon.gif";
m3off = new Image();
m3off.src = "images/m3l.gif";



m1ion = new Image();
m1ion.src = "images/m1ion.gif";
m1ioff = new Image();
m1ioff.src = "images/m1i.gif";

m2ion = new Image();
m2ion.src = "images/m2ion.gif";
m2ioff = new Image();
m2ioff.src = "images/m2i.gif";

m3ion = new Image();
m3ion.src = "images/m3ion.gif";
m3ioff = new Image();
m3ioff.src = "images/m3i.gif";



function ovr(img)
{
var imgovr = eval(img + "on.src");
document[img].src = imgovr;
}



function out(img)
{
var imgoff = eval(img + "off.src");
document[img].src = imgoff;
}



function vi(picname, gname, gdescr, gprice) {
	
wleft = window.screenLeft;
wtop = window.screenTop;
w = document.body.clientWidth;
h = document.body.clientHeight;
w1 = wleft+(w/2)-200;
h1 = wtop-40;

feat='"toolbar=no,location=no,directories=no,status=no,menubar=no,fullscreen=no,scrollbars=yes,resizable=yes,width=444,height=444' + ',left=' + w1 + ',top=' + h1 + '"';
pw = window.open('','viewitem',feat);

cont = '<html><head><title>' + gname + '</title></head>';
cont += '<link rel=stylesheet href=/style.css type=text/css>';
cont += '<body bgcolor=#2c3040 text=#ffffff link=#ffffff vlink=#ffffff alink=#ffffff topmargin=5 leftmargin=5 rightmargin=5 bottommargin=5><center>';
cont += '<script language=JavaScript> window.focus(); window.scrollTo(0,1000000); </script>';
cont += '<table border=0 cellspacing=0 cellpadding=0 width=100%><tr><td bgcolor=#5d606c><table width=100% border=0 cellspacing=1 cellpadding=5>';
cont += '<tr bgcolor=#2c3040 align=center><td><a href=javascript:self.close()><img src=/images/' + picname  + ' width=400 border=0 alt=close style=\"border: 1px solid #5d606c;\"></a></td></tr>';
cont += '<tr bgcolor=#2c3040><td>'+ gdescr + '</td></tr>';
cont += '<tr bgcolor=#2c3040 align=center><td>Cost: <b>' + gprice + '</b></td></tr>';
cont += '</table></td></tr></table>';
cont += '<br><br><a href="javascript:self.close()">close window</a></center></body></html>';

pw.document.open();	
pw.document.write(cont);
pw.document.close();
}