function show(a){return true}
function hide(){return true}

var menusWidth=new Array(140,140,140);
var subsWidth=new Array(120,195);
var topPX=new Array(195,112,112);
var leftPX=new Array(160,200,340);

subhref1=new Array('');
subtext1=new Array('');

var SmartMenus_Source='vmspl_menu.js';// the source of your script
var Any_Add_On_Source='';// if you need any add-on

iE=document.all&&!window.innerWidth?1:0;oP=navigator.userAgent.indexOf("Opera")!=-1&&document.getElementById?1:0;nS=document.getElementById&&!document.all&&navigator.userAgent.indexOf("Opera")==-1?1:0;nS4=document.layers&&!document.getElementById?1:0;

var menuBorderColor='#000000';
var menuBgColor='#ffffff';
var menuOverBgColor='#FECF05';
var menuFontColor='#444444';
var menuOverFontColor='#990000';
var font='Verdana,Arial, Helvetica, sans-serif';
var fontSize='11px';
var NS4fontSize='12px';
var fontWeight='normal';
var cellPadding=2;
var frameBorderWidth=1;
var hideTimeout=100;

var menuIEfilter='';
var subMenuOffsetX=0;//pixels (if no subs, leave as u like)
var subMenuOffsetY=2;

var arrowImgSource='images/newsimage_over.gif';
var arrowImgOverSource='images/newsimage_over.gif';
var arrowImgSize=12;//pixels

var arrowImgSource='';
var arrowImgOverSource='';
var arrowImgSize=0//pixels

var target='self'//(newWindow, self or top)

var menuCount=1;
var subMenuCount=1;//if no, set to 0

