//+++++++ Home Page Menu Background Color Rollover +++++++
/* changes menu cell background color  */
function homeMenuOn(obj) {
  if (!document.getElementById) {
    return;
  } else {
    // obj.style.backgroundColor = '#ddeeff';
    // obj.style.backgroundColor = '#ccddff';
    obj.style.backgroundColor = '#ccddaa';
  }
}

function homeMenuOff(obj) {
  if (!document.getElementById) {
    return;
  } else {
    obj.style.backgroundColor = '';
  }
}
//+++++ end Home Page Menu Background Color Rollover +++++

function getpdfplugin() {
  if(document.getElementById){
    document.getElementById('pdfpluginspan').style.color='#cc0000';
    document.getElementById('pdfpluginspan').style.border='1px solid #cc0000';
  }else{
    return;
  }
}

// open window script
function openwin(site,wid,ht){
var newwin = window.open(site,"sitepopup","resizable=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,toolbar=0,width="+wid+",height="+ht+",top=50,left=150");
}

// css fix for NS4
if (document.layers){
var nsCss = '<style type="text/css"><!-- ';

nsCss += 'div.commonLink {line-height:20px;height:20px;}';
nsCss += 'div.optionLink {line-height:20px;height:20px;}';
nsCss += '.commonLink a {text-decoration:underline;}';
nsCss += '.optionLink a {text-decoration:underline;}';

nsCss += '.centerCommonLinksSpan a {text-decoration:underline;}';
nsCss += '.centerOptionLinksSpan a {text-decoration:underline;}';
nsCss += '.nowrap a {text-decoration:underline;}';

nsCss += '.centerFooterLinks a {text-decoration:underline;}';
nsCss += '.sublinkR {text-decoration:underline;}';
nsCss += '.centerCommonLinks {line-height:28px;}';
nsCss += '.centerCommonLinksBG {float:both;}';
nsCss += '.centerOptionLinks {line-height:28px;}';
nsCss += '.centerOptionLinksBG {float:both;}';
nsCss += 'div {font: 500 12px arial, helvetica, sans-serif; color: #333333;}';
nsCss += 'div.htadj200 {line-height:200px;}';
nsCss += 'div.htadj100 {line-height:100px;}';
nsCss += 'div.htadj50 {line-height:50px;}';
nsCss += '#newslist {border:1px solid #339966;width:240px;}';

nsCss += '.bkgImage, .centerContent, .headerRow, .headBG, .topLeftCorner, .topLogo, .topTitleAddress, .topRightCorner, .searchImageDiv, .commonLinksRow, .commonLinksDiv, .commonLinksBG, .commonLinks, .commonLinksSpan, .commonLinksDot, .bcOuterOuter, .bcOuter, .bcrumb, .id="contentDiv, .spacerH1, .c1, .c2, .column1, .ColumnOneCell, .ColumnOneRow, .column2, .ColumnTwoCell, .ColumnTwoRow, .column3, .ColumnThreeCell, .ColumnThreeRow, .c5, .divadj, .footerRow, .footerDiv, .bottomLeftCorner, .centerFooterLinks, .nowrap, .bottomRightCorner, .clearBoth, .lastModRow, .lastModDiv, .lastModBG';
nsCss += '{background-color: #ffffff; background-image: none;}';

nsCss += ' --></style>';
document.write(nsCss)
}

//GLOBAL FUNCTION TO EXPAND AND CONTRACT DIVs
function showDiv(divID,showText,hideText){
	if (!document.getElementById)
	return
	if (document.getElementById(divID).style.display==""){
	document.getElementById(divID).style.display="none";
	document.getElementById('showId').innerHTML=showText;
	}	
	else {
	document.getElementById(divID).style.display="";
	document.getElementById('showId').innerHTML=hideText;
	}
}

