// JavaScript Document

function checkdisplay(){
	//var checkfor = document.getElementById('newsarea');
	
	//if(checkfor.innerHTML == ''){
	//	checkfor.style.display = 'none';
	//	}
	}
	
// JavaScript Document
function switcher(elem){
	var elem = document.getElementById(elem);
	if(elem != null){
		elem.style.display = '';
		}
	}
	

function reswitcher(){
	var parentesis = document.getElementById('topnavigation');
	var difsInside = parentesis.getElementsByTagName('div');
	var SearchStr1 = 'sub_'

	var legCut1 = SearchStr1.length;

	for(var i = 0; i < difsInside.length; i++){
		var thisid = difsInside[i].id;
		if(thisid.substring(0, legCut1) == SearchStr1){
			difsInside[i].style.display = 'none';
		}
	}
}