rem: editor.setAttribute('style','width:'+width+'px;height:'+TITLE_HEIGHT+'px;'); 
add: editor.setAttribute('style','width:'+width+'px !important;height:'+TITLE_HEIGHT+'px !important;'); ref.parentNode.setAttribute('style','width:'+width+'px !important;height:'+TITLE_HEIGHT+'px !important;'); 
context: function RTSE_insertEditor(doc,type) {	/* Used to insert the editor in as opposed to the normal interface */	if (!gRTSE.prefsGetBool('extensions.rtse.editor')) return;	const DEFAULT_HEIGHT='262';	const TITLE_HEIGHT='287';	const BLANK_MESSAGE_HEIGHT='356';	// deconvert any text that needs to be	RTSE_deconvertExtraBB(doc);		try {		var form=doc.forms.namedItem('post');		var editor=doc.createElement('rtseeditor');		editor.setAttribute('id','rtseEditor');		editor.setAttribute('sponsor','true');		editor.setAttribute('parentFormName','post');		editor.setAttribute('bodyFormField','body');		editor.setAttribute('body',form.elements.namedItem('body').value);		/* Lets add old body for everything */		var input=doc.createElement('input');		input.setAttribute('name','oldBody');		input.setAttribute('type','hidden');		input.value=form.elements.namedItem('body').value;		form.appendChild(input);		/* and add oldTitle if title exists */		if( form.elements.namedItem('title') ) {			input=doc.createElement('input');			input.setAttribute('name','oldTitle');			input.setAttribute('type','hidden');			input.value=form.elements.namedItem('title').value;			form.appendChild(input);		}				var i;		switch(type) {			case 'comment':			 var ref=doc.getElementById('Add a Comment').firstChild;			 var width=ref.parentNode.clientWidth;			 editor.setAttribute('style','width:'+width+'px;height:'+DEFAULT_HEIGHT+'px;');			 break;			case 'atopic':			 var ref=doc.getElementById('Add a New Topic').firstChild;			 editor.setAttribute('showTitle','true');			 var width=ref.parentNode.clientWidth;			 editor.setAttribute('style','width:'+width+'px;height:'+TITLE_HEIGHT+'px;');			 break;			case 'journal':			 var ref=doc.getElementById('Make a Journal Entry').firstChild;			 editor.setAttribute('showTitle','true');			 var width=ref.parentNode.clientWidth;			 editor.setAttribute('style','width:'+width+'px;height:'+TITLE_HEIGHT+'px;');			 break;					case 'ejournal':			 var ref=doc.getElementById('Edit Journal Entry').firstChild;			 editor.setAttribute('showTitle','true');			 var width=ref.parentNode.clientWidth;			 doc.getElementById('rtseType').value='journal';			 input=doc.createElement('input');			 input.setAttribute('name','oldFriendsOnly');			 input.setAttribute('type','hidden');			 input.value=form.elements.namedItem('friendsOnly').value;			 form.appendChild(input);			 editor.setAttribute('style','width:'+width+'px;height:'+TITLE_HEIGHT+'px;');			 break;			case 'rmessage':			 var ref=doc.getElementById('Reply').firstChild;			 editor.setAttribute('showTitle','true');			 var width=ref.parentNode.clientWidth;			 editor.setAttribute('style','width:'+width+'px;height:'+TITLE_HEIGHT+'px;');			 break;			case 'bmessage':			 var ref=doc.getElementById('Send a Message').firstChild;			 editor.setAttribute('showTitle','true');			 var width=ref.parentNode.clientWidth;			 editor.setAttribute('style','width:'+width+'px;height:'+BLANK_MESSAGE_HEIGHT+'px;');			 break;			case 'nmessage':			 var ref=doc.getElementById('Send a Message').firstChild;			 editor.setAttribute('showTitle','true');			 input=form.elements.namedItem('uid').cloneNode(true);			 form.appendChild(input);			 var width=ref.parentNode.clientWidth;			 editor.setAttribute('style','width:'+width+'px;height:'+TITLE_HEIGHT+'px;');			 break;			case 'fcomment':			 var elms=RTSE_evaluateXPath(doc,"//td[@id='pageContent']/table/tbody/tr[2]/td/table/tbody/tr[3]/td/table/tbody/tr/td/table/tbody/tr/td[2]/table/tbody/tr[1]/td[2]/div/a[2]/b");			 if( gRTSE.prefsGetBool('extensions.rtse.editor') && RTSE.config.get('same_page_reply','false')=='true' ) {			 	 /* This is for the single page reply */				 for( i=(elms.length-1); i>=0; i-- ) {					elms[i].parentNode.setAttribute('href','#Post');					elms[i].addEventListener('click',RTSE_samePageReply,false);				 }			 } /* end single page reply */			 var ref=doc.getElementById('Post').firstChild;			 var width=ref.parentNode.clientWidth;			 editor.setAttribute('style','width:'+width+'px;height:'+DEFAULT_HEIGHT+'px;');			 break;			case 'freply':			 var ref=doc.getElementById('Reply').firstChild;			 var width=ref.parentNode.clientWidth;			 editor.setAttribute('style','width:'+width+'px;height:'+DEFAULT_HEIGHT+'px;');			 break;			case 'cpreview':			 var test=form.elements.namedItem('to').value;			 var ref=doc.getElementById('Edit').firstChild;			 var width=ref.parentNode.clientWidth;			 if( test=='/members/journal/journalPost.php' ||				 /\/members\/journal\/editEntryPost.php\?id=[0-9]+/i.test(test) ) {			 	/* Hack for journals (*sigh*) */				doc.getElementById('rtseType').value='journal';				input=doc.createElement('input');			 	input.setAttribute('name','oldFriendsOnly');			 	input.setAttribute('type','hidden');			 	input.value=form.elements.namedItem('friendsOnly').value;			 	form.appendChild(input);			 	editor.setAttribute('showTitle','true');				editor.setAttribute('style','width:'+width+'px;height:'+TITLE_HEIGHT+'px;');			 } else if( /\/forum\/addTopicPost.php\?fid=.*/ig.test(test) ) {			 	/* Hack for Adding Topic */				doc.getElementById('rtseType').value='atopic';			 	editor.setAttribute('showTitle','true');			 	editor.setAttribute('style','width:'+width+'px;height:'+TITLE_HEIGHT+'px;');			 } else			 	editor.setAttribute('style','width:'+width+'px;height:'+DEFAULT_HEIGHT+'px;');			 break;			case 'cedit':			 var ref=doc.getElementById('Edit Post').firstChild;			 var width=ref.parentNode.clientWidth;			 editor.setAttribute('style','width:'+width+'px;height:'+DEFAULT_HEIGHT+'px;');			 break;		}		form.addEventListener('submit',RTSE_convertExtraBB,false);		ref.parentNode.replaceChild(editor,ref);	} catch(e) {		//gRTSE.sendReport(e);		throw e;	}}
meta: 760	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/760/6d07a7ae4fc1682ae1f3993d588ac2cf343fdc08/pageFix.js/clean/chrome/content/pageFix.js