//Chrome Drop Down Menu- Author: Dynamic Drive (http://www.dynamicdrive.com)
//Last updated: June 14th, 06'

var cssdropdown={
disappeardelay: 300, //set delay in miliseconds before menu disappears onmouseout
disablemenuclick: false, //when user clicks on a menu item with a drop down menu, disable menu item's link?
enableswipe: 1, //enable swipe effect? 1 for yes, 0 for no

//No need to edit beyond here////////////////////////
dropmenuobj: null, ie: document.all, firefox: document.getElementById&&!document.all, swipetimer: undefined, bottomclip:0,

getposOffset:function(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
},

swipeeffect:function(){
if (this.bottomclip<parseInt(this.dropmenuobj.offsetHeight)){
this.bottomclip+=10+(this.bottomclip/10) //unclip drop down menu visibility gradually
this.dropmenuobj.style.clip="rect(0 auto "+this.bottomclip+"px 0)"
}
else
return
this.swipetimer=setTimeout("cssdropdown.swipeeffect()", 10)
},

showhide:function(obj, e){
if (this.ie || this.firefox)
this.dropmenuobj.style.left=this.dropmenuobj.style.top="-500px"
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover"){
if (this.enableswipe==1){
if (typeof this.swipetimer!="undefined")
clearTimeout(this.swipetimer)
obj.clip="rect(0 auto 0 0)" //hide menu via clipping
this.bottomclip=0
this.swipeeffect()
}
obj.visibility="visible"
}
else if (e.type=="click")
obj.visibility="hidden"
},

iecompattest:function(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
},

clearbrowseredge:function(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=this.ie && !window.opera? this.iecompattest().scrollLeft+this.iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
this.dropmenuobj.contentmeasure=this.dropmenuobj.offsetWidth
if (windowedge-this.dropmenuobj.x < this.dropmenuobj.contentmeasure)  //move menu to the left?
edgeoffset=this.dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
var topedge=this.ie && !window.opera? this.iecompattest().scrollTop : window.pageYOffset
var windowedge=this.ie && !window.opera? this.iecompattest().scrollTop+this.iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
this.dropmenuobj.contentmeasure=this.dropmenuobj.offsetHeight
if (windowedge-this.dropmenuobj.y < this.dropmenuobj.contentmeasure){ //move up?
edgeoffset=this.dropmenuobj.contentmeasure+obj.offsetHeight
if ((this.dropmenuobj.y-topedge)<this.dropmenuobj.contentmeasure) //up no good either?
edgeoffset=this.dropmenuobj.y+obj.offsetHeight-topedge
}
}
return edgeoffset
},

dropit:function(obj, e, dropmenuID){
if (this.dropmenuobj!=null) //hide previous menu
this.dropmenuobj.style.visibility="hidden" //hide menu
this.clearhidemenu()
if (this.ie||this.firefox){
obj.onmouseout=function(){cssdropdown.delayhidemenu()}
obj.onclick=function(){return !cssdropdown.disablemenuclick} //disable main menu item link onclick?
this.dropmenuobj=document.getElementById(dropmenuID)
this.dropmenuobj.onmouseover=function(){cssdropdown.clearhidemenu()}
this.dropmenuobj.onmouseout=function(e){cssdropdown.dynamichide(e)}
this.dropmenuobj.onclick=function(){cssdropdown.delayhidemenu()}
this.showhide(this.dropmenuobj.style, e)
this.dropmenuobj.x=this.getposOffset(obj, "left")
this.dropmenuobj.y=this.getposOffset(obj, "top")
this.dropmenuobj.style.left=this.dropmenuobj.x-this.clearbrowseredge(obj, "rightedge")+"px"
this.dropmenuobj.style.top=this.dropmenuobj.y-this.clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+1+"px"
}
},

contains_firefox:function(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
},

dynamichide:function(e){
var evtobj=window.event? window.event : e
if (this.ie&&!this.dropmenuobj.contains(evtobj.toElement))
this.delayhidemenu()
else if (this.firefox&&e.currentTarget!= evtobj.relatedTarget&& !this.contains_firefox(evtobj.currentTarget, evtobj.relatedTarget))
this.delayhidemenu()
},

