rem:  if (portraitCell && portraitCell != "") setPortraitGUIObject.cell_id = portraitCell; 
add:  if (portraitCell && portraitCell != "") setPortraitGUIObject.cell_id = portraitCell; 
context: function setPortrait(objectName, portraitString, portraitSuffix, portraitCell) {	// Use this function as a shortcut to change a portrait object to a different portrait image. 	// Accepts an object and specifies its default, rollover (lit) and disabled (gray) sprites.	// Sprite Format: "sn""portraitString""portraitSuffix"	// Sprite Format: "sn""portraitString""portraitSuffix""Over"	// Sprite Format: "sn""portraitString""portraitSuffix""Disabled"	// Note: Make sure the file follows this naming convention or bad things could happen.	// Get GUI object	setPortraitGUIObject = getGUIObjectByName(objectName);	// Report error if object not found.	if (!setPortraitGUIObject)	{		console.write ("setPortrait(): Failed to find object " + objectName + ".");		return 1;	}        // Set the three portraits.	if (portraitSuffix && portraitSuffix != "")	        setPortraitGUIObject.sprite = "sn" + portraitString + portraitSuffix;	else	        setPortraitGUIObject.sprite = "sn" + portraitString;        setPortraitGUIObject.sprite_over = setPortraitGUIObject.sprite + "Over";        setPortraitGUIObject.sprite_disabled = setPortraitGUIObject.sprite + "Disabled";        // If the source texture is a multi-frame image (icon sheet), specify correct cell.        if (portraitCell && portraitCell != "")                setPortraitGUIObject.cell_id = portraitCell;	else		setPortraitGUIObject.cell_id = "";	return 0;}
meta: 1070	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1070/43323342db248d6227b69129e134b6eea35acbfa/functions_page_session.js/clean/binaries/data/mods/official/gui/test/functions_page_session.js