function cfjg() {}

cfjg.frames = new HashMap();

cfjg.appendFrame = function (f)
{
	cfjg.frames.put(f.id, f);
	return true;
}

cfjg.getFrame = function (fKey)
{
	if(fKey == null || fKey == "")
		return null;
	
	if(cfjg.frames == null)
		cfjg.frames = new HashMap();
	
	return cfjg.frames.get(fKey);
}

cfjg.resizeFrame = function(fid,height)
{
	var f = cfjg.getFrame(fid);
	
	if(f)
		f.style.height = height;
}
