var tipv = "&nbsp;<iframe id='infcel' onload=\"arange('infcel','tips');\" style=\"background-color: #F8FAFF;\" scrolling=\"no\" border=0 width='152' frameborder=0 src=\"./infos.htm\">";

function showtip(id){
     var menu = document.getElementById(id);
     menu.style.visibility = 'visible';
}

function hidetip(id){
     var menu = document.getElementById(id);
     menu.style.visibility = 'hidden';
}

function getAbsX(elt) { 

	return parseInt(elt.x) ? elt.x : getAbsPos(elt,"Left"); 
}

function getAbsY(elt) { 
	return parseInt(elt.y) ? elt.y : getAbsPos(elt,"Top"); 
}

function getAbsPos(elt,which) {
 iPos = 0;
 while (elt != null) {
  iPos += elt["offset" + which];
  elt = elt.offsetParent;
 }
 return iPos;
}

function showat(id,idtip){
	 var obj = document.getElementById(id);		
     var tip = document.getElementById(idtip);		
     tip.style.left = getAbsX(obj);
     tip.style.top = getAbsY(obj)+20;
     tip.innerHTML = tipv;
     showtip(idtip);
}

function arange(frame,celula){
    var doc = document.getElementById(frame).contentWindow.document.body
    var fram = document.getElementById(frame);
    var cel = document.getElementById(celula);
    if(doc.scrollHeight>cel.offsetHeight){
    	cel.height=doc.scrollHeight;
   		fram.height=cel.offsetHeight+5;
   	}	
}