// JQuery Functions =========================================================
		$(document).ready(function() {
			//$("#tab").corner("10px");
		   applyHighlighter();
		});
		
// Custom Functions =========================================================		
function showPopUp(ptitle,ptext){
	var popTitle = document.all["popTitle"];
	var popText = document.all["popText"];
	popTitle.innerText = ptitle;
	popText.innerHTML = ptext;
    document.all["popup"].style.pixelTop=document.body.scrollTop+30;
	document.all["popup"].style.display="";
}
function closePopUp(ptitle,ptext){
	document.all["popup"].style.display="none"
}		

function applyHighlighter(){
    $("input[type=text]").focus(function(){
        $(this).addClass("cTextInput");
        })
    $("input[type=text]").blur(function(){
        $(this).removeClass("cTextInput");
        })  
    $("textarea").focus(function(){
        $(this).addClass("cTextInput");
        })
    $("textarea").blur(function(){
        $(this).removeClass("cTextInput");
        })               
    $("input[type=password]").focus(function(){
        $(this).addClass("cProtectedInput");
        })
    $("input[type=password]").blur(function(){
        $(this).removeClass("cProtectedInput");
        })          
}
