  // window.onload=function(){
   RUZEE.Events.add(window,'domload',function(){
    // Define the styles for shadows and rounded edges:
      
      // Creates a shaded border for the main content header with top, left and right
      // rounded edges
      var border_content_header = RUZEE.ShadedBorder.create({ corner:8, edges:"tlr" });
      
      // Creates a shaded border for the main content with bottom, left and right
      // rounded edges
      var border_content_bottom = RUZEE.ShadedBorder.create({ corner:8, shadow:20, edges:"tlr" });
    
      // 
      var border_boxes = RUZEE.ShadedBorder.create({ corner:8 });

    
      // Render the defined styles:
      if ($('content') && $('content_header')){
        border_content_bottom.render('content');
        border_content_header.render('content_header');
      }
  });
  
  function round_divs(div_class){
  	var divs_to_round = $$('div.' + div_class);
  	divs_to_round.each(function(div){
  	  border_boxes.render(div);
  	});
  }
  
  round_divs('box');

if(top.location.href.search('jsdebug') != -1){
document.write('shadow_me wurde geladen<br/>');
}