rem: if(BMSVC.createBookmarkInContainer.length == 7) { 
add: if(BMSVC.createBookmarkInContainer.length == 7) { 
context: function init() {	bookmarksTree = document.getElementById("bookmarksTree");	rssItemListBox = document.getElementById("rssItemListBox");	rssStatusImage = document.getElementById("rssStatusImage");	rssStatusLabel = document.getElementById("rssStatusLabel");	rssTitleLabel = document.getElementById("rssTitleLabel");	rssItemToolTip = document.getElementById("rssItemToolTip");	strRes = document.getElementById("strRes");	resultStrArray = new Array(		strRes.getString("RESULT_OK_STR"),		strRes.getString("RESULT_PARSE_ERROR_STR"),		strRes.getString("RESULT_NOT_RSS_STR"),		strRes.getString("RESULT_NOT_FOUND_STR"),		strRes.getString("RESULT_NOT_AVAILABLE_STR"),		strRes.getString("RESULT_ERROR_FAILURE_STR")	);	// if feed folder has not been set, assume new user and install default feed folder and demo feeds	if(!CommonFunc.getPrefValue(CommonFunc.RSS_READER_FOLDER_ID, "str", null)) {		logMessage("setting default preferences...");		var new_folder = BMSVC.createFolderInContainer("Sage Feeds", RDF.GetResource("NC:BookmarksRoot"), null);		CommonFunc.setPrefValue(CommonFunc.RSS_READER_FOLDER_ID, "str", new_folder.Value);		if(BMSVC.createBookmarkInContainer.length == 7) {			BMSVC.createBookmarkInContainer("BBC News | News Front Page | World Edition", "http://news.bbc.co.uk/rss/newsonline_world_edition/front_page/rss091.xml", null, "updated", null, new_folder, null);			BMSVC.createBookmarkInContainer("Yahoo! News - Sports", "http://rss.news.yahoo.com/rss/sports", null, "updated", null, new_folder, null);			BMSVC.createBookmarkInContainer("Sage Project News", "http://sage.mozdev.org/rss.xml", null, "updated", null, new_folder, null);		} else {			BMSVC.createBookmarkInContainer("BBC News | News Front Page | World Edition", "http://news.bbc.co.uk/rss/newsonline_world_edition/front_page/rss091.xml", null, "updated", null, null, new_folder, null);			BMSVC.createBookmarkInContainer("Yahoo! News - Sports", "http://rss.news.yahoo.com/rss/sports", null, "updated", null, null, new_folder, null);			BMSVC.createBookmarkInContainer("Sage Project News", "http://sage.mozdev.org/rss.xml", null, "updated", null, null, new_folder, null);		}		setCheckboxCheck("chkShowSearchBar", "false");		setCheckboxCheck("chkShowToolTip", "true");		setCheckboxCheck("chkShowFeedItemList", "true");	}	// set feed folder location	sageFolderID = CommonFunc.getPrefValue(CommonFunc.RSS_READER_FOLDER_ID, "str", "NC:BookmarksRoot");	// check for changes to the feed folder	prefObserverSageFolder = CommonFunc.addPrefListener(CommonFunc.RSS_READER_FOLDER_ID, sageFolderChanged);	bookmarksTree.tree.setAttribute("ref", sageFolderID);	bookmarksTree.treeBoxObject.selection.select(0);	FeedSearch.init();	toggleShowSearchBar();	toggleShowFeedItemList();	logMessage("initialized");}
meta: 359	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/359/6d1c1f503a1119549b53717f6f318439e0c2c880/sage.js/clean/src/sage/content/sage.js