// JavaScript Document, Custom LN Functions

// Hide the login fields on startup
jQuery.noConflict();  
jQuery(document).ready(function() {  
	
	jQuery('.loginbg').hide();
	jQuery('#mainlogin').hide();
	
	// Fade in the box when the login button is clicked
	jQuery("#loginbutton").click(function() {	   					   
		jQuery(".loginbg").fadeIn("slow");
		jQuery("#mainlogin").show();
	});
	
	// Fadeout the box when the close button is clicked
	jQuery("#closebox").click(function () {
		jQuery(".freelogin").hide();	
		jQuery(".loginbg").fadeOut("slow");
	});
});
