document.write(
	'<div class="HomeMainFooter" id="footer"><div class="HomeMainFooterCenter">'+
	'	<p class="homeFooter">'+
	'		616.776.6408<span style="margin-left:14px"><a href="mailto:LetsTalk@1100Rooms.com" class="homeFooterLink">LETSTALK@1100ROOMS.COM</a></span>'+
	'	</p>'+
	'</div></div>'+
	
	'<!--[if lt IE 7]>'+
	'<style type="text/css">'+
	'	DIV.HomeMainFooter { position: absolute; }'+
	'</style>'+
	'<script type="text/javascript">'+
	'	window.setInterval(updateFooter, 50);'+
	'</script>'+
	'<![endif]-->'
);

var contentBg;
var contentSearch = false;

/*-----------------------------------------------------------------------------------*/
function updateFooter() {
	var e = document.getElementById('footer');
	e.style.top = (document.documentElement.scrollTop+document.documentElement.clientHeight-23)+'px';
	
	if ( !contentSearch ) {
		contentSearch = true; 
		contentBg = getElementByClass("InnerContentBg");
	}
	
	if ( contentBg != null ) {
		contentBg.style.top = document.documentElement.scrollTop+'px';
		contentBg.style.height = (document.documentElement.clientHeight-23)+'px';
	}
	
	var head = document.getElementById('header');
	
	if ( head != null ) {
		var w = getWindowW();
		head.style.width = Math.max(950, w)+'px';
	}
}

/*-----------------------------------------------------------------------------------*/
function getWindowW() {
	if ( typeof(window.innerWidth) == 'number' ) { return window.innerWidth; }
	
	var de = document.documentElement;
	if ( de && de.clientWidth ) { return de.clientWidth; }
	
	var db = document.body;
	if ( db && db ) { return db.clientWidth; }
}

/*-----------------------------------------------------------------------------------*/
function getElementByClass(c) {
	var a = document.getElementsByTagName("*");
	
	for ( i = 0 ; i < a.length ; i++ ) {
		if ( a[i].className == c ) { return a[i]; }
	}
}