delayhidemenu:function(){
this.delayhide=setTimeout("cssdropdown.dropmenuobj.style.visibility='hidden'",this.disappeardelay) //hide menu
},

clearhidemenu:function(){
if (this.delayhide!="undefined")
clearTimeout(this.delayhide)
},

startchrome:function(){
for (var ids=0; ids<arguments.length; ids++){
var menuitems=document.getElementById(arguments[ids]).getElementsByTagName("a")
for (var i=0; i<menuitems.length; i++){
if (menuitems[i].getAttribute("rel")){
var relvalue=menuitems[i].getAttribute("rel")
menuitems[i].onmouseover=function(e){
var event=typeof e!="undefined"? e : window.event
cssdropdown.dropit(this,event,this.getAttribute("rel"))
}
}
}
}
}

}

/******************************************************************
* Pausing up-down scroller- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
******************************************************************/

function pausescroller(content, divId, divClass, delay){
this.content=content //message array content
this.tickerid=divId //ID of ticker div to display information
this.delay=delay //Delay between msg change, in miliseconds.
this.mouseoverBol=0 //Boolean to indicate whether mouse is currently over scroller (and pause it if it is)
this.hiddendivpointer=1 //index of message array for hidden div
document.write('<div id="'+divId+'" class="'+divClass+'" style="position: relative; overflow: hidden"><div class="innerDiv" style="position: absolute; width: 100%" id="'+divId+'1">'+content[0]+'</div><div class="innerDiv" style="position: absolute; width: 100%; visibility: hidden" id="'+divId+'2">'+content[1]+'</div></div>')
var scrollerinstance=this
if (window.addEventListener) //run onload in DOM2 browsers
window.addEventListener("load", function(){scrollerinstance.initialize()}, false)
else if (window.attachEvent) //run onload in IE5.5+
window.attachEvent("onload", function(){scrollerinstance.initialize()})
else if (document.getElementById) //if legacy DOM browsers, just start scroller after 0.5 sec
setTimeout(function(){scrollerinstance.initialize()}, 500)
}

// initialize()- Initialize scroller method.
// -Get div objects, set initial positions, start up down animation

pausescroller.prototype.initialize=function(){
this.tickerdiv=document.getElementById(this.tickerid)
this.visiblediv=document.getElementById(this.tickerid+"1")
this.hiddendiv=document.getElementById(this.tickerid+"2")
this.visibledivtop=parseInt(pausescroller.getCSSpadding(this.tickerdiv))
//set width of inner DIVs to outer DIV's width minus padding (padding assumed to be top padding x 2)
this.visiblediv.style.width=this.hiddendiv.style.width=this.tickerdiv.offsetWidth-(this.visibledivtop*2)+"px"
this.getinline(this.visiblediv, this.hiddendiv)
this.hiddendiv.style.visibility="visible"
var scrollerinstance=this
document.getElementById(this.tickerid).onmouseover=function(){scrollerinstance.mouseoverBol=1}
document.getElementById(this.tickerid).onmouseout=function(){scrollerinstance.mouseoverBol=0}
if (window.attachEvent) //Clean up loose references in IE
window.attachEvent("onunload", function(){scrollerinstance.tickerdiv.onmouseover=scrollerinstance.tickerdiv.onmouseout=null})
setTimeout(function(){scrollerinstance.animateup()}, this.delay)
}


// animateup()- Move the two inner divs of the scroller up and in sync

pausescroller.prototype.animateup=function(){
var scrollerinstance=this
if (parseInt(this.hiddendiv.style.top)>(this.visibledivtop+5)){
this.visiblediv.style.top=parseInt(this.visiblediv.style.top)-5+"px"
this.hiddendiv.style.top=parseInt(this.hiddendiv.style.top)-5+"px"
setTimeout(function(){scrollerinstance.animateup()}, 50)
}
else{
this.getinline(this.hiddendiv, this.visiblediv)
this.swapdivs()
setTimeout(function(){scrollerinstance.setmessage()}, this.delay)
}
}

