html,body,#contents {
	min-height: 100%;
	width: 100%;
	height: 100%;
}

/*
 * The "height" above is a hack for IE5+/Win.  Below we adjust
 * it using the child selector to hide from IE5+/Win
 */
html>body,html>body #contents {
	height: auto;
}

/*
 * Without this, Moz1.0 adds a vertical scrollbar
 */
body {
	margin: 0;
	font-family: arial, sans-serif;
}

#contents {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
}

#footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	padding: 0;
	z-index: -1;
	background-image: url('../images/ui_footer_bg.png');
	background-repeat: no-repeat;
	background-position: top right;
	height: 250px;
}

#main {
	/*margin-bottom: 50px;*/
	height: auto;
	position: relative;
}
