
			s_local = "1"
			s_world = "1"
			s_national = "1"
			s_business = "1"
			s_technology = "1"
			s_sports = "1"
			s_entertainment = "1"
			s_health = "1"
			s_science = "1"
			s_politics = "1"
			s_travel = "1"
			s_strange = "1"
		
																	
		   /*************************************************************
		   *																														*
		   * getObject() takes passed "id" and returns the dom object   *
		   * for the given "id"                                         *
		   *																														*
		   *************************************************************/
			function getObject(id){
				var objStyle;
					if(document.getElementById){											
						objStyle = document.getElementById(id);
					}
					else if(document.all){									 					
						objStyle = document.all[id];
					}
					else {	
					}
					return objStyle;
			}
		  
			function switchCurrent(section, id, text){
			
				currentClicked = getObject(section + id)
				
				if(currentClicked.className != "menuBox3") 
					currentClicked.className = "menuBox3"
					
				lastSectionId = eval(section)
				
				if (id != lastSectionId){
					if(lastSectionId != ""){
						lastObj =  getObject(section + lastSectionId)
						lastObj.className = "menuBox"
						
						frames[section + "RssSummary"].location = "newsHeadlines.asp?sourceID=" + text
					}
				}
			
				if(section == "s_world")
					s_world = id
				
				if(section== "s_local")
					s_local = id
					
				if(section== "s_national")
					s_national = id
					
				if(section == "s_business")
					s_business = id
							
				if(section == "s_technology")
					s_technology = id
				
				if(section== "s_sports")
					s_sports = id
					
				if(section== "s_entertainment")
					s_entertainment = id
					
				if(section == "s_health")
					s_health = id
		
				if(section == "s_science")
					s_science = id
				
				if(section== "s_politics")
					s_politics = id
					
				if(section== "s_travel")
					s_travel = id
					
				if(section == "s_strange")
					s_strange= id
					
			}
		  
			function fade(section, id){
		  
				lastSectionId = eval(section)
			
				if (id != lastSectionId){
					
					currentClicked = getObject(section + id)
					
					currentClicked.className = "menuBox2"
					
				}
		  
			}
			
			function fadeOut(section, id){
		  
				lastSectionId = eval(section)
			
				if (id != lastSectionId){
					
					currentClicked = getObject(section + id)
					
					currentClicked.className = "menuBox"
		  
				}
			}
