_vctag='<strong>>><a href="http://m-search.jp/start/" target="_blank"><IMG src="http://m-search.jp/start/emoji_maru.gif" width="15" height="15" border="0">THEスタートページ</a>　　>><a href="http://m-search.jp" target="_blank"><IMG src="http://m-search.jp/ms/favicon.gif" width="15" height="15" border="0">Mobile Search!</a></strong>'
var activeMenu=null
var activeSub=null
_D=document
function menuItemHighlight(o){
with(o.style){
background="highlight"
color="highlighttext"
}
}
function menuItemNormal(o){
with(o.style){
background=""
color=""
}
}
function raiseButton(o){
with(o.style){
borderTop=borderLeft="1 solid buttonhighlight"
borderBottom=borderRight="1 solid buttonshadow"
padding="1"
paddingLeft=paddingRight="7"
}
}
function normalButton(o){
with(o.style){
border="1 solid buttonface"
padding="1"
paddingLeft=paddingRight="7"
}
}
function pressedButton(o){
with(o.style){
borderTop=borderLeft="1 solid buttonshadow"
paddingTop="2"
paddingLeft="8"
borderBottom=borderRight="1 solid buttonhighlight"
paddingBottom="0"
paddingRight="6"
}
}
function cleanUpMenuBar(){
for(i=0,r=menu.rows;i<r.length;i++)
for(j=0,c=r(i).cells;j<c.length;j++)
if(c(j).className=="root")
normalButton(c(j))
}
function getMenuItem(o){
var e=o
while(e&&e.tagName!="TABLE"&&e.id!="menubar"&&e.id!="menu"&&e.id!="handle"){
if(e.tagName=="TR"||e.className=="root")o=e
e=e.parentElement
}
return o
}
function menuClick(){
if(event.srcElement==null)
return
var o=getMenuItem(event.srcElement)
if(o.className!="disabled"&&o.id!="menubar"){
if(o.className=="root"){
if(activeMenu)
raiseButton(o)
else
pressedButton(o)
toggleMenu(o)
}
else if(o.href){
if(activeMenu)
toggleMenu(activeMenu.parentElement)
cleanUpMenuBar()
if(o.target)
open(o.href,o.target)
else if(_D.all.tags("BASE").item(0)!=null)
open(o.href,_D.all.tags("BASE").item(0).target)
else
location=o.href
}
}
event.cancelBubble=true
}
function Restore(){
if(activeMenu){
toggleMenu(activeMenu.parentElement)
cleanUpMenuBar()
}
}
_D.onclick=Restore
function menuOver(){
if(event.fromElement==null||event.toElement==null||event.fromElement==event.toElement)
return
var fromEl=getMenuItem(event.fromElement)
var toEl=getMenuItem(event.toElement)
if(fromEl==toEl)
return
if(toEl.className!="disabled"&&toEl.id!="menubar"){
if(toEl.className=="root"){
if(activeMenu){
if(toEl.menu!=activeMenu){
cleanUpMenuBar()
pressedButton(toEl)
toggleMenu(toEl)
}
}
else{
raiseButton(toEl)
}
}
else{
if(fromEl!=toEl&&toEl.tagName!="TABLE"){
cleanup(toEl.parentElement.parentElement,false)
menuItemHighlight(toEl)
toEl.parentElement.parentElement.activeItem=toEl
if(toEl.href)
status=toEl.href
if(toEl.className=="sub")
showSubMenu(toEl,true)
}
}
}
}
function menuOut(){
if(event.fromElement==null||event.toElement==null||event.fromElement==event.toElement)
return
var fromEl=getMenuItem(event.fromElement)
var toEl=getMenuItem(event.toElement)
if(fromEl==toEl)
return
if(fromEl.className=="root"){
if(activeMenu){
if(fromEl.menu!=activeMenu)
normalButton(fromEl)
}
else
normalButton(fromEl)
}
else{
if(fromEl.className!="disabled"&&fromEl.id!="menubar"){
if(fromEl!=toEl&&fromEl.tagName!="TABLE")
menuItemNormal(fromEl)
status=""
}
}
}
function toggleMenu(o){
if(o.menu==null)
o.menu=getChildren(o)
if(o.menu==activeMenu){
if(activeSub)
menuItemNormal(activeSub.parentElement.parentElement)
cleanup(o.menu,true)
activeMenu=null
activeSub=null
}
else{
if(activeMenu){
cleanup(activeMenu,true)
hideMenu(activeMenu)
}
activeMenu=o.menu
var tPos=topPos(o.menu)+menu.offsetHeight
if(_D.body.offsetHeight-tPos>=o.menu.offsetHeight){
o.menu.style.pixelTop=menu.offsetHeight-o.offsetTop-2
dir=2
}
else{
o.menu.style.pixelTop=o.offsetTop+2-o.menu.offsetHeight
dir=8
}
o.menu.style.pixelLeft=o.offsetLeft
show(o.menu,dir)
}
}
function topPos(o){
var temp=o,y=0
while(temp.id!="menu"){temp=temp.offsetParent;y+=temp.offsetTop}
return y
}
function leftPos(o){
var temp=o,x=0
while(temp.id!="menu"){temp=temp.offsetParent;x+=temp.offsetLeft}
return x+o.offsetParent.offsetWidth
}
function show(o,dir){
if(self.createPopup){
o.style.filter=[
"DX.Wheel(duration=0.5,spokes=5)",
"DX.Fade(duration=0.5)",
"DX.Pixelate(duration=0.5,maxSquare=40)",
"DX.RandomDissolve(duration=0.5)",
][function(m){return Math.floor(Math.random()*(m+1))}(3)].replace(/DX/,"progid:DXImageTransform.Microsoft")
o.filters[0].Enabled=true
o.filters[0].Apply()
o.filters[0].Play()
}
o.style.visibility="visible"
}
function cleanup(menu,hide){
if(menu.activeItem){
if(menu.activeItem.className=="sub"&&menu.activeItem.subMenu){
cleanup(menu.activeItem.subMenu,true)
}
menuItemNormal(menu.activeItem)
}
if(hide){
hideMenu(menu)
}
}
function hideMenu(o){
if(self.createPopup){
o.filters[0].Stop()
o.filters[0].Enabled=false
}
o.style.visibility="hidden"
}
function getChildren(o){
return o.children.tags("TABLE")[0]
}
var dragObject=null
var dragObjectPos="top"
var _m=_D.all.tags("META")
for(var i=0;i<_m.length;i++)if(_m[i].httpEquiv.match(/^menupos$/i))dragObjectPos=_m[i].content.toLowerCase()
var tx,ty
function fixSize(){
with(outerDiv.style){
if(dragObjectPos=="top"){
top=menu.offsetHeight
height=_D.body.clientHeight-menu.offsetHeight
}
else if(dragObjectPos=="bottom"){
top=0
height=_D.body.clientHeight-menu.offsetHeight
menu.style.top=_D.body.clientHeight-menu.offsetHeight
}
else{
top=0
height=_D.body.clientHeight
}
}
if(dragObjectPos=="bottom"){menu.style.border="2px buttonface";menu.style.borderStyle="outset none inset"}else{menu.style.border="2px outset white"}
}
function document.onmousedown(){
if(event.srcElement.id=="handle"){
dragObject=_D.all[event.srcElement.getAttribute("for")]
Restore()
tx=(event.clientX-dragObject.style.pixelLeft)
ty=(event.clientY-dragObject.style.pixelTop)
event.returnValue=false
event.cancelBubble=true
dragObject.setCapture()
}
else{
dragObject=null
} 
}
function document.onmouseup(){
if(dragObject){
dragObject.releaseCapture()
dragObject=null
}
}
function document.onmousemove(){
if(dragObject){
with(dragObject.style){
if(event.clientX>=0){
if(event.clientY-ty<=15){
width="100%"
top=0
left=0
dragObjectPos="top"
fixSize()
}
else if(event.clientY-ty>=_D.body.clientHeight-menu.offsetHeight-15){
width="100%"
top=_D.body.clientHeight-menu.offsetHeight
left=0
dragObjectPos="bottom"
fixSize()
}
else{
width="10px" 
left=event.clientX-tx
top=event.clientY-ty
dragObjectPos="float"
fixSize()
}
}
event.returnValue=false
event.cancelBubble=true
}
} 
}
function subitm(url,txt){
return '<tr href="'+url+'" title="" target="_blank">'
+'<td style="text-align:center">%space%<img src="http://kei-tai.com/favicon.gif" width=14 height=15 border=0></span></td>'
+'<td nowrap>'+txt+'</td>'
+'<td>%space%&nbsp;</span></td>'
+'</tr>'
}
_D.write((
 '<table id="menu" onselectstart="return false" onmouseover="menuOver()" onmouseleave="menuOut()" onmouseout="menuOut()" onclick="menuClick()" cellspacing="1">'
+'<tr id="menubar">'
+'<td class="disabled" style="padding-left:0 padding-right:1">'
+'<div class="disabled" id="handle" for="menu" style="left:3;width:3;height:100%" title="ドラッグで移動"></div></td>'
+'<td class="root" nowrap>▼ <IMG src="http://kei-tai.com/favicon.gif" width="14" height="15"> 携帯.com （店舗一覧表示）'
+'<table class="menu" style="visibility:hidden" cellspacing=0>'
+'<tr class="disabled">'
+'<a href="http://www.kei-tai.com" target="_blank"><td rowspan=99 style="background:URL(menu.jpg)">%space%&nbsp;</span></td></A>'
+'</tr>'
+subitm('http://kei-tai.com/a/minamialps/','auショップ 南アルプス中央')
+subitm('http://kei-tai.com/a/ohsaki-nc/','auショップ 大崎ニューシティ')
+subitm('http://kei-tai.com/a/minamiurawa/','auショップ 南浦和')
+subitm('http://kei-tai.com/a/nakano-s/','auショップ 中野坂上')
+subitm('http://kei-tai.com/a/gotandahigashiguchi/','auショップ 五反田東口')
+subitm('http://kei-tai.com/s/shinjuku/','ソフトバンク 新宿')
+subitm('http://kei-tai.com/s/kamata/','ソフトバンク 蒲田')
+subitm('http://kei-tai.com/s/nakano-s/','ソフトバンク 中野坂上')
+subitm('http://kei-tai.com/s/machida-c/','ソフトバンク 町田中央')
+subitm('http://kei-tai.com/s/inage/','ソフトバンク 稲毛駅前')
+subitm('http://ck.jp.ap.valuecommerce.com/servlet/referral?sid=2167119&pid=875287736','ｿﾌﾄﾊﾞﾝｸｵﾝﾗｲﾝｼｮｯﾌﾟ：個人')
+subitm('http://ck.jp.ap.valuecommerce.com/servlet/referral?sid=2167119&pid=878092356','ｿﾌﾄﾊﾞﾝｸｵﾝﾗｲﾝｼｮｯﾌﾟ：法人')
+subitm('http://click.linksynergy.com/fs-bin/click?id=tty1OU0wOAI&offerid=100775.10000046&type=3&subid=0','ウィルコムストア')
+subitm('http://ck.jp.ap.valuecommerce.com/servlet/referral?sid=2167119&pid=877739513','イー・モバイルストア')
+subitm('http://click.linksynergy.com/fs-bin/click?id=tty1OU0wOAI&offerid=94348.10000012&type=3&subid=0','iTunes')
+subitm('http://www.skype.com/intl/ja/home','Skype')
+subitm('http://www.countryminutes.com','参加店舗 募集中')
+'</table>'
+'</td>'
+'<td width=100% class="disabled" onmouseover="event.cancelBubble=true" id=textad_cell></td>'
+'<td width=100% class="disabled" comment="Needed to fill out the menubar">&nbsp;</td>'
+'</tr>'
+'</table>'
+'<div id="outerDiv" STYLE="padding:5pt;margin:0pt;left:0pt">'
).replace(/%space%/g,'<span style="width:20">')
)
if(!_D.compatMode||_D.compatMode=="BackCompat"){
_D.body.scroll="no"
_D.styleSheets(0).addRule("body","border:0;margin:0;")
textad_cell.insertAdjacentElement("afterBegin",table)
table.style.visibility="visible"
table2.innerHTML=_vctag
fixSize()
window.onresize=function(){outerDiv.style.height="auto";fixSize()}
menu.style.visibility="visible"
function window.onbeforeprint(){menu.style.display="none";outerDiv.style.top=outerDiv.style.height=_D.body.style.overflow="auto"}
function window.onafterprint(){menu.style.display="block";_D.body.style.overflow="hidden";fixSize()}
}else
document.write(_vctag+"<br>")