<!--

$(function(){
$('div.s').mouseout(function() {
  h();
});
$('div.s').mouseover(function() {
  l();
});
$('div.d').mouseout(function() {
  h();
});
$('div.d').mouseover(function() {
  l();
});
if($('#hh').height()>471) {
	$('#hx4').css({'display':'block'});
	$('#hh').css({'padding-bottom':'20px'});
}
});

defaultStatus = "Beacon Place Dental Group";
function e(name, address, link, subject, body, aParams) {
document.write("<a href='ma" + "i" + "lto:" + name + "@" + address + "?subject=" + subject + "&body=" + body + "' " + aParams + ">" + link + "</a>");
}
cm=null;
hide_delay=500;
tstat=0;
isNS4 = (document.layers) ? true : false;
isIE4 = (document.all && !document.getElementById) ? true : false;
isIE5 = (document.all && document.getElementById) ? true : false;
isNS6 = (!document.all && document.getElementById) ? true : false;
function switchDiv(objElement,bolVisible){
if(isNS4||isIE4){
if(!bolVisible) {
objElement.visibility ="hidden"
} else {
objElement.visibility ="visible"
}     
} else if (isIE5 || isNS6) {
if(!bolVisible){
objElement.style.display = "none";
} else {
objElement.style.display = "";
}
}
return 1;
}
function getPos(el,sProp) {
var iPos = 0;
while (el!=null) {
iPos+=el["offset" + sProp];
el = el.offsetParent;
}
return iPos;
}

function g(e) {
  if(typeof(e)!='string') return e;
  if(document.getElementById) e=document.getElementById(e);
  else if(document.all) e=document.all[e];
  else e=null;
  return e;
}
/*
function g(myid) {
if (isNS4){
objElement = document.layers[myid];
}else if (isIE4) {
objElement = document.all[myid];
}else if (isIE5 || isNS6) {
objElement = document.getElementById(myid);
}
return(objElement);
}
*/
function s(el,m) {
if (cm!=null) {
switchDiv(cm,false);
}
if (m!=null) {
m=g(m);
m.style.left = getPos(el,"Left")-28+"px";
m.style.top =  getPos(el,"Top")-12+el.offsetHeight+"px";
switchDiv(m,true);
cm=m;
}
}
function h() {
timer1=setTimeout("s(null,null)",hide_delay);
tstat=1;
return 1;
}
function l() {
if (tstat==1) {
clearTimeout(timer1);
tstat=0;
}
return 1;
}
function r(url) {
document.location.href = url;
}

function teampic(param)
{
drsmdiv1=g("cccc");
drsmdiv1.innerHTML="<img src='/i/"+param+".jpg' alt='"+param+"' />";
}


// -->
