rem: if( RTSE.config.get('sponsor','false')=='false' ) return; 
add: if (!gRTSE.prefsGetBool("extensions.rtse.sponsor")) return; 
context: function RTSE_addToSideBar(doc) {	/* Adds My Stats and Mod history to side navigation panel */	try {		if( RTSE.config.get('sponsor','false')=='false' ) return;		var ref=RTSE_evaluateXPath(doc,"//td[@id='navCol']/table/tbody/tr[17]");		ref=ref[0];		var tr,td,div,a;		var items=new Array('My Stats','Mod History');		var links=new Array('/members/stats/myStats.php','/members/modHistory.php');		for( var i=(items.length-1); i>=0; i-- ) {			tr=doc.createElement('tr');			td=doc.createElement('td');			td.setAttribute('class','nav');			div=doc.createElement('div');			div.setAttribute('class','navLink');			a=doc.createElement('a');			a.setAttribute('href',links[i]);			a.appendChild(doc.createTextNode(items[i]));			div.appendChild(a);			td.appendChild(div);			tr.appendChild(td);			ref.parentNode.insertBefore(tr,ref.nextSibling);		}	} catch(e) {		gRTSE.sendReport(e);	}}
meta: 760	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/760/fcbf6a6a59d513d473fff52fa7398a335974dee3/pageFix.js/buggy/chrome/content/pageFix.js