hL = '#C4C8E3';	dL = '#DAE7FF';
hLh = '#A9ADC8';	dLh = '#C4DAE4';
hLw = '#CFD3EE';	hLm= '#D4D8EC';

function hLO(c){var O=event.srcElement;O.style.backgroundColor=c;}
function hO(){var O=event.srcElement;O.style.backgroundColor=hL;}
function dO(){var O=event.srcElement;O.style.backgroundColor=dL;}
function prepareCalendar(name){var O=document.getElementsByName(name);var i=0;while(O[i]){O[i].onmouseover=hO;O[i].onmouseout=dO;i++;}}
function hLM(f,l){for(i=f;i<=l;i++){if(e=document.getElementById(i))hLW(e.id,hLm);}}
function dLM(f,l){for(i=f;i<=l;i++){if( e=document.getElementById(i))dLW(e.id,dL);}}
function hLW(fname,c){var O=document.getElementById(fname).elements;var i=0;while(O[i]){if(O[i].name=='d')O[i].style.backgroundColor=c;i++;}}
function dLW(fname){var O=document.getElementById(fname).elements;var i=0;while(O[i]){if(O[i].name=='d')O[i].style.backgroundColor=dL;i++;}}
function hLI(f,l,c){for(i=f;i<=l;i++){if(e=document.getElementById(i))e.style.backgroundColor=c;}}
function show(id){obj=document.getElementById(id);if(obj.style.display=='none') obj.style.display='';else obj.style.display='none';}
function prepareMenu(el){i=0;while(el[i]){obj=document.getElementById(el[i]);obj.style.display='none';obj=document.getElementById('l'+el[i]);obj.href=' ';i++;}}

