// JavaScript Document
function gotFocus(ctl,val)

{
    if(document.getElementById(ctl.id).value==val)
    {
       document.getElementById(ctl.id).value='';
    }
}

function lostFocus(ctl,val)
{
    if(document.getElementById(ctl.id).value=='')
    {
        document.getElementById(ctl.id).value=val;
    }
}
function style ()
{

var lk = document.getElementsByTagName("a");
for (var i =0;i<lk.length ; i++)
{
var name = lk[i].getAttribute("href");

if(name == window.location )
{
lk[i].setAttribute("style","background-color: #f9eef9 ;");
}
}
}
