function SwitchTdCol(theRow, thePointerColor) { 
	if (thePointerColor == '' || typeof(theRow.style) == 'undefined') { 
	return false;
    }

    // Opera does not return valid values with "getAttribute"
    if (typeof(window.opera) == 'undefined'
        && typeof(theRow.getAttribute) != 'undefined' && typeof(theRow.getAttribute) != 'undefined') { 
		//alert('style '+theRow.getAttribute('style').backgroundColor);
	theRow.style.backgroundColor= thePointerColor;
    //theRow.setAttribute('style', thePointerColor, 0);
    //alert('style '+theRow.getAttribute('style'));
 } 
  else { theRow.style.backgroundColor = thePointerColor; } 

    return true;
 }  // end of the 'setPointer()' function


function openInfoPopup(idlang) { 
    openPopup('info.php?id_lang='+idlang);
}

function openPopup(url) { 
   
   var x = (screen.width-816)/2;
   var y = (screen.height-450-32)/2;
   var option = 'titlebar=no,resizable=yes,menubar=no,scrollbars=yes,toolbar=no,location=no,status=no,width=965,height=500,left=' + x + ',top=' + y;
   standardPopup = window.open(url,'popup',option);
   standardPopup.focus();
}

function doLoad(idlang) {    
    setTimeout('openInfoPopup('+idlang+')', 1000); // 1 seconde
}