// Splash Screen

imgpath = "img/"


//Top menu

imgpath =  "img/head/menu/"

home_out = new Image;
home_up = new Image;
home_out.src = imgpath +"home.gif";
home_up.src = imgpath +"home-up.gif";

bfs_out = new Image;
bfs_up = new Image;
bfs_out.src = imgpath +"bfs.gif";
bfs_up.src = imgpath +"bfs-up.gif";

syb_out = new Image;
syb_up = new Image;
syb_out.src = imgpath +"syb.gif";
syb_up.src = imgpath +"syb-up.gif";

charter_out = new Image;
charter_up = new Image;
charter_out.src = imgpath +"charter.gif";
charter_up.src = imgpath +"charter-up.gif";

trailers_out = new Image;
trailers_up = new Image;
trailers_out.src = imgpath +"trailers.gif";
trailers_up.src = imgpath +"trailers-up.gif";

jetskis_out = new Image;
jetskis_up = new Image;
jetskis_out.src = imgpath +"jetskis.gif";
jetskis_up.src = imgpath +"jetskis-up.gif";

notes_out = new Image;
notes_up = new Image;
notes_out.src = imgpath +"notes.gif";
notes_up.src = imgpath +"notes-up.gif";

links_out = new Image;
links_up = new Image;
links_out.src = imgpath +"links.gif";
links_up.src = imgpath +"links-up.gif";

contact_out = new Image;
contact_up = new Image;
contact_out.src = imgpath +"contact.gif";
contact_up.src = imgpath +"contact-up.gif";
// The Function
function CI(name,img)
{
 name.src = img.src;
}

function BarLForm()
{
  if(document.BarLogin.f_login.value.length == 0)
  {
    alert("Please enter your login");
    document.BarLogin.f_login.focus();
    return false;
  }

  if(document.BarLogin.f_login.value.length < 3)
  {
    alert("Please enter your login (3 characters or more)");
    document.BarLogin.f_login.focus();
    return false;
  }

  if(document.BarLogin.f_password.value.length < 3)
  {
    alert("Please enter your password (3 characters or more)");
    document.BarLogin.f_password.focus();
    return false;
  }

  return true;
}

