function topbar()
{
temp  = top.document.frames[0];
temp2 = document.location.href;
temp3 = temp2.substring(temp2.length-8,temp2.length-5);

document.write('<TABLE WIDTH="800" ALIGN="center" CELLPADDING="0" CELLSPACING="0" BORDER="0">');
document.write('<TR WIDTH="800">');
document.write('<TD WIDTH="800" BGCOLOR="#000000" COLSPAN="3"><IMG SRC="i/nil.gif" WIDTH="800" HEIGHT="10"></TD>');
document.write('</TR>');
document.write('<TR WIDTH="800">');
document.write('<TD WIDTH="24" BGCOLOR="#000000"><IMG SRC="i/nil.gif" WIDTH="24" HEIGHT="43"></TD>');
if      ((temp && top.document.frames[0].name == 'inglese') || (temp3 =='_en'))  { document.write('<TD WIDTH="752" BGCOLOR="#000000"><A HREF="http://www.terencehill.it" TARGET="_top"><IMG SRC="i/eyes.jpg" WIDTH="512" HEIGHT="43" BORDER="0" ALT="www.terencehill.it"><IMG SRC="i/eyesto2.gif" WIDTH="240" HEIGHT="43" BORDER="0" ALT="www.terencehill.it"></A></TD>'); }
else if ((temp && top.document.frames[0].name == 'tedesco') || (temp3 =='_ge'))  { document.write('<TD WIDTH="752" BGCOLOR="#000000"><A HREF="http://www.terencehill.it" TARGET="_top"><IMG SRC="i/eyes.jpg" WIDTH="512" HEIGHT="43" BORDER="0" ALT="www.terencehill.it"><IMG SRC="i/eyesto2.gif" WIDTH="240" HEIGHT="43" BORDER="0" ALT="www.terencehill.it"></A></TD>'); }
else { document.write('<TD WIDTH="752" BGCOLOR="#000000"><A HREF="http://www.terencehill.it" TARGET="_top"><IMG SRC="i/eyes.jpg" WIDTH="512" HEIGHT="43" BORDER="0" ALT="www.terencehill.it"><IMG SRC="i/eyesto2.gif" WIDTH="240" HEIGHT="43" BORDER="0" ALT="www.terencehill.it"></A></TD>') };
document.write('<TD WIDTH="24" BGCOLOR="#000000"><IMG SRC="i/nil.gif" WIDTH="24" HEIGHT="43"></TD>');
document.write('</TR>');
document.write('<TR WIDTH="800">');
document.write('<TD WIDTH="24" BGCOLOR="#000000"><IMG SRC="i/nil.gif" WIDTH="24" HEIGHT="10"></TD>');
document.write('<TD WIDTH="752" BGCOLOR="#000000"><IMG SRC="i/upw.jpg" WIDTH="752" HEIGHT="10"></TD>');
document.write('<TD WIDTH="24" BGCOLOR="#000000"><IMG SRC="i/nil.gif" WIDTH="24" HEIGHT="10"></TD>');
document.write('</TR>');
document.write('<TR WIDTH="800">');
document.write('<TD WIDTH="24"><IMG SRC="i/nil.gif" WIDTH="24" HEIGHT="20"></TD>');
document.write('<TD WIDTH="752"><IMG SRC="i/up2w.jpg" WIDTH="752" HEIGHT="20"></TD>');
document.write('<TD WIDTH="24"><IMG SRC="i/nil.gif" WIDTH="24" HEIGHT="20"></TD>');
document.write('</TR>');
document.write('<TD WIDTH="24"><IMG SRC="i/nil.gif" WIDTH="24" HEIGHT="20"></TD>');
document.write('<TD WIDTH="752" ALIGN="center">');
}

