// JavaScript Document
/*function f ()
{
return false;
}

function checkForCurrentLinks()
{

var hrefs = document.getElementsByTagName("a");
for (var i = 0; i < hrefs.length; i ++)
try
{
if (hrefs[i].attributes["href"].value == location.href)
{
hrefs[i].style.cursor = "default";
hrefs[i].onclick = f;
}
}
catch (e){}

}*/
function GetcurrentPage() { 
//alert("hi");
 if (!document.getElementsByTagName) return;  
 var anchors = document.getElementsByTagName("a"); 
 var thisPage = location.href; 
 for (var i=0; i<anchors.length; i++) {
 var anchor = anchors[i]; 
 thisHREF = anchor.getAttribute("href");
 //if(location.protocol + "//" + location.hostname + "/" + "opticalsite/" + thisHREF == thisPage) { 
 if(location.protocol + "//" + location.hostname + "/" + thisHREF == thisPage) {
 //alert(location.protocol + "//" + location.hostname + "/" + "opticalsite/" + thisHREF);
 anchor.id = "current";
 return; 
 } 
 }  
}  