// JavaScript Document
function change_option(number,index){
 for (var i = 1; i <= number; i++) {
       document.getElementById('products' + i).style.display = 'none';
 }
  document.getElementById('products' + index).style.display = 'block';
  showLeft(index-1);
}
function showLeft(nowLeft){
		for(var i = 0; i < 5; i++){
			document.getElementById('L'+i).className = i == nowLeft ? 'nowLeft':'otherLeft';
		}
	}
function showRight(nowRight){
		for(var j = 6; j < 11; j++){
			document.getElementById( 'R'+j).className =j == nowRight ? 'nowRight':'otherRight';
		}
	}
function showLeft1(nowLeft){
		for(var i = 0; i < 3; i++){
			document.getElementById('L'+i).className = i == nowLeft ? 'nowLeft':'otherLeft';
		}
	}
function showRight1(nowRight){
		for(var j = 6; j < 9; j++){
			document.getElementById( 'R'+j).className =j == nowRight ? 'nowRight':'otherRight';
		}
	}
function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}


