<!--

function MM_preloadImages(){var d=document;if(d.images){if(!d.MM_p)d.MM_p=new Array();var i,j=d.MM_p.length,a=MM_preloadImages.arguments;for(i=0;i<a.length;i++)
if(a[i].indexOf("#")!=0){d.MM_p[j]=new Image;d.MM_p[j++].src=a[i];}}}
function seltab(id){if(!window.prevSelTab)
window.prevSelTab=1;document.getElementById('tab'+window.prevSelTab).style.display="none";document.getElementById('tab'+id).style.display="";var oImage=document.getElementById('tabimage'+window.prevSelTab);oImage.src=oImage.getAttribute("norImage");var cImage=document.getElementById('tabimage'+id);cImage.src=cImage.getAttribute("selImage");window.prevSelTab=id;}
function findPosX(obj)
{var curleft=0;if(obj.offsetParent)
{while(obj.offsetParent)
{curleft+=obj.offsetLeft;obj=obj.offsetParent;}}
else if(obj.x)
curleft+=obj.x;return curleft;}
function findPosY(obj)
{var curtop=0;if(obj.offsetParent)
{while(obj.offsetParent)
{curtop+=obj.offsetTop;obj=obj.offsetParent;}}
else if(obj.y)
curtop+=obj.y;return curtop;}
fmDelay=10;fmStep=10;showMenu=function(elId,refObj){var el=document.getElementById(elId);if(!el.getAttribute('positioned')){var refX=findPosX(refObj);var refXW=refX+refObj.clientWidth;var rightedge=document.body.clientWidth?document.body.clientWidth:window.innerWidth;el.style.top=(findPosY(refObj)+refObj.clientHeight)+'px';if((refX+el.offsetWidth)>rightedge){el.style.left=(refXW-el.offsetWidth)+'px';}
else{el.style.left=(refX)+'px';}
el.orgHeight=el.offsetHeight;el.style.height='2px';el.style.overflow='hidden';el.gref="window.fm"+el.id;eval(el.gref+"= el");el.hide=function(){this.rollin();}
el.show=function(){this.style.visibility='visible';this.style.zIndex=99;this.rollout();}
el.rollout=function(){if(this.timer){window.clearTimeout(this.timer);}
if(this.offsetHeight<this.orgHeight){this.style.height=(this.offsetHeight+fmStep)+'px';this.timer=window.setTimeout(this.gref+'.rollout()',fmDelay);}else{this.style.height=this.orgHeight+'px';}}
el.rollin=function(){if(this.timer){window.clearTimeout(this.timer);}
if(this.offsetHeight<fmStep){this.style.height='1px';this.style.visibility='hidden';this.style.zIndex=-99;}
else{this.style.height=(this.offsetHeight-fmStep)+'px';this.timer=window.setTimeout(this.gref+'.rollin()',fmDelay);}}
el.onmouseover=function(){if(this.htimer){window.clearTimeout(this.htimer);}}
el.onmouseout=function(){if(this.htimer){window.clearTimeout(this.htimer);}
this.htimer=window.setTimeout(this.gref+'.hide()',300);}
el.setAttribute('positioned','true');}
if(window.showingfm){window.showingfm.hide();}
el.show();if(el.htimer){window.clearTimeout(el.htimer);}
window.showingfm=el;}
document.onclick=function(){if(window.showingfm){window.showingfm.hide();}}
hideMenu=function(){if(window.showingfm){window.showingfm.hide();}}
var __win=null;function NewPercentWindow(mypage,myname,w,h,scroll,resize){newWidth=parseInt((w*screen.width)/100);newHeight=parseInt((h*screen.height)/100);LeftPosition=(screen.width)?(screen.width-newWidth)/2:0;TopPosition=(screen.height)?(screen.height-newHeight)/2:0;settings='height='+newHeight+',width='+newWidth+',top='+TopPosition+',left='+LeftPosition+'';if(scroll)
settings=settings+',scrollbars='+scroll+'';if(resize)
settings=settings+',resizable='+resize+'';__win=window.open(mypage,myname,settings)}

//-->
