﻿/***********************************************
* Link Floatie script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

var floattext=new Array()
floattext[0]='<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0" bgcolor="#ffffff"><tbody><tr><td align="center"><h2><font face="Arial" color="#ffcc00">なぜブルガリアか。</font></h1></td></tr></tbody></table><table cellSpacing="1" cellPadding="3" width="100%" align="center" border="0" bgcolor="#ffffff"><tbody><tr><td width="200" align="center"><a href="why_bg-jp.htm"><img height="121" width="200" src="WhyBG/bulmap200x121.gif" align="top" alt="7,000年間の歴史の土地" title="7,000年間の歴史の土地" border="1"></a></td></tr><tr><td><p align="justify"><font face="Arial" size="2" color="#005500"><a href="why_bg-jp.htm" title="10ブルガリアを訪問する理由"><b>知った…</b></a></font></p></td></tr></tbody></table><div align="right"><a href="javascript:hidefloatie()">[X]</a></div>'

floattext[1]='<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0" ><tbody><tr><td align="center"><h2><font face="Arial" color="#ffcc00">ツアー</font></h1></td></tr></tbody></table><a href="tours-bulgaria-romania.htm#BULGARIA-ROMANIA_Guided_Cultural_Tours">ブルガリア-ルーマニア</a><br><a href="knowBG-jp.htm#GET_TO_KNOW_BULGARIA">ブルガリアを知ることを得なさい</a><br><a href="treasures-jp.htm#BULGARIAN_TREASURES_Tour">ブルガリアの宝物</a><br><a href="monasteries-jp.htm#BULGARIAN_MONASTERIES_Tour">ブルガリア修道院</a><br><a href="architecture-jp.htm#BULGARIAN_ARCHITECTURE_Tour">ブルガリアの建築</a><br><a href="folkart-jp.htm#BULGARIAN_FOLK_ARTS_and_CRAFTS_Tours">ブルガリアの民芸および技術</a><br><a href="cuisine-jp.htm#BULGARIAN_CUISINE_TOUR">ブルガリアの料理</a><br><a href="UNESCO-heritage-jp.htm">ユネスコの場所</a><br><a  href="wine-jp.htm#BULGARIAN_WINE_Tours">ブルガリアのワイン</a><br><a href="tours-jp.htm"><b>多くは旅行する...</b></a><br><div align="right"><a href="javascript:hidefloatie()">[X]</a></div>'

floattext[2]='<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0" bgcolor="#ffffff"><tbody><tr><td align="center"><h2><font face="Arial" color="#ffcc00">ブルガリアのホテル</font></h1></td></tr></tbody></table><div align="left"><table border="1" cellpadding="1" cellspacing="1" width="100%" bgcolor="#238e02" style="border: 1px solid #d8f3e9;"><tr bgcolor="#238e02"><td width="100%"><table border="0" cellpadding="1" cellspacing="0" width="100%" bgcolor="#ffffff"><tr><td><a ref="hotels-sf.htm" onMouseOver="act(\'sfhotels\')" onMouseOut="inact(\'sfhotels\')"><img src="sfhotelsn.gif" height="24" width="120" name="sfhotels" border="0" title="ソフィアのホテル" alt="ソフィアのホテル"></a><br><a href="hotels-pd.htm" onMouseOver="act(\'pdhotels\')" onMouseOut="inact(\'pdhotels\')"><img src="pdhotelsn.gif" height="24" width="120" name="pdhotels" border="0" title="Plovdivのホテル" alt="Plovdivのホテル"></a><br><a href="hotels-vn.htm" onMouseOver="act(\'vnhotels\')" onMouseOut="inact(\'vnhotels\')"><img src="vnhotelsn.gif" height="24" width="120" name="vnhotels" border="0" title="バルナのホテル" alt="バルナのホテル"></a><br><a href="hotels-rs.htm" onMouseOver="act(\'rshotels\')" onMouseOut="inact(\'rshotels\')"><img src="rshotelsn.gif" height="24" width="120" name="rshotels" border="0" title="Rousseのホテル" alt="Rousseのホテル"></a><br><a href="hotels-vt.htm" onMouseOver="act(\'vthotels\')" onMouseOut="inact(\'vthotels\')"><img src="vthotelsn.gif" height="24" width="120" name="vthotels" border="0" title="Veliko Turnovoのホテル" alt="Veliko Turnovoのホテル"></a></td><td><a href="hotels-kz.htm" onMouseOver="act(\'kzhotels\')" onMouseOut="inact(\'kzhotels\')"><img src="kzhotelsn.gif" height="24" width="90" name="kzhotels" border="0" title="Kazanlukのホテル" alt="Kazanlukのホテル"></a><br><a href="hotels-sa.htm" onMouseOver="act(\'sahotels\')" onMouseOut="inact(\'sahotels\')"><img src="sahotelsn.gif" height="24" width="120" name="sahotels" border="0" title="Sandanskiのホテル" alt="Sandanskiのホテル"></a><br><a href="hotels-bansko.htm" onMouseOver="act(\'banhotels\')" onMouseOut="inact(\'banhotels\')"><img src="banhotelsn.gif" height="24" width="80" name="banhotels" border="0" title="Banskoのホテル" alt="Banskoのホテル"></a><br><a href="hotels-shoumen.htm" onMouseOver="act(\'shhotels\')" onMouseOut="inact(\'shhotels\')"><img src="shhotelsn.gif" height="24" width="90" name="shhotels" border="0" title="Shoumenのホテル" alt="Shoumenのホテル"></a><br><a href="hotels-bourgas.htm" onMouseOver="act(\'bouhotels\')" onMouseOut="inact(\'bouhotels\')"><img src="bouhotelsn.gif" height="24" width="80" name="bouhotels" border="0" title="Bourgasのホテル" alt="Bourgasのホテル"></a></td></tr></table></td></tr></table><table cellspacing="0" cellpadding="0" width="100%" align="center" border="0" bgcolor="#ffffff"><tbody><tr><td align="left"><p align="left"><font face="Arial" size="2" color="#005500">&nbsp;<a href="hotels-jp.htm" title="ブルガリアのホテル"><b>どこでとどまるか...</b></a></font></p></td></tr></tbody></table></div><div align="right"><a href="javascript:hidefloatie()">[X]</a>'

floattext[3]='<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0" bgcolor="#ffffff"><tbody><tr><td align="center"><h2><font face="Arial" color="#ffcc00">ご連絡先</font></h1></td></tr></tbody></table><table cellspacing="0" cellpadding="0" width="100%"  border="0" bgcolor="#ffffff"><tbody><tr><td><p align="right"><img height="24" src="altours-logo-small.gif" width="90" align="right" border="0" alt="Altours BG" title="Altours BG"><br><br><img src="images/info-altours-bg.jpg" height="18" width="127" border="0" alt="情報のため" align="right"><br><br><img src="images/office-altours-bg.jpg" height="18" width="135" border="0" alt="商売関係のため" align="right"><br><br><img src="images/reservations-altours-bg.jpg" height="18" width="178" border="0" alt="予約のため" align="right"></p></td></tr><tr><td><p align="right"><font face="Arial" size="2"  color="#005500"><a href="contact-jp.htm" title="ご連絡先"><br>&nbsp;<b> 細部については...</b></a></font></p></td></tr></tbody></table><div style="LEFT: 10px; POSITION: absolute; TOP: 65px"><a href="contact-jp.htm"><img src="images/office-80x80.jpg" width="80" height="80" border="1" alt="Altours BG ~ 私達はブルガリアのあなたの添乗員である"></a></div><div align="right"><a href="javascript:hidefloatie()">[X]</a></div>'

floattext[4]='<b>Top 10 reasons to visit Bulgaria:</b><br>Cradle of civilizations<br>Land of golden treasures<br>Meeting point of civilizations<br>Homeland of powerful kingdoms<br>Sofia - town from the dawn of history<br>Culture and wildlife with recognition<br>Native land of Orpheus and Spartacus<br>Wine - tradition carried through millennia<br>Homeland of the attar of roses<br>Country of yoghurt - the food of centenarians'

floattext[5]='<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0" bgcolor="#ffffff"><tbody><tr><td align="center"><h2><font face="Arial" color="#ffcc00">Altours について</font></h1></td></tr></tbody></table><table cellSpacing="0" cellPadding="0" width="100%" align="center" border="0"><tbody><tr><td width="26%">&nbsp;</td><td><p align="justify"><font face="Arial" size="2" color="#005500"><a href="about-jp.htm" title="私達はブルガリアのあなたの添乗員である"><b>私達の添乗員の会社について...</b></a></font></p></td></tr></tbody></table><br><br><br><br><br><br><br><br><div align="right"><a href="javascript:hidefloatie()">[X]</a></div>'

floattext[6]='<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0" bgcolor="#ffffff"><tbody><tr><td align="center"><h2><font face="Arial" color="#ffcc00">写真ギャラリー</font></h1></td></tr></tbody></table><table cellSpacing="0" cellPadding="0" width="100%" align="center" border="0" bgcolor="#ffffff"><tbody><tr><td align="center"><a href="gallery-jp.htm"><img height="132" width="256" src="images/altours-gallery-256x132.jpg" align="top" alt="写真ギャラリー" title="写真ギャラリー" border="0"></a></td></tr><tr><td><p align="justify"><font face="Arial" size="2" color="#005500"><a href="gallery-jp.htm" title="写真ギャラリー"><b>私達の写真ギャラリーを楽しみなさい...</b></a></font></p></td></tr></tbody></table><div align="right"><a href="javascript:hidefloatie()">[X]</a></div>'


floattext[7]='<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0" bgcolor="#ffffff"><tbody><tr><td align="center"><h2><font face="Arial" color="#ffcc00">ブルガリアの天気予報</font></h1></td></tr></tbody></table><table cellSpacing="0" cellPadding="0" width="100%" align="center" border="0"><tbody><tr><td width="100">&nbsp;</td><td><p align="justify"><font face="Arial" size="2" color="#005500"><a href="weather-forecast-bulgaria.htm" title="ブルガリアの天気予報"><img height="52" width="53" src="bulgaria-weather.gif" alt="ブルガリアの天気予報" title="あなたの好みの旅行のために詰まって前に、天気予報を見てみなさい" border="0"></a></font></p></td></tr></tbody></table><br><br><br><br><br><br><br><br><div align="right"><a href="javascript:hidefloatie()">[X]</a></div>'


floattext[8]='<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0" bgcolor="#ffffff"><tbody><tr><td align="center"><h2><font face="Arial" color="#ffcc00">ブルガリアの伝統</font></h1></td></tr></tbody></table><br><br><div align="left"><table border="1" cellpadding="1" cellspacing="1" width="191" bgcolor="#238e02" style="border: 1px solid #d8f3e9;"><tr bgcolor="#238e02"><td width="100%"><table border="0" cellpadding="5" cellspacing="0" width="100%" bgcolor="#ffffff"><tr><td><a href="traditions-jp.htm" onMouseOver="javascript:act(\'bultrad\')" onMouseOut="javascript:inact(\'bultrad\')"><img src="bultradn.gif" height="24" width="155" name="bultrad" border="0" title="ブルガリアの中心そして精神" alt="ブルガリアの中心そして精神"></A></td></tr></table></td></tr></table></div>'




var Tn = 8; //number of thumbnails
var floatiewidth = new Array ();
   for(var i=0; i<Tn; i++)
  {
    floatiewidth[i]= "250px"; //default width of floatie in px
  }

var floatieheight = new Array ();
   for(var i=0; i<Tn; i++)
  {
    floatieheight[i]= "60px"; //default height of floatie in px. Set to "" to let floatie content dictate height.
  }

var floatiebgcolor = new Array ();
   for(var i=0; i<Tn; i++)
  {
    floatiebgcolor[i]= "lightyellow"; //default bgcolor of floatie
  }

var divId = new Array ();
  divId[0]= "dhtmlfloatie"
  divId[1]= "dhtmlfloatie1"
  divId[2]= "dhtmlfloatie2"
  divId[3]= "dhtmlfloatie3"
  divId[4]= "dhtmlfloatie4"
  divId[5]= "dhtmlfloatie5"
  divId[6]= "dhtmlfloatie6"
  divId[7]= "dhtmlfloatie7"


var fadespeed=70 //speed of fade (5 or above). Smaller=faster.

var baseopacity=0
function slowhigh(which2){
imgobj=which2
browserdetect=which2.filters? "ie" : typeof which2.style.MozOpacity=="string"? "mozilla" : ""
instantset(baseopacity)
highlighting=setInterval("gradualfade(imgobj)",fadespeed)
}

function instantset(degree){
cleartimer()
if (browserdetect=="mozilla")
imgobj.style.MozOpacity=degree/100
else if (browserdetect=="ie")
imgobj.filters.alpha.opacity=degree
}

function cleartimer(){
if (window.highlighting) clearInterval(highlighting)
}

function gradualfade(cur2){
if (browserdetect=="mozilla" && cur2.style.MozOpacity<1)
cur2.style.MozOpacity=Math.min(parseFloat(cur2.style.MozOpacity)+0.1, 0.99)
else if (browserdetect=="ie" && cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=10
else if (window.highlighting)
clearInterval(highlighting)
}

function ietruebody(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function paramexists(what){
return(typeof what!="undefined" && what!="")
}

function showfloatie(thetext, e, optbgColor, optWidth, optHeight, optDivId){
hidefloatie()
var dsocx=(window.pageXOffset)? pageXOffset: ietruebody().scrollLeft;
var dsocy=(window.pageYOffset)? pageYOffset : ietruebody().scrollTop;

var floatobj=document.getElementById(optDivId)
floatobj.style.left="-900px"
floatobj.style.display="block"
floatobj.style.backgroundColor=paramexists(optbgColor)? optbgColor : floatiebgcolor[2]

floatobj.style.width=paramexists(optWidth)? optWidth+"px" : floatiewidth[2]
floatobj.style.height=paramexists(optHeight)? optHeight+"px" : floatieheight[2]!=""? floatieheight[2] : ""
floatobj.innerHTML=thetext
var floatWidth=floatobj.offsetWidth>0? floatobj.offsetWidth : floatobj.style.width
var floatHeight=floatobj.offsetHeight>0? floatobj.offsetHeight : floatobj.style.width
var winWidth=document.all&&!window.opera? ietruebody().clientWidth : window.innerWidth-20
var winHeight=document.all&&!window.opera? ietruebody().clientHeight : window.innerHeight
e=window.event? window.event : e
floatobj.style.left=dsocx+winWidth-floatWidth-5+"px"
if (e.clientX>winWidth-floatWidth && e.clientY+20>winHeight-floatHeight)
floatobj.style.top=dsocy+5+"px"
else
floatobj.style.top=dsocy+winHeight-floatHeight-5+"px"
slowhigh(floatobj)
}


function hidefloatie(){
 for(var i=0; i<Tn; i++)
  {
var floatobj=document.getElementById(divId[i])
floatobj.style.display="none"
}
}
