var CurrentL1;
var LeftColPadding;
function M_object(obj){
		if (document.getElementById)
			return document.getElementById(obj)
		else if (document.all)
			return document.all[obj]
	}
function DoStuff(){
	if(hasFlashNEEDED){	
		UFO.create(bannerFLASH, 'flashXcontent');
	}
	M_object("BannerL1").innerHTML = pdGlobal.currentPages[0].title;
	if(pdGlobal.currentPageLevel == 2){
		M_object("BannerL2").innerHTML = pdGlobal.currentPages[1].title;
	}
	if(pdGlobal.currentPageLevel == 3){
		M_object("BannerL2").innerHTML = pdGlobal.currentPages[1].title;
		M_object("BannerL3").innerHTML = pdGlobal.currentPages[2].title;
	}
	$(document).ready(function(){
		//this hack forces the background to appear behind the header text in portal & group channels
		$(".pchhdrtxt").wrapInner("<span style='background:url(/ftpimages/271/podium/sbar_h_back.gif) repeat-x;'></span>");
		$(".gchhdrtxt").wrapInner("<span style='background:url(/ftpimages/271/podium/sbar_h_back.gif) repeat-x;'></span>");

		//alert("Doc Ready!!");
		
		switch(pdGlobal.currentPages[0].id){
			case 104933: CurrentL1 = 1; break;
			case 104934: CurrentL1 = 2; break;
			case 104935: CurrentL1 = 3; break;
			case 104936: CurrentL1 = 4; break;
			default: CurrentL1 = "login"; break;
		}
	
		//alert(CurrentL1 + " : " + LeftColPadding);
		if(CurrentL1 != "login"){
			$("#L1_" + pdGlobal.currentPages[0].id).css("background","url(/ftpimages/271/podium/L1_"+CurrentL1+"_on.gif) no-repeat");
		}else{
			$("#L1_login").css("background","url(/ftpimages/271/podium/L1_5_on.gif) no-repeat");
		}

		//Here we remove the "Print This Page" text from the left column
		//$(".sitelcol").css("padding-top",LeftColPadding);
		$(".sitelcolt").each(function () {
			$(this).parent().get(0).style.display = "none";
		  });
	});
}

 