//  @ advanced solutions tecni.com - internet tools - CopyRight 

// TecniColor Dynamic Table Color Changer by adolfo@tecni.com
function TecniColor(oTd, tecnicolor) 
{
	if (tecnicolor == 1) {
		if (!oTd.contains(event.fromElement)) 
			oTd.bgColor="#cce0e0";
	}
	else {
		if (!oTd.contains(event.toElement)) 
			oTd.bgColor="#ffffff";
	}
}

function tecnicom_secure_page(e) 
{
 if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2))
   return false;
 else if (navigator.appName == 'Microsoft Internet Explorer' && 
    (event.button == 2 || event.button == 3)) {
    alert(" OK :) ");
    return false;
 }
 return true;
}

document.onmousedown=tecnicom_secure_page;
document.onmouseup=tecnicom_secure_page;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (document.layers) window.captureEvents(Event.MOUSEUP);
window.onmousedown=tecnicom_secure_page;
window.onmouseup=tecnicom_secure_page;

<!-- tecnicom_color -->
IE = (document.all);
if (IE) {
  var chidc = new Array();
  var hexc = new Array('0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F');
  var chidn = new Array(100,70,40);
  var step = new Array(10,10,10);
  var chway = new Array(step[0],step[1],step[2]);
  var tone = new Array(1,1,1);

 function tecnicom_color () {
    for (i=0; i<3; i++) {
      chidn[i]+=chway[i];
      if (chidn[i]>=255) {
        chidn[i] = 255;
        chway[i] = -step[i];
      }
    else if (chidn[i]<=40) {
        chidn[i] = 40;
        chway[i] = step[i];
        tone[i]>=3? tone[i] = 1:tone[i]++;
      }
      col1 = hexc[Math.floor(chidn[i]/16)];
      col2 = hexc[chidn[i]%16];
      tored = '';
      toblue = '';
      for (j=1; j<tone[i]; j++) tored+='00';
      for (j=3; j>tone[i]; j--) toblue+='00';
      chidc[i] = '#'+tored+col1+col2+toblue;
      td = eval('document.all.chcol'+i);
      td.style.backgroundColor = chidc[i];
    }
    setTimeout('tecnicom_color()',100);
  }
}
