function getInnerDim() {
	//if browser supports window.innerWidth
	if (window.innerWidth) {
		dimX = window.innerWidth;
		dimY = window.innerHeight;
	}
	//else if browser supports document.all (IE 4+)
	else if (document.all) {
		dimX = document.body.clientWidth;
		dimY = document.body.clientHeight;
	}
	return new Array(dimX, dimY);
}

function onFocusSearch(ctrl){
	if (ctrl.value == "Search")
		ctrl.value="";
}