// swapdivs()- Swap between which is the visible and which is the hidden div

pausescroller.prototype.swapdivs=function(){
var tempcontainer=this.visiblediv
this.visiblediv=this.hiddendiv
this.hiddendiv=tempcontainer
}

pausescroller.prototype.getinline=function(div1, div2){
div1.style.top=this.visibledivtop+"px"
div2.style.top=Math.max(div1.parentNode.offsetHeight, div1.offsetHeight)+"px"
}

// setmessage()- Populate the hidden div with the next message before it's visible

pausescroller.prototype.setmessage=function(){
var scrollerinstance=this
if (this.mouseoverBol==1) //if mouse is currently over scoller, do nothing (pause it)
setTimeout(function(){scrollerinstance.setmessage()}, 100)
else{
var i=this.hiddendivpointer
var ceiling=this.content.length
this.hiddendivpointer=(i+1>ceiling-1)? 0 : i+1
this.hiddendiv.innerHTML=this.content[this.hiddendivpointer]
this.animateup()
}
}

pausescroller.getCSSpadding=function(tickerobj){ //get CSS padding value, if any
if (tickerobj.currentStyle)
return tickerobj.currentStyle["paddingTop"]
else if (window.getComputedStyle) //if DOM2
return window.getComputedStyle(tickerobj, "").getPropertyValue("padding-top")
else
return 0
}

/************
Styleswitcher
************/

function setActiveStyleSheet(title) {
  var i, a, main;
  for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
    if(a.getAttribute("rel").indexOf("style") != -1 && a.getAttribute("title")) {
      a.disabled = true;
      if(a.getAttribute("title") == title) a.disabled = false;
    }
  }
}

function getActiveStyleSheet() {
  var i, a;
  for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
    if(a.getAttribute("rel").indexOf("style") != -1 && a.getAttribute("title") && !a.disabled) return a.getAttribute("title");
  }
  return null;
}

function getPreferredStyleSheet() {
  var i, a;
  for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
    if(a.getAttribute("rel").indexOf("style") != -1
       && a.getAttribute("rel").indexOf("alt") == -1
       && a.getAttribute("title")
       ) return a.getAttribute("title");
  }
  return null;
}

function createCookie(name,value,days) {
  if (days) {
    var date = new Date();
    date.setTime(date.getTime()+(days*24*60*60*1000));
    var expires = "; expires="+date.toGMTString();
  }
  else expires = "";
  document.cookie = name+"="+value+expires+"; path=/";
}

function readCookie(name) {
  var nameEQ = name + "=";
  var ca = document.cookie.split(';');
  for(var i=0;i < ca.length;i++) {
    var c = ca[i];
    while (c.charAt(0)==' ') c = c.substring(1,c.length);
    if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
  }
  return null;
}

window.onload = function(e) {
  var cookie = readCookie("style");
  var title = cookie ? cookie : getPreferredStyleSheet();
  setActiveStyleSheet(title);
}

window.onunload = function(e) {
  var title = getActiveStyleSheet();
  createCookie("style", title, 365);
}

var cookie = readCookie("style");
var title = cookie ? cookie : getPreferredStyleSheet();
setActiveStyleSheet(title);

