﻿function SetPasswordDefault(Obj)
{
    var defaulttextbox=document.getElementById('password');
    var txtPassword=document.getElementById('ctl00_userCtrlSignIn_txtPassword');
    if(Obj.id=='password')
    {
        defaulttextbox.style.display='none';
        txtPassword.style.display='';
        txtPassword.focus();
    }
    else
    {
        if(txtPassword.value=="")
        {
            defaulttextbox.style.display='';
            txtPassword.style.display='none';
        }
    }
    
    
}


function SetLoginDefault(focus,Obj,txt)
{
   //alert(focus +"-"+ Obj.value +"-"+txt);
   
        if(focus=='true' && Obj.value==txt)
        {
            Obj.value="";        
        }
        else
        {
            if(Obj.value=="")
             {
                  Obj.value=txt;      
             }
             else
             {
                //callthisonbluroflogin();
             }
        }
       
}

function callthisonbluroflogin()
{
    var defaulttextbox=document.getElementById('password');
    var txtPassword=document.getElementById('ctl00_userCtrlSignIn_txtPassword');
    defaulttextbox.style.display='none';
    txtPassword.style.display='';
    txtPassword.focus();
   
}


