//ショップカテゴリ別カテゴリマップ表示JS

window.onload = function() {
	shopCat();
}

//ノード置換用
function replaceNode(newNode,oldNode){
	var parent = oldNode.parentNode;
	return parent.replaceChild(newNode,oldNode);
}

//マウスオーバー時、店舗別メッセージ
function shopId(shopno) {
	var	catcomment = document.getElementById("catcomment");//oldElement
	var catcomment1=document.createElement('p');//newElement
		catcomment1.setAttribute('id','catcomment');
		catcomment.setAttribute('contentEditable','inherit');

	var div00=document.createElement('div');
	div00.setAttribute('id','catcomment');
	div00.setAttribute('contentEditable','inherit');
	var dl00=document.createElement('dl');
	dl00.setAttribute('contentEditable','inherit');
	div00.appendChild(dl00);
	var dt00=document.createElement('dt');
	dt00.setAttribute('contentEditable','inherit');
	dl00.appendChild(dt00);
	var dd00=document.createElement('dd');
	dd00.setAttribute('contentEditable','inherit');
	dl00.appendChild(dd00);

	if (shopno=="999") {
		dt00.appendChild(document.createTextNode('店舗情報'));
		dd00.appendChild(document.createTextNode('お店を選んでね！'));

		var br00=document.createElement('br');
		br00.setAttribute('contentEditable','inherit');
		dd00.appendChild(br00);

		var br01=document.createElement('br');
		br01.setAttribute('contentEditable','inherit');
		dd00.appendChild(br01);

		var br02=document.createElement('br');
		br02.setAttribute('contentEditable','inherit');
		dd00.appendChild(br02);

	}

	else if (shopno=="11") {
		dt00.appendChild(document.createTextNode('Z・ZOU'));
		dd00.appendChild(document.createTextNode('ブティックだよ！'));
	}

	else if (shopno=="12") {
		dt00.appendChild(document.createTextNode('トキヤ'));
		dd00.appendChild(document.createTextNode('メガネ店だよ！'));
	}

	else if (shopno=="21") {
		dt00.appendChild(document.createTextNode('モンシャン'));
		dd00.appendChild(document.createTextNode('美容室だよ！'));
	}

	else if (shopno=="22") {
		dt00.appendChild(document.createTextNode('ファンスタイル'));
		dd00.appendChild(document.createTextNode('美容室だよ！'));
	}

	else if (shopno=="23") {
		dt00.appendChild(document.createTextNode('ローザンヌ'));
		dd00.appendChild(document.createTextNode('婦人服のお店だよ！'));
	}

	else if (shopno=="31") {
		dt00.appendChild(document.createTextNode('フルーツパーラーいけだ'));
		dd00.appendChild(document.createTextNode('くだもの店だよ！'));
	}

	else if (shopno=="32") {
		dt00.appendChild(document.createTextNode('ラーメン赤心'));
		dd00.appendChild(document.createTextNode('ラーメン店だよ！'));
	}

	else if (shopno=="33") {
		dt00.appendChild(document.createTextNode('ナイトパブたかこ'));
		dd00.appendChild(document.createTextNode('パブだよ！'));
	}

	else if (shopno=="34") {
		dt00.appendChild(document.createTextNode(''));
		dd00.appendChild(document.createTextNode(''));
	}

	else if (shopno=="35") {
		dt00.appendChild(document.createTextNode('手打麺処 昭月'));
		dd00.appendChild(document.createTextNode('お蕎麦屋だよ！'));
	}

	else if (shopno=="41") {
		dt00.appendChild(document.createTextNode('Katsu-Shou'));
		dd00.appendChild(document.createTextNode('弁当・惣菜のお店だよ！'));
	}

	else if (shopno=="42") {
		dt00.appendChild(document.createTextNode('みその橋中華のサカイ'));
		dd00.appendChild(document.createTextNode('中華料理店だよ！'));
	}

	else if (shopno=="43") {
		dt00.appendChild(document.createTextNode(''));
		dd00.appendChild(document.createTextNode(''));
	}

	else if (shopno=="44") {
		dt00.appendChild(document.createTextNode('万次郎'));
		dd00.appendChild(document.createTextNode('お好み焼き・鉄板焼きのお店だよ！'));
	}

	else if (shopno=="45") {
		dt00.appendChild(document.createTextNode('ほっかほっか亭'));
		dd00.appendChild(document.createTextNode('お弁当屋さんだよ！'));
	}

	else if (shopno=="46") {
		dt00.appendChild(document.createTextNode('八島丹山 西賀茂店'));
		dd00.appendChild(document.createTextNode('ホルモン・焼肉のお店だよ！'));
	}

	else if (shopno=="51") {
		dt00.appendChild(document.createTextNode('渡辺医院'));
		dd00.appendChild(document.createTextNode('内科・循環器科・泌尿器科だよ！'));
	}

	else if (shopno=="52") {
		dt00.appendChild(document.createTextNode('藤本接骨院'));
		dd00.appendChild(document.createTextNode('接骨院だよ！'));
	}

	else if (shopno=="53") {
		dt00.appendChild(document.createTextNode('空水治療院'));
		dd00.appendChild(document.createTextNode('鍼灸・整体・リハビリの治療院だよ！'));
	}

	else if (shopno=="54") {
		dt00.appendChild(document.createTextNode('岡本接骨院'));
		dd00.appendChild(document.createTextNode('接骨院だよ！'));
	}

	else if (shopno=="55") {
		dt00.appendChild(document.createTextNode('渡辺西賀茂診療所'));
		dd00.appendChild(document.createTextNode('デイサービスセンターだよ！'));
	}

	else if (shopno=="61") {
		dt00.appendChild(document.createTextNode('鈴木整形外科'));
		dd00.appendChild(document.createTextNode('整形外科だよ！'));
	}

	else if (shopno=="62") {
		dt00.appendChild(document.createTextNode('松長整骨院'));
		dd00.appendChild(document.createTextNode('整骨院だよ！'));
	}

	else if (shopno=="63") {
		dt00.appendChild(document.createTextNode('おおみやゆう薬局'));
		dd00.appendChild(document.createTextNode('調剤薬局だよ！'));
	}

	else if (shopno=="64") {
		dt00.appendChild(document.createTextNode('オーツカ西賀茂薬局'));
		dd00.appendChild(document.createTextNode('薬局だよ！'));
	}

	else if (shopno=="65") {
		dt00.appendChild(document.createTextNode('にしがもゆう薬局'));
		dd00.appendChild(document.createTextNode('調剤薬局だよ！'));
	}

	else if (shopno=="66") {
		dt00.appendChild(document.createTextNode(''));
		dd00.appendChild(document.createTextNode(''));
	}

	else if (shopno=="71") {
		dt00.appendChild(document.createTextNode('フレスコ'));
		dd00.appendChild(document.createTextNode('スーパーだよ！'));
	}

	else if (shopno=="72") {
		dt00.appendChild(document.createTextNode('朝日新聞 北山販売所'));
		dd00.appendChild(document.createTextNode('新聞屋さんだよ！'));
	}

	else if (shopno=="73") {
		dt00.appendChild(document.createTextNode('ローヤル23 激安王'));
		dd00.appendChild(document.createTextNode('デジタルプリントのお店だよ！'));
	}

	else if (shopno=="74") {
		dt00.appendChild(document.createTextNode('ゴールフリー 西賀茂教室'));
		dd00.appendChild(document.createTextNode('塾だよ！'));
	}

	else if (shopno=="75") {
		dt00.appendChild(document.createTextNode('（株）サナダ酒店'));
		dd00.appendChild(document.createTextNode('酒店だよ！'));
	}

	else if (shopno=="76") {
		dt00.appendChild(document.createTextNode('浅田文七商店'));
		dd00.appendChild(document.createTextNode('酒店だよ！'));
	}

	else if (shopno=="81") {
		dt00.appendChild(document.createTextNode('ナベセン家具'));
		dd00.appendChild(document.createTextNode('家具屋さんだよ！'));
	}

	else if (shopno=="82") {
		dt00.appendChild(document.createTextNode('聖教新聞 鴨川販売店'));
		dd00.appendChild(document.createTextNode('新聞屋さんだよ！'));
	}

	else if (shopno=="83") {
		dt00.appendChild(document.createTextNode('ローソン 大宮南山ノ前町店'));
		dd00.appendChild(document.createTextNode('コンビニだよ！'));
	}

	else if (shopno=="84") {
		dt00.appendChild(document.createTextNode('毎日新聞 北山販売所'));
		dd00.appendChild(document.createTextNode('新聞屋さんだよ！'));
	}

	else if (shopno=="85") {
		dt00.appendChild(document.createTextNode('生鮮館'));
		dd00.appendChild(document.createTextNode('スーパーだよ！'));
	}

	else if (shopno=="86") {
		dt00.appendChild(document.createTextNode('（株）アラコー'));
		dd00.appendChild(document.createTextNode('家庭用品店だよ！'));
	}

	else if (shopno=="87") {
		dt00.appendChild(document.createTextNode('フジカラーデジタルプラザ'));
		dd00.appendChild(document.createTextNode('カメラプリントのお店だよ！'));
	}

	else if (shopno=="91") {
		dt00.appendChild(document.createTextNode('小島石油（株）'));
		dd00.appendChild(document.createTextNode('ガソリンスタンドだよ！'));
	}

	else if (shopno=="92") {
		dt00.appendChild(document.createTextNode('801商店街事務局'));
		dd00.appendChild(document.createTextNode('801商店街事務局だよ！'));
	}

	else if (shopno=="93") {
		dt00.appendChild(document.createTextNode('つるさん・かめさん'));
		dd00.appendChild(document.createTextNode('デイサービスだよ！'));
	}

	else if (shopno=="101") {
		dt00.appendChild(document.createTextNode('（株）西賀茂サービス・ステーション'));
		dd00.appendChild(document.createTextNode('ガソリンスタンドだよ！'));
	}

	else if (shopno=="102") {
		dt00.appendChild(document.createTextNode('京都信用金庫西賀茂支店'));
		dd00.appendChild(document.createTextNode('信用金庫だよ！'));
	}

	else if (shopno=="103") {
		dt00.appendChild(document.createTextNode('京都信用金庫西賀茂支店'));
		dd00.appendChild(document.createTextNode('信用金庫だよ！'));
	}

	else if (shopno=="104") {
		dt00.appendChild(document.createTextNode('京都銀行上堀川支店大宮御薗橋出張所'));
		dd00.appendChild(document.createTextNode('銀行だよ！'));
	}

	else if (shopno=="111") {
		dt00.appendChild(document.createTextNode(''));
		dd00.appendChild(document.createTextNode(''));
	}

	else if (shopno=="112") {
		dt00.appendChild(document.createTextNode('ベラジオ'));
		dd00.appendChild(document.createTextNode('パチンコだよ！'));
	}

	else if (shopno=="121") {
		dt00.appendChild(document.createTextNode('片山モーターサイクル商会'));
		dd00.appendChild(document.createTextNode('バイク屋さんだよ！'));
	}

	else if (shopno=="122") {
		dt00.appendChild(document.createTextNode('（有）山陽自動車'));
		dd00.appendChild(document.createTextNode('自動車屋さんだよ！'));
	}

	else if (shopno=="123") {
		dt00.appendChild(document.createTextNode('すぽーつすたあ'));
		dd00.appendChild(document.createTextNode('スポーツ用品店だよ！'));

		var br00=document.createElement('br');
		br00.setAttribute('contentEditable','inherit');
		dd00.appendChild(br00);

		dd00.appendChild(document.createTextNode('（大宮小学校体操服取り扱い店）'));
		
	}



	else {//その他
		dt00.appendChild(document.createTextNode('店舗情報'));
		dd00.appendChild(document.createTextNode('お店を選んでね！'));
	}

	replaceNode(div00,catcomment);//newElement oldElement

}


