/*
 *	Helper Functions for Wrapping Menu
 *	Jeffrey Harris 2006
 *
*/


var wrappingRowX=null, wrappingRowY=null;


function OnResize() {
	
}



function OnWindowLoad(){
	
	if (wrappingRowY != null) {
		var menuStartHeight = 200;
		spacerHeight = wrappingRowY - menuStartHeight + 35;
		
		//display menu end image
		//document.getElementById('MenuEnder').style.left = wrappingRowX + 'px';
		//document.getElementById('MenuEnder').style.top = wrappingRowY + 'px';
		//if (wrappingRowY > menuStartHeight) {
		//	document.getElementById('MenuEnder').style.display='block';
		//}
	}
	else {
		spacerHeight = 35;
	}
	document.getElementById('DynamicMenuSpacer').style.height = spacerHeight + 'px';
	
	
}

window.onresize = OnResize;
window.onload = OnWindowLoad;