window.onload=function(){
if(!rc())
    return;
        if (top.location != self.location) {
		top.location = self.location.href;
	}
	Rounded("div#header-tl","#ff9900","#ffcc00");
	Rounded("div#header-tr","#ff9900","#ffcc00");
	Rounded("div#footer-tl","#ff9900","#ffcc00");
	Rounded("div#footer-tr","#ff9900","#ffcc00");
	if (document.getElementById("content")){
		sideHeight = document.getElementById("side").offsetHeight;
		contentHeight = document.getElementById("content").offsetHeight;
		if (contentHeight < sideHeight){
			document.getElementById("content").style.height = sideHeight + 'px';
		}
		if (document.getElementById("side-ad")){
			if (contentHeight > sideHeight+300){
				document.getElementById("side-ad").style.display = "block";
				document.getElementById("side-ad").style.visibility = "visible";
			}
		}
	}
}