/*
*/

current=0;
xyz=-1;
IE = (document.all)
NS = (navigator.appName=="Netscape" && navigator.appVersion >= "4")

function showSub(layer, e){
if (window.hiding){setTimeout('clearTimeout(hiding)', 1);}
if (IE) {
if (dropSub=="up") {XtraOffset=document.all(layer).offsetHeight+5} else {XtraOffset=-11}
document.all(layer).style.pixelLeft=document.body.scrollLeft+event.clientX-event.offsetX-5
document.all(layer).style.pixelTop=document.body.scrollTop+event.clientY-event.offsetY-XtraOffset
showing = setTimeout('document.all("'+layer+'").style.visibility="visible"', 1)
if (document.all(layer).style.pixelLeft+document.all(layer).offsetWidth>document.body.clientWidth){
document.all(layer).style.pixelLeft=document.body.clientWidth-document.all(layer).offsetWidth}}
if (NS) {
if (dropSub=="up") {XtraOffset=document.layers[layer].document.height-2} else {XtraOffset=-14}
document.layers[layer].left=e.pageX-e.layerX-7
document.layers[layer].top=e.pageY-e.layerY-XtraOffset
showing = setTimeout('document.layers["'+layer+'"].visibility="show"', 1)
if (document.layers[layer].left+document.layers[layer].document.width>window.innerWidth){
document.layers[layer].left=window.innerWidth-document.layers[layer].document.width-16}}}

function showSub2(){
if (window.hiding){clearTimeout(hiding);hiding="";}
if (IE) {this.visibility="visible";}
if (NS) {this.visibility="show";}}

function hideSub(layer, header) {
if (window.showing){clearTimeout(showing);}
if (header!="head"){
hiding = setTimeout('hideSub2(\''+layer+'\')', 0)}
else {hideSub2(layer)}}

function hideSub2(layer){
if (IE) {document.all(layer).style.visibility="hidden"}
if (NS) {document.layers[layer].visibility="hide";}}

function startQuick() {
if (NS) {if (dropSub=="down") {DropDown='<TR><TD BGCOLOR="'+menuBGColor+'"><SPAN CLASS="quickSpace">&nbsp;</SPAN></TD></TR>';DropUp=""} else {DropDown="";DropUp='<TR><TD BGCOLOR="'+menuBGColor+'"><SPAN CLASS="quickSpace">&nbsp;</SPAN></TD></TR>'}}
document.write('<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0><TR>')}

function addQuick(text, link, target, subName, end) {
if (!subName) {subName="";subs=""}
else {subs=' onmouseover="showSub(\''+subName+'\', event)" onmouseout="hideSub(\''+subName+'\')"'}
if (!end) end="|"; else end=""
if (current==0){
document.write('<TD><FONT COLOR="'+hdrFontColor+'" SIZE="'+hdrFontSize+'" FACE="'+hdrFontFace+'">&nbsp;<ILAYER NAME="main'+subName+'a"><LAYER MAME="main'+subName+'b"'+subs+'><SPAN'+subs+'><A HREF="'+link+'" CLASS="quickMenu"><FONT COLOR="'+hdrFontColor+'">'+text+'</A></SPAN><FONT COLOR="'+hdrFontColor+'">&nbsp;'+end+'</LAYER></ILAYER></TD>')}
else {document.write('&nbsp;<A HREF="'+link+'" CLASS="quickMenu"><FONT COLOR="'+subFontColor+'">'+text+'</A>&nbsp;&nbsp;<BR>')}}


function endQuick() {
document.write('</TR></TABLE>')
document.write('')
current=1}

function startSubQuick(subName, width) {
if (!width) width=subWidth
if (IE) document.write('<DIV ID="'+subName+'" ALIGN="LEFT" STYLE="position:absolute;visibility:hidden;z-index:198;width:1;" onmouseover="showSub2()" onmouseout="hideSub(\''+subName+'\')"><TABLE CELLSPACING=0 CELLPADDING=2 BORDER=0 WIDTH="'+width+'"><TR><TD><SPAN CLASS="quickSpace">&nbsp;</SPAN></TD></TR><TR><TD BGCOLOR="'+subBGColor+'"><FONT COLOR="'+subFontColor+'" SIZE="'+subFontSize+'" FACE="'+subFontFace+'"><BR>')
if (NS) document.write('<LAYER TOP="0" LEFT="0" VISIBILITY="hide" NAME="'+subName+'" onmouseover="showSub2()" onmouseout="hideSub(\''+subName+'\')"><DIV><TABLE CELLSPACING=0 CELLPADDING=2 BORDER=0>'+DropDown+'<TR><TD BGCOLOR="'+subBGColor+'"><FONT COLOR="'+subFontColor+'" SIZE="'+subFontSize+'" FACE="'+subFontFace+'"><BR>')}
function endSubQuick() {
if (IE) document.write('<BR></TD></TR></TABLE></DIV>')
if (NS) document.write('<BR></TD></TR>'+DropUp+'</TABLE></DIV></LAYER>')
}

function makeVisible() {
}

function reload() {
location=this.location}

window.onload=makeVisible
window.onresize=reload