function footerPlacement (myID) {
	var y;
	var measure	= 'tupperware';
	var pad		= 50;
	if (self.innerHeight) { y = self.innerHeight;}
	else if (document.documentElement && document.documentElement.clientHeight) { y = document.documentElement.clientHeight;}
	else if (document.body) { y = document.body.clientHeight;}
	footerHeight 	= document.getElementById(myID).offsetHeight;
	ruler			= document.getElementById(measure).offsetHeight;
	if((ruler - footerHeight + pad) <= y) {
		y = y - footerHeight;
		document.getElementById(myID).style.top=y+'px';
	} else {
		//relative
	}
}

window.onload	= function () { footerPlacement ('foot'); col2Checker();}
window.onresize	= function () { footerPlacement ('foot'); }

function col2Checker() {
	var obj = document.getElementById('col2');
	if(obj) {
		document.getElementById('col1').style.marginRight="230px";
	}
}


function inputFocus(obj) {
	obj.style.background='rgb(255,252,195)';
	obj.style.color='rgb(52,52,52)';
}

function inputBlur(obj) {
	obj.style.background='rgb(207,207,207)';
	obj.style.color='rgb(82,82,82)';
}
var what = false;

function display(obj) {
	if(what == false) {
		document.getElementById(obj).style.display="block";
		what = true;
	} else {
		document.getElementById(obj).style.display="none";
		document.getElementById('client').style.background='none';
		what = false;
	}
}