
/*var ns4 = document.layers;
var ns6 = document.getElementById && !document.all;
var ie4 = document.all;

var oLastCard*/

function cardClick(sElementID) {
	obj = document.getElementById(sElementID);
	//alert(obj.style.visibility);
    dest = document.getElementById("officeDetails");
    dest.innerHTML = obj.innerHTML;
    /*if(ns6 || ie4)
    {
		if (obj.style.visibility == "hidden") {
			obj.style.display = "block";
			obj.style.visibility = "visible";
			obj.style.position = "static";
			if ( oLastCard != null && oLastCard != obj) {
				oLastCard.style.display = "none";
				oLastCard.style.visibility = "hidden";
				oLastCard.style.position = "absolute";
			}
			oLastCard = obj			
		} else {
			obj.style.display = "none";
			obj.style.visibility = "hidden";
			obj.style.position = "absolute";
		}
    } else if(ns4)
    {
		if (obj.style.visibility == "hidden") {
			obj.style.visibility = "visible";
			obj.style.position = "static";
			if ( oLastCard != null && oLastCard != obj) {
				oLastCard.style.visibility = "hidden";
			}
			oLastCard = obj
		} else {
			obj.style.visibility = "hidden";
			obj.style.position = "absolute";
		}
    }*/
    
	return true;
}

function stateShow(StateCD) {
	location.href="./locate-home-care-services.aspx?StateCD="+StateCD;	
}


function emailClick(FranchiseeID) {
	ClickFrame.location.href = "Click.aspx?Type=Email&ID="+FranchiseeID+"&T="+new Date().toUTCString();
}

