<!--
$(document).ready(function() {
	$('#autoFocus').focus();
});

function login(coreURI,coreVer,prevPage,URI) {
tb_show('Login', coreURI+'wr-login.php?prev_page='+prevPage+'&amp;core_ver='+coreVer+'&amp;uri='+URI+'&amp;TB_iframe=true&amp;height=350&amp;width=300', null);	
}

jQuery.fn.labelOver = function(overClass) {
	return this.each(function(){
		var label = jQuery(this);
		var f = label.attr('for');
		if (f) {
			var input = jQuery('#' + f);
			
			this.hide = function() {
			  label.css({ textIndent: -10000 })
			}
			
			this.show = function() {
			  if (input.val() == '') label.css({ textIndent: 0 })
			}

			// handlers
			input.focus(this.hide);
			input.blur(this.show);
		    label.addClass(overClass).click(function(){ input.focus() });
			
			if (input.val() != '') this.hide(); 
		}
	})
}
//-->