html, body, #container { 
	min-height: 100%; 
	width: 100%; 
	height: 100%;

}
html>body, html>body #container { 
	height: auto;

}
#container { 
	position: absolute; 
	top: 0; 
	left: 0;
}
#masterwrap {padding-bottom:50px;}
#footer {
	clear: both;
	bottom: 0;
	left: 0;
	border: none;
	width: 100%;
	height: 10px;
	padding-top:10px;
	margin-bottom:15px;
	border-top: solid 1px #ccc;
	font-family: Tahoma, Arial, sans-serif;
  	font-size: 70%;
	color:#aaa;
}
#footer p {
	padding-left:150px;
	margin:0;
}
/* hide from Mac IE5 */
/* \*/
#footer {
	position: absolute; 
}
/* */

/* Change in Opera 5+ (and some others) */
html>body div#footer {
    position: static;
}

/* Change back in everything except Opera 5 and 6, still hiding from Mac IE5 */
/* \*/
head:first-child+body div#footer {
    position: absolute;
}
/* */