
var full_address="";
var is_input = document.URL.lastIndexOf('/');
addr_str = document.URL.substring(is_input+1, document.URL.length);
for (count = 0; count < addr_str.length; count++) 
{
 full_address += addr_str.charAt(count);
}

var pos = full_address.indexOf('.');
var topic_id = (full_address.substr(0,pos));

document.getElementById(topic_id).style.color='red';
document.getElementById(topic_id).style.textDecoration='underline';

if (topic_id == 'bmi') {
	document.getElementById("count").style.borderColor='red';
}

function showIt(elID)
    {
      var el = document.getElementById(elID);
      el.scrollIntoView(true);
    }

showIt(topic_id);
