var defaultMenuWidth="150px" //set default menu width.
var linkset=new Array()
//SPECIFY MENU SETS AND THEIR LINKS. FOLLOW SYNTAX LAID OUT

linkset[0]='<p>楠葉／ヘッド店のサロン・スタッフ・定休公休スケジュールのご案内</p>'
linkset[0]+='<hr>'
linkset[0]+='<a href="/salon_head.html">サロンのご案内</a>'
linkset[0]+='<a href="/staff_head.html">スタッフの紹介</a>'
linkset[0]+='<a href="/staff-shift.html">定休公休スケジュール</a>'

linkset[1]='<p>田辺／ビス店のサロン・スタッフ・定休公休スケジュールのご案内</p>'
linkset[1]+='<hr>'
linkset[1]+='<a href="/salon_bis.html">サロンのご案内</a>'
linkset[1]+='<a href="/staff_bis.html">スタッフの紹介</a>'
linkset[1]+='<a href="/staff-shift.html">定休公休スケジュール</a>'

linkset[2]='<p>二条駅／シード店のサロン・スタッフ・定休公休スケジュールのご案内</p>'
linkset[2]+='<hr>'
linkset[2]+='<a href="/salon_seed.html">サロンのご案内</a>'
linkset[2]+='<a href="/staff_seed.html">スタッフの紹介</a>'
linkset[2]+='<a href="/staff-shift.html">定休公休スケジュール</a>'

linkset[3]='<p>全店共通技術メニュー＆プライスのご案内</p>'
linkset[3]+='<hr>'
linkset[3]+='<a href="/menu.html">メニュー＆プライス</a>'

linkset[4]='<p>エステのメニュー＆プライスのご案内</p>'
linkset[4]+='<hr>'
linkset[4]+='<a href="/esthe.html">メニュー＆プライス</a>'

linkset[5]='<p>ｽﾀｲﾙｵｰﾀﾞｰウィッグ(ｶﾂﾗ)<br>情報・料金などのご案内</p>'
linkset[5]+='<hr>'
linkset[5]+='<a href="/wig/">ウィッグトップページ</a>'
linkset[5]+='<a href="/change.html">あなたが変わる</a>'
linkset[5]+='<a href="/miryoku.html">ホントの魅力</a>'
linkset[5]+='<a href="/nagare.html">ご注文からの流れ</a>'
linkset[5]+='<a href="/products.html">商品ラインナップ</a>'
linkset[5]+='<a href="/gallery.html">ヘアギャラリー</a>'
linkset[5]+='<a href="/report.html">最新レポート</a>'

linkset[6]='<p>季節のヘアスタイルを紹介</p>'
linkset[6]+='<hr>'
linkset[6]+='<a href="/salonstyle.html">サロンヘアスタイル</a>'

linkset[7]='<p>クリエイティブなヘア作品集</p>'
linkset[7]+='<hr>'
linkset[7]+='<a href="/gallery.html?inp=sc">スタッフの作品集</a>'
linkset[7]+='<a href="/gallery.html">島田真由美の作品集</a>'

linkset[8]='<p>OSHARE DOROBO<br>最新情報</p>'
linkset[8]+='<hr>'
linkset[8]+='<a href="http://blog.osharedorobo.com/?cid=1">ニュース</a>'

linkset[9]='<p>スタッフの楽しい話題<br>＆つぶやきブログ</p>'
linkset[9]+='<hr>'
linkset[9]+='<a href="http://blog.osharedorobo.com/?cid=2">ブログ</a>'

linkset[10]='<p>OSHARE DOROBO<br>会社概要・コンセプト</p>'
linkset[10]+='<hr>'
linkset[10]+='<a href="/company.html">会社概要</a>'

linkset[11]='<p>スタッフ定休公休のご案内</p>'
linkset[11]+='<hr>'
linkset[11]+='<a href="/staff-shift.html">スケジュール</a>'

linkset[12]='<p>求人のご案内</p>'
linkset[12]+='<hr>'
linkset[12]+='<a href="/recruit.html">求人内容</a>'

////No need to edit beyond here
var ie5=document.all && !window.opera
var ns6=document.getElementById
if (ie5||ns6)
document.write('<div id="popitmenu" onMouseover="clearhidemenu();" onMouseout="dynamichide(event)"></div>')
function iecompattest(){
return (document.compatMode && document.compatMode.indexOf("CSS")!=-1)? document.documentElement : document.body
}
function showmenu(e, which, optWidth){
if (!document.all&&!document.getElementById)
return
clearhidemenu()
menuobj=ie5? document.all.popitmenu : document.getElementById("popitmenu")
menuobj.innerHTML=which
menuobj.style.width=(typeof optWidth!="undefined")? optWidth : defaultMenuWidth
menuobj.contentwidth=menuobj.offsetWidth
menuobj.contentheight=menuobj.offsetHeight
eventX=ie5? event.clientX : e.clientX
eventY=ie5? event.clientY : e.clientY
//Find out how close the mouse is to the corner of the window
var rightedge=ie5? iecompattest().clientWidth-eventX : window.innerWidth-eventX
var bottomedge=ie5? iecompattest().clientHeight-eventY : window.innerHeight-eventY
//if the horizontal distance isn't enough to accomodate the width of the context menu
if (rightedge<menuobj.contentwidth)
//move the horizontal position of the menu to the left by it's width
menuobj.style.left=ie5? iecompattest().scrollLeft+eventX-menuobj.contentwidth+"px" : window.pageXOffset+eventX-menuobj.contentwidth+"px"
else
//position the horizontal position of the menu where the mouse was clicked
menuobj.style.left=ie5? iecompattest().scrollLeft+eventX+"px" : window.pageXOffset+eventX+"px"
//same concept with the vertical position
if (bottomedge<menuobj.contentheight)
menuobj.style.top=ie5? iecompattest().scrollTop+eventY-menuobj.contentheight+"px" : window.pageYOffset+eventY-menuobj.contentheight+"px"
else
menuobj.style.top=ie5? iecompattest().scrollTop+event.clientY+"px" : window.pageYOffset+eventY+"px"
menuobj.style.visibility="visible"
return false
}

function contains_ns6(a, b) {
//Determines if 1 element in contained in another- by Brainjar.com
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function hidemenu(){
if (window.menuobj)
menuobj.style.visibility="hidden"
}

function dynamichide(e){
if (ie5&&!menuobj.contains(e.toElement))
hidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
hidemenu()
}

function delayhidemenu(){
delayhide=setTimeout("hidemenu()",500)
}

function clearhidemenu(){
if (window.delayhide)
clearTimeout(delayhide)
}

if (ie5||ns6)
document.onclick=hidemenu
