if (document.getElementById || document.all) { // minimum dhtml support required
	document.write("<"+"script type='text/javascript' src='../js/x/x_core.js'><"+"/script>");
	document.write("<"+"script type='text/javascript' src='../js/x/x_event.js'><"+"/script>");
	window.onload = winOnLoad;
}

function winOnLoad() {
	var ele = xGetElementById('bkg_flash');
	if (ele && xDef(ele.style, ele.offsetHeight)) { // another compatibility check
		adjustLayout();
		xAddEventListener(window, 'resize', winOnResize, false);
	}  
}

function winOnResize() {
  adjustLayout();
}

function adjustLayout() {
	var hHeight = xHeight('holder');
	var bHeight = xHeight('s_body');
	if (hHeight > bHeight) {
		xHeight('bkg_flash', hHeight);
	}
	
}


