function SwitchSidebar(){
	switch(pdGlobal.currentPages[0].type){
		case "application":
			break;
		case "portal":
			break;
		case "content":
			MakeSidebarPage();
			break;
		default:
			break;
	}
}

function CheckNosidebarList(){
	var CurPageLevel = pdGlobal.currentPageLevel - 1;
	for(i=0; i < noSidebarPageList.length; i++){
		if(pdGlobal.currentPages[CurPageLevel].id == noSidebarPageList[i].listPageID){
			return false;
		}
	}
	if(pdGlobal.currentPages[CurPageLevel].type == "portal" || pdGlobal.currentPages[CurPageLevel].type == "application"){
		return false;
	}
	return true;
}

function MakeSidebarPage(){
	if(CheckNosidebarList()){
		document.write("<style>#footer{background-image:url(/ftpimages/350/podium/style622/footer.png);}</style>");
		document.write("<style>.sitelayout{background: url(/ftpimages/350/podium/style622/layoutBack.gif) repeat-y;}</style>");
	}
}