 var textarea  = document.getElementById("content");  taWidth = getStyle(textarea, "width"); taHeight = getStyle(textarea, "height");  setStyle(textarea, "width", "99%"); setStyle(textarea, "height", "94%"); 
function wikiFullscreen() {  var flscrDiv = document.getElementById("fullscreen-dlg");  setStyle(flscrDiv, "display", "block");  var parentswapDiv = document.getElementById("parentswapDiv");  var swapDiv = document.getElementById("swapDiv");  if(parentswapDiv == null || parentswapDiv == undefined) {  parentswapDiv = document.createElement("div");  parentswapDiv.setAttribute("id", "parentswapDiv");  if(swapDiv == null || swapDiv == undefined) {    swapDiv = document.createElement("div");    swapDiv.setAttribute("id", "swapDiv");  }  parentswapDiv.appendChild(swapDiv);  var flscrDivBdTab = document.getElementById("fullscreen-dlg-body-tab");  flscrDivBdTab.appendChild(parentswapDiv);  }  //swaps the swapDiv with xwikieditcontent  var xwikidiv = document.getElementById("xwikieditcontentinner");  var auxdiv = document.createElement("div");  document.body.appendChild(auxdiv);  moveChildren(parentswapDiv, auxdiv);  moveChildren(xwikidiv, parentswapDiv);  moveChildren(auxdiv, xwikidiv);  document.body.removeChild(auxdiv);  //hide scrollbars  document.body.style.overflow="hidden";  var textarea  = document.getElementById("content");  //save textarea dimensions  taWidth = getStyle(textarea, "width");  taHeight = getStyle(textarea, "height");  setStyle(textarea, "width", "99%");  setStyle(textarea, "height", "94%");}
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