function FixBoxModel(bForce){
	if(!window.external || document.compatMode=="CSS1Compat" || navigator.platform=="MacPPC")
		return;
	for(var i=0, S=document.styleSheets, il=S.length, C, R; i<il; i++){
		C = S[i]; if(!C) continue;
		FixBoxModelCollection( C, bForce );
	}
}

function FixBoxModelCollection( oStyleCol, bForce ){
	var I = oStyleCol.imports;
	for(var a=0, al=(I?I.length:0); a<al; a++){
		FixBoxModelCollection( I[a], bForce );
	}
	var R = oStyleCol.rules; if(!R) return;
	for(var j=0, jl=R.length, CR, CS; j<jl; j++){
		CR = R[j]; if(!CR) continue;
		CS = CR.style; if(!CS) continue;
		FixBoxModelStyle( CS, bForce );
	}
}
function FixBoxModelStyle(oStyle, bForce){
	if(!oStyle || (oStyle.FixBoxModelDone&&!bForce)) return;
	var p = FixBoxModel_parseInt;
	var re = /([.0-9]*)(.+)/;
	var r = oStyle.width.match(re);
	if(r && r[2].toLowerCase()!='auto') {
		var cWidth = p(r[1]), uWidth=r[2];
		var wBorder = p(oStyle.borderLeftWidth) + p(oStyle.borderRightWidth);
		var wPadding = p(oStyle.paddingLeft) + p(oStyle.paddingRight);
		if(wBorder>0||wPadding>0) oStyle.width = (cWidth + wBorder + wPadding) + uWidth;
	}
	r = oStyle.height.match(re);
	if(r && r[2].toLowerCase()!='auto') {
		var cHeight = p(r[1]), uHeight = r[2];
		var hBorder = p(oStyle.borderTopWidth) + p(oStyle.borderBottomWidth);
		var hPadding = p(oStyle.paddingTop) + p(oStyle.paddingBottom);
		if(hBorder>0||hPadding>0) oStyle.height = (cHeight + hBorder + hPadding) + uHeight;
	}
	oStyle.FixBoxModelDone = true;
}
function FixBoxModel_parseInt(s){
	return parseInt(s)||0;
}
FixBoxModel();


function returnDiv(id) { 
      if (document.all) // IE 
      { 
           var div = document.all(id).style; 
      } 
      else if (document.layers) // NS4 
      { 
           var div = document.layers[id]; 
      } 
      else if (document.getElementById) // NS6 
      { 
           var div = document.getElementById(id).style; 
      } 
      return div; 
 }
 
function nav_over(nav_item)
{
	var div = returnDiv(nav_item); 
	div.bgColor = "#1672ad"; 
	div.backgroundColor = "#1672ad"; 
}

function nav_out(nav_item)
{
	var div = returnDiv(nav_item); 
	div.bgColor = "#6297ca"; 
	div.backgroundColor = "#6297ca"; 
}