<!--
menu_status = new Array();

function showHide(theid){
    if (document.getElementById) {
    var switch_id = document.getElementById(theid);

        if(menu_status[theid] != 'show') {
           switch_id.className = 'show';
           menu_status[theid] = 'show';
        }else{
           switch_id.className = 'hide';
           menu_status[theid] = 'hide';
        }
    }
}

//-->


<!--
function DropdownSelect(newLoc) {
	newPage = newLoc.options[newLoc.selectedIndex].value
	
	if (newPage != ""){
		window.location.href = newPage
	return true
	}
}
// -->

<!--
function advisorpage(url, windowtarget) 
{
    hcpopup=window.open(
        url, 
        windowtarget,
        'width=625,height=475,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1');
hcpopup.focus()
}
// -->

<!-----
function GoTo(uRl, setName, setWidth, setHeight, setToolbar, setLocation, setDirectories, setStatus, setMenubar, setScroll, 
setResize) {
//Set default in case nothing is specified "1" is show "0" is no show
if(!uRl){uRl="http://healthcommunities.com";}     //URL      
if(!setName){setName="_blank";}                         //Name of the window for targets
if(!setWidth){setWidth="750";}                          //Size Width: pixels
if(!setHeight){setHeight="500";}                        //Size Height: pixels
if(!setToolbar){setToolbar="1";}                        //Toolbar: 1 or 0
if(!setLocation){setLocation="1";}                      //Location Bar: 1 or 0
if(!setDirectories){setDirectories="0";}        //Extra buttons: 1 or 0
if(!setStatus){setStatus="1";}                          //Status bar: 1 or 0
if(!setMenubar){setMenubar="1";}                        //File Menubar: 1 or 0
if(!setScroll){setScroll="1";}                          //Scroll: 1 or 0
if(!setResize){setResize="1";}                          //Resizable: 1 or 0

window.open(uRl, 
setName, 
"width=" + setWidth +
",height=" + setHeight +
",toolbar=" + setToolbar +
",location=" + setLocation +
",directories=" + setDirectories +
",status=" + setStatus +
",menubar=" + setMenubar +
",scrollbars=" + setScroll +
",resizable=" + setResize)
}


//Detect Browser

function detectBrowser()
{
var browserName = navigator.appName;
var browserVer = parseInt ( navigator.appVersion ); 
if ( browserName == "Netscape" && browserVer >= 4 ) browserUsed="ns4";
if ( browserName == "Microsoft Internet Explorer" && browserVer >=4 ) browserUsed="ms4";
if ( browserName == "Netscape" && browserVer < 4  ) browserUsed="ns3";
if ( browserName == "Microsoft Internet Explorer" && browserVer <4 ) browserUsed="ms3";
if ( browserName != "Microsoft Internet Explorer" && browserName != "Netscape")  
browserUsed=0;
return  browserUsed;
}
function switchOn(imgName) 
{
detectBrowser()
        if (browserUsed != "ms3")
        {
                if (document.images){document[imgName].src =  "/common/Images/curOn.gif";}
        }
}
function switchOff(imgName) 
{
detectBrowser()
        if (browserUsed != "ms3")
        {
                if (document.images){document[imgName].src = "/common/Images/spacer.gif";}
        }
}




//-->
