/* Website: fitonez.co.nz (2593) */ 
html {
  font-size: 1em;
  line-height: 120%;
  padding: 0;
}
body {
  background: transparent url('../images/bg.jpg') left top repeat;
  color: #0d0d74;
  font-family: arial, Verdana, Helvetica, Geneva, Swiss, Sans-serif;
  font-size: 1.0em;
  margin: 0 auto;
  min-width: 999px;
  padding: 0;
  text-align: center;
}
table {
  background: #f1f1f1;
  border: 1px solid #aaa;
  margin: 25px 0 20px 0;
  width: 98%;
}
td {
  font-size: 1.0em;
  padding: 3px 2px 3px 2px;
  vertical-align: top;
}
#wrap1 {
/*  background: transparent url('../images/wrap1.jpg') left top no-repeat; */
  background: #fff;
  margin: 0 auto 0 auto;
  padding: 0 0 0 0;
  text-align: left;
  width: 999px;
}
#wrap2 {
/*  background: transparent url('../images/wrap2.jpg') right top no-repeat; */
}
#wrap3 {
/*  background: transparent url('../images/wrap3.jpg') right bottom no-repeat; */
}
#wrap4 {
/*  background: transparent url('../images/wrap4.jpg') left bottom no-repeat; */
}
#header {
  height: 185px;
}
#header img {
  border: 0;
}
#headertext {
  left: 0;
  position: absolute;
  top:0;
}
#topmenu {
background: #0d0d74; 
 line-height: 2.9em;
}
#topmenu ul {
  line-height: 2.4em;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 10;
}
#topmenu ul#nav li {
  display: inline;
  float: left;
  list-style-type: none;
  padding: 0;
}
#topmenu ul#nav li a {
background: #0d0d74;  
color: #FFFFFF;
display: block;
font-size : 1.5em;
font-family: Times New Roman;
font-style: ;
font-weight : ;
  padding: 0 15px 0 15px;
}
#topmenu ul#nav li a:hover {
background: #ADFF2F; 
color: #0d0d74;
}
#topmenu ul#nav li ul li {
  display: none;
}
#topmenu #nav li:hover ul ul,#topmenu #nav li:hover ul ul ul,#topmenu #nav li.sfhover ul ul,#topmenu #nav li.sfhover ul ul ul{
  left:-999em;
}
#topmenu #nav li:hover ul,#topmenu #nav li li:hover ul,#topmenu #nav li li li:hover ul,#topmenu #nav li.sfhover ul,#topmenu #nav li li.sfhover ul,#topmenu #nav li li li.sfhover ul{
  left:auto;
}
/* Left hand area */
#sidebar-wrap {
  background: transparent;
  float: left;
  margin: 0 0 0 0;
  padding: 0 0 0 0;
  width: 135px;
}
#sidebar-top {
  width: 135px;
}
#sidebar {
/*  background: transparent url('../images/sidebar.jpg') left top repeat-y; */
  background: transparent;
  float: left;
  margin: 40px 0 0 0;
  padding: 0;
  width: 135px;
}
/* Left hand navigation (Standard menu)*/
#sidebar #nav, #nav ul {
  margin: 0;
  padding: 0;
  line-height: 1.3em;
  z-index: 10;
}
#sidebar #nav li {
	border-bottom: 1px solid #D4D4D4;
	border-top: 1px solid #D4D4D4;
  list-style-type: none;
  margin-bottom: 1px;
  padding: 0;
  width: 135px;
}
#sidebar #nav li a {
/*  background: transparent url('../images/li.gif') left bottom no-repeat; */
  color: #0d0d74;
  display: block;
  font-size : 0.9em;
  font-weight : bold;
  padding: 0 0 0 5px;
  text-decoration:none;
}
#sidebar #nav li ul li {
  border: none;
  padding-left: 15px;
	width: 135px:
}
#sidebar #nav li ul li a {
  background: none;
  font-weight: normal;
}
#sidebar #nav li.active a {
  color: #000;
}
#sidebar #nav li a:hover {
/*  background: transparent url('../images/li-hover.gif') left bottom no-repeat; */
  background: #ADFF2F;
  color: #000;
  text-decoration:none;
}
#sidebar #nav li:hover ul ul,#sidebar #nav li:hover ul ul ul,#sidebar #nav li.sfhover ul ul,#sidebar #nav li.sfhover ul ul ul{
  left:-999em;
}
#sidebar #nav li:hover ul,#sidebar #nav li li:hover ul, #sidebar #nav li li li:hover ul,#sidebar #nav li.sfhover ul,#sidebar #nav li li.sfhover ul,#sidebar #nav li li li.sfhover ul{
  left:auto;
}
/* Left hand navigation (Split menu)*/
/* wrapper for Left + middle on 3 col layouts. Not present on 1 or 2 col */
#content-container {
  float: left;
  width: 799px;
}
/* Right hand area */
#content-right {
  float: right;
  margin: 0 0 0 0;
  padding: 0 0 0 0;
  width: 200px;
}
/* Middle area - main content */
#content-wrap {
  float: right;
  margin: 0 0 0 0;
  padding: 0 10px 0 10px;
  width: 744px;
}
#content-wrap.one-col {
  width: 979px;
}
#content-wrap.two-col-b {
  width: 779px;
}
#content-wrap.three-col {
  width: 644px;
}
#content {
  min-height: 600px;
  overflow: auto;
  padding: 0 10px 20px 15px;
}
/* Text settings */
p {
  margin: 10px 0;
}
h1 {
/*  background: transparent url('../images/h1.gif') left bottom no-repeat; */
  border-bottom: 2px solid #999; 
  color: #0D0D74; 
  font-family: Times New Roman;
  font-style: italic;
  letter-spacing: 1px; 
  margin: 15px 0 10px 15px; 
  padding: 5px 5px 5px 0; 
  text-align: left;
}
h2 {
/*  background: transparent url('../images/h2.gif') left bottom no-repeat; */
  border-bottom: 1px solid #eee; 
  color: #333; 
  letter-spacing: 1px;
}
h3 {
/*  background: transparent url('../images/h3.gif') left bottom no-repeat; */
  border-bottom: 2px solid #7FFF00; 
  color: #0D0D74; 
  font-family: Times New Roman;
  font-style: italic;
  letter-spacing: 1px; 
  margin: 15px 0 10px 15px; 
  padding: 5px 5px 5px 0; 
  text-align: left;
}
h4 {
/*  background: transparent url('../images/h4.gif') left bottom no-repeat; */
  color: #666;
  font-weight: bold;
  letter-spacing: 1px;
}
h5 {
/*  background: transparent url('../images/h5.gif') left bottom no-repeat; */
  border-bottom: 1px solid #999;
  color: #999;
  font-weight: bold;
  letter-spacing: 1px;
}
h6 {
  background: transparent url('../images/h6.gif') left bottom no-repeat; 
  border-bottom: 1px solid #999;
  color: #999;
  font-weight: bold;
}
input, select, textarea {
	font: 1.0em Verdana, Arial, Helvetica, sans-serif;
}
a:link {
  color: #636363; 
}
a:visited {
  color: #bbb; 
}
a:active {
  color: #aaa; 
}
a:hover {
  color: #00f; 
  text-decoration: underline;
}
#box {
  background: transparent url('../images/bg-box.gif') left bottom repeat-x;
  border: 1px solid #999; 
  color: #666;
  margin: 15px 5px 5px 5px; 
  padding: 10px;
  text-align: justify;
	width: 150px;
}
.right {
  float: right; 
}
.left {
  float: left; 
}
/* Footer area */
#footer-top { 
  color: #000; 
}
#footer {
  height: 145px;
}
#footer {
  background: transparent url('../images/footer2.jpg') left bottom repeat-x; 
  color: #fff; 
  clear: both; 
  font-size: 0.9em; 
  line-height: 115%; 
  margin: 10px 0 0 0; 
  padding: 5px 0 0 0; 
  text-align: center;
}
#footer a {
  text-decoration: none;
}
#footer a:hover {
  text-decoration: underline;
}
#footer-nav li {
  border-left: 1px solid #444;
  display: inline;
  list-style-type: none;
  margin: -2px !important;
  margin: 0;
  padding: 0 5px;
}
#footer-nav li.first {
  border-left: 0;
}
#footer-nav li a {
  text-decoration: none;
}
#footer-nav li a:hover {
  text-decoration: underline;
}
#footer-nav ul li a:link {
  color: #FFFFFF;
}
#credits {
  font-size: 0.8em;
}
/* Used for clearing floats */
div.clear {
  clear: both;
}
.form {
  background:#f1f1f1;
  border:0;
  font-size:0.8em;
  padding:3px;
  width:100%;
}
/* Product Database displays */
.productitem {
  border-bottom: 1px solid #aaa;
}
.productitem {
  border-bottom: 1px solid orange;
}
.productimage {
  border:0;
  float:right;
  margin:5px;
}
.productname {
  font-size:1.4em;
  font-weight:700;
}
.productcode {
  font-style:italic;
}
.pq {
  background: #ADFF2F;
  border-bottom: 1px solid #000;
  border-top: 1px solid #000;
  color: #0000FF;
  float: right;
  font-family: Times New Roman; 
  font-size: 1.4em;
  font-style: italic;
  font-weight: 700;
  margin: 15px 5px 15px 15px;
  padding: 15px;
  width: 200px;
}
.feature {
  background: #0d0d74;
  color: fff;
  font-family: ; 
  font-size: 1.2em;
  font-style: ;
  font-weight:;
  text-align: center;
}
.ancalc {
	text-align:center;
}
.ancalc table {
	margin-right:auto;
	margin-left:auto;
	clear:both;
	width:600px;
	border-collapse:collapse;
	empty-cells:show;
	background-color:rgb(233,232,244);
}
.ancalc th.top {
	padding:0 0px 0 0px;
	empty-cells:show;
	background-color:rgb(175,175,175);
	color:rgb(255,255,255);
	font-weight:bold;
	font-size:120% !important;
}
.ancalc th {
	height:3em;
	border:solid 2px rgb(245,245,245);
	background-color:rgb(225,225,225);
	text-align:inherit;
	color:rgb(80,80,80);
	font-weight:bold;
	font-size:100% !important;
	font-size:90%;
}
.ancalc .head {
	height:3em;
	border:solid 2px rgb(245,245,245);
	background-color:#CCF;
	text-align:inherit;
	color:rgb(80,80,80);
	font-weight:bold;
	font-size:100% !important;
	font-size:90%;
}
.ancalc td {
	border:solid 2px rgb(245,245,245);
	background-color:#FFF;
	text-align:left;
}
.ancalc input.output {
	border:solid 0px rgb(245,245,245);
	background-color:#FFF;
}
.style1 {
	font-size: x-large
}
.style2 {
	color: #336699
}
.style3 {
	color: #336699;
	font-weight: bold;
	font-size: x-large;
}
.style4 {
	font-size: medium;
	font-weight: bold;
}
function calcBMI(height,weight) {
		//( Weight in Kilograms / ( Height in Meters ) x ( Height in Meters ) )
		var bmi = weight/((height/100)*(height/100));
		return bmi.toFixed(2);
	}
	function calcBMIUK(height_foot,height_inch,weight_stone,weight_pound) {
		//( Weight in Pounds / ( Height in inches ) x ( Height in inches ) ) x 703
		var height = (height_inch + (height_foot*11.999));
		var weight = weight_pound + (weight_stone*14);
		var bmi = (weight/(height*height))*703;
		return bmi.toFixed(2);
	}
	function showBMI1() {
		document.getElementById('bmi1').style.display = 'block';
		document.getElementById('bmi2').style.display = 'none';
		document.getElementById('bmiTab1').className = 'bmiTab1selected';
		document.getElementById('bmiTab2').className = 'bmiTab2';
	}
	function showBMI2() {
		document.getElementById('bmi1').style.display = 'none';
		document.getElementById('bmi2').style.display = 'block';
		document.getElementById('bmiTab2').className = 'bmiTab2selected';
		document.getElementById('bmiTab1').className = 'bmiTab1';
	}/www/k5 

