/***********************************************
* 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[2]="<div style='margin:40px 30px 10px 20px; width:285px; '><br/>The additional cost for the Live-aboard experience is US$100/person and includes all meals on board.  In some cases this additional cost may be offset by canceling the hotel room for that night but this may not always be possible since the hotel bookings are made and paid for in advance. In any case this option can be chosen after you have arrived in the Andamans and weather conditions have been asessed. </div>";

floattext[1]="<div style='margin:40px 30px 10px 20px; width:285px;  '><br />The Live-Aboard option drastically cuts down travel time and helps you squeeze the most out of your fishing holiday. This is a great option for the hardcore angler. Besides, living on a boat and dining under the stars has its own charm and will make for a truly unforgettable experience.<br/><br/>Our 35 ft Liv-Aboard Sport Fisher is equipped to comfortably sleep 4 guests in 2 air-conditioned cabins. Our boat is also fitted out with a great sounding music system, an LCD television and a DVD Player. But trust us, with the kind of fishing there is in the Andamans, these are probably going to be the last things on your mind. This package includes all Liv-Aboard accommodation on a twin sharing basis, all meals, soft drinks, bottled water, beer on board, all island and airport transfers, fishing licenses and use of our fishing equipment.<br/><br/>This is ideally a 5 to 7 day package and best suited for a group of 4 anglers. However, if you are a group of 6 anglers looking for the Liv-Aboard experience, we can accommodate 2 on our second boat. </div>";

floattext[3]="<div style='margin:40px 30px 10px 20px; width:285px;'><br /><strong>CRUISE PACKAGES</strong><ul><li><strong>Half Day Cruise</strong> - US$ 500.<br />Snorkeling, Fishing and Island cruise. Includes snacks/, water and soft drinks on board.</li><li>	<strong>Full day Cruise</strong> - US$800.<br />Snorkeling, Fishing,Island cruise and picnic lunch on remote island. Includes snacks/lunch, water and soft drinks on board.</li><li>	<strong>Evening/Night Cruise</strong> - $350.<br />Island/Harbor cruise. Includes snacks, water and soft drinks on board</li></ul></div>";

//floattext[0]="<div style='margin:40px 30px 10px 20px; width:285px; '><br/><strong>STANDARD PACKAGE, ex-Port Blair - US$ 1000/day.</strong> Price includes:<ul><li>packed lunch & non alcoholic beverages on board</li><li>fully guided fishing and use of fishing equipment (with the exception of fly fishing equipment)</li><li>fishing licenses and permits</li></ul><strong>STANDARD PACKAGE, ex-Havelock - US$ 1100/day.</strong> Price includes same as above<br/><br/><strong>ADD ON PACKAGES (Remote Destinations - Supreme Fishing Grounds): </strong><ul><li>to Invisible Banks (Add US$ 400/day to STANDARD PACKAGE, ex-Port Blair)</li><li>to Barren Island (Add US$ 400/day to STANDARD PACKAGE, ex-Havelock)</li></ul></div>";


floattext[0]="<div style='margin:40px 30px 10px 20px; width:285px; '><br/><strong>STANDARD FISHING PACKAGES, ex-Port Blair - US$ 1000/day, ex-Havelock - US$ 1100/day.</strong> Price includes:<ul><li>packed lunch & non alcoholic beverages on board;</li><li>fully guided fishing and use of fishing equipment (with the exception of fly fishing equipment)</li><li>fishing licenses and permits;</li></ul><br/><strong>ADD ON FISHING PACKAGES (Remote Destinations - Supreme Fishing Grounds): </strong><br /><ul><li>to Invisible Banks (Add US$ 400/day to STANDARD PACKAGE, ex-Port Blair)</li><li>to Barren Island (Add US$ 400/day to STANDARD PACKAGE, ex-Havelock)</li></ul></div>";

var floatiewidth="260px" //default width of floatie in px
var floatieheight="260px" //default height of floatie in px. Set to "" to let floatie content dictate height.
var floatiebgcolor="" //default bgcolor of floatie
var fadespeed=70 //speed of fade (5 or above). Smaller=faster.



var baseopacity=1
function slowhigh(which2){
imgobj=which2
browserdetect=which2.filters? "ie" : typeof which2.style.MozOpacity=="string"? "mozilla" : ""
instantset(baseopacity)
highlighting=setInterval("gradualfade(imgobj)",fadespeed)
}
function slowlow(which2){
imgobj=which2
browserdetect=which2.filters? "ie" : typeof which2.style.MozOpacity=="string"? "mozilla" : ""
instantset1(baseopacity1)
highlighting=setInterval("gradualfadeout(imgobj)",fadespeed)
}

function instantset(degree){
cleartimer()
if (browserdetect=="mozilla")
imgobj.style.MozOpacity=degree/100
else if (browserdetect=="ie")
imgobj.filters.alpha.opacity=degree
}
function instantset1(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 gradualfadeout(cur2){
if (browserdetect=="mozilla" && cur2.style.MozOpacity>1){
alert("swami");
cur2.style.MozOpacity=Math.min(parseFloat(cur2.style.MozOpacity)-0.1, 0.1)}
else if (browserdetect=="ie" && cur2.filters.alpha.opacity>1){
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 hidefloatie(thetext, e, optbgColor, optWidth, optHeight)
{
var floatobj=document.getElementById("dhtmlfloatie");
//slowlow(floatobj);
floatobj.style.display="none";

}

function showfloatie(thetext, e, optbgColor, optWidth, optHeight){
var dsocx=(window.pageXOffset)? pageXOffset: ietruebody().scrollLeft;
var dsocy=(window.pageYOffset)? pageYOffset : ietruebody().scrollTop;
var floatobj=document.getElementById("dhtmlfloatie")
floatobj.style.left="100px"
floatobj.style.display="block"
floatobj.style.backgroundColor=paramexists(optbgColor)? optbgColor : floatiebgcolor
floatobj.style.width=paramexists(optWidth)? optWidth+"px" : floatiewidth
floatobj.style.height=paramexists(optHeight)? optHeight+"px" : floatieheight!=""? floatieheight : ""
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-575+"px"
if (e.clientX>winWidth-floatWidth && e.clientY+20>winHeight-floatHeight)
//floatobj.style.top=dsocy+50+"px"
floatobj.style.top=50+"px"
else
//floatobj.style.top=dsocy+winHeight-floatHeight+50+"px"
floatobj.style.top=dsocy+winHeight-floatHeight+"px"
slowhigh(floatobj)
}

function hidefloatie_old(){
var floatobj=document.getElementById("dhtmlfloatie");

floatobj.style.display="none"
}// JavaScript Document
