site="https://www.rjdc.com/accounts";
function combineMenus(frm, menu1) {
with (frm) {
for (var i = 0; i < document.menufrm.menu1.length; i++) {
if (document.menufrm.menu1[i].checked) {
str = document.menufrm.menu1[i].value;
break;
   }
}
url = site + "/" + str;
window.location.href = url;
   }
}

function newImage(arg) {
if (document.images) {
rslt = new Image();
rslt.src = arg;
return rslt;
}
}

if (document.images) {
more_news_h = newImage("../../nv2/images/more_news_h.gif");
home_ico_h = newImage("../../nv2/images/home_ico_h.gif");
login_ico_h = newImage("../../nv2/images/login_ico_h.gif");
mail_ico_h = newImage("../../nv2/images/mail_ico_h.gif");
serv_h = newImage("../../nv2/images/serv_h.gif");
docs_h = newImage("../../nv2/images/docs_h.gif");

n01_h = newImage("../../nv2/images/n01_h.gif");
n02_h = newImage("../../nv2/images/n02_h.gif");
n03_h = newImage("../../nv2/images/n03_h.gif");
n04_h = newImage("../../nv2/images/n04_h.gif");
n05_h = newImage("../../nv2/images/n05_h.gif");
n06_h = newImage("../../nv2/images/n06_h.gif");
n07_h = newImage("../../nv2/images/n07_h.gif");

stage_more_h = newImage("../../nv2/images/stage_more_h.gif");
sb_h = newImage("../../nv2/images/sb_h.gif");
}

function sh_item(where) {
if (document.images) {
storedLocation=where;
document.images[where].src="../../nv2/images/"+where+"_h.gif"; 
}
}

function hd_item() {
if (document.images) {
where=storedLocation;
document.images[where].src="../../nv2/images/"+where+".gif"; 
}
}

function sh(where) {
if (document.images) {
storedLocation=where;
document.images[where].src="../../nv2/images/stage_more_h.gif"; 
}
}

function hd() {
if (document.images) {
where=storedLocation;
document.images[where].src="../../nv2/images/stage_more.gif"; 
}
}

var submitted = false;
             function submitCheck() {
                      if (submitted) {
                          alert("You have already pressed the submit button. Please wait...");
                          return false;
                      } else {
                          submitted = true;
                          return true;
                      }
             }

             function OpenWindow(theURL,winName,features) {
                      window.open(theURL,winName,features);
             }

function go(loc) {
window.location.href = loc;
}


