// JavaScript Document

var images_path = new Array();
images_path[0]="";
images_path[1]="/<?php echo $Lang; ?>/";
images_path[2]="/common/";

// !?!? Function IMAGE SWAP (gif only) !?!?
function swapover(img_name,path_id) {
self.onerror=function() { return true; }
if (path_id == null) { path_id = 0 }
document[img_name].src=(images_path[path_id] + "images/" + img_name + "_over.gif")
window.status="";
}

function swapout(img_name,path_id) {
self.onerror=function() { return true; }
if (path_id == null) { path_id = 0 }
document[img_name].src=(images_path[path_id] + "images/"  + img_name + ".gif");
}

function confirmLogout(type){
	if (confirm("½T»{µn¥X? \nConfirm Logout?")) {
	switch(type) {
		case "manage": 
			window.location.replace("../logout/manage_logout.php");
			break

		case "member": 
			window.location.replace("../login/mem_logout.php");
			break

		case "sales": 
			window.location.replace("../login/mem_logout.php");
			break

		default:
			window.location.replace("../login/mem_logout.php");
			break
	}	
	return false;
	}
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}


