<!-------------------QuIcKEr Solution ;-) ------------------------------->
NS6 = (document.getElementById&&!document.all)
IE = (document.all)
NS = (navigator.appName=="Netscape" && navigator.appVersion.charAt(0)=="4")

tempBar='';barBuilt=0;barItems=new Array();

moving=setTimeout('null',1)
function moveOut() {
if ((NS6||NS)&&parseInt(bar.left)<0 || IE && bar.pixelLeft<0) {
clearTimeout(moving);moving = setTimeout('moveOut()', slideSpeed);slideMenu(10)}
else {clearTimeout(moving);moving=setTimeout('null',1)}};
function moveBack() {clearTimeout(moving);moving = setTimeout('moveBack1()', waitTime)}
function moveBack1() {
if ((NS6||NS) && parseInt(bar.left)>(-menuWidth) || IE && bar.pixelLeft>(-menuWidth)) {
clearTimeout(moving);moving = setTimeout('moveBack1()', slideSpeed);slideMenu(-10)}
else {clearTimeout(moving);moving=setTimeout('null',1)}}
function slideMenu(num){
if (IE) {bar.pixelLeft += num;}
if (NS||NS6) {bar.left = parseInt(bar.left)+num;}
if (NS) {bbar.clip.right+=num;bbar2.clip.right+=num;}}

function makeStatic() {
if (NS||NS6) {winY = window.pageYOffset;}
if (IE) {winY = document.body.scrollTop;}
if (NS6||IE||NS) {
if (winY!=lastY&&winY>YOffset-staticYOffset) {
smooth = .4 * (winY - lastY - YOffset + staticYOffset);}
else if (YOffset-staticYOffset+lastY>YOffset-staticYOffset) {
smooth = .4 * (winY - lastY - (YOffset-(YOffset-winY)));}
else {smooth=0}
if(smooth > 0) smooth = Math.ceil(smooth);
else smooth = Math.floor(smooth);
if (IE&&smooth!=0) bbar.pixelTop=bbar.pixelTop+smooth;
if (NS6||NS) bbar.top=parseInt(bbar.top)+smooth
lastY = lastY+smooth;
setTimeout('makeStatic()', 20)}}

function buildBar() {
if(barText.indexOf('<IMG')>-1) {tempBar=barText}
else{for (b=0;b<barText.length;b++) {tempBar+=barText.charAt(b)+"<BR>"}}
document.write('<td align="center" rowspan="100" width="'+barWidth+'" bgcolor="'+barBGColor+'" valign="'+barVAlign+'"><p align="center"><font face="'+barFontFamily+'" Size="'+barFontSize+'" COLOR="'+barFontColor+'"><B>'+tempBar+'</B></font></p></TD>')}

function initSlide() {
if (NS6){bar=document.getElementById("thebar").style;bbar=document.getElementById("basebar").style;
bbar.clip="rect(0 "+document.getElementById("thebar").offsetWidth+" "+document.getElementById("thebar").offsetHeight+" 0)";bar.visibility="visible";}
else if (IE) {bar=document.all("thebar").style;bbar=document.all("basebar").style
bbar.clip="rect(0 "+thebar.offsetWidth+" "+thebar.offsetHeight+" 0)";bbar.visibility = "visible";}
else if (NS) {bbar=document.layers["basebar1"];
bbar2=bbar.document.layers["basebar2"];bar=bbar2.document.layers["thebar"];
bbar2.clip.left=0;bar.visibility = "show";}
if (menuIsStatic=="yes") makeStatic();}

function buildMenu() {
if (IE||NS6) {document.write('<DIV ID="basebar" style="visibility:hidden;Position : Absolute ;Left : '+XOffset+' ;Top : '+YOffset+' ;Z-Index : 20;width:'+(menuWidth+barWidth+10)+'"><DIV ID="thebar" style="Position : Absolute ;Left : '+(-menuWidth)+' ;Top : 0 ;Z-Index : 20;" onmouseover="moveOut()" onmouseout="moveBack()">')}
if (NS) {document.write('<LAYER name="basebar1" top="'+YOffset+'" LEFT='+XOffset+' visibility="show"><ILAYER name="basebar2"><LAYER visibility="hide" name="thebar" bgcolor="'+menuBGColor+'" left="'+(-menuWidth)+'" onmouseover="moveOut()" onmouseout="moveBack()">')}
if (NS6){document.write('<table border="0" cellpadding="0" cellspacing="0" width="'+(menuWidth+barWidth+2)+'" bgcolor="'+menuBGColor+'"><TR><TD>')}
document.write('<table border="0" cellpadding="0" cellspacing="1" width="'+(menuWidth+barWidth+2)+'" bgcolor="'+menuBGColor+'">');
for(i=0;i<barItems.length;i++) {
if(!barItems[i][3]){barItems[i][3]=menuCols;barItems[i][5]=menuWidth-1}
else if(barItems[i][3]!=menuCols)barItems[i][5]=Math.round(menuWidth*(barItems[i][3]/menuCols)-1);
if(barItems[i-1]&&barItems[i-1][4]!="no"){document.write('<TR>')}
if(!barItems[i][1]){
document.write('<td bgcolor="'+hdrBGColor+'" HEIGHT="'+hdrHeight+'" ALIGN="'+hdrAlign+'" VALIGN="'+hdrVAlign+'" WIDTH="'+barItems[i][5]+'" COLSPAN="'+barItems[i][3]+'">&nbsp;<font face="'+hdrFontFamily+'" Size="'+hdrFontSize+'" COLOR="'+hdrFontColor+'"><b>'+barItems[i][0]+'</b></font></td>')}
else {if(!barItems[i][2])barItems[i][2]=linkTarget;
document.write('<TD BGCOLOR="'+linkBGColor+'" onmouseover="bgColor=\''+linkOverBGColor+'\'" onmouseout="bgColor=\''+linkBGColor+'\'" WIDTH="'+barItems[i][5]+'" COLSPAN="'+barItems[i][3]+'"><ILAYER><LAYER onmouseover="bgColor=\''+linkOverBGColor+'\'" onmouseout="bgColor=\''+linkBGColor+'\'" WIDTH="100%" ALIGN="'+linkAlign+'"><DIV  ALIGN="'+linkAlign+'"><FONT face="'+linkFontFamily+'" Size="'+linkFontSize+'">&nbsp;<A HREF="'+barItems[i][1]+'" target="'+barItems[i][2]+'" CLASS="barItems">'+barItems[i][0]+'</DIV></LAYER></ILAYER></TD>')}
if(barItems[i][4]!="no"&&barBuilt==0){buildBar();barBuilt=1}
if(barItems[i][4]!="no"){document.write('</TR>')}}
document.write('</table>')
if (NS6){document.write('</TD></TR></TABLE>')}
if (IE||NS6) {document.write('</DIV></DIV>')}
if (NS) {document.write('</LAYER></ILAYER></LAYER>')}
theleft=-menuWidth;lastY=0;setTimeout('initSlide();', 1)}
