// オススメITEM
function recommendOn(nGoodsID,itemNum) {
	var arrColor = new Array('#C01920','#C01920','#1C1C1C','#1C1C1C','#1C1C1C','#1C1C1C');
	document.getElementById('recommend-box'+nGoodsID).style.backgroundColor = arrColor[itemNum];
	document.getElementById('recommend-info'+nGoodsID).style.color = '#ffffff';
}
function recommendOff(nGoodsID) {
	document.getElementById('recommend-box'+nGoodsID).style.backgroundColor = '#ffffff';
	document.getElementById('recommend-info'+nGoodsID).style.color = '#000000';
}

function recommendClick(link){
	location.href = link;
}
// 商品一覧
function itemOn(nGoodsID,itemNum) {
	var arrColor = new Array('#C01920','#C01920','#1C1C1C','#1C1C1C','#1C1C1C','#1C1C1C');
	document.getElementById('item-box'+nGoodsID).style.backgroundColor = arrColor[itemNum];
	document.getElementById('item-box-name'+nGoodsID).style.color = '#ffffff';
	document.getElementById('item-box-price'+nGoodsID).style.color = '#FFFFFF';
}
function itemOff(nGoodsID) {
	document.getElementById('item-box'+nGoodsID).style.backgroundColor = '#ffffff';
	document.getElementById('item-box-name'+nGoodsID).style.color = '#000000';
	document.getElementById('item-box-price'+nGoodsID).style.color = '#000000';
}
function itemClick(link){
	location.href = link;
}

// 新着商品一覧
function NewitemOn(nGoodsID,itemNum) {
	var arrColor = new Array('#C01920','#C01920','#1C1C1C','#1C1C1C','#1C1C1C','#1C1C1C');
	document.getElementById('item-box'+nGoodsID).style.backgroundColor = arrColor[itemNum];
//	document.getElementById('item-box-name'+nGoodsID).style.color = '#ffffff';
}
function NewitemOff(nGoodsID) {
	document.getElementById('item-box'+nGoodsID).style.backgroundColor = '#ffffff';
//	document.getElementById('item-box-name'+nGoodsID).style.color = '#000000';
}
function NewitemClick(link){
	location.href = link;
}

// サブ一覧
function SubitemOn(nGoodsID,itemNum) {
	var arrColor = new Array('#C01920','#C01920','#1C1C1C','#1C1C1C','#1C1C1C','#1C1C1C');
	document.getElementById('item-box'+nGoodsID).style.backgroundColor = arrColor[itemNum];
}
function SubitemOff(nGoodsID) {
	document.getElementById('item-box'+nGoodsID).style.backgroundColor = '#ffffff';
}
