// JavaScript Document
// These functions are for showing or hiding the sub nav menu items


function toggleClamShellMenu(objectID) {
	if (isAll || isID) {
		domStyle = findDOM(objectID,1);
		if (domStyle.display =='block'){
			domStyle.display='none';
		}
		else{ domStyle.display='block';
		}
	}
	else {
		destination = objectID + '.html';
		self.location = destination;
	}
	return;
}


function showMenu(objectID) {
	if (isAll || isID) {
		domStyle = findDOM(objectID,1);
		domStyle.display='block';
	}
	else {
		destination = objectID + '.html';
		self.location = destination;
	}
	return;
}

function hideMenu(objectID) {
	if (isAll || isID) {
		domStyle = findDOM(objectID,1);
		domStyle.display='none';
	}
	else {
		destination = objectID + '.html';
		self.location = destination;
	}
	return;
}

