function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function changeStyle(obj, flag) {
	if(flag) {
		if(obj.value!='') {
			obj.value = '';
			obj.style.fontStyle = 'normal';
			obj.style.color = '#4c4c4c';
		}
	} else if (!flag) {
		if(obj.value=='') {
			obj.value = '商品名・キーワードから';
			obj.style.fontStyle = 'italic';
			obj.style.color = '#999999';
		}
	}
}

//EC-cubeデモより
var preLoadFlag = "false";

	function chgImg(fileName,imgName){
		if (preLoadFlag == "true") {
			document.images[imgName].src = fileName;
		}
	}
	
	function chgImgImageSubmit(fileName,imgObj){
	imgObj.src = fileName;
	}
	
	// サブナビの表示切替
	function naviStyleChange(ids, bcColor, color){
		document.getElementById(ids).style.backgroundColor = bcColor;
	}	


	
