html {
  width:100%; height:100%;
  overflow:hidden;
}

body {
  width:100%; height:100%;
  margin:0; padding:0;
  overflow:auto;
  color:#000000;
  font-family: verdana,arial;
  font-size: 12px;
}

form>input {margin: 10px; }

input,textarea,select {
	background-color: #FAFAFA;
	color: #333;
	border: 1px #999999 solid;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	text-decoration: none;
	font-size: small;
}

#main {
  position:absolute;
  top:0; left:0; right:0; bottom:0;
  margin:10px; padding:0px;
  background: #FFCC66;
  width: expression(document.body.offsetWidth-40);
  height: expression(document.body.offsetHeight-40);
}

#header,#header a {
  position: relative;
  width: 100%;
  height: 40px;
  line-height: 40px;
  background: #FF9900;
  text-align: center;
  vertical-align : middle;
  color: #FFFFCC;
  font-size: 18px;
  font-weight: bold;
}

#footer {
  position: absolute;
  bottom: 0;left: 0;
  height: 40px;
  line-height: 40px;
  width: 100%;
  background: #FF9900;
  color: #000000;
  font-family: verdana,arial;
  font-size: 12px;
  font-weight: bold;
  vertical-align : middle;
}

#contents {
  position: absolute;
  background: #FFCC66;
  left:0; top:40px ; bottom: 40px; right:0;
  width: 100%;
}


#search {
  float: left;
  position: absolute;
  top:0px;left:0px;bottom:0px;
  padding: 0px;
  margin-left: 10px;
  margin-bottom:0px;
  background: #000000;
  height: expression(document.body.offsetHeight-120);
  width: 300px;
}

#search_box {
  position: absolute;
  top:0px;left:0px;right:0px;
  height: 150px;
  background: #FFFFFF;
}

#search_res {
  position: absolute;
  top:150px;left:0px;bottom:0px;right:0px;
  margin-top: 1px;
  padding: 5px;
  background: #FFEE99;
  overflow: auto;
  font-size: 11px;
  height: expression(this.parentNode.clientHeight-160);
}

#YMapsID {
 position: absolute;
 top:0px; right: 10px; bottom:0px; left: 320px;
 background: #FFFFFF;
 height: expression(document.body.offsetHeight-120);
 width: expression(document.body.offsetWidth-370);
}
#search_addr_div, #search_name_div , #search_cat_div{text-align: center; margin:10px;}
#search_name_div, #search_cat_div {display:none;}
