

function swap_image(x) {	
			document.images[x].src="/images/"+x+"_over.gif";
		}

	
function swap_image_restore(x) {
			document.images[x].src="/images/"+x+"_off.gif";
	}

function swap_image_restoreOn(x) {
			document.images[x].src="/images/"+x+"_on.gif";
	}
function bemail(user, domain, suffix, tag, bool)
  {
  if(bool==0) document.write('<a href="' + 'mailto:' + user + '@' + domain + '.' + suffix + '">' + tag + '</a>');
  else document.write('<a href="' + 'mailto:' + user + '@' + domain + '.' + suffix + '">' + user + '@' + domain + '.' + suffix + '</a>');
  }
function multiImage() {
  if (document.login.product[0].checked) {
	  document.productImage.src="images/emailROIlogin.gif";
	  document.productImage.alt="client login, email ROI, email marketing software, eROI";
	  document.login.action="http://emailer.emailroi.com/dbadmin/non_icemaker_enter.pl";
    }
  else if (document.login.product[1].checked) {
	  document.productImage.src="images/ecomROIlogin.gif";
	  document.productImage.alt="client login, ecomROI, e-commerce software, eROI";
	  document.login.action="https://secure.eroidelivers.com/servlet/com.gcm.servlet.security.SecureLogin";
    }
  else if (document.login.product[2]. checked) {
	  document.productImage.src="images/eventROIlogin.gif";
	  document.productImage.alt="client login, event-ROI, event registration software, eROI";
	  document.login.action="https://secure.eroidelivers.com/servlet/com.gcm.servlet.security.SecureLogin";
    }
  else {
	  document.productImage.src="images/emailROIlogin.gif";
	  document.productImage.alt="client login, email ROI, email marketing software, eROI";
	  document.login.action="http://emailer.emailroi.com/dbadmin/non_icemaker_enter.pl";
    }
}
function newWindow(url, windowName, w, h)
{
  var parameters="top=15,left=120,width=" + w + ",height=" + h + ",scrollbars=yes,menubar=no,resizable=yes"
  mywin=window.open(url, windowName, parameters);
  return false;
}  