window.onload=function(){

externalLinks();

if(!NiftyCheck())
    return;
RoundedTop("div#container","#000","#12127D");
RoundedBottom("div#container","#000","#12127D");
RoundedTop("div#rightbox","#F5E27E ","#12127D");
RoundedBottom("div#rightbox","#F5E27E ","#F2F2F2");
RoundedTop("div#box","#F5E27E ","#12127D");
RoundedBottom("div#box","#F5E27E ","#F2F2F2");
}

function externalLinks() {
 if (!document.getElementsByTagName) return;
 var anchors = document.getElementsByTagName("a");
 for (var i=0; i<anchors.length; i++) {
   var anchor = anchors[i];
   if (anchor.getAttribute("href") &&
       anchor.getAttribute("rel") == "external")
     anchor.target = "_blank";
 }
} 
