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)) {
  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")
  return false;
 }
 return true;
}

document.onmousedown=right;

if (document.layers) window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=right;



function top() {

document.write('<TABLE WIDTH="800" HEIGHT="100" CELLPADDING="0" CELLSPACING="0" BORDER="0">');
document.write('<TR>');
document.write('<TD WIDTH="150" ALIGN="center"><A HREF="http://www.terencehill.it" TARGET="_top"><IMG SRC="i/nil.gif" ALT="www.terencehill.it" WIDTH="100" HEIGHT="25" BORDER="0"><BR><IMG SRC="i/worldfc.gif" WIDTH="65" HEIGHT="50" BORDER="0" ALT="www.terencehill.it"><BR><IMG SRC="i/nil.gif" ALT="www.terencehill.it" WIDTH="100" HEIGHT="25" BORDER="0"></A></TD>');
document.write('<TD WIDTH="500" ALIGN="center" VALIGN="middle"><IMG SRC="i/titleth.gif" WIDTH="380" HEIGHT="40" ALT="Terence Hill Fans Club"><BR><IMG SRC="i/title.gif" WIDTH="380" HEIGHT="45" ALT="Terence Hill Fans Club"></TD>');
document.write('<TD WIDTH="150" ALIGN="center"><A HREF="fc_ge.html" TARGET="_top"><IMG SRC="btn/fansh.gif" WIDTH="80" HEIGHT="70" BORDER="0" ALT="Fans Home"></A></TD>');
document.write('</TR>');
document.write('</TABLE>');

}

function indexmain() {

links      = new Array('iscrizione.asp?mode=write&lang=_ge', 'fans.asp?lang=_ge', 'incontri_ge.html', 'dediche_ge.html', 'avvenimenti_ge.html', 'gadgets_ge.html','appuntamenti_ge.html','../forum_en/forum.asp', '../guestbook/guestf_en.html', '../news.asp?lang=_ge');
linknames  = new Array('Registrieren', 'Fans', 'Begegnungen', 'Widmungen', 'Events', 'Fanartikel','', 'Forum', 'Gästebuch','News');

imagenames = new Array('biscr','bfans','binco','bdedi','bavve','bgadg','bappu','bforu','bgues','bnews');
loext = 'b_ge.jpg' ;
hiext = 'y_ge.jpg' ;
anext = 'an.gif' ;
path  = 'btn/' ;
ap = "'";

TempImage  = new Image;

for (var i = 0; i < imagenames.length;i++) {
    TempImage.src = path + imagenames[i] + loext;
    TempImage.src = path + imagenames[i] + hiext;
  }

document.write('<TABLE WIDTH="150" ALIGN="center" CELLPADDING="0" CELLSPACING="0" BORDER="0">');
for(var i=0; i<links.length; i++)
{
	if(i!=6) /*  && (i!=7))  */
		document.write('<TR><TD WIDTH="150"><A onMouseOver="document.'+imagenames[i]+'.src='+ap+path+imagenames[i]+hiext+ap+';return true;" onMouseOut="document.'+imagenames[i]+'.src='+ap+path+imagenames[i]+loext+ap+';return true;"  HREF="'+links[i]+'"><IMG SRC="btn/'+imagenames[i]+loext+'" NAME="'+imagenames[i]+'" WIDTH="150" HEIGHT="21" BORDER="0" ALT="'+linknames[i]+'"></A></TD></TR>');
/*	else if (i==7)
		document.write('<TR><TD WIDTH="150"><A onMouseOver="document.'+imagenames[i]+'.src='+ap+path+imagenames[i]+hiext+ap+';return true;" onMouseOut="document.'+imagenames[i]+'.src='+ap+path+imagenames[i]+anext+ap+';return true;"  HREF="'+links[i]+'"><IMG SRC="btn/'+imagenames[i]+anext+'" NAME="'+imagenames[i]+'" WIDTH="150" HEIGHT="21" BORDER="0" ALT="'+linknames[i]+'"></A></TD></TR>');
*/	else
		document.write('<TR><TD WIDTH="150"><IMG SRC="btn/'+imagenames[i]+loext+'" NAME="'+imagenames[i]+'" WIDTH="150" HEIGHT="21" BORDER="0" ALT="Under construction"></TD></TR>');

}
document.write('<TR><TD WIDTH="150"><IMG SRC="btn/bbottomb.jpg" WIDTH="150" HEIGHT="90"></A></TD></TR>');
document.write('</TABLE>');

}



