/***********************************************
* 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">Why Bulgaria</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.htm"><img height="121" width="200" src="WhyBG/bulmap200x121.gif" align="top" alt="High Priority Tourist Destination - 7,000 Years of History" title="High Priority Tourist Destination - 7,000 Years of History" border="1"></a></td></tr><tr><td><p align="justify"><font face="Arial" size="2" color="#005500"><a href="why_bg.htm" title="The Top 10 reasons to visit Bulgaria"><b>Did you know...</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">Tours</font></h1></td></tr></tbody></table><a href="tours-bulgaria-romania.htm#BULGARIA-ROMANIA_Guided_Cultural_Tours">Bulgaria &amp; Romania</a><br><a href="treasures.htm#BULGARIAN_TREASURES_Tour">Bulgarian Treasures</a><br><a  href="knowBG.htm#GET_TO_KNOW_BULGARIA">Get to know Bulgaria</a><br><a href="monasteries.htm#BULGARIAN_MONASTERIES_Tour">Bulgarian Monasteries</a><br><a href="architecture.htm#BULGARIAN_ARCHITECTURE_Tour">Bulgarian Architecture</a><br><a href="folkart.htm#BULGARIAN_FOLK_ARTS_and_CRAFTS_Tours">Folk Arts &amp; Crafts</a><br><a href="cuisine.htm#BULGARIAN_CUISINE_TOUR">Bulgarian Cuisine</a><br><a href="UNESCO-heritage.htm">UNESCO Sites</a><br><a  href="wine.htm#BULGARIAN_WINE_Tours">Bulgarian Wine</a><br><a href="tours.htm"><b>and more...</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">Hotels</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 href="hotels-sf.htm" onMouseOver="act(\'sfhotels\')" onMouseOut="inact(\'sfhotels\')"><img src="sfhotelsn.gif" height="24" width="120" name="sfhotels" border="0" title="Hotels in Sofia" alt="Hotels in Sofia"></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="Hotels in Plovdiv" alt="Hotels in 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="Hotels in Varna" alt="Hotels in Varna"></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="Hotels in Rousse" alt="Hotels in 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="Hotels in Veliko Turnovo" alt="Hotels in 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="Hotels in Kazanluk" alt="Hotels in 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="Hotels in Sandanski" alt="Hotels in 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="Hotels in Bansko" alt="Hotels in 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="Hotels in Shoumen" alt="Hotels in 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="Hotels in Bourgas" alt="Hotels in 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.htm" title="Hotels in Bulgaria"><b>Where to stay...</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">Contact Us</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="For information" align="right"><br><br><img src="images/office-altours-bg.jpg" height="18" width="135" border="0" alt="For business contacts" align="right"><br><br><img src="images/reservations-altours-bg.jpg" height="18" width="178" border="0" alt="For reservations" align="right"></p></td></tr><tr><td><p align="right"><font face="Arial" size="2"  color="#005500"><a href="contact.htm" title="Contact Altours BG"><br>&nbsp;<b>For details...</b></a></font></p></td></tr></tbody></table><div style="LEFT: 10px; POSITION: absolute; TOP: 65px"><a href="contact.htm"><img src="images/office-80x80.jpg" width="80" height="80" border="1" alt="Altours BG ~ Your touroperator in Bulgaria. Contact details."></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">About Us</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.htm" title="Your Touroperator in Bulgaria"><b>Company Profile...</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">Photo Gallery</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.htm"><img height="132" width="256" src="images/altours-gallery-256x132.jpg" align="top" alt="Photo Gallery" title="Photo Gallery" border="0"></a></td></tr><tr><td><p align="justify"><font face="Arial" size="2" color="#005500"><a href="gallery.htm" title="Photo Gallery"><b>Enjoy...</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">Weather in Bulgaria</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="Weather in Bulgaria"><img height="52" width="53" src="bulgaria-weather.gif" alt="Weather in Bulgaria" title="Before packing for your favorite tour, take a look at the weather forecast" 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">Traditions</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.htm" onMouseOver="javascript:act(\'bultrad\')" onMouseOut="javascript:inact(\'bultrad\')"><img src="bultradn.gif" height="24" width="155" name="bultrad" border="0" title="The heart and soul of Bulgaria" alt="The heart and soul of Bulgaria"></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"
}
}
