img01a=new Image();
img01a.src="img/arrow_a.gif";
img01=new Image();
img01.src="img/arrow.gif"
function on(graphName) {
    active=eval("img01a.src");
	document.images[graphName].src=active;
}
function out(graphName) {
	dezact=eval("img01.src");
	document.images[graphName].src=dezact;
}

function decor(id) {
var win = "width=300,height=300,menubar=no,location=no,resizable=yes,scrollbars=no";
newWin = window.open('decor_view.phtml?id='+id,'newWin',win);
newWin.focus();
}

function dipl(name,w,h,cat)
    {
      win = window.open('','win'+name,'width='+w+',height='+h+',scrollbars=1,status=0,resizeable=1');
      win.location.href = 'dipl.phtml?name=' + name +'&cat=' + cat;
      win.focus(); // bring our subwindow to the front
    }
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function MM_jumpMenu2(targ,selObj,restore){ //v3.0
eval("window.open('"+selObj.options[selObj.selectedIndex].value+"')");
  //eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}