function tooltipOn(tooltip, width) {

	toolTipStyle = document.getElementById(tooltip);
	toolTipStyle.style.width = width + 'px';
	toolTipStyle.style.display = 'inline';
	
}

function tooltipOff(tooltip) {
	
	toolTipStyle = document.getElementById(tooltip);
	toolTipStyle.style.display = 'none';
	
}

function toggleRTip(tooltip) {
	
	toolTipStyle = document.getElementById('r_tip' + tooltip).style;
		
	toolTipStyle.display = 'block';
	
}
	
function untoggleRTip(tooltip) {
								
	toolTipStyle = document.getElementById('r_tip' + tooltip).style;
								
	toolTipStyle.display = 'none';
								
}
	
function hideToolbar() {
	
	toolTipStyle = document.getElementById('toolBar').style;
	
	if (toolTipStyle.display != 'none')
		toolTipStyle.display = 'none';
	else
		toolTipStyle.display = 'block';
	
}

var toggled = 0;
	
function toggleBoxes(type) {
	
	if (type == 'close') {
		document.getElementById('hideArea').style.display = 'none';
		toggled = 0;
	}
	else {
		
		if (toggled == type) {
			document.getElementById('hideArea').style.display = 'none';
			toggled = 0;
		}
		else {
			
			document.getElementById('hideArea').style.display = 'block';
			toggled = type;
			
		}
		
	}
	
}

function hideBanner(num) {

	toolTipStyle = document.getElementById('hideBanner').style;
	toolTipText = document.getElementById('hideText').style;
	
	if (num == 1) {
		toolTipStyle.display = 'none';
		toolTipText.display = '';
	}
	else {
		toolTipStyle.display = '';
		toolTipText.display = 'none';
	}

}