//カテゴリ別、店舗マップ切替
function shopCat() {

	var	container = document.getElementById("container");//container取得

	var	catmap = document.getElementById("catmap");//oldElement

	// 1.カテゴリ名取得
	//var catName = "飲食・食料品";

	// 2.カテゴリ別スタイル指定
	if (catName=="ファッション・アクセサリー") {
		
container.className='fashion';//container class設定

var ul1=document.createElement('ul');
ul1.className='fa';
ul1.setAttribute('id','catmap');
var li1=document.createElement('li');
li1.setAttribute('id','l1');
ul1.appendChild(li1);
var a1=document.createElement('a');
a1.onmouseout=function(){shopId(999);};
a1.onmouseover=function(){shopId(11);};
a1.setAttribute('id','l1a');
a1.setAttribute('href','http://shop801.kyo2.jp/e36425.html');
li1.appendChild(a1);
var img1=document.createElement('img');
img1.setAttribute('alt','Z・ZOU');
img1.setAttribute('id','l1i');
img1.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/fa/im_category_l1.gif');
a1.appendChild(img1);
var li2=document.createElement('li');
li2.setAttribute('id','l2');
ul1.appendChild(li2);
var a2=document.createElement('a');
a2.onmouseout=function(){shopId(999);};
a2.onmouseover=function(){shopId(12);};
a2.setAttribute('id','l2a');
a2.setAttribute('href','http://shop801.kyo2.jp/e36424.html');
li2.appendChild(a2);
var img2=document.createElement('img');
img2.setAttribute('alt','トキヤ');
img2.setAttribute('id','l2i');
img2.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/fa/im_category_l2.gif');
a2.appendChild(img2);
var li3=document.createElement('li');
li3.setAttribute('id','r1');
ul1.appendChild(li3);
var a3=document.createElement('a');
a3.onmouseout=function(){shopId(999);};
a3.onmouseover=function(){shopId(21);};
a3.setAttribute('id','r1a');
a3.setAttribute('href','http://shop801.kyo2.jp/e36427.html');
li3.appendChild(a3);
var img3=document.createElement('img');
img3.setAttribute('alt','モンシャン');
img3.setAttribute('id','r1i');
img3.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/fa/im_category_r1.gif');
a3.appendChild(img3);
var li4=document.createElement('li');
li4.setAttribute('id','r2');
ul1.appendChild(li4);
var a4=document.createElement('a');
a4.onmouseout=function(){shopId(999);};
a4.onmouseover=function(){shopId(22);};
a4.setAttribute('id','r2a');
a4.setAttribute('href','http://shop801.kyo2.jp/e36429.html');
li4.appendChild(a4);
var img4=document.createElement('img');
img4.setAttribute('alt','ファンスタイル');
img4.setAttribute('id','r2i');
img4.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/fa/im_category_r2.gif');
a4.appendChild(img4);
var li5=document.createElement('li');
li5.setAttribute('id','r3');
ul1.appendChild(li5);
var a5=document.createElement('a');
a5.onmouseout=function(){shopId(999);};
a5.onmouseover=function(){shopId(23);};
a5.setAttribute('id','r3a');
a5.setAttribute('href','http://shop801.kyo2.jp/e36426.html');
li5.appendChild(a5);
var img5=document.createElement('img');
img5.setAttribute('alt','ローザンヌ');
img5.setAttribute('id','r3i');
img5.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/fa/im_category_r3.gif');
a5.appendChild(img5);

	}
	else if (catName=="飲食・食料品") {

container.className='food';//container class設定

var ul1=document.createElement('ul');
ul1.className='fo';
ul1.setAttribute('id','catmap');
var li1=document.createElement('li');
li1.setAttribute('id','l1');
ul1.appendChild(li1);
var a1=document.createElement('a');
a1.onmouseout=function(){shopId(999);};
a1.onmouseover=function(){shopId(31);};
a1.setAttribute('id','l1a');
a1.setAttribute('href','http://shop801.kyo2.jp/e36437.html');
li1.appendChild(a1);
var img1=document.createElement('img');
img1.setAttribute('alt','フルーツパーラーいけだ');
img1.setAttribute('id','l1i');
img1.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/fo/im_category_l1.gif');
a1.appendChild(img1);
var li2=document.createElement('li');
li2.setAttribute('id','l2');
ul1.appendChild(li2);
var a2=document.createElement('a');
a2.onmouseout=function(){shopId(999);};
a2.onmouseover=function(){shopId(32);};
a2.setAttribute('id','l2a');
a2.setAttribute('href','http://shop801.kyo2.jp/e36446.html');
li2.appendChild(a2);
var img2=document.createElement('img');
img2.setAttribute('alt','ラーメン赤心');
img2.setAttribute('id','l2i');
img2.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/fo/im_category_l2.gif');
a2.appendChild(img2);
var li3=document.createElement('li');
li3.setAttribute('id','l3');
ul1.appendChild(li3);
var a3=document.createElement('a');
a3.onmouseout=function(){shopId(999);};
a3.onmouseover=function(){shopId(33);};
a3.setAttribute('id','l3a');
a3.setAttribute('href','http://shop801.kyo2.jp/e36441.html');
li3.appendChild(a3);
var img3=document.createElement('img');
img3.setAttribute('alt','ナイトパブたかこ');
img3.setAttribute('id','l3i');
img3.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/fo/im_category_l3.gif');
a3.appendChild(img3);
var li4=document.createElement('li');
li4.setAttribute('id','l4');
ul1.appendChild(li4);
var a4=document.createElement('a');
a4.onmouseout=function(){shopId(999);};
a4.onmouseover=function(){shopId(34);};
a4.setAttribute('id','l4a');
a4.setAttribute('href','#');
li4.appendChild(a4);
var img4=document.createElement('img');
img4.setAttribute('alt','');
img4.setAttribute('id','l4i');
img4.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/fo/im_category_l4.gif');
a4.appendChild(img4);
var li5=document.createElement('li');
li5.setAttribute('id','l5');
ul1.appendChild(li5);
var a5=document.createElement('a');
a5.onmouseout=function(){shopId(999);};
a5.onmouseover=function(){shopId(35);};
a5.setAttribute('id','l5a');
a5.setAttribute('href','http://shop801.kyo2.jp/e36430.html');
li5.appendChild(a5);
var img5=document.createElement('img');
img5.setAttribute('alt','手打麺処 昭月');
img5.setAttribute('id','l5i');
img5.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/fo/im_category_l5.gif');
a5.appendChild(img5);
var li6=document.createElement('li');
li6.setAttribute('id','r1');
ul1.appendChild(li6);
var a6=document.createElement('a');
a6.onmouseout=function(){shopId(999);};
a6.onmouseover=function(){shopId(41);};
a6.setAttribute('id','r1a');
a6.setAttribute('href','http://shop801.kyo2.jp/e36434.html');
li6.appendChild(a6);
var img6=document.createElement('img');
img6.setAttribute('alt','Katsu-Shou');
img6.setAttribute('id','r1i');
img6.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/fo/im_category_r1.gif');
a6.appendChild(img6);
var li7=document.createElement('li');
li7.setAttribute('id','r2');
ul1.appendChild(li7);
var a7=document.createElement('a');
a7.onmouseout=function(){shopId(999);};
a7.onmouseover=function(){shopId(42);};
a7.setAttribute('id','r2a');
a7.setAttribute('href','http://shop801.kyo2.jp/e36439.html');
li7.appendChild(a7);
var img7=document.createElement('img');
img7.setAttribute('alt','みその橋中華のサカイ');
img7.setAttribute('id','r2i');
img7.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/fo/im_category_r2.gif');
a7.appendChild(img7);
var li8=document.createElement('li');
li8.setAttribute('id','r3');
ul1.appendChild(li8);
var a8=document.createElement('a');
a8.onmouseout=function(){shopId(999);};
a8.onmouseover=function(){shopId(43);};
a8.setAttribute('id','r3a');
a8.setAttribute('href','#');
li8.appendChild(a8);
var img8=document.createElement('img');
img8.setAttribute('alt','');
img8.setAttribute('id','r3i');
img8.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/fo/im_category_r3.gif');
a8.appendChild(img8);
var li9=document.createElement('li');
li9.setAttribute('id','r4');
ul1.appendChild(li9);
var a9=document.createElement('a');
a9.onmouseout=function(){shopId(999);};
a9.onmouseover=function(){shopId(44);};
a9.setAttribute('id','r4a');
a9.setAttribute('href','http://shop801.kyo2.jp/e36433.html');
li9.appendChild(a9);
var img9=document.createElement('img');
img9.setAttribute('alt','万次郎');
img9.setAttribute('id','r4i');
img9.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/fo/im_category_r4.gif');
a9.appendChild(img9);
var li10=document.createElement('li');
li10.setAttribute('id','r5');
ul1.appendChild(li10);
var a10=document.createElement('a');
a10.onmouseout=function(){shopId(999);};
a10.onmouseover=function(){shopId(45);};
a10.setAttribute('id','r5a');
a10.setAttribute('href','http://shop801.kyo2.jp/e36435.html');
li10.appendChild(a10);
var img10=document.createElement('img');
img10.setAttribute('alt','ほっかほっか亭');
img10.setAttribute('id','r5i');
img10.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/fo/im_category_r5.gif');
a10.appendChild(img10);
var li11=document.createElement('li');
li11.setAttribute('id','r6');
ul1.appendChild(li11);
var a11=document.createElement('a');
a11.onmouseout=function(){shopId(999);};
a11.onmouseover=function(){shopId(46);};
a11.setAttribute('id','r6a');
a11.setAttribute('href','http://shop801.kyo2.jp/e36442.html');
li11.appendChild(a11);
var img11=document.createElement('img');
img11.setAttribute('alt','八島丹山 西賀茂店');
img11.setAttribute('id','r6i');
img11.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/fo/im_category_r6.gif');
a11.appendChild(img11);


	}
	else if (catName=="医療関係") {

container.className='medical';//container class設定

var ul1=document.createElement('ul');
ul1.className='me';
ul1.setAttribute('id','catmap');
var li1=document.createElement('li');
li1.setAttribute('id','l1');
ul1.appendChild(li1);
var a1=document.createElement('a');
a1.onmouseout=function(){shopId(999);};
a1.onmouseover=function(){shopId(51);};
a1.setAttribute('id','l1a');
a1.setAttribute('href','http://shop801.kyo2.jp/e36489.html');
li1.appendChild(a1);
var img1=document.createElement('img');
img1.setAttribute('alt','渡辺医院');
img1.setAttribute('id','l1i');
img1.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/me/im_category_l1.gif');
a1.appendChild(img1);
var li2=document.createElement('li');
li2.setAttribute('id','l2');
ul1.appendChild(li2);
var a2=document.createElement('a');
a2.onmouseout=function(){shopId(999);};
a2.onmouseover=function(){shopId(52);};
a2.setAttribute('id','l2a');
a2.setAttribute('href','http://shop801.kyo2.jp/e36490.html');
li2.appendChild(a2);
var img2=document.createElement('img');
img2.setAttribute('alt','藤本接骨院');
img2.setAttribute('id','l2i');
img2.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/me/im_category_l2.gif');
a2.appendChild(img2);
var li3=document.createElement('li');
li3.setAttribute('id','l3');
ul1.appendChild(li3);
var a3=document.createElement('a');
a3.onmouseout=function(){shopId(999);};
a3.onmouseover=function(){shopId(53);};
a3.setAttribute('id','l3a');
a3.setAttribute('href','http://shop801.kyo2.jp/e36494.html');
li3.appendChild(a3);
var img3=document.createElement('img');
img3.setAttribute('alt','空水治療院');
img3.setAttribute('id','l3i');
img3.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/me/im_category_l3.gif');
a3.appendChild(img3);
var li4=document.createElement('li');
li4.setAttribute('id','l4');
ul1.appendChild(li4);
var a4=document.createElement('a');
a4.onmouseout=function(){shopId(999);};
a4.onmouseover=function(){shopId(54);};
a4.setAttribute('id','l4a');
a4.setAttribute('href','http://shop801.kyo2.jp/e36491.html');
li4.appendChild(a4);
var img4=document.createElement('img');
img4.setAttribute('alt','岡本接骨院');
img4.setAttribute('id','l4i');
img4.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/me/im_category_l4.gif');
a4.appendChild(img4);
var li5=document.createElement('li');
li5.setAttribute('id','l5');
ul1.appendChild(li5);
var a5=document.createElement('a');
a5.onmouseout=function(){shopId(999);};
a5.onmouseover=function(){shopId(55);};
a5.setAttribute('id','l5a');
a5.setAttribute('href','http://shop801.kyo2.jp/e36486.html');
li5.appendChild(a5);
var img5=document.createElement('img');
img5.setAttribute('alt','渡辺西賀茂診療所');
img5.setAttribute('id','l5i');
img5.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/me/im_category_l5.gif');
a5.appendChild(img5);
var li6=document.createElement('li');
li6.setAttribute('id','r1');
ul1.appendChild(li6);
var a6=document.createElement('a');
a6.onmouseout=function(){shopId(999);};
a6.onmouseover=function(){shopId(61);};
a6.setAttribute('id','r1a');
a6.setAttribute('href','http://shop801.kyo2.jp/e36493.html');
li6.appendChild(a6);
var img6=document.createElement('img');
img6.setAttribute('alt','鈴木整形外科');
img6.setAttribute('id','r1i');
img6.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/me/im_category_r1.gif');
a6.appendChild(img6);
var li7=document.createElement('li');
li7.setAttribute('id','r2');
ul1.appendChild(li7);
var a7=document.createElement('a');
a7.onmouseout=function(){shopId(999);};
a7.onmouseover=function(){shopId(62);};
a7.setAttribute('id','r2a');
a7.setAttribute('href','http://shop801.kyo2.jp/e36492.html');
li7.appendChild(a7);
var img7=document.createElement('img');
img7.setAttribute('alt','松長整骨院');
img7.setAttribute('id','r2i');
img7.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/me/im_category_r2.gif');
a7.appendChild(img7);
var li8=document.createElement('li');
li8.setAttribute('id','r3');
ul1.appendChild(li8);
var a8=document.createElement('a');
a8.onmouseout=function(){shopId(999);};
a8.onmouseover=function(){shopId(63);};
a8.setAttribute('id','r3a');
a8.setAttribute('href','http://shop801.kyo2.jp/e36480.html');
li8.appendChild(a8);
var img8=document.createElement('img');
img8.setAttribute('alt','おおみやゆう薬局');
img8.setAttribute('id','r3i');
img8.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/me/im_category_r3.gif');
a8.appendChild(img8);
var li9=document.createElement('li');
li9.setAttribute('id','r4');
ul1.appendChild(li9);
var a9=document.createElement('a');
a9.onmouseout=function(){shopId(999);};
a9.onmouseover=function(){shopId(64);};
a9.setAttribute('id','r4a');
a9.setAttribute('href','http://shop801.kyo2.jp/e36481.html');
li9.appendChild(a9);
var img9=document.createElement('img');
img9.setAttribute('alt','オーツカ西賀茂薬局');
img9.setAttribute('id','r4i');
img9.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/me/im_category_r4.gif');
a9.appendChild(img9);
var li10=document.createElement('li');
li10.setAttribute('id','r5');
ul1.appendChild(li10);
var a10=document.createElement('a');
a10.onmouseout=function(){shopId(999);};
a10.onmouseover=function(){shopId(65);};
a10.setAttribute('id','r5a');
a10.setAttribute('href','http://shop801.kyo2.jp/e36479.html');
li10.appendChild(a10);
var img10=document.createElement('img');
img10.setAttribute('alt','にしがもゆう薬局');
img10.setAttribute('id','r5i');
img10.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/me/im_category_r5.gif');
a10.appendChild(img10);
var li11=document.createElement('li');
li11.setAttribute('id','r6');
ul1.appendChild(li11);
var a11=document.createElement('a');
a11.onmouseout=function(){shopId(999);};
a11.onmouseover=function(){shopId(66);};
a11.setAttribute('id','r6a');
a11.setAttribute('href','#');
li11.appendChild(a11);
var img11=document.createElement('img');
img11.setAttribute('alt','');
img11.setAttribute('id','r6i');
img11.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/me/im_category_r6.gif');
a11.appendChild(img11);


	}
	else if (catName=="生活・雑貨") {

container.className='life';//container class設定

var ul1=document.createElement('ul');
ul1.className='gr';
ul1.setAttribute('id','catmap');
var li1=document.createElement('li');
li1.setAttribute('id','l1');
ul1.appendChild(li1);
var a1=document.createElement('a');
a1.onmouseout=function(){shopId(999);};
a1.onmouseover=function(){shopId(71);};
a1.setAttribute('id','l1a');
a1.setAttribute('href','http://shop801.kyo2.jp/e36465.html');
li1.appendChild(a1);
var img1=document.createElement('img');
img1.setAttribute('alt','フレスコ');
img1.setAttribute('id','l1i');
img1.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/gr/im_category_l1.gif');
a1.appendChild(img1);
var li2=document.createElement('li');
li2.setAttribute('id','l2');
ul1.appendChild(li2);
var a2=document.createElement('a');
a2.onmouseout=function(){shopId(999);};
a2.onmouseover=function(){shopId(72);};
a2.setAttribute('id','l2a');
a2.setAttribute('href','http://shop801.kyo2.jp/e36471.html');
li2.appendChild(a2);
var img2=document.createElement('img');
img2.setAttribute('alt','朝日新聞');
img2.setAttribute('id','l2i');
img2.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/gr/im_category_l2.gif');
a2.appendChild(img2);
var li3=document.createElement('li');
li3.setAttribute('id','l3');
ul1.appendChild(li3);
var a3=document.createElement('a');
a3.onmouseout=function(){shopId(999);};
a3.onmouseover=function(){shopId(73);};
a3.setAttribute('id','l3a');
a3.setAttribute('href','http://shop801.kyo2.jp/e36464.html');
li3.appendChild(a3);
var img3=document.createElement('img');
img3.setAttribute('alt','ローヤル23 激安王');
img3.setAttribute('id','l3i');
img3.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/gr/im_category_l3.gif');
a3.appendChild(img3);
var li4=document.createElement('li');
li4.setAttribute('id','l4');
ul1.appendChild(li4);
var a4=document.createElement('a');
a4.onmouseout=function(){shopId(999);};
a4.onmouseover=function(){shopId(74);};
a4.setAttribute('id','l4a');
a4.setAttribute('href','http://shop801.kyo2.jp/e36472.html');
li4.appendChild(a4);
var img4=document.createElement('img');
img4.setAttribute('alt','ゴールフリー 西賀茂教室');
img4.setAttribute('id','l4i');
img4.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/gr/im_category_l4.gif');
a4.appendChild(img4);
var li5=document.createElement('li');
li5.setAttribute('id','l5');
ul1.appendChild(li5);
var a5=document.createElement('a');
a5.onmouseout=function(){shopId(999);};
a5.onmouseover=function(){shopId(75);};
a5.setAttribute('id','l5a');
a5.setAttribute('href','http://shop801.kyo2.jp/e36474.html');
li5.appendChild(a5);
var img5=document.createElement('img');
img5.setAttribute('alt','（株）サナダ酒店');
img5.setAttribute('id','l5i');
img5.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/gr/im_category_l5.gif');
a5.appendChild(img5);
var li6=document.createElement('li');
li6.setAttribute('id','l6');
ul1.appendChild(li6);
var a6=document.createElement('a');
a6.onmouseout=function(){shopId(999);};
a6.onmouseover=function(){shopId(76);};
a6.setAttribute('id','l6a');
a6.setAttribute('href','http://shop801.kyo2.jp/e36473.html');
li6.appendChild(a6);
var img6=document.createElement('img');
img6.setAttribute('alt','浅田文七商店');
img6.setAttribute('id','l6i');
img6.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/gr/im_category_l6.gif');
a6.appendChild(img6);
var li7=document.createElement('li');
li7.setAttribute('id','r1');
ul1.appendChild(li7);
var a7=document.createElement('a');
a7.onmouseout=function(){shopId(999);};
a7.onmouseover=function(){shopId(81);};
a7.setAttribute('id','r1a');
a7.setAttribute('href','http://shop801.kyo2.jp/e36477.html');
li7.appendChild(a7);
var img7=document.createElement('img');
img7.setAttribute('alt','ナベセン家具');
img7.setAttribute('id','r1i');
img7.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/gr/im_category_r1.gif');
a7.appendChild(img7);
var li8=document.createElement('li');
li8.setAttribute('id','r2');
ul1.appendChild(li8);
var a8=document.createElement('a');
a8.onmouseout=function(){shopId(999);};
a8.onmouseover=function(){shopId(82);};
a8.setAttribute('id','r2a');
a8.setAttribute('href','http://shop801.kyo2.jp/e36470.html');
li8.appendChild(a8);
var img8=document.createElement('img');
img8.setAttribute('alt','聖教新聞 鴨川販売店');
img8.setAttribute('id','r2i');
img8.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/gr/im_category_r2.gif');
a8.appendChild(img8);
var li9=document.createElement('li');
li9.setAttribute('id','r3');
ul1.appendChild(li9);
var a9=document.createElement('a');
a9.onmouseout=function(){shopId(999);};
a9.onmouseover=function(){shopId(83);};
a9.setAttribute('id','r3a');
a9.setAttribute('href','http://shop801.kyo2.jp/e36475.html');
li9.appendChild(a9);
var img9=document.createElement('img');
img9.setAttribute('alt','ローソン大宮南山ノ前町店');
img9.setAttribute('id','r3i');
img9.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/gr/im_category_r3.gif');
a9.appendChild(img9);
var li10=document.createElement('li');
li10.setAttribute('id','r4');
ul1.appendChild(li10);
var a10=document.createElement('a');
a10.onmouseout=function(){shopId(999);};
a10.onmouseover=function(){shopId(84);};
a10.setAttribute('id','r4a');
a10.setAttribute('href','http://shop801.kyo2.jp/e36467.html');
li10.appendChild(a10);
var img10=document.createElement('img');
img10.setAttribute('alt','毎日新聞 北山販売所');
img10.setAttribute('id','r4i');
img10.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/gr/im_category_r4.gif');
a10.appendChild(img10);
var li11=document.createElement('li');
li11.setAttribute('id','r5');
ul1.appendChild(li11);
var a11=document.createElement('a');
a11.onmouseout=function(){shopId(999);};
a11.onmouseover=function(){shopId(85);};
a11.setAttribute('id','r5a');
a11.setAttribute('href','http://shop801.kyo2.jp/e36466.html');
li11.appendChild(a11);
var img11=document.createElement('img');
img11.setAttribute('alt','生鮮館');
img11.setAttribute('id','r5i');
img11.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/gr/im_category_r5.gif');
a11.appendChild(img11);
var li12=document.createElement('li');
li12.setAttribute('id','r6');
ul1.appendChild(li12);
var a12=document.createElement('a');
a12.onmouseout=function(){shopId(999);};
a12.onmouseover=function(){shopId(86);};
a12.setAttribute('id','r6a');
a12.setAttribute('href','http://shop801.kyo2.jp/e36476.html');
li12.appendChild(a12);
var img12=document.createElement('img');
img12.setAttribute('alt','（株）アラコー');
img12.setAttribute('id','r6i');
img12.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/gr/im_category_r6.gif');
a12.appendChild(img12);
var li13=document.createElement('li');
li13.setAttribute('id','r7');
ul1.appendChild(li13);
var a13=document.createElement('a');
a13.onmouseout=function(){shopId(999);};
a13.onmouseover=function(){shopId(87);};
a13.setAttribute('id','r7a');
a13.setAttribute('href','http://shop801.kyo2.jp/e36463.html');
li13.appendChild(a13);
var img13=document.createElement('img');
img13.setAttribute('alt','フジカラーデジタルプラザ');
img13.setAttribute('id','r7i');
img13.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/gr/im_category_r7.gif');
a13.appendChild(img13);

	}
	else if (catName=="趣味") {

container.className='hobby';//container class設定

var ul1=document.createElement('ul');
ul1.className='ho';
ul1.setAttribute('id','catmap');
var li1=document.createElement('li');
li1.setAttribute('id','l1');
ul1.appendChild(li1);
var a1=document.createElement('a');
a1.onmouseout=function(){shopId(999);};
a1.onmouseover=function(){shopId(111);};
a1.setAttribute('id','l1a');
a1.setAttribute('href','#');
li1.appendChild(a1);
var img1=document.createElement('img');
img1.setAttribute('alt','');
img1.setAttribute('id','l1i');
img1.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/ho/im_category_l1.gif');
a1.appendChild(img1);
var li2=document.createElement('li');
li2.setAttribute('id','l2');
ul1.appendChild(li2);
var a2=document.createElement('a');
a2.onmouseout=function(){shopId(999);};
a2.onmouseover=function(){shopId(112);};
a2.setAttribute('id','l2a');
a2.setAttribute('href','http://shop801.kyo2.jp/e36458.html');
li2.appendChild(a2);
var img2=document.createElement('img');
img2.setAttribute('alt','ベラジオ');
img2.setAttribute('id','l2i');
img2.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/ho/im_category_l2.gif');
a2.appendChild(img2);
var li3=document.createElement('li');
li3.setAttribute('id','r1');
ul1.appendChild(li3);
var a3=document.createElement('a');
a3.onmouseout=function(){shopId(999);};
a3.onmouseover=function(){shopId(121);};
a3.setAttribute('id','r1a');
a3.setAttribute('href','http://shop801.kyo2.jp/e36459.html');
li3.appendChild(a3);
var img3=document.createElement('img');
img3.setAttribute('alt','片山モーターサイクル商会');
img3.setAttribute('id','r1i');
img3.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/ho/im_category_r1.gif');
a3.appendChild(img3);
var li4=document.createElement('li');
li4.setAttribute('id','r2');
ul1.appendChild(li4);
var a4=document.createElement('a');
a4.onmouseout=function(){shopId(999);};
a4.onmouseover=function(){shopId(122);};
a4.setAttribute('id','r2a');
a4.setAttribute('href','http://shop801.kyo2.jp/e36461.html');
li4.appendChild(a4);
var img4=document.createElement('img');
img4.setAttribute('alt','（有）山陽自動車');
img4.setAttribute('id','r2i');
img4.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/ho/im_category_r2.gif');
a4.appendChild(img4);
var li5=document.createElement('li');
li5.setAttribute('id','r3');
ul1.appendChild(li5);
var a5=document.createElement('a');
a5.onmouseout=function(){shopId(999);};
a5.onmouseover=function(){shopId(123);};
a5.setAttribute('id','r3a');
a5.setAttribute('href','http://shop801.kyo2.jp/e36460.html');
li5.appendChild(a5);
var img5=document.createElement('img');
img5.setAttribute('alt','すぽーつすたあ');
img5.setAttribute('id','r3i');
img5.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/ho/im_category_r3.gif');
a5.appendChild(img5);


	}
	else if (catName=="サービス") {

container.className='service';//container class設定

var ul1=document.createElement('ul');
ul1.className='se';
ul1.setAttribute('id','catmap');
var li1=document.createElement('li');
li1.setAttribute('id','l1');
ul1.appendChild(li1);
var a1=document.createElement('a');
a1.onmouseout=function(){shopId(999);};
a1.onmouseover=function(){shopId(91);};
a1.setAttribute('id','l1a');
a1.setAttribute('href','http://shop801.kyo2.jp/e36457.html');
li1.appendChild(a1);
var img1=document.createElement('img');
img1.setAttribute('alt','小島石油（株）');
img1.setAttribute('id','l1i');
img1.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/se/im_category_l1.gif');
a1.appendChild(img1);
var li2=document.createElement('li');
li2.setAttribute('id','l2');
ul1.appendChild(li2);
var a2=document.createElement('a');
a2.onmouseout=function(){shopId(999);};
a2.onmouseover=function(){shopId(92);};
a2.setAttribute('id','l2a');
a2.setAttribute('href','http://shop801.kyo2.jp/e36449.html');
li2.appendChild(a2);
var img2=document.createElement('img');
img2.setAttribute('alt','801商店街事務局');
img2.setAttribute('id','l2i');
img2.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/se/im_category_l2.gif');
a2.appendChild(img2);
var li3=document.createElement('li');
li3.setAttribute('id','l3');
ul1.appendChild(li3);
var a3=document.createElement('a');
a3.onmouseout=function(){shopId(999);};
a3.onmouseover=function(){shopId(93);};
a3.setAttribute('id','l3a');
a3.setAttribute('href','http://shop801.kyo2.jp/e36448.html');
li3.appendChild(a3);
var img3=document.createElement('img');
img3.setAttribute('alt','つるさん・かめさん');
img3.setAttribute('id','l3i');
img3.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/se/im_category_l3.gif');
a3.appendChild(img3);
var li4=document.createElement('li');
li4.setAttribute('id','r1');
ul1.appendChild(li4);
var a4=document.createElement('a');
a4.onmouseout=function(){shopId(999);};
a4.onmouseover=function(){shopId(101);};
a4.setAttribute('id','r1a');
a4.setAttribute('href','http://shop801.kyo2.jp/e36456.html');
li4.appendChild(a4);
var img4=document.createElement('img');
img4.setAttribute('alt','（株）西賀茂サービス・ステーション');
img4.setAttribute('id','r1i');
img4.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/se/im_category_r1.gif');
a4.appendChild(img4);
var li5=document.createElement('li');
li5.setAttribute('id','r2');
ul1.appendChild(li5);
var a5=document.createElement('a');
a5.onmouseout=function(){shopId(999);};
a5.onmouseover=function(){shopId(102);};
a5.setAttribute('id','r2a');
a5.setAttribute('href','http://shop801.kyo2.jp/e36451.html');
li5.appendChild(a5);
var img5=document.createElement('img');
img5.setAttribute('alt','京都中央信用金庫賀茂支店');
img5.setAttribute('id','r2i');
img5.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/se/im_category_r2.gif');
a5.appendChild(img5);
var li6=document.createElement('li');
li6.setAttribute('id','r3');
ul1.appendChild(li6);
var a6=document.createElement('a');
a6.onmouseout=function(){shopId(999);};
a6.onmouseover=function(){shopId(103);};
a6.setAttribute('id','r3a');
a6.setAttribute('href','http://shop801.kyo2.jp/e36454.html');
li6.appendChild(a6);
var img6=document.createElement('img');
img6.setAttribute('alt','京都信用金庫西賀茂支店');
img6.setAttribute('id','r3i');
img6.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/se/im_category_r3.gif');
a6.appendChild(img6);
var li7=document.createElement('li');
li7.setAttribute('id','r4');
ul1.appendChild(li7);
var a7=document.createElement('a');
a7.onmouseout=function(){shopId(999);};
a7.onmouseover=function(){shopId(104);};
a7.setAttribute('id','r4a');
a7.setAttribute('href','http://shop801.kyo2.jp/e36455.html');
li7.appendChild(a7);
var img7=document.createElement('img');
img7.setAttribute('alt','京都銀行西堀川支店大宮御薗橋出張所');
img7.setAttribute('id','r4i');
img7.setAttribute('src','http://www.kics.gr.jp/kita/801office/shop/img/se/im_category_r4.gif');
a7.appendChild(img7);


	}


	else {//その他
			return false;
		}

	replaceNode(ul1,catmap);//newElement oldElement
}