/*
 * Interface elements for jQuery - http://interface.eyecon.ro
 *
 * Copyright (c) 2006 Stefan Petre
 * Dual licensed under the MIT (MIT-LICENSE.txt) 
 * and GPL (GPL-LICENSE.txt) licenses.
 */
 eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('f.1x={4C:v(e,s){j l=0;j t=0;j 1a=0;j 1b=0;j w=f.E(e,\'21\');j h=f.E(e,\'22\');j Y=e.2y;j Z=e.2x;2z(e.2A){l+=e.2C+(e.M?u(e.M.24)||0:0);t+=e.2B+(e.M?u(e.M.26)||0:0);6(s){1a+=e.1q.1h||0;1b+=e.1q.19||0}e=e.2A}l+=e.2C+(e.M?u(e.M.24)||0:0);t+=e.2B+(e.M?u(e.M.26)||0:0);1b=t-1b;1a=l-1a;d{x:l,y:t,4B:1a,4A:1b,w:w,h:h,Y:Y,Z:Z}},2J:v(e){j x=0;j y=0;j 1t=1l;B=e.1r;6(f(e).E(\'11\')==\'1e\'){1s=B.16;28=B.J;B.16=\'1Z\';B.11=\'2r\';B.J=\'1A\';1t=1g}8=e;2z(8){x+=8.2C+(8.M&&!f.1B.3d?u(8.M.24)||0:0);y+=8.2B+(8.M&&!f.1B.3d?u(8.M.26)||0:0);8=8.2A}8=e;2z(8&&8.4z.4y()!=\'O\'){x-=8.1h||0;y-=8.19||0;8=8.1q}6(1t){B.11=\'1e\';B.J=28;B.16=1s}d{x:x,y:y}},35:v(e){j w=f.E(e,\'21\');j h=f.E(e,\'22\');j Y=0;j Z=0;B=e.1r;6(f(e).E(\'11\')!=\'1e\'){Y=e.2y;Z=e.2x}A{1s=B.16;28=B.J;B.16=\'1Z\';B.11=\'2r\';B.J=\'1A\';Y=e.2y;Z=e.2x;B.11=\'1e\';B.J=28;B.16=1s}d{w:w,h:h,Y:Y,Z:Z}},4x:v(e){6(e){w=e.1H;h=e.1G}A{1I=G.S;w=1J.2u||27.2u||(1I&&1I.1H)||G.O.1H;h=1J.2t||27.2t||(1I&&1I.1G)||G.O.1G}d{w:w,h:h}},2I:v(e){6(e){t=e.19;l=e.1h;w=e.2w;h=e.2v;1j=0;1k=0}A{6(G.S&&G.S.19){t=G.S.19;l=G.S.1h;w=G.S.2w;h=G.S.2v}A 6(G.O){t=G.O.19;l=G.O.1h;w=G.O.2w;h=G.O.2v}1j=27.2u||G.S.1H||G.O.1H||0;1k=27.2t||G.S.1G||G.O.1G||0}d{t:t,l:l,w:w,h:h,1j:1j,1k:1k}},34:v(e,1v){8=f(e);t=8.E(\'1Y\')||\'\';r=8.E(\'1X\')||\'\';b=8.E(\'1W\')||\'\';l=8.E(\'1V\')||\'\';6(1v)d{t:u(t)||0,r:u(r)||0,b:u(b)||0,l:u(l)};A d{t:t,r:r,b:b,l:l}},4w:v(e,1v){8=f(e);t=8.E(\'4v\')||\'\';r=8.E(\'4u\')||\'\';b=8.E(\'4t\')||\'\';l=8.E(\'4s\')||\'\';6(1v)d{t:u(t)||0,r:u(r)||0,b:u(b)||0,l:u(l)};A d{t:t,r:r,b:b,l:l}},4r:v(e,1v){8=f(e);t=8.E(\'26\')||\'\';r=8.E(\'4q\')||\'\';b=8.E(\'4p\')||\'\';l=8.E(\'24\')||\'\';6(1v)d{t:u(t)||0,r:u(r)||0,b:u(b)||0,l:u(l)||0};A d{t:t,r:r,b:b,l:l}},4o:v(1F){x=1F.4n||(1F.4m+(G.S.1h||G.O.1h))||0;y=1F.4l||(1F.4k+(G.S.19||G.O.19))||0;d{x:x,y:y}}};f.T=v(2s,1u,Q,P){j z=1c;z.P=/2U|2T|2S|2Q|2R|2P|2N|2O|2M/.1R(P)?P:\'2e\';z.o={k:1u.k||4j,1D:1u.1D,14:1u.14};z.8=2s;j y=z.8.1r;z.a=v(){6(1u.14)1u.14.37(2s,[z.W]);6(Q=="1f"){6(z.W==1)z.W=0.4i;6(1J.4h)y.2Z="2Y(1f="+z.W*2X+")";A y.1f=z.W}A 6(u(z.W))y[Q]=u(z.W)+"15";y.11="2r"};z.3c=v(){d 1y(f.E(z.8,Q))};z.2p=v(){j r=1y(f.4g(z.8,Q));d r&&r>-32?r:z.3c()};z.2o=v(2q,3b){z.2n=(1w 1M()).1L();z.W=2q;z.a();z.1i=2D(v(){z.14(2q,3b)},13)};z.33=v(p){6(!z.8.12)z.8.12={};z.8.12[Q]=1c.2p();z.2o(0,z.8.12[Q]);6(Q!="1f")y[Q]="4f"};z.1C=v(){6(!z.8.12)z.8.12={};z.8.12[Q]=1c.2p();z.o.1C=1g;z.2o(z.8.12[Q],0)};6(f.1B.2h&&!z.8.M.4e)y.4d="1";6(!z.8.4c)z.8.3a=f.E(z.8,"20");y.20="1Z";z.14=v(C,2m){j t=(1w 1M()).1L();6(t>z.o.k+z.2n){2H(z.1i);z.1i=2G;z.W=2m;z.a();6(z.8.1E)z.8.1E[Q]=1g;j 23=1g;39(j i 38 z.8.1E){6(z.8.1E[i]!==1g)23=1l}6(23){y.20=z.8.3a;6(z.o.1C)y.11=\'1e\';6(z.o.1C){39(j p 38 z.8.1E){y[p]=z.8.12[p]+(p=="1f"?"":"15");6(p==\'22\'||p==\'21\')f.4b(z.8,p)}}}6(23&&z.o.1D&&z.o.1D.4a==49)z.o.1D.37(z.8)}A{j n=t-1c.2n;j p=n/z.o.k;z.W=f.T.1K(p,n,C,(2m-C),z.o.k,z.P);z.a()}}};f.36=v(e){6(/48|47|46|44|43|42|41|40|3Z|O|3Y|3X|3W|3V|3U|3T|3S/i.1R(e.2l))d 1l;A d 1g};f.T.3R=v(e,17){c=e.3Q;18=c.1r;18.J=17.J;18.1Y=17.X.t;18.1V=17.X.l;18.1W=17.X.b;18.1X=17.X.r;18.V=17.V+\'15\';18.U=17.U+\'15\';e.1q.2V(c,e);e.1q.3P(e)};f.T.3O=v(e){6(!f.36(e))d 1l;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\s*,\\s*([0-9]{1,3})\\s*\\)/.1N(1O))d{r:u(I[1]),g:u(I[2]),b:u(I[3])};A 6(I=/2K\\(\\s*([0-9]+(?:\\.[0-9]+)?)\\%\\s*,\\s*([0-9]+(?:\\.[0-9]+)?)\\%\\s*,\\s*([0-9]+(?:\\.[0-9]+)?)\\%\\s*\\)/.1N(1O))d{r:1y(I[1])*2.2g,g:1y(I[2])*2.2g,b:1y(I[3])*2.2g};A 6(I=/#([a-1o-1n-9])([a-1o-1n-9])([a-1o-1n-9])/.1N(1O))d{r:u("1m"+I[1]+I[1]),g:u("1m"+I[2]+I[2]),b:u("1m"+I[3]+I[3])};A 6(I=/#([a-1o-1n-9]{2})([a-1o-1n-9]{2})([a-1o-1n-9]{2})/.1N(c))d{r:u("1m"+I[1]),g:u("1m"+I[2]),b:u("1m"+I[3])};A d 1l};f.3j.2f=v(s,P){o=f.3i(s);d 1c.3h(\'2F\',v(){1w f.T.2f(1c,o,P)})};f.T.2f=v(e,o,P){j z=1c;z.o=o;z.e=e;z.P=P||\'2e\';p=f.1x.2J(e);s=f.1x.2I();z.2E=v(){2H(z.1i);z.1i=2G;f.3g(z.e,\'2F\')};z.t=(1w 1M).1L();s.h=s.h>s.1k?(s.h-s.1k):s.h;s.w=s.w>s.1j?(s.w-s.1j):s.w;z.2d=p.y>s.h?s.h:p.y;z.2b=p.x>s.w?s.w:p.x;z.2c=s.t;z.2a=s.l;z.14=v(){j t=(1w 1M).1L();j n=t-z.t;j p=n/z.o.k;6(t>=z.o.k+z.t){z.2E();3f(v(){z.29(z.2d,z.2b)},13)}A{1b=f.T.1K(p,n,z.2c,(z.2d-z.2c),z.o.k,z.P);1a=f.T.1K(p,n,z.2a,(z.2b-z.2a),z.o.k,z.P);z.29(1b,1a)}};z.29=v(t,l){1J.3e(l,t)};z.1i=2D(v(){z.14()},13)};',62,287,'||||||if||el|||||return||jQuery||||var|duration||||||delta||||parseInt|function|||||else|es|firstNum|75|css|nm|document|oldStyle|result|position|5625|Math|currentStyle|wrs|body|transition|prop|type|documentElement|fx|left|top|now|margins|wb|hb||display|orig||step|px|visibility|old|cs|scrollTop|sl|st|this|wr|none|opacity|true|scrollLeft|timer|iw|ih|false|0x|F0|fA|0px|parentNode|style|oldVisibility|restoreStyle|options|toInteger|new|iUtil|parseFloat|PI|absolute|browser|hide|complete|curAnim|event|clientHeight|clientWidth|de|window|transitions|getTime|Date|exec|color|sin|pow|test|984375|625|9375|marginLeft|marginBottom|marginRight|marginTop|hidden|overflow|width|height|done|borderLeftWidth||borderTopWidth|self|oldPosition|scroll|startLeft|endLeft|startTop|endTop|original|ScrollTo|55|msie|oldFloat|sizes|relative|nodeName|lastNum|startTime|custom|cur|from|block|elem|innerHeight|innerWidth|scrollHeight|scrollWidth|offsetHeight|offsetWidth|while|offsetParent|offsetTop|offsetLeft|setInterval|clear|interfaceFX|null|clearInterval|getScroll|getPosition|rgb|br|elasticboth|elasticin|elasticout|bounceboth|bouncein|bounceout|easeboth|easeout|easein|insertBefore|999|100|alpha|filter|styleFloat|wid|10000|show|getMargins|getSize|fxCheckTag|apply|in|for|oldOverflow|to|max|opera|scrollTo|setTimeout|dequeue|queue|speed|fn|parseColor|html|cos|wrapper|listStyle|appendChild|cssFloat|fxWrapper|addClass|wrapEl|id|attr|div|ol|dl|ul|table|form|button|iframe|object|textarea|select|hr|input|img|createElement|random|w_|float|buildWrapper|removeChild|firstChild|destroyWrapper|meta|optgroup|option|frameset|frame|script|header|th|colgroup|col|tfoot|thead|caption||tbody|td|tr|Function|constructor|setAuto|oldOverlay|zoom|hasLayout|1px|curCSS|ActiveXObject|9999|400|clientY|pageY|clientX|pageX|getPointer|borderBottomWidth|borderRightWidth|getBorder|paddingLeft|paddingBottom|paddingRight|paddingTop|getPadding|getClient|toLowerCase|tagName|sy|sx|getPos'.split('|'),0,{}))


/****************
hotspot info div
****************/

function hotspotInfo(str){
document.getElementById('hsinfo').innerText = str;
}

function clearInfo(){
if (document.getElementById('hsinfo').innerText!=""){
document.getElementById('hsinfo').innerText="";
}
}

function mousehs(n) {
if( n== -1 ){
clearInfo();
}else{
var str = "hotspot"+n;
hotspotInfo(eval(str));
}
}
