css.paddingTop = (tt_aV[CLOSEBTN] ? 2 : 0) + "px"; css.paddingBottom = "1px"; css.paddingLeft = css.paddingRight = tt_aV[PADDING] + "px"; 
function tt_FormatTip(){	var css, w, iOffY, iOffSh;	//--------- Title DIV ----------	if(tt_aV[TITLE].length)	{		css = tt_aElt[1].style;		css.background = tt_aV[TITLEBGCOLOR];		css.paddingTop = (tt_aV[CLOSEBTN] ? 2 : 0) + "px";		css.paddingBottom = "1px";		css.paddingLeft = css.paddingRight = tt_aV[PADDING] + "px";		css = tt_aElt[3].style;		css.color = tt_aV[TITLEFONTCOLOR];		css.fontFamily = tt_aV[TITLEFONTFACE];		css.fontSize = tt_aV[TITLEFONTSIZE];		css.fontWeight = "bold";		css.textAlign = tt_aV[TITLEALIGN];		// Close button DIV		if(tt_aElt[4])		{			css.paddingRight = (tt_aV[PADDING] << 1) + "px";			css = tt_aElt[4].style;			css.background = tt_aV[CLOSEBTNCOLORS][0];			css.color = tt_aV[CLOSEBTNCOLORS][1];			css.fontFamily = tt_aV[TITLEFONTFACE];			css.fontSize = tt_aV[TITLEFONTSIZE];			css.fontWeight = "bold";		}		if(tt_aV[WIDTH] > 0)			tt_w = tt_aV[WIDTH] + ((tt_aV[PADDING] + tt_aV[BORDERWIDTH]) << 1);		else		{			tt_w = tt_GetDivW(tt_aElt[3]) + tt_GetDivW(tt_aElt[4]);			// Some spacing between title DIV and closebutton			if(tt_aElt[4])				tt_w += tt_aV[PADDING];		}		// Ensure the top border of the body DIV be covered by the title DIV		iOffY = -tt_aV[BORDERWIDTH];	}	else	{		tt_w = 0;		iOffY = 0;	}	//-------- Body DIV ------------	css = tt_aElt[5].style;	css.top = iOffY + "px";	if(tt_aV[BORDERWIDTH])	{		css.borderColor = tt_aV[BORDERCOLOR];		css.borderStyle = tt_aV[BORDERSTYLE];		css.borderWidth = tt_aV[BORDERWIDTH] + "px";	}	if(tt_aV[BGCOLOR].length)		css.background = tt_aV[BGCOLOR];	if(tt_aV[BGIMG].length)		css.backgroundImage = "url(" + tt_aV[BGIMG] + ")";	css.padding = tt_aV[PADDING] + "px";	css.textAlign = tt_aV[TEXTALIGN];	// TD inside body DIV	css = tt_aElt[6].style;	css.color = tt_aV[FONTCOLOR];	css.fontFamily = tt_aV[FONTFACE];	css.fontSize = tt_aV[FONTSIZE];	css.fontWeight = tt_aV[FONTWEIGHT];	css.background = "";	css.textAlign = tt_aV[TEXTALIGN];	if(tt_aV[WIDTH] > 0)		w = tt_aV[WIDTH] + ((tt_aV[PADDING] + tt_aV[BORDERWIDTH]) << 1);	else		// We measure the width of the body's inner TD, because some browsers		// expand the width of the container and outer body DIV to 100%		w = tt_GetDivW(tt_aElt[6]) + ((tt_aV[PADDING] + tt_aV[BORDERWIDTH]) << 1);	if(w > tt_w)		tt_w = w;	//--------- Shadow DIVs ------------	if(tt_aV[SHADOW])	{		tt_w += tt_aV[SHADOWWIDTH];		iOffSh = Math.floor((tt_aV[SHADOWWIDTH] * 4) / 3);		// Bottom shadow		css = tt_aElt[7].style;		css.top = iOffY + "px";		css.left = iOffSh + "px";		css.width = (tt_w - iOffSh - tt_aV[SHADOWWIDTH]) + "px";		css.height = tt_aV[SHADOWWIDTH] + "px";		css.background = tt_aV[SHADOWCOLOR];		// Right shadow		css = tt_aElt[8].style;		css.top = iOffSh + "px";		css.left = (tt_w - tt_aV[SHADOWWIDTH]) + "px";		css.width = tt_aV[SHADOWWIDTH] + "px";		css.background = tt_aV[SHADOWCOLOR];	}	else		iOffSh = 0;	//-------- Container DIV -------	tt_SetTipOpa(tt_aV[FADEIN] ? 0 : tt_aV[OPACITY]);	tt_FixSize(iOffY, iOffSh);}
3727	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3727/98ee928b9b1fec6d3694426a3bd0398d7002e904/wz_tooltip.js/buggy/gallery/js/wz_tooltip.js