function resizeElement(target,width,height) {
//alert("FUNCTION CALLED"+target+" "+width+","+height);
	var windowHeight = window.innerHeight ? window.innerHeight : document.documentElement.clientHeight ? document.documentElement.clientHeight : 	document.body.clientHeight;
	
	var finalH = 0;
	
	if( windowHeight >= height) {
		finalH = windowHeight;
	} else {
		finalH = height;
	}

	if (document.all && !document.getElementById) {
		document.all[target].style.pixelWidth = width;
		document.all[target].style.pixelHeight = finalH;
		
	} else {
	//alert("TEST:"+document.getElementById("centerColumn").innerHTML);
	
		document.getElementById(target).style.width = width+"px";
		document.getElementById(target).style.height = finalH+"px";

	}
	
}

function scrollX() {
	return window.pageXOffset ? window.pageXOffset : document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft;
}
function scrollY() {
	return window.pageYOffset ? window.pageYOffset : document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop;
}


function scrollContent(delta) {
	//alert('scroll');
	var cur = scrollY();
	
	cur += -delta*10;
	
	window.scrollTo(0, cur);
}