function indexjs(tb,col1,col2) {

ImageNames  = new Array('isc','inc','avv','app','gue','fan','ded','gad','for','iscb','incb','avvb','appb','gueb','fanb','dedb','gadb','forb');
UrlsNames = new Array('iscrizione.asp?mode=write&lang=_ge','incontri_ge.html','avvenimenti_ge.html','appuntamenti_ge.html','../guestbook/guestf_en.html','fans.asp?lang=_ge','dediche_ge.html','gadgets_ge.html','../forum_en/forum.asp');
BtnTitles  = new Array('Registrieren','Begegnungen','Events','TV Programm','Gästebuch','Fans','Widmungen','Fanartikel','Forum');
path = 'btn/';
StdExt = col1+'_ge.jpg';
SelExt = col2+'_ge.jpg';
StdExt2 = col1+'.gif';
SelExt2 = col2+'.gif';
ap = "'";

TempImage  = new Image;

for (var i = 0; i < ImageNames.length/2;i++) {
    TempImage.src = path + ImageNames[i] + StdExt;
    TempImage.src = path + ImageNames[i] + SelExt;
  }

document.write('<TABLE WIDTH="770" CELLPADDING="0" CELLSPACING="0" BORDER="0">');
document.write('<TR><TD WIDTH="770"><IMG SRC="i/nil.gif" WIDTH="770" HEIGHT="20"></TD></TR>');
document.write('<TR><TD><IMG SRC="btn/idxbrdllt'+StdExt2+'" WIDTH="60" HEIGHT="18">');

for(var j=0; j<5; j++)
	if(j!=3)
		document.write('<A HREF="'+UrlsNames[j]+'" onMouseOver="document.'+ImageNames[j+tb*9]+'b.src=' + ap + path + ImageNames[j] + SelExt + ap + '; return true;'+'" onMouseOut="document.'+ImageNames[j+tb*9]+'b.src=' + ap + path + ImageNames[j] + StdExt + ap + '; return true;"><IMG SRC="'+path+ImageNames[j]+StdExt+'" WIDTH="130" HEIGHT="18" NAME="'+ImageNames[j+tb*9]+'b" BORDER="0" ALT="'+BtnTitles[j]+'"></A>');
	else
    		document.write('<IMG SRC="'+path+ImageNames[j]+StdExt+'" WIDTH="130" HEIGHT="18" NAME="'+ImageNames[j+tb*9]+'b" BORDER="0" ALT="">');
		

document.write('<IMG SRC="btn/idxbrdrrt'+StdExt2+'" WIDTH="60" HEIGHT="18"></TD></TR>');
document.write('<TR><TD><IMG SRC="btn/idxbrdllb'+StdExt2+'" WIDTH="60" HEIGHT="18"><IMG SRC="btn/idxbrdlb'+StdExt2+'" WIDTH="65" HEIGHT="18">');

for(var j=5; j<9; j++)
	if(j!=8)
    		document.write('<A HREF="'+UrlsNames[j]+'" onMouseOver="document.'+ImageNames[j+tb*9]+'b.src=' + ap + path + ImageNames[j] + SelExt + ap + '; return true;'+'" onMouseOut="document.'+ImageNames[j+tb*9]+'b.src=' + ap + path + ImageNames[j] + StdExt + ap +'; return true;"><IMG SRC="'+path+ImageNames[j]+StdExt+'" WIDTH="130" HEIGHT="18" NAME="'+ImageNames[j+tb*9]+'b" BORDER="0" ALT="'+BtnTitles[j]+'"></A>');
	else
    		document.write('<IMG SRC="'+path+ImageNames[j]+StdExt+'" WIDTH="130" HEIGHT="18" NAME="'+ImageNames[j+tb*9]+'b" BORDER="0" ALT="Under construction">');

document.write('<IMG SRC="btn/idxbrdrb'+StdExt2+'" WIDTH="65" HEIGHT="18"><IMG SRC="btn/idxbrdrrb'+StdExt2+'" WIDTH="60" HEIGHT="18"></TD></TR>');
document.write('<TR><TD WIDTH="770"><IMG SRC="i/nil.gif" WIDTH="770" HEIGHT="20"></TD></TR>');
document.write('</TABLE>');

}

function ChangeImageAddress() {

for(var i=0; i<document.images.length; i++) document.write(document.images[i].src);

}

