var cornersOnload = window.onload;
window.onload = function () {
	// #### load nifty2.js ####
	if(NiftyCheck()) {
//	Rounded("div.mainmenuitem","all","#ffffff","#000000","smooth");
//	Rounded("div.submenuitem","all","#ffffff","#000000","smooth");
	Rounded("div.subpage","all","#ffffff","transparent");
	Rounded("div#login","all","transparent","#ffffff","border #aaaaaa");
//	Rounded("div.dmt","bottom","#fff","#bbb","smooth");
	Rounded("div.dmt_left","bl br","#ffffff","#cccccc","smooth");
	Rounded("div.dmt_right","bl br","#ffffff","#000000","smooth");
	Rounded("div.baf_left","bl","#ffffff","#cccccc","smooth");
	Rounded("div.baf_right","bl","#ffffff","#000000","smooth");
	Rounded("div.caf_left","br","#ffffff","#f7ba6f","smooth");
	Rounded("div.caf_right","br","#ffffff","#f7941d","smooth");
	}
	// #### load justcorners.js ####
	if(cornersOnload) cornersOnload();
	if(isIE){addRoundedIECorners(); }
	else {addRoundedCorners();}
	// #### load lib_dhtml.js ####
	if (document.getElementById && document.getElementsByTagName) {
		var lnk = document.getElementsByTagName('a') || document.links;
		for (var l = 0; l < lnk.length; l++) lnk[l].onfocus = function() { this.blur(); }
		obj.init();
	}
	init();
}