cur=iE?'hand':'pointer';NS4fontSize=(document.layers&&navigator.platform.toLowerCase().indexOf("win")!=-1)?NS4fontSize:fontSize;TIM=0;acE=0;acE2=0;ImG=0;nSPad=nS?('padding:'+cellPadding+'px;'):'';FTR=iE?';filter:'+menuIEfilter:'';Ioff=new Image();Ion=new Image();Ioff.src=arrowImgSource;Ion.src=arrowImgOverSource;function nS4clk(a){ACT.document.onclick=function nS4oclk(){doGo(a)}};document.write("<style>.mxz{font-family:"+font+";font-size:"+fontSize+";color:"+menuFontColor+";font-weight:"+fontWeight+";background:"+menuBgColor+";"+nSPad+"cursor:"+cur+"}.aNS4{font-weight:"+fontWeight+";font-family:"+font+";font-size:"+NS4fontSize+";color:"+menuFontColor+";padding:"+cellPadding+";text-decoration:none}</style>");if(nS4){document.write('<layer visibility=hide id=lll1><a href="#" class=aNS4>a</a></layer>');mHei=document.lll1.document.height+cellPadding};if(!nS4){document.write("<div style='position:absolute;font:"+fontWeight+" "+fontSize+" "+font+";visibility:hidden'><span id=tD1>a</span><br><span id=tD2>a</span></div>");ELE1=iE?document.all['tD1']:document.getElementById('tD1');ELE2=oP?document.getElementById('tD2'):0;if(oP){EL1t=ELE1.offsetTop;EL2t=ELE2.offsetTop;EL1p=ELE1.offsetParent;EL2p=ELE2.offsetParent;while(EL1p){EL1t+=EL1p.offsetTop;EL2t+=EL2p.offsetTop;EL1p=EL1p.offsetParent;EL2p=EL2p.offsetParent};mHei=EL2t-EL1t+cellPadding*2};if(nS){ELE1=document.createElement("A");ELE1.innerHTML='x';ELE1.style.font=fontWeight+' '+fontSize+' '+font;ELE1.style.position='absolute';ELE1.style.visibility='hidden';document.body.appendChild(ELE1)};if(!oP)mHei=ELE1.offsetHeight+cellPadding*2};for(m=1;m<=menuCount;m++){if(nS4)eval('text2'+m+'=new Array()');for(n=0;n<eval('href'+m+'.length');n++){if(nS4){eval('text2'+m+'['+n+']=text'+m+'['+n+']')};if(eval('href'+m+'['+n+']').substring(0,5)=="show:"){if(!nS4){eval('text'+m+'['+n+']="<div style=position:relative;width:'+(menusWidth[m-1]-frameBorderWidth*2-cellPadding*2-arrowImgSize)+'px>"+text'+m+'['+n+']+"<img name=IMg'+eval("parseInt(href"+m+"["+n+"].substring(12))")+' style=position:absolute;left:'+(menusWidth[m-1]-cellPadding*2-frameBorderWidth*2-arrowImgSize)+'px;top:'+parseInt((mHei-cellPadding*2-arrowImgSize)/2)+'px width='+arrowImgSize+' height='+arrowImgSize+' src='+arrowImgSource+'></div>"')};if(nS4){eval('text'+m+'['+n+']+="<layer left='+(menusWidth[m-1]-cellPadding-frameBorderWidth*2-arrowImgSize)+' top='+parseInt((mHei-arrowImgSize)/2)+'><img width='+arrowImgSize+' height='+arrowImgSize+' src='+arrowImgSource+'></layer>"');eval('text2'+m+'['+n+']+="<layer left='+(menusWidth[m-1]-cellPadding-frameBorderWidth*2-arrowImgSize)+' top='+parseInt((mHei-arrowImgSize)/2)+'><img width='+arrowImgSize+' height='+arrowImgSize+' src='+arrowImgOverSource+'></layer>"')}}}};if(!nS4){for(k=1;k<=menuCount;k++){mvf='';mvf="function MV"+k+"(){var x='';for(var i=0;i<href"+k+".length;i++){x+='<tr><td class=mxz onclick=doGo(\"'+href"+k+"[i]+'\") onmouseover=overer();ov(this,\"'+href"+k+"[i]+'\","+k+");acE=this;this.style.background=menuOverBgColor;this.style.color=menuOverFontColor>'+text"+k+"[i]+'</td></tr>'};return x};";eval(mvf)};for(k=1;k<=subMenuCount;k++){mvf='';mvf="function SMV"+k+"(){var x='';for(var i=0;i<subhref"+k+".length;i++){x+='<tr><td class=mxz onclick=doGo(\"'+subhref"+k+"[i]+'\") onmouseover=this.style.background=menuOverBgColor;this.style.color=menuOverFontColor;acE2=this onmouseout=this.style.background=menuBgColor;this.style.color=menuFontColor>'+subtext"+k+"[i]+'</td></tr>'};return x};";eval(mvf)}};if(nS4){for(k=1;k<=menuCount;k++){mvf='';mvf="function MV"+k+"(){var x='';for(var i=0;i<href"+k+".length;i++){x+='<tr><td><ilayer><layer width=100% height="+mHei+" bgcolor=\""+menuOverBgColor+"\" onmouseover=overer();ACT=this;nS4clk(\"'+href"+k+"[i]+'\")><a href=javascript:doGo(\"'+href"+k+"[i]+'\") class=aNS4><font color="+menuOverFontColor+">'+text2"+k+"[i]+'</font></a></layer><layer bgcolor=\""+menuBgColor+"\" width=100% height="+mHei+" onmouseover=overer();ov(this,\"'+href"+k+"[i]+'\","+k+");cBack();acE=this;this.visibility=\"hide\"><a href=javascript:; class=aNS4>'+text"+k+"[i]+'</a></layer></ilayer></td></tr>'};return x}";eval(mvf)};for(k=1;k<=subMenuCount;k++){mvf='';mvf="function SMV"+k+"(){var x='';for(var i=0;i<subhref"+k+".length;i++){x+='<tr><td><ilayer><layer width=100% height="+mHei+" bgcolor=\""+menuOverBgColor+"\" onmouseover=ACT=this;nS4clk(\"'+subhref"+k+"[i]+'\")><a href=javascript:doGo(\"'+subhref"+k+"[i]+'\") class=aNS4><font color="+menuOverFontColor+">'+subtext"+k+"[i]+'</font></a></layer><layer bgcolor=\""+menuBgColor+"\" width=100% height="+mHei+" onmouseover=acE2.visibility=\"inherit\";acE2=this;this.visibility=\"hide\"><a href=javascript:; class=aNS4>'+subtext"+k+"[i]+'</a></layer></ilayer></td></tr>'};return x}";eval(mvf)}};function overer(){TIM?clearTimeout(TIM):0};function rV(){var q='';for(z=1;z<=menuCount;z++){iE?q+="m"+z+".style.visibility='hidden';":nS4?q+="document.layers['m"+z+"'].visibility='hide';":q+="document.getElementById('m"+z+"').style.visibility='hidden';"};return q};function rV2(){var q='if(subMenuCount){';for(z=1;z<=subMenuCount;z++){iE?q=q+"if(s!='subMenu"+z+"')subMenu"+z+".style.visibility='hidden';":nS4?q=q+"if(s!='subMenu"+z+"')document.layers['subMenu"+z+"'].visibility='hide';":q=q+"if(s!='subMenu"+z+"')document.getElementById('subMenu"+z+"').style.visibility='hidden';"};q+='}';return q};function cBack(){if(nS4){if(acE)acE.visibility='inherit';if(acE2)acE2.visibility='inherit'}else{if(acE){acE.style.background=menuBgColor;acE.style.color=menuFontColor};if(ImG)ImG.src=Ioff.src;if(acE2){acE2.style.background=menuBgColor;acE2.style.color=menuFontColor}}};function ov(ok,x,j){var b=x.substring(0,5)=='show:'?x.indexOf(';')==13||x.indexOf(';')==14||x.indexOf(';')==15?x.substring(5,x.indexOf(';')):x.substring(5):0;cBack();hideSub(b);if(!(subMenuCount&&b))return;var c=b.substring(7);if(!nS4){ImG=document.images['IMg'+c];ImG.src=Ion.src};var F=iE?document.body.scrollLeft+document.body.clientWidth:pageXOffset+innerWidth;var SAP=ok.offsetParent;var SAL=!nS4?ok.offsetLeft:ok.pageX;var SAT=!nS4?ok.offsetTop:ok.pageY;while(SAP){SAL+=SAP.offsetLeft;SAT+=SAP.offsetTop;SAP=SAP.offsetParent};var r=iE?document.all[b].style:nS4?document.layers[b]:document.getElementById(b).style;if(iE||oP){r.pixelTop=SAT-frameBorderWidth+subMenuOffsetY;if(iE&&(SAT-frameBorderWidth+subMenuOffsetY+document.all[b].offsetHeight>document.body.scrollTop+document.body.clientHeight))r.pixelTop=document.body.scrollTop+document.body.clientHeight-document.all[b].offsetHeight;if(SAL+menusWidth[j-1]+subsWidth[c-1]-frameBorderWidth*2-subMenuOffsetX<F)r.pixelLeft=SAL+menusWidth[j-1]-frameBorderWidth*2-subMenuOffsetX;else r.pixelLeft=SAL-subsWidth[c-1]+subMenuOffsetX;showSub(b)};if(nS){if(SAT-frameBorderWidth+subMenuOffsetY+document.getElementById(b).offsetHeight+14>pageYOffset+innerHeight)r.top=pageYOffset+innerHeight-document.getElementById(b).offsetHeight-14;else r.top=SAT-frameBorderWidth+subMenuOffsetY;if(SAL+menusWidth[j-1]+subsWidth[c-1]-frameBorderWidth*2-subMenuOffsetX+14<F)r.left=SAL+menusWidth[j-1]-frameBorderWidth*2-subMenuOffsetX;else r.left=SAL-subsWidth[c-1]+subMenuOffsetX;showSub(b)};if(nS4){if(SAT-frameBorderWidth+subMenuOffsetY+r.document.height+16>pageYOffset+innerHeight)r.top=pageYOffset+innerHeight-r.document.height-16;else r.top=SAT-frameBorderWidth+subMenuOffsetY;if(SAL+menusWidth[j-1]+subsWidth[c-1]-frameBorderWidth*2-subMenuOffsetX+16<F)r.left=SAL+menusWidth[j-1]-frameBorderWidth*2-subMenuOffsetX;else r.left=SAL-subsWidth[c-1]+subMenuOffsetX;showSub(b)}};eval("function hide2(){"+rV()+";cBack()};function hideSub(s){"+rV2()+"}");function showSub(a){var o=iE?document.all[a].style:nS4?document.layers[a]:document.getElementById(a).style;if(!nS4){if(o.visibility!='visible'){hideSub();if(iE&&(document.all[a].filters&&document.all[a].filters.length!=0)){document.all[a].filters[0].apply();o.visibility='visible';document.all[a].filters[0].play()}else{o.visibility='visible'}}};if(nS4){if(o.visibility!='show'){hideSub();o.visibility='show'}}};function doGo(ok){if(ok.substring(0,5)=='show:'){if(ok.indexOf(';')==13||ok.indexOf(';')==14||ok.indexOf(';')==15){ok=ok.substring(ok.indexOf(';')+1)}else{return}};hide2();hideSub();if(ok.charAt(0)=='*'){if(ok.substring(0,6)=='*self*'){document.location.href=ok.substring(6);return};if(ok.substring(0,6)=='*top*'){top.document.location.href=ok.substring(5);return};if(ok.substring(0,11)=='*newWindow*'){window.open(ok.substring(11));return};for(s=1;s<ok.length;s++){if(ok.charAt(s)=='*'){eval('top.'+ok.substring(1,s)+'.location="'+ok.substring(s+1)+'"')}}return};if(ok.substring(0,11)=='javascript:'){document.location.href=ok;return};if(target=='self'){document.location.href=ok;return};if(target=='newWindow'){window.open(ok);return};if(target=='top'){top.document.location.href=ok;return};alert("ERROR:\nThe \"target\" variable is not set correctly!")};if(!nS4){for(j=1;j<=subMenuCount;j++){document.write("<div style='position:absolute;z-index:1001;top:-1000px;left:-1000px;visibility:hidden;width:"+subsWidth[j-1]+"px"+FTR+"' id=subMenu"+j+" onmouseover=overer() onmouseout=hide()><table cellpadding=0 cellspacing=0 border=0><tr><td bgcolor="+menuBorderColor+"><table cellpadding="+cellPadding+" width="+subsWidth[j-1]+" cellspacing="+frameBorderWidth+" border=0>"+eval('SMV'+j+'()')+"</table></td></tr></table></div>")}};if(!nS4){for(j=1;j<=menuCount;j++){document.write("<div style='position:absolute;top:"+topPX[j-1]+"px;left:"+leftPX[j-1]+"px;z-index:1000;visibility:hidden;width:"+menusWidth[j-1]+"px"+FTR+"' id=m"+j+" onmouseover=overer() onmouseout=hide()><table cellpadding=0 cellspacing=0 border=0><tr><td bgcolor="+menuBorderColor+"><table cellpadding="+cellPadding+" width="+menusWidth[j-1]+" cellspacing="+frameBorderWidth+" border=0>"+eval('MV'+j+'()')+"</table></td></tr></table></div>")}};if(nS4){for(j=1;j<=menuCount;j++){document.write("<layer z-index=1000 id=m"+j+" visibility=hide left="+leftPX[j-1]+" top="+topPX[j-1]+" bgcolor='"+menuBorderColor+"' width="+menusWidth[j-1]+" onmouseover=overer() onmouseout=hide()><table cellspacing="+frameBorderWidth+" cellpadding=0 border=0 width=100%>"+eval('MV'+j+'()')+"</table></layer>")};for(j=1;j<=subMenuCount;j++){document.write("<layer z-index=1001 id=subMenu"+j+" visibility=hide left=0 top=0 bgcolor='"+menuBorderColor+"' width="+subsWidth[j-1]+" onmouseover=overer() onmouseout=hide()><table cellspacing="+frameBorderWidth+" cellpadding=0 border=0 width=100%>"+eval('SMV'+j+'()')+"</table></layer>")}};function show(a){if(Any_Add_On_Source!=''&&!document.AddOnLoaded)return;TIM?clearTimeout(TIM):0;hideSub();cBack();var o=iE?document.all[a]:nS4?document.layers[a]:document.getElementById(a);var F=iE?document.body.scrollTop+document.body.clientHeight:pageYOffset+innerHeight;var s=a.substring(1)-1;if(!nS4){if(o.style.visibility!='visible'){hide2();if(oP){o.style.visibility='visible';return};if(nS){if(topPX[s]+14+o.offsetHeight>F)o.style.top=F-o.offsetHeight-14+'px';else o.style.top=topPX[s]+'px'}else{if(topPX[s]+o.offsetHeight>F)o.style.pixelTop=F-o.offsetHeight;else o.style.pixelTop=topPX[s]};if(iE&&(o.filters&&o.filters.length!=0)){o.filters[0].apply();o.style.visibility='visible';o.filters[0].play()}else{o.style.visibility='visible'}}};if(nS4){if(o.visibility!='show'){hide2();if(topPX[s]+16+o.document.height>F)o.top=F-o.document.height-16;else o.top=topPX[s];o.visibility='show'}}};function hide(){TIM=setTimeout("hideSub();hide2()",hideTimeout)}