function externalLinks() {
 if (!document.getElementsByTagName) return;
 var anchors = document.getElementsByTagName("a");
 for (var i=0; i<anchors.length; i++) {
   var anchor = anchors[i];
   if (anchor.getAttribute("href") &&
       anchor.getAttribute("rel") == "external")
     anchor.target = "_blank";
 }
}
window.onload = externalLinks;


function homeon() {
 document.images.home.src = "http://net-root.com/central/themes/netroot/img/home_on.gif";}
function homeoff() {
document.images.home.src = "http://net-root.com/central/themes/netroot/img/home_off.gif";}
function abouton() {
 document.images.aboutus.src = "http://net-root.com/central/themes/netroot/img/aboutus_on.gif";}
function aboutoff() {
document.images.aboutus.src = "http://net-root.com/central/themes/netroot/img/aboutus_off.gif";}
function whatwedoon() {
 document.images.whatwedo.src = "http://net-root.com/central/themes/netroot/img/whatwedo_on.gif";}
function whatwedooff() {
document.images.whatwedo.src = "http://net-root.com/central/themes/netroot/img/whatwedo_off.gif";}
function supporton() {
 document.images.support.src = "http://net-root.com/central/themes/netroot/img/support_on.gif";}
function supportoff() {
document.images.support.src = "http://net-root.com/central/themes/netroot/img/support_off.gif";}
function implementationon() {
 document.images.implementation.src = "http://net-root.com/central/themes/netroot/img/implementation_on.gif";}
function implementationoff() {
document.images.implementation.src = "http://net-root.com/central/themes/netroot/img/implementation_off.gif";}
function casestudieson() {
 document.images.casestudies.src = "http://net-root.com/central/themes/netroot/img/casestudies_on.gif";}
function casestudiesoff() {
document.images.casestudies.src = "http://net-root.com/central/themes/netroot/img/casestudies_off.gif";}
function contactuson() {
 document.images.contactus.src = "http://net-root.com/central/themes/netroot/img/contactus_on.gif";}
function contactusoff() {
document.images.contactus.src = "http://net-root.com/central/themes/netroot/img/contactus_off.gif";}