rem: placementId = parent.document.pid; 
add: placementId = parent.document.__pid; 
context: function getBaseUrl(){	var placementId = document.pid;	var baseUrl = document.baseUrl;	if((typeof baseUrl == "undefined") || (baseUrl.length == 0))	{		baseUrl = parent.document.baseUrl;		if((typeof baseUrl == "undefined") || (baseUrl.length == 0))		{			baseUrl = top.document.baseUrl;			if((typeof baseUrl == "undefined") || (baseUrl.length == 0))			{				if ((typeof placementId == "undefined") || (placementId.length == 0))				{					placementId = parent.document.pid;					if ((typeof placementId == "undefined") || (placementId.length == 0))					{						placementId = top.document.pid;					}				}				if ((typeof placementId == "undefined") || (placementId.length == 0))				{					return "__cannot_locate_sakai_placement_id__";				}				baseUrl = "/portal/tool/" + placementId;			}		}	}	return baseUrl;}
meta: 1235	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1235/7560e2d4c94380d12f038bb840515a06d1b54e08/fckplugin.js/buggy/reference/library/src/webapp/editor/FCKeditor/editor/plugins/resourcesearch/fckplugin.js