function botbar()
{
temp  = top.document.frames[0];
temp2 = document.location.href;
temp3 = temp2.substring(temp2.length-8,temp2.length-5);

document.write('</TD>');
document.write('<TD WIDTH="24"><IMG SRC="i/nil.gif" WIDTH="24" HEIGHT="20"></TD>');
document.write('</TR>');
document.write('<TR WIDTH="800">');
document.write('<TD WIDTH="24"><IMG SRC="i/nil.gif" WIDTH="24" HEIGHT="20"></TD>');
document.write('<TD WIDTH="752"><IMG SRC="i/dw2w.jpg" WIDTH="752" HEIGHT="20"></TD>');
document.write('<TD WIDTH="24"><IMG SRC="i/nil.gif" WIDTH="24" HEIGHT="20"></TD>');
document.write('</TR>');
document.write('<TR WIDTH="800">');
document.write('<TD WIDTH="24" BGCOLOR="#000000"><IMG SRC="i/nil.gif" WIDTH="24" HEIGHT="10"></TD>');
document.write('<TD WIDTH="752" BGCOLOR="#000000"><IMG SRC="i/dww.jpg" WIDTH="752" HEIGHT="10"></TD>');
document.write('<TD WIDTH="24" BGCOLOR="#000000"><IMG SRC="i/nil.gif" WIDTH="24" HEIGHT="10"></TD>');
document.write('</TR>');
document.write('<TR WIDTH="800">');
document.write('<TD WIDTH="800" BGCOLOR="#000000" COLSPAN="3"><IMG SRC="i/nil.gif" WIDTH="800" HEIGHT="10"></TD>');
document.write('</TR>');

if ((temp && top.document.frames[0].name == 'inglese') || (temp3 =='_en')) {
document.write('<TR WIDTH="800">');
document.write('<TD WIDTH="24" BGCOLOR="#000000"><IMG SRC="i/nil.gif" WIDTH="24" HEIGHT="15"></TD>');
document.write('<TD WIDTH="752" BGCOLOR="#000000">');
document.write('<IMG SRC="i/fidx_en.gif" USEMAP="#fidx" WIDTH="752" HEIGHT="15" BORDER="0">');
document.write('<MAP NAME="fidx">');
document.write('<AREA SHAPE="rect" ALT="Home" COORDS="6,0,45,14" HREF="main_en.html">');
document.write('<AREA SHAPE="rect" ALT="Characters" COORDS="75,0,144,14" HREF="ipersonaggi_en.html">');
document.write('<AREA SHAPE="rect" ALT="Series I" COORDS="172,0,220,14" HREF="iserie_en.html">');
document.write('<AREA SHAPE="rect" ALT="Series II" COORDS="250,0,304,14" HREF="iiserie_en.html">');
document.write('<AREA SHAPE="rect" ALT="Series III" COORDS="333,0,395,14" HREF="iiiseriec_en.html">');
document.write('<AREA SHAPE="rect" ALT="Series IV" COORDS="423,0,483,14" HREF="ivserie_en.html">');
document.write('<AREA SHAPE="rect" ALT="The Crew" COORDS="512,0,577,14" HREF="latroupe_en.html">');
document.write('<AREA SHAPE="rect" ALT="Goodies" COORDS="603,0,659,14" HREF="curiosita_en.html">');
document.write('<AREA SHAPE="rect" ALT="Gallery" COORDS="687,0,733,14" HREF="gallery_en.html">');
document.write('</MAP>');
document.write('</TD>');
document.write('<TD WIDTH="24" BGCOLOR="#000000"><IMG SRC="i/nil.gif" WIDTH="24" HEIGHT="15"></TD>');
document.write('</TR>');
document.write('<TR WIDTH="800">');
document.write('<TD WIDTH="24"  BGCOLOR="#000000"><IMG SRC="i/nil.gif" WIDTH="24" HEIGHT="20"></TD>');
document.write('<TD WIDTH="752" BGCOLOR="#000000"><IMG SRC="i/discls_en.gif" WIDTH="752" HEIGHT="20" ALT="This site is not a commercial one, so all images, texts, logos, audio and video data belong to their legitimate owners and are protected by the in force laws on copyright."></TD>');
document.write('<TD WIDTH="24"  BGCOLOR="#000000"><IMG SRC="i/nil.gif" WIDTH="24" HEIGHT="20"></TD>');
document.write('</TR>');
if(document.next) document.next.alt='Ahead';
if(document.prev) document.prev.alt='Back';
}

else if ((temp && top.document.frames[0].name == 'tedesco') || (temp3 =='_ge')) {
document.write('<TR WIDTH="800">');
document.write('<TD WIDTH="24" BGCOLOR="#000000"><IMG SRC="i/nil.gif" WIDTH="24" HEIGHT="15"></TD>');
document.write('<TD WIDTH="752" BGCOLOR="#000000">');
document.write('<IMG SRC="i/fidx_ge.gif" USEMAP="#fidx" WIDTH="752" HEIGHT="15" BORDER="0">');
document.write('<MAP NAME="fidx">');
document.write('<AREA SHAPE="rect" ALT="Home" COORDS="16,0,62,14" HREF="main_ge.html">');
document.write('<AREA SHAPE="rect" ALT="Rollenbesetzung" COORDS="76,0,192,14" HREF="ipersonaggi_ge.html">');
document.write('<AREA SHAPE="rect" ALT="1. Staffel" COORDS="204,0,265,14" HREF="iserie_ge.html">');
document.write('<AREA SHAPE="rect" ALT="2. Staffel" COORDS="274,0,336,14" HREF="iiserie_ge.html">');
document.write('<AREA SHAPE="rect" ALT="3. Staffel" COORDS="348,0,411,14" HREF="iiiseriec_ge.html">');
document.write('<AREA SHAPE="rect" ALT="4. Staffel" COORDS="423,0,486,14" HREF="ivserie_ge.html">');
document.write('<AREA SHAPE="rect" ALT="Das Team" COORDS="497,0,566,14" HREF="latroupe_ge.html">');
document.write('<AREA SHAPE="rect" ALT="Kuriose Dinge" COORDS="576,0,676,14" HREF="curiosita_ge.html">');
document.write('<AREA SHAPE="rect" ALT="Galerie" COORDS="686,0,735,14" HREF="gallery_ge.html">');
document.write('</MAP>');
document.write('</TD>');
document.write('<TD WIDTH="24" BGCOLOR="#000000"><IMG SRC="i/nil.gif" WIDTH="24" HEIGHT="15"></TD>');
document.write('</TR>');
document.write('<TR WIDTH="800">');
document.write('<TD WIDTH="24"  BGCOLOR="#000000"><IMG SRC="i/nil.gif" WIDTH="24" HEIGHT="20"></TD>');
document.write('<TD WIDTH="752" BGCOLOR="#000000"><IMG SRC="i/discls_ge.gif" WIDTH="752" HEIGHT="20" ALT="Diese Seite ist nicht gewerblich, deshalb gehören alle Bilder Texte, Firmenzeichen, Ton- und Videodaten ihren ursprünglichen Eigentümern und werden durch das Urheberrecht geschützt."></TD>');
document.write('<TD WIDTH="24"  BGCOLOR="#000000"><IMG SRC="i/nil.gif" WIDTH="24" HEIGHT="20"></TD>');
document.write('</TR>');
if(document.next) document.next.alt='Ahead';
if(document.prev) document.prev.alt='Back';
}

else {
document.write('<TR WIDTH="800">');
document.write('<TD WIDTH="24" BGCOLOR="#000000"><IMG SRC="i/nil.gif" WIDTH="24" HEIGHT="15"></TD>');
document.write('<TD WIDTH="752" BGCOLOR="#000000">');
document.write('<IMG SRC="i/fidx.gif" USEMAP="#fidx" WIDTH="752" HEIGHT="15" BORDER="0">');
document.write('<MAP NAME="fidx">');
document.write('<AREA SHAPE="rect" ALT="Home" COORDS="3,0,60,11" HREF="main.html">');
document.write('<AREA SHAPE="rect" ALT="I personaggi" COORDS="72,0,172,14" HREF="ipersonaggi.html">');
document.write('<AREA SHAPE="rect" ALT="Prima serie" COORDS="185,0,240,14" HREF="iserie.html">');
document.write('<AREA SHAPE="rect" ALT="Seconda serie" COORDS="254,0,313,14" HREF="iiserie.html">');
document.write('<AREA SHAPE="rect" ALT="Terza serie" COORDS="327,0,392,14" HREF="iiiseriec.html">');
document.write('<AREA SHAPE="rect" ALT="Quarta serie" COORDS="406,0,477,14" HREF="ivserie.html">');
document.write('<AREA SHAPE="rect" ALT="La troupe" COORDS="495,0,577,14" HREF="latroupe.html">');
document.write('<AREA SHAPE="rect" ALT="Curiosità" COORDS="594,0,665,14" HREF="curiosita.html">');
document.write('<AREA SHAPE="rect" ALT="Gallery" COORDS="682,0,740,14" HREF="gallery.html">');
document.write('</MAP>');
document.write('</TD>');
document.write('<TD WIDTH="24" BGCOLOR="#000000"><IMG SRC="i/nil.gif" WIDTH="24" HEIGHT="15"></TD>');
document.write('</TR>');
document.write('<TR WIDTH="800">');
document.write('<TD WIDTH="24"  BGCOLOR="#000000"><IMG SRC="i/nil.gif" WIDTH="24" HEIGHT="20"></TD>');
document.write('<TD WIDTH="752" BGCOLOR="#000000"><IMG SRC="i/discls.gif" WIDTH="752" HEIGHT="20" ALT="Questo sito non è stato creato a scopo di lucro, pertanto ogni immagine, testo, logo, audio e video è da considerarsi appartenente ai legittimi proprietari e quindi protetto dalle vigenti leggi sul copyright."></TD>');
document.write('<TD WIDTH="24"  BGCOLOR="#000000"><IMG SRC="i/nil.gif" WIDTH="24" HEIGHT="20"></TD>');
document.write('</TR>');
}

document.write('</TABLE>');
}

function PreloadImages()
{
 ImageNames = new Array('prev','next');
 ImagePath = 'i/';
 StdExt = '.gif';
 SelExt = 'd.gif';
 TempImage  = new Image;

 for (var i = 0; i < ImageNames.length;i++) {
  TempImage.src = ImagePath + ImageNames[i] + StdExt;
  TempImage.src = ImagePath + ImageNames[i] + SelExt;
 }
}

function right(e) {
 if (navigator.appName == 'Netscape' && 
  (e.which == 3 || e.which == 2))
  return false;
 else if (navigator.appName == 'Microsoft Internet Explorer' && 
  (event.button == 2 || event.button == 3)) {
   if      ((temp && top.document.frames[0].name == 'inglese') || (temp3 =='_en')) {  alert("The Stuff presented in this page has been published to allow a private-only viewing at the people that access the www.terencehill.it website.\n\nAny other use has to be previously discussed with the webmasters by contacting them through the following email address:\n\n\twebmaster@terencehill.it");  }
   else if ((temp && top.document.frames[0].name == 'tedesco') || (temp3 =='_ge')) {  alert("Der Inhalt von www.terencehill.it darf nur für private Zwecke durch die Besucher genutzt werden.\n\nJede andere Verwendung muss durch vorherige Kontaktaufnahme mit den Webmasters über folgende E-Mail-Adressen geklärt werden.\n\n\twebmaster@terencehill.it");   }
   else                                                                            {  alert("Il materiale contenuto in questa pagina viene pubblicato al solo scopo di consentire la visione privata e personale a chi accede al sito www.terencehill.it.\n\nPer qualsiasi altro utilizzo siete pregati di contattare i webmaster all'indirizzo di posta elettronica\n\n\twebmaster@terencehill.it");   }
  return false;
 }
 return true;
}

document.onmousedown=right;

if (document.layers) window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=right;
