function MM_preloadimages() {
	if (document.images) {
		var imgFiles = MM_preloadimages.arguments;
		if (document.preloadArray==null) document.preloadArray = new Array();
		var i = document.preloadArray.length;
		with (document) for (var j=0; j<imgFiles.length; j++) if (imgFiles[j].charAt(0)!="#") {
			preloadArray[i] = new Image;
			preloadArray[i++].src = imgFiles[j];
		}
	}
}


function ShowLarge(url_name) {
	large_win = window.open(url_name, 'large_win', 'width=591,height=580,scrollbars=no,resizable=no,status=no,location=no,menubar=no');
}

function ShowSizingchart(url_name) {
	large_win = window.open(url_name, 'large_win', 'width=300,height=481,scrollbars=no,resizable=no,status=no,location=no,menubar=no');
}

// SHOW EMAIL LAYERS
function showEmail(obj) {
  if (document.getElementById) {document.getElementById("email1").style.visibility = "visible";}
  else {
    if (document.layers) {document.layers["email1"].visibility = "show";}
    else {document.all("email1").style.visibility = "visible";}
  }
}

// HIDE EMAIL LAYERS
function hideEmail(obj) {
  if (document.getElementById) {document.getElementById("email1").style.visibility = "hidden";}
  else {
    if (document.layers) {document.layers["email1"].visibility = "hide";}
    else {document.all("email1").style.visibility = "hidden";}
  }
}


// SHOW EMAIL2 LAYERS
function showEmail2(obj) {
  if (document.getElementById) {document.getElementById("email2").style.visibility = "visible";}
  else {
    if (document.layers) {document.layers["email2"].visibility = "show";}
    else {document.all("email2").style.visibility = "visible";}
  }
}

// HIDE EMAIL2 LAYERS
function hideEmail2(obj) {
  if (document.getElementById) {document.getElementById("email2").style.visibility = "hidden";}
  else {
    if (document.layers) {document.layers["email2"].visibility = "hide";}
    else {document.all("email2").style.visibility = "hidden";}
  }
}


function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
