rem: body.style.backgroundImage = tmp; 
add: body.style.backgroundImage = "url('" + tmp + "')"; 
context: 	_addToHead : function(inst) {		var doc = inst.getDoc();		var head = doc.getElementsByTagName("head")[0];		var body = doc.body;		var h = inst.fullpageTopContent;		var e = doc.createElement("body");		var nl, i, le, tmp;		// Remove stuff we don't want		h = h.replace(/(\r|\n)/gi, '');		h = h.replace(/<\?[^\>]*\>/gi, '');		h = h.replace(/<\/?(!DOCTYPE|head|html)[^\>]*\>/gi, '');		h = h.replace(/<script(.*?)<\/script>/gi, '');		h = h.replace(/<title(.*?)<\/title>/gi, '');		h = h.replace(/<(meta|base)[^>]*>/gi, '');		// Make link and style elements into pre		h = h.replace(/<link([^>]*)\/>/gi, '<pre mce_type="link" $1></pre>');		//h = h.replace(/<style([^>]*)>(.*?)<\/style>/gi, '<pre mce_type="style" $1>$2</pre>');		// Make body a div		h = h.replace(/<body/gi, '<div mce_type="body"');		h += '</div>';		// Now crapy MSIE can parse it		e.innerHTML = h;		// Reset all body attributes		body.vLink = body.aLink = body.link = body.text = '';		body.style.cssText = '';		// Delete all old links		nl = head.getElementsByTagName('link');		for (i=0; i<nl.length; i++) {			if (tinyMCE.getAttrib(nl[i], 'mce_head') == "true")				nl[i].parentNode.removeChild(nl[i]);		}		// Add link elements		nl = e.getElementsByTagName('pre');		for (i=0; i<nl.length; i++) {			tmp = tinyMCE.getAttrib(nl[i], 'media');			if (tinyMCE.getAttrib(nl[i], 'mce_type') == "link" && (tmp == "" || tmp == "screen" || tmp == "all") && tinyMCE.getAttrib(nl[i], 'rel') == "stylesheet") {				le = doc.createElement("link");				le.rel = "stylesheet";				le.href = tinyMCE.getAttrib(nl[i], 'href');				le.setAttribute("mce_head", "true");				head.appendChild(le);			}		}		// Add body attributes		nl = e.getElementsByTagName('div');		if (nl.length > 0) {			body.style.cssText = tinyMCE.getAttrib(nl[0], 'style');			if ((tmp = tinyMCE.getAttrib(nl[0], 'leftmargin')) != '' && body.style.marginLeft == '')				body.style.marginLeft = tmp + "px";			if ((tmp = tinyMCE.getAttrib(nl[0], 'rightmargin')) != '' && body.style.marginRight == '')				body.style.marginRight = tmp + "px";			if ((tmp = tinyMCE.getAttrib(nl[0], 'topmargin')) != '' && body.style.marginTop == '')				body.style.marginTop = tmp + "px";			if ((tmp = tinyMCE.getAttrib(nl[0], 'bottommargin')) != '' && body.style.marginBottom == '')				body.style.marginBottom = tmp + "px";			body.dir = tinyMCE.getAttrib(nl[0], 'dir');			body.vLink = tinyMCE.getAttrib(nl[0], 'vlink');			body.aLink = tinyMCE.getAttrib(nl[0], 'alink');			body.link = tinyMCE.getAttrib(nl[0], 'link');			body.text = tinyMCE.getAttrib(nl[0], 'text');			if ((tmp = tinyMCE.getAttrib(nl[0], 'background')) != '')				body.style.backgroundImage = tmp;			if ((tmp = tinyMCE.getAttrib(nl[0], 'bgcolor')) != '')				body.style.backgroundColor = tmp;		}	}
meta: 2801	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2801/3c26150e1a64cb09ec99f84b07fc866d3e28d08d/editor_plugin_src.js/buggy/jscripts/tiny_mce/plugins/fullpage/editor_plugin_src.js