function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

//this function opens a popup window based on the given information
function MM_openBrWindow(theURL,winName,features) { //v2.0
	window.open(theURL,winName,features).focus();
}


var ie4 = false; if(document.all) { ie4 = true; }
function getObject(id) { if (ie4) { return document.all[id]; } else { return document.getElementById(id); } }
function toggleAtty(link, divId) 
{ 
	var lText = link.innerHTML; var d = getObject(divId);
	if (lText == 'See the list of attorneys in our practice area') 
	{ link.innerHTML = '<br>Close this list of attorneys'; d.style.display = 'block'; }
	else 
	{ link.innerHTML = 'See the list of attorneys in our practice area'; d.style.display = 'none'; } 
}
function toggleClient(link, divId) 
{ 
	var lText = link.innerHTML; var d = getObject(divId);
	if (lText == 'See the list of representative clients in our practice area') 
	{ link.innerHTML = '<br>Close this list of representative clients'; d.style.display = 'block'; }
	else 
	{ link.innerHTML = 'See the list of representative clients in our practice area'; d.style.display = 'none'; } 
}
function toggleDocuments(link, divId) 
{ 
	var lText = link.innerHTML; var d = getObject(divId);
	if (lText == 'Guidance Documents') 
	{ link.innerHTML = 'Close Guidance Documents<br>'; d.style.display = 'block'; }
	else 
	{ link.innerHTML = 'Guidance Documents'; d.style.display = 'none'; } 
}
function toggleArticles(link, divId) 
{ 
	var lText = link.innerHTML; var d = getObject(divId);
	if (lText == 'Mark Hostetler is a featured columnist for Prepared Foods Magazine. For a list of his articles, click here.') 
	{ link.innerHTML = '<br>Close articles'; d.style.display = 'block'; }
	else 
	{ link.innerHTML = 'Mark Hostetler is a featured columnist for Prepared Foods Magazine. For a list of his articles, click here.'; d.style.display = 'none'; } 
}

