﻿// Javascript Document

$(document).ready(function() {
// replace the password field
if ($('input.passwordLoginField').length > 0) {
    $('input.passwordLoginField').each(function() {

        if (this.value == '') {
            $(this).css('background-image', 'url(/images/passwordText.jpg').css('background-position', '0px 0px').css('background-repeat', 'no-repeat');
        }

        $(this).blur(function() {
            if (this.value == '') {
                $(this).css('background-image', 'url(/images/passwordText.jpg').css('background-position', '0px 0px').css('background-repeat', 'no-repeat');
            }
        });

        $(this).focus(function() {
            $(this).css('background-position', '0px -20px');
        });
    });
}
});

//$(document).ready(function(){
//	 $('tr:nth-child(odd)').addClass('odd');
//	 $('tr:nth-child(even)').addClass('even');
//	 $("table.blueTable tbody td:last-child").css('border-right','0px solid gray');
//	 $("table.brownTable tbody td:last-child").css('border-right','0px solid gray');
//	 $("table.tealTable tbody td:last-child").css('border-right','0px solid gray');
//	 $("table.orangeTable tbody td:last-child").css('border-right','0px solid gray');
//	 $("table.greenTable tbody td:last-child").css('border-right','0px solid gray');
//	 $("table.grayTable tbody td:last-child").css('border-right','0px solid gray');
// });
