<!--

function inputbg(obj,color) { obj.style.background=color; }

function rgb(obj) { obj.style.filter="alpha(opacity=100)"; }
function bw(obj) { obj.style.filter="alpha(opacity=60)"; }

function openpic(picname)
{
  picn = "/mod_gallery/viewpic.php?id=" + picname;
  x=(screen.width-700)/2
  y=(screen.height-600)/2
  eval('open(picn , "3333" , "")');
}


function openpiccat(picname)
{
  picn = "/mod_xcat/viewpic.php?filenum=" + picname;
  x=(screen.width-700)/2
  y=(screen.height-600)/2
  eval('open(picn , "222" , "menubar=no, toolbar=no, width=700, height=510, status=yes, resizable=no, top=' + y + ', left=' + x + '")');
}

function addprod(id) {
  eval('open("mod_cart/cart.php?newprod=' + id + '" , "prods" , "")');
}


//-->