var d=document;
var gcnt=0;
var g=new Array();
var hi=0;
var sel=-1;
var w=160;
var h=26;
var DefaultStatus="AV Translation Services";

function sl(name,link,statusText){
this.width=w;
this.height=h;
this.name=name;
this.link=link;
this.off=new Image(w,h);
this.off.src='pics/'+name+'.gif';
this.on=new Image(w,h);
this.on.src='pics/'+name+'s.gif';
this.sel=new Image(w,h);
this.sel.src='pics/'+name+'s.gif';
this.statusText=statusText;
}

if(nasl!="services")g[gcnt++]=new sl("services","services.html","Translation and related services");
if(nasl!="experience")g[gcnt++]=new sl("experience","experience.html","Experience in translation; my computer skills");
if(nasl!="samples")g[gcnt++]=new sl("samples","samples.html","Samples of my work");
if(nasl!="glossaries")g[gcnt++]=new sl("glossaries","glossaries.html","Glossaries I have created; links to some other interesting sites");
if(nasl!="prices")g[gcnt++]=new sl("prices","prices.html","Prices; terms and conditions");
if(nasl!="links")g[gcnt++]=new sl("links","links.html","Favorite links");
if(nasl!="contact")g[gcnt++]=new sl("contact","contact.html","Contact and availability information");
if(nasl!="sitemap")g[gcnt++]=new sl("sitemap","sitemap.html","Site map");
if(nasl!="home")g[gcnt++]=new sl("home","index.html","Back to the front page");

function doClick(n){d.images[g[n].name].src=g[n].sel.src;if(n!=sel&&sel!=-1)d.images[g[sel].name].src=g[sel].off.src;sel=n;}
function doMouseOver(n){if(n!=sel)d.images[g[n].name].src=g[n].on.src;if(hi!=sel&&hi!=n)d.images[g[hi].name].src=g[hi].off.src;hi=n;self.status=g[n].statusText;}
function doMouseOut(n){if(hi!=sel)d.images[g[hi].name].src=g[hi].off.src;self.status=DefaultStatus;}

with(this.d){
open('text/html');
write('<td width=9 background="pics/strela2.gif">&nbsp;</td><td width=170 bgcolor=#ffffff align=center valign=top><table height=100% cellspacing=0 cellpadding=0><tr><td height=10></td></tr><tr><td valign=top><center><img src="pics/av.jpg" alt="'+DefaultStatus+'" height=117 width=160></center><br>');
for(i=0;i<gcnt;i++)write('<a href="'+g[i].link+'" onMouseOver="doMouseOver('+i+');return true" onMouseOut="doMouseOut('+i+')" onClick="doClick('+i+')"><img name="'+g[i].name+'" src="'+g[i].off.src+'" alt="'+g[i].name+'" width='+g[i].width+' height='+g[i].height+' border=0></a><br>');
write('</td></tr><tr height=100%><td align=middle valign=top><br><br><font size=2><font color="#ff0000"><b>Using:</b></font><br><br>Trados<br>Transit<br>DejaVu<br>Helium<br>LocStudio<br>Projetex<br>SubtitleWorkshop');
write('</td></tr><tr><td align=middle valign=bottom><a href="#top"><img src="pics/top.gif" alt="Top" border=0 valign=bottom width=48 height=26></a><p></td></tr></table></td><td width=9 background="pics/strela.gif">&nbsp;</td>');
close();
}

function f(){
dw=d.write;
dw('<center><br><img src="pics/avrot.gif" border=0 alt="'+DefaultStatus+'"><br><font size=-2>');
if(nasl!="services")dw('<a href="services.html">Services</a> - ');
if(nasl!="experience")dw('<a href="experience.html">Experience</a> - ');
if(nasl!="samples")dw('<a href="samples.html">Samples</a> - ');
if(nasl!="glossaries")dw('<a href="glossaries.html">Glossaries</a> - ');
if(nasl!="prices")dw('<a href="prices.html">Prices</a> - ');
if(nasl!="contact")dw('<a href="contact.html">Contact</a> - ');
if(nasl!="links")dw('<a href="links.html">Links</a> - ');
if(nasl!="sitemap")dw('<a href="sitemap.html">Site Map</a>');
if(nasl!="home"&&nasl!="sitemap")dw(' - ');
if(nasl!="home")dw('<a href="index.html">Home</a>');
}






