$(document).ready(function(){
	STOPALL = false;
	$("ul.topnav li").mouseenter(
		function () {
			$(this).find("ul.subnav").show(); 
		}
	).mouseleave( 
		function () { 
			$(this).find("ul.subnav").hide(); 
		}
	);

	function swapSponsor() {
		$('ul#sponsors li:first')
			.fadeOut('fast', function() { 
					$('ul#sponsors li:last').after($(this));
					$('ul#sponsors li:last').fadeIn('fast');
			
				});
		
	}
	interval = setInterval(swapSponsor, 5000);

});

function encryptPassword(obj) {
	obj.password.value = hex_md5(obj.password.value);
	obj.passmd5.value = 't';
	return true;
}
