function addResource(id,value)
{
	if(window.tinyMCE != null)
		tinyMCE.execInstanceCommand(id, "mceInsertContent", false, value);
}
