/**
 * TESOL Javascript Library
 * Rajeev Karajgikar
 * Copyright (c) 2005 Rajeev Karajgikar
 *
 * This software is provided "AS IS," without a warranty of any kind.
 */

        
function xpShowSection(Name,Name2) {
var xpBox1 = window.document.getElementById('xpBox1');
var ixpBox1 = window.document.getElementById('ixpBox1');
xpBox1.style.display='none';
ixpBox1.className='xp_not_selected';
var xpBox2 = window.document.getElementById('xpBox2');
var ixpBox2 = window.document.getElementById('ixpBox2');
xpBox2.style.display='none';
ixpBox2.className='xp_not_selected';
var xpBox3 = window.document.getElementById('xpBox3');
var ixpBox3 = window.document.getElementById('ixpBox3');
xpBox3.style.display='none';
ixpBox3.className='xp_not_selected';
var xpBox4 = window.document.getElementById('xpBox4');
var ixpBox4 = window.document.getElementById('ixpBox4');
xpBox4.style.display='none';
ixpBox4.className='xp_not_selected';
var xpBox5 = window.document.getElementById('xpBox5');
var ixpBox5 = window.document.getElementById('ixpBox5');
xpBox5.style.display='none';
ixpBox5.className='xp_not_selected';
var xpBox6 = window.document.getElementById('xpBox6');
var ixpBox6 = window.document.getElementById('ixpBox6');
xpBox6.style.display='none';
ixpBox6.className='xp_not_selected';
var xpBox7 = window.document.getElementById('xpBox7');
var ixpBox7 = window.document.getElementById('ixpBox7');
xpBox7.style.display='none';
ixpBox7.className='xp_not_selected';
var xpBox8 = window.document.getElementById('xpBox8');
var ixpBox8 = window.document.getElementById('ixpBox8');
xpBox8.style.display='none';
ixpBox8.className='xp_not_selected';

		var elem = document.getElementById(Name);
		elem.style.display='';
		var ielem = document.getElementById(Name2);
		ielem.className='xp_selected';

	return false;
}
               
function xpHighlight(xpAction,xpName) {
	       var elem = document.getElementById(xpName);
	if (xpAction == 'on') {
		elem.style.borderTopWidth= '3px';
		elem.style.borderLeftWidth= '3px';
		elem.style.borderRightWidth= '3px';
		elem.style.textDecoration='underline';
	
	}
		else {
		elem.style.borderTopWidth= '2px';
		elem.style.borderLeftWidth= '2px';
		elem.style.borderRightWidth= '2px';
		elem.style.textDecoration='none';
  }
	return false;
}

       
