function showLogin(message,target,returl){location.assign('https://joejencks.com/index.php?page=login');}function processLogin(username,password,perpetual,returl,target){var message = 'this is depricated';}function showLogOut(message,target,returl){var message = 'this is depricated';}function showCreateAccount(target,query){var message = 'this is depricated';}function processNewAccount(query,target){var message = 'this is depricated';}function showLostpw(target){var message = 'this is depricated';}function processLostpw(email_address,target){var message = 'this is depricated';}function cookieNotice(prefix){$('#container').append('
');$('#cookienoticewrap').load('/common/cookies/index.php', {'prefix' : prefix }, function(){$('#cookiebutton').click( function(){$('#cookienotice').load('/common/cookies/index.php', {'cookie_okay' : 1, 'prefix' : prefix }, function(){$('#cookienoticewrap').remove();location.reload();});});$('#nocookiebutton').click( function(){$('#cookienotice').load('/common/cookies/index.php', {'cookie_not_okay' : 1, 'prefix' : prefix }, function(){$('#cookienoticewrap').remove();location.reload();});});});}$(document).ready( function(){$('#loginbutton').html('admin');$('a#loginbutton').css('cursor','pointer');$('a#loginbutton').click(function(e){e.preventDefault();var returl = $('#slab_returl').html();var message = encodeURI('Please enter your username and password. If you would like to create a new account, click the appropriate button below.');showLogin(message,'#loginWindow',returl);});});