var dofade=true; var centertext=false; var xoffset=9; var yoffset=25; var mousefollow=true; var hideDelay=200; function altProps(){ this.w3c=(document.getElementById)?true:false; this.ns4=(document.layers)?true:false; this.ie4=(document.all && !this.w3c)?true:false; this.ie5=(document.all && this.w3c)?true:false; this.ns6=(this.w3c && navigator.appName.indexOf("Netscape")>=0 )?true:false; this.w_y=0; this.w_x=0; this.navtxt=null; this.boxheight=0; this.boxwidth=0; this.ishover=false; this.ieop=0; this.op_id=0; this.oktomove=false; this.dy=0;}
var v1cTT=new altProps(); function toggle_centertext(){ centertext=!centertext;}
function toggle_mousefollow(){ mousefollow=!mousefollow;}
function toggle_dofade(){ dofade=!dofade; if(!dofade)v1cTT.ieop=100;}
function getwindowdims(){ v1cTT.w_y=(v1cTT.ie5||v1cTT.ie4)?document.body.clientHeight:window.innerHeight; v1cTT.w_x=(v1cTT.ie5||v1cTT.ie4)?document.body.clientWidth:window.innerWidth;}
function getboxwidth(){ if(v1cTT.ns4)v1cTT.boxwidth=(v1cTT.navtxt.document.width)? v1cTT.navtxt.document.width : v1cTT.navtxt.clip.width; else if(v1cTT.ie4)v1cTT.boxwidth=(v1cTT.navtxt.style.pixelWidth)? v1cTT.navtxt.style.pixelWidth : v1cTT.navtxt.offsetWidth; else v1cTT.boxwidth=(v1cTT.navtxt.style.width)? parseInt(v1cTT.navtxt.style.width) : parseInt(v1cTT.navtxt.offsetWidth);}
function getboxheight(){ if(v1cTT.ns4)v1cTT.boxheight=(v1cTT.navtxt.document.height)? v1cTT.navtxt.document.height : v1cTT.navtxt.clip.height; else if(v1cTT.ie4)v1cTT.boxheight=(v1cTT.navtxt.style.pixelHeight)? v1cTT.navtxt.style.pixelHeight : v1cTT.navtxt.offsetHeight; else { try{ v1cTT.boxheight=parseInt(v1cTT.navtxt.offsetHeight);}
catch(e){}
finally {}
}
}
function movenavtxt(x,y){ if(v1cTT.ns4)v1cTT.navtxt.moveTo(x,y); else{ try{ v1cTT.navtxt.style.left=x+'px'; v1cTT.navtxt.style.top=y+'px';}
catch(e){}
finally {}
}}
function getpagescrolly(){ if(v1cTT.ie5||v1cTT.ie4)return document.body.scrollTop; else return window.pageYOffset;}
function getpagescrollx(){ if(v1cTT.ie5||v1cTT.ie4)return document.body.scrollLeft; else return window.pageXOffset;}
function writeindiv(text){ if(v1cTT.ns4){ v1cTT.navtxt.document.open(); v1cTT.navtxt.document.write(text); v1cTT.navtxt.document.close();}else { try{v1cTT.navtxt.innerHTML=text;}
catch(e){}
finally {}
};}
function writetxt(text,image,movie,lang){ if(dofade && (v1cTT.ie4||v1cTT.w3c))clearInterval(v1cTT.op_id); if(text!=0){ image="<img src=\"images/"+image+"\" class=\"imgB s75\" style=\"border-color:#696E74\" align=\"right\" alt=\""+movie+" Audio Songs\"/>" ; text=image+document.getElementById(text).innerHTML; if(!mousefollow)clearTimeout(v1cTT.dy); v1cTT.oktomove=true; v1cTT.ishover=true; if(v1cTT.ns4)text='<div class="navtext">'+((centertext)?'<center>':'')+text+((centertext)?'</center>':'')+'</div>'; if(v1cTT.w3c||v1cTT.ie4){ try{v1cTT.navtxt.style.textAlign=(centertext)?"center":"left";}
catch(e){}
finally {}
}
writeindiv(text); if(v1cTT.ns4)v1cTT.navtxt.visibility="show"; else{ try{ v1cTT.navtxt.style.visibility="visible"; v1cTT.navtxt.style.display="block";}
catch(e){}
finally {}
}
getboxheight(); if((v1cTT.w3c||v1cTT.ie4) && dofade){ if(v1cTT.ie4||v1cTT.ie5){ try{ v1cTT.navtxt.style.filter="alpha(opacity=0)";}
catch(e){}
finally {}
}
if(v1cTT.ns6){ try{ v1cTT.navtxt.style.MozOpacity=0 ;}
catch(e){}
finally {}
}
v1cTT.ieop=0; v1cTT.op_id=setInterval('incropacity()',50);}}else{ if(mousefollow)hideAlttxt(); else v1cTT.dy=setTimeout('hideAlttxt()',hideDelay);}}
function hideAlttxt(){ if(v1cTT.ns4)v1cTT.navtxt.visibility="hide"; else{ try{v1cTT.navtxt.style.display="none"}
catch(e){}
finally {}
try{v1cTT.navtxt.style.visibility="hidden";}
catch(e){}
finally {}
}
movenavtxt(-v1cTT.boxwidth-10,0); writeindiv('');}
function incropacity(){ if(v1cTT.ieop<=100){ v1cTT.ieop+=20; if(v1cTT.ie4||v1cTT.ie5){ try{ v1cTT.navtxt.style.filter="alpha(opacity="+v1cTT.ieop+")";}
catch(e){}
finally {}
}
if(v1cTT.ns6){ try{ v1cTT.navtxt.style.MozOpacity=v1cTT.ieop/100;}
catch(e){}
finally {}
}
}else clearInterval(v1cTT.op_id);}
function moveobj(evt){ mx=(v1cTT.ie5||v1cTT.ie4)?event.clientX:evt.pageX; my=(v1cTT.ie5||v1cTT.ie4)?event.clientY:evt.pageY; if(v1cTT.ishover && v1cTT.oktomove){ margin=(v1cTT.ie4||v1cTT.ie5)?5:25; if(v1cTT.ns6)if(document.height+27-window.innerHeight<0)margin=15; if(v1cTT.ns4)if(document.height-window.innerHeight<0)margin=10; if(v1cTT.ns4||v1cTT.ns6)mx-=getpagescrollx(); if(v1cTT.ns4)my-=getpagescrolly(); xoff=mx+xoffset; yoff=(my+v1cTT.boxheight+yoffset-((v1cTT.ns6)?getpagescrolly():0)>=v1cTT.w_y)? -5-v1cTT.boxheight-yoffset: yoffset; movenavtxt( Math.min(v1cTT.w_x-v1cTT.boxwidth-margin , Math.max(2,xoff))+getpagescrollx(), my+yoff+((!v1cTT.ns6)?getpagescrolly():0)); if(!mousefollow)v1cTT.oktomove=false;}}
window.onload=function(){ v1cTT.navtxt=(v1cTT.ns4)?document.layers['navtxt']:(v1cTT.ie4)?document.all['navtxt']:(v1cTT.w3c)?document.getElementById('navtxt'):null; getboxwidth(); getboxheight(); getwindowdims(); if(v1cTT.ie4||v1cTT.ie5&&dofade)v1cTT.navtxt.style.filter="alpha(opacity=100)"; v1cTT.navtxt.onmouseover=function(){ if(!mousefollow)clearTimeout(v1cTT.dy);}
v1cTT.navtxt.onmouseout=function(){ if(!mousefollow)v1cTT.dy=setTimeout('hideAlttxt()',hideDelay);}
if(v1cTT.ns4)document.captureEvents(Event.MOUSEMOVE); document.onmousemove=moveobj; window.onresize=getwindowdims;}
