newdivbdtab.setAttribute("id", "fullscreen-dlg-body-tab"); 
newdivbdtab.setAttribute("id", "fullscreen-dlg-body-tab-"+what); 
function fullscreenEdit(what) {  var parentDiv = document.getElementById("xwikitext");  if(parentDiv) {    //Fullscreen button    var showBtn = document.createElement("div");    showBtn.setAttribute("id", "show-dialog-btn");    Event.observe(showBtn, "click", new Function(what+"Fullscreen()"), true);    showBtn.setAttribute("title", "$msg.get("fullScreenTooltip")");    var textdiv = document.getElementById("xwikieditcontent");    textdiv.insertBefore(showBtn, textdiv.firstChild);    //fullscreen div    var newdiv = document.createElement("div");    newdiv.setAttribute("id", "fullscreen-dlg");    //fullscreen div header    var newdivhd = document.createElement("div");    newdivhd.setAttribute("id", "fullscreen-dlg-head");    //close button    var closeBtn = document.createElement("div");    closeBtn.setAttribute("id", "closeBtn");    Event.observe(closeBtn, "click", new Function(what+"Hide()"), true);    newdivhd.appendChild(closeBtn);    var title = document.createElement("div");    title.className = "titleText";    title.appendChild(document.createTextNode("Fullscreen Editing"));    newdivhd.appendChild(title);    //fullscreen div body    var newdivbd = document.createElement("div");    newdivbd.setAttribute("id", "fullscreen-dlg-body");    newdivbd.appendChild(newdivhd);    var newdivbdtab = document.createElement("div");    newdivbdtab.setAttribute("id", "fullscreen-dlg-body-tab");    newdivbd.appendChild(newdivbdtab);    newdiv.appendChild(newdivbd);    var backBtn = document.createElement("div");    backBtn.className = "backBtn";    Event.observe(backBtn, "click", new Function(what+"Hide()"), true);    var btnText = document.createElement("div");    btnText.className = "btnText";    btnText.appendChild(document.createTextNode("Back"));    backBtn.appendChild(btnText);    newdivbd.appendChild(backBtn);    document.body.appendChild(newdiv);  }}
6184	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6184/b5e53778d1999307708c6ac1b338b3badc99b11c/fullscreenEdit.js/buggy/xwiki-platform-web/standard/src/main/webapp/skins/albatross/fullscreenEdit.js