
function hilite(obj){hilite_color(obj,'#ffefd5');}
function hilite_color(obj,color){if(obj&&color)
obj.style.backgroundColor=color;}
function hilite2(obj){hilite_color(obj,'#f5f5f5');}
function setcolor(obj,color){obj.style.backgroundColor=color;}
var p_obj;var p_obj2;function hilite_header(o,o2,color,color2){if(p_obj){p_obj.style.backgroundColor=color2;if(p_obj2)
p_obj2.style.backgroundColor=color2;}
if(o&&(p_obj=$(o))&&color){p_obj.style.backgroundColor=color;if(o2&&(p_obj2=$((o+o2)))){p_obj2.style.backgroundColor=color;}}}
function hilite3(table,id,bs){var rows=$(table).getElementsByTagName('tr');if($('form3'))
var sel=$('form3');for(var i=1,len=rows.length;i<len;i++){var cells=rows[i].getElementsByTagName('td');for(var j=1,len2=cells.length;j<len2;j++){cells[j].style.fontWeight='';cells[j].style.backgroundColor='';}
if(rows[i].id==id){rows[i].style.backgroundColor='#ffefd5';if(bs>0&&bs<cells.length){cells[bs].style.fontWeight='bold';cells[bs].style.backgroundColor='#b0e0e6';}
if($('form3')){sel.t.value=bs;if(id.indexOf("m")==-1){sel.d.value=id;}else{sel.m.value=id.substring(1,2);}}}
else{rows[i].style.backgroundColor='#f9f9f9';}}}
function hilite_tbody(tbody_id,id,color,color2){try{tbody=$(tbody_id)
for(var i=0;i<tbody.rows.length;i++)
{try{tbody.rows[i].style.backgroundColor=color2;}catch(e){tbody.rows[i].background=color2;}}
try{$(id).style.backgroundColor=color;}catch(e){$(id).background=color;}}catch(e){}}