var str = window.location.pathname;
str.match("([^/]+)\.html");
var targclass = RegExp.$1;
if (!targclass){ targclass = "index"; }
style = '<style type="text/css">'
+ '#navbar a.link' + targclass + 
'{font-weight: bold; color: #fff; text-decoration: none; background-color: #A52345; border-top-color: #eee;}'
+ '</style>';
document.writeln(style);
