//HIGHLIGHT CURRENT PAGE

var CurPage = '';

linkCounter = 0;

var alllinks = '';

	function linkPos(obj){

		CurPage = window.location.href;

		var CounterEnabled = 'Y';

		alllinks = document.links.length;
		
		for (var i = 0; i < document.links.length; i++)
		{

		if (document.links[i].href == CurPage && document.links[i]. childNodes[0].tagName == 'EM')
			{
			document.links[i].childNodes[0].style.backgroundColor = '#000099';
			document.links[i].childNodes[0].style.color = '#fff';

			CounterEnabled = 'N';
			}else{
				if(CounterEnabled == 'Y')	
				{
				linkCounter = parseInt(linkCounter+1);	
				}
			}

		}

	}


// FIELD HIGHLIGHT

	function brdrON(obj){
		obj.style.borderColor = '#aaa';
		obj.style.background = '#fff';
		}

	function brdrOFF(obj){
		obj.style.borderColor = '#eee';
		obj.style.background = '#eee';
		}
