/************position footer**************/

		<!--
		function getWindowHeight() {
			var windowHeight = 0;
			if (typeof(window.innerHeight) == 'number') {
				windowHeight = window.innerHeight;
			}
			else {
				if (document.documentElement && document.documentElement.clientHeight) {
					windowHeight = document.documentElement.clientHeight;
				}
				else {
					if (document.body && document.body.clientHeight) {
						windowHeight = document.body.clientHeight;
					}
				}
			}
			return windowHeight;
		}
		
		
/******************max full-strip ************/



/*function setFooter() {
	var pageHeight = document.body.clientHeight;	
	var windowHeight = getWindowHeight();

	var bannerElement = document.getElementById('banner');
	var bannerHeight = bannerElement.offsetHeight;
	
	var lowrowElement = document.getElementById('lowrow');
	var lowrowHeight = lowrowElement.offsetHeight;
	
	var mainElement = document.getElementById('main');
	var mainHeight = mainElement.offsetHeight;	

	var fullstripElement = document.getElementById('full-strip');
	var x = fullstripElement.style.offsetHeight;

	if (windowHeight > pageHeight) {
			//fullstripHeight = 
			fullstripElement.style.height = 
			(windowHeight - ( ( (lowrowHeight + bannerHeight)+ mainHeight ) + 90 )+ 'px');
						
	}
else {
			fullstripElement.style.height = (pageHeight - (((lowrowHeight + bannerHeight) +mainHeight ) + 90 )  +'px');
			}
}


window.onload = function() {
	setFooter();
}
window.onresize = function() {
	setFooter();
}


/****************************************where no full-strip max main div****************/


/*
function setFooterByMain() {
	var pageHeight = document.body.clientHeight;	
	var windowHeight = getWindowHeight();

	var bannerElement = document.getElementById('banner');
	var bannerHeight = bannerElement.offsetHeight;
	
	var lowrowElement = document.getElementById('lowrow');
	var lowrowHeight = lowrowElement.offsetHeight;

	var mainElement = document.getElementById('main');
	var y = mainElement.style.offsetHeight;

	if (windowHeight > pageHeight) {
		 
			mainElement.style.height = 
			(windowHeight - ( (lowrowHeight + bannerHeight) + 25 ) +'px');
						
	}
else {
			mainElement.style.height = (pageHeight - ((lowrowHeight + bannerHeight ) + 25 ) +'px');
			}
}


window.onload = function() {
	setFooterByMain();
}
window.onresize = function() {
	setFooterByMain();
}



*/


/*****************popup window for external sites*********************/

function poptastic(url)
{
	newwindow=window.open(url,'name1','height=533,width=785');
	if (window.focus) {newwindow.focus()}
}


function poptasticfull(url)
{
	newwindow=window.open(url,'name2',',left=0,top=0,resizable=yes,scrollbars=yes,toolbar=yes,status=yes,location=yes' );
	if (window.focus) {newwindow.focus()}
}



