/*
 * Title: navigation.js
 * Revision: 1.0 (July 16, 2009)
 * Author: Codesparq (http://www.codesparq.com/)
 *
 * Copyright © 2009 Codesparq. All rights reserved.
 */

var navBar = document.getElementById("topNav").getElementsByTagName("a");

for (var i = 0; i < navBar.length; i++) {
	if (navBar[i].href == "http://" + window.location.hostname + window.location.pathname) navBar[i].className = "selected";
}
