/*---------------------------------------------------------
 * DO NOT EDIT THIS FILE - EDIT THE SCRIPT BUILDER INSTEAD
 *---------------------------------------------------------*/
var hotspot_delay=3200 //set delay between message change (in miliseconds)
var hotspot_fcontent=new Array()
hotspot_begintag='' //set opening tag, such as font declarations
hotspot_fcontent = [

' <h4><a href="vflower.htm">Valley of Flower Trek</a></font></h4><p>in the Garhwal Himalayas was officially discovered in 1931 by Frank Smythe, a famous mountaineer and explorer... <a class="link-more"  href="vflower.htm">(more...)</a></p> ',' <h4><a href="sbhutanover.htm">Sikkim-Bhutan Overland Tour</a></font></h4><p>...visit to national library, which has fascinating collection of ancient Buddhist manuscripts,traditional medicine institute...<a class="link-more"  href="sbhutanover.htm">(more...)</a></p> ',' <h4><a href="sandakpu.htm">Sandakphu trek in Sikkim</a></h4></font><p>Siliguri is the gateway to North Eastern India was only a small hamlet at the beginning of this century. It was an entry point... <a class="link-more"  href="sandakpu.htm">(more...)</a></p>',' <h4><a href="chadar-expedition-2008.htm">CHADAR Expedition</a></font></h4><p>Chadar - means blanket and in this case we can say "an ice blanket on Zanskar River" ... <a class="link-more"  href="chadar-expedition-2008.htm">(more...)</a></p> '
]
;
hotspot_closetag=''

var hotspot_fwidth=190 //set scroller width
var hotspot_fheight=25 //set scroller height

///No need to edit below this line/////////////////

var hotspot_ie4=document.all&&!document.getElementById
var hotspot_ns4=document.layers
var hotspot_DOM2=document.getElementById
var hotspot_fader_delay=0
//var hotspot_index=0
var hotspot_index=Math.floor(Math.random()*hotspot_fcontent.length);
//alert(hotspot_index + "/" + hotspot_fcontent.length);

if (hotspot_DOM2)
    hotspot_hotspot_fader_delay=2000

//function to change content
function hotspot_changecontent()
{
    if (hotspot_index>=hotspot_fcontent.length)
        hotspot_index=0

    if (hotspot_DOM2)
    {
        document.getElementById("hotspot_fscroller").style.color="rgb(0,0,0)"
        document.getElementById("hotspot_fscroller").innerHTML=
            hotspot_begintag
            //+ "Index: " + hotspot_index + "<br>"
            //+ "Length: " + hotspot_fcontent.length + "<br>"
            + hotspot_fcontent[hotspot_index]
            + hotspot_closetag
        ;
        hotspot_colorfade()
    }
    else if (hotspot_ie4)
        document.all.hotspot_fscroller.innerHTML=hotspot_begintag+hotspot_fcontent[hotspot_index]+hotspot_closetag
    else if (hotspot_ns4)
    {
        document.fscrollerns.document.fscrollerns_sub.document.write(hotspot_begintag+hotspot_fcontent[hotspot_index]+hotspot_closetag)
        document.fscrollerns.document.fscrollerns_sub.document.close()
    }

    /* hotspot_index=Math.floor(Math.random()*hotspot_fcontent.length);*/
    hotspot_index += 1;
    setTimeout("hotspot_changecontent()",hotspot_delay+hotspot_fader_delay)
}

// hotspot_colorfade() partially by Marcio Galli for Netscape Communications.
////////////
// Modified by Dynamicdrive.com

hotspot_frame=20;
hotspot_hex=255 // Initial color value.

function hotspot_colorfade()
{
    // 20 frames fading process
    if(hotspot_frame>0)
    {
        hotspot_hex-=12; // increase color value
        document.getElementById("hotspot_fscroller").style.color="rgb("+0+","+0+","+0+")"; // Set color value.
        hotspot_frame--;
        setTimeout("hotspot_colorfade()",hotspot_fader_delay);
    }
    else
    {
        document.getElementById("hotspot_fscroller").style.color="rgb(0,0,0)"; // Set End Colour Value
        hotspot_frame=20;
        hotspot_hex=128
    }
}

//if (hotspot_ie4||hotspot_DOM2)
//    document.write('<div id="hotspot_fscroller" style="width:'+hotspot_fwidth+';height:'+hotspot_fheight+';"></div>')

//window.onload=hotspot_changecontent
