var myimages=new Array()
function preloadimages(){
for (i=0;i<preloadimages.arguments.length;i++){
myimages[i]=new Image()
myimages[i].src=preloadimages.arguments[i]
}
}
preloadimages("http://www.i-mockery.com/images/nav/h1_features_on.gif","http://www.i-mockery.com/images/nav/h1_shorts_on.gif","http://www.i-mockery.com/images/nav/h1_editorials_on.gif","http://www.i-mockery.com/images/nav/h1_games_on.gif","http://www.i-mockery.com/images/nav/h1_comics_on.gif","http://www.i-mockery.com/images/nav/h1_blog_on.gif","http://www.i-mockery.com/images/nav/h1_forum_on.gif");

  function CheckSearchForm()
  {
    if(document.searchform.q.value)
    {
      return true;
    }
    
    alert('Searching for nothing will get you nothing, so why bother?');
    return false;
  }

  function CheckLoginForm()
  {
    if(document.login_form.vb_login_username.value && document.login_form.vb_login_password.value)
    {
      md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, 0);
      return true;
    }
    
    alert('While in a perfect world we could mentally link this site to your brain, current web technologies don\'t enable us to do so. As a result, you\'re gonna have to enter in your username and password in order to Sign In.');
    return false;
  }