function roundedCorners() { 
 var divs = document.getElementsByTagName('div'); 
 var rounded_divs = []; 
 /* First locate all divs with 'rounded' in their class attribute */
  i=0;
  rounded_divs[rounded_divs.length] = divs[i]; 

 /* Now add additional divs to each of the divs we have found */ 
 for (var i = 0; i < rounded_divs.length; i++) { 
   var original = rounded_divs[i]; 
   /* Make it the inner div of the four */ 
	original.id="fourth";   
   /* Now create the outer-most div */ 
   var tr = document.createElement('div'); 
//   tr.className = 'rounded2'; 
   /* Swap out the original (we'll put it back later) */ 
   original.parentNode.replaceChild(tr, original); 
   /* Create the two other inner nodes */ 
   var tl = document.createElement('div'); 
   tl.id="second";
  var br = document.createElement('div'); 
   br.id="third";
   /* Now glue the nodes back in to the document */ 
   tr.id="centeredContent";
   tr.appendChild(tl); 
   tl.appendChild(br); 
   br.appendChild(original); 
   o=tr;
   if (o.style) o=o.style;
   o.display="block";
 } 
} 
/* Run the function once the page has loaded: */ 

function drawCorners() {
	roundedCorners()
	if (typeof loadImage !="undefined") loadImage();
}
window.onload = drawCorners;

