<!--

function setFinder()
{
//	alert('in setFinder');
	// get top position of Marker (copyright)
	var myMark = document.getElementById('marker');
	var myMarkTop = findPos(document.getElementById('marker'));
//	alert('got myMark:');
	//get top position of TDMBtn1a
	var myTD = document.getElementById('TDMBtn1a')
	var myTDtop = findPos(myTD);
//	alert('got myTD');
	//get innerheight of browser window
	var myWinH = findWinH();
//	alert('got myWinH:' & myWinH);
//	test vars
//	alert('myMarkTop=' + myMarkTop + ', myTDtop=' + myTDtop + ', myWinH=' + myWinH);
	//test heights to find the longest and use it for height of blue bar
	var blueHeight;
	if(myMarkTop > myTDtop && myMarkTop > myWinH)
	{
			blueHeight = myMarkTop - myTDtop + 0;

//	alert('Option #1');
//	alert('myMarkTop=' + myMarkTop);
//	alert('myTDtop=' + myTDtop);
//	alert('blueHeight=' + blueHeight);
	}
	else if(myTDtop > myMarkTop && myTDtop > myWinH)
	{
		blueHeight = 25;

//	alert('Option #2');
//	alert('blueHeight=' + blueHeight);
	}
	else if(myWinH > myMarkTop && myWinH > myTDtop)
	{
			blueHeight = myWinH - myTDtop - 40;

//	alert('Option #3');
//	alert('myWinH=' + myWinH);
//	alert('myTDtop=' + myTDtop);
//	alert('blueHeight=' + blueHeight);
	}
	else if(myMarkTop > myTDtop && myMarkTop == myWinH)
	{
		blueHeight = myWinH - myTDtop + 100;

//	alert('Option #4');
//	alert('myWinH=' + myWinH);
//	alert('myTDtop=' + myTDtop);
//	alert('blueHeight=' + blueHeight);
	}
	else
	{
//	alert('Option #5');
//		alert('myWinH = ' + myWinH + ', myTDtop = ' + myTDtop + ', myMarkTop = ' + myMarkTop);
	}

	var blueHeightStr = blueHeight + 'px';
//	alert('blueHeightStr = ' + blueHeightStr);
	
	document.getElementById('TDMBtn1a').style.height= blueHeightStr;

// get Window Width, set banner equations graphic
///	var myWinW = findWinW();
///	if(myWinW > 1000)
///	{
//		alert('myWinW = ' + myWinW);
		
//		var myEQ = document.getElementById('EQ').src;
//		alert('myEQ=' + myEQ);

///		document.getElementById('EQ').src='/HeaderC_L.JPG';
///	}
///	else
///	{
///		document.getElementById('EQ').src='/HeaderC.JPG';		
///	}

}

function findWinH()
{
	var myWidth = 0, myHeight = 0;
	if( typeof( window.innerWidth ) == 'number' )
	{
    	//Non-IE
		myWidth = window.innerWidth;
    	myHeight = window.innerHeight;
	}
	else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) )
	{
    	//IE 6+ in 'standards compliant mode'
    	myWidth = document.documentElement.clientWidth;
    	myHeight = document.documentElement.clientHeight;
  	}
  	else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) )
  	{
    	//IE 4 compatible
    	myWidth = document.body.clientWidth;
    	myHeight = document.body.clientHeight;
  	}
  	return myHeight;
//  window.alert( 'Width = ' + myWidth );
//  window.alert( 'Height = ' + myHeight );

}


function findPos(obj) {
	var curleft = curtop = 0;
	if (obj.offsetParent) {
		curleft = obj.offsetLeft
		curtop = obj.offsetTop
		while (obj = obj.offsetParent) {
			curleft += obj.offsetLeft
			curtop += obj.offsetTop
		}
	}
	return curtop;
//	return [curleft,curtop];
}


function findWinW()
{
	var myWidth = 0, myHeight = 0;
	if( typeof( window.innerWidth ) == 'number' )
	{
    	//Non-IE
		myWidth = window.innerWidth;
    	}
	else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) )
	{
    	//IE 6+ in 'standards compliant mode'
    	myWidth = document.documentElement.clientWidth;
    }
  	else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) )
  	{
    	//IE 4 compatible
    	myWidth = document.body.clientWidth;
    }
  	return myWidth;
//  window.alert( 'Width = ' + myWidth );

}

//-->