
<!--
if (parent.frames.length) 
  top.location.href= document.location;	
// -->

<!--
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 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";}
        }
}




//-->


<!--
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()
}
// -->



<!-- script for matching columns -->
/* 
Derived from a script by Alejandro Gervasio. 
Modified to work in FireFox by Stefan Mischook for Killersites.com

How it works: just apply the CSS class of 'column' to your pages' main columns.
*/
matchColumns=function(){ 

     var divs,contDivs,maxHeight,divHeight,d; 
	
     // get all <div> elements in the document 

     divs=document.getElementsByTagName('div'); 

     contDivs=[]; 

     // initialize maximum height value 

     maxHeight=0; 

     // iterate over all <div> elements in the document 

     for(var i=0;i<divs.length;i++){ 

          // make collection with <div> elements with class attribute 'container' 

          if(/\bcolumn\b/.test(divs[i].className)){ 

                d=divs[i]; 

                contDivs[contDivs.length]=d; 

                // determine height for <div> element 

                if(d.offsetHeight){ 

                     divHeight=d.offsetHeight; 					

                } 

                else if(d.style.pixelHeight){ 

                     divHeight=d.style.pixelHeight;					 

                } 

                // calculate maximum height 

                maxHeight=Math.max(maxHeight,divHeight); 

          } 

     } 

     // assign maximum height value to all of container <div> elements 

     for(var i=0;i<contDivs.length;i++){ 

          contDivs[i].style.height=maxHeight + "px"; 

     } 

} 

// Runs the script when page loads 

window.onload=function(){ 

     if(document.getElementsByTagName){ 

          matchColumns();			 

     } 

} 

<!-- end script for matching columns -->
