var path = location.pathname;
var lastSlash = path.lastIndexOf("/");
if (lastSlash < 1) {
	lastSlash = path.lastIndexOf("\\");
}
lastSlash = lastSlash + 1;
page = path.substring(lastSlash,path.length);

var whyStyle;
var howStyle;

normalStyle = "class='pageheadsmall'" ;
highlight = "class='headsmallhighlight'" ;

whyStyle = normalStyle;
howStyle = normalStyle;

switch (page) {
	case "adp_why.html" :
		whyStyle = highlight ;
		break;
	case "adp_how.html" :
		howStyle = highlight ;
		break;
}  // switch


document.write ( "<tr>" +
"<td colspan='3' bgcolor='#666633'>" +
"&nbsp; <span class='pageheadorange'>Why and how to adopt: &nbsp;</span>" +
"<a href='adp_why.html' " + whyStyle + ">Why adopt?</a>" +
"<a href='adp_how.html' " + howStyle + ">&nbsp;&nbsp;-&nbsp;&nbsp;How to adopt?</a>" +
"</td></tr> " ) ;