// modified niftyCheck.js to get boxes to round upon the DOM loading, without waiting for all inline elements to also load

   function init() {
       // quit if this function has already been called
       if (arguments.callee.done) return;

       // flag this function so we don't do the same thing twice
       arguments.callee.done = true;

       // do stuff
       
       if(!NiftyCheck())
	       return;
       RoundedTop("div.news","#E0E0E0","#A6A6A6");
       RoundedBottom("div.news","#E0E0E0","#FFF");
       RoundedTop("div.demo","#E0E0E0","#A6A6A6");
       RoundedBottom("div.demo","#E0E0E0","#FFF");
       RoundedTop("div.quot","#E0E0E0","#A6A6A6");
       RoundedBottom("div.quot","#E0E0E0","#FFF");
       RoundedTop("div.cont","#E0E0E0","#A6A6A6");
       RoundedBottom("div.cont","#E0E0E0","#FFF");
       RoundedTop("div.menu","#E0E0E0","#A6A6A6");
       RoundedBottom("div.menu","#E0E0E0","#505050");
       RoundedTop("div.main","#E0E0E0","#FFF");
       RoundedBottom("div.main","#E0E0E0","#FFF");

   };

   /* for Mozilla */
   if (document.addEventListener) {
       document.addEventListener("DOMContentLoaded", init, false);
   }

   /* for Internet Explorer */
   /*@cc_on @*/
   /*@if (@_win32)
       document.write("<script defer src=ie_onload.js><"+"/script>");
   /*@end @*/

   /* for other browsers */
   window.onload = init;

