// * random pictures script v1.0 by Chris (salsa.at, radio101.de) August 1999 
// * Copyright (c) 1999 by Chris. All Rights Reserved. 
// * You can freely copy, use, modify this script, as long as You dont 
// * remove these copyright remarks. The original version was written for: http://salsa.at 

d=document; 

function pick_pic() {var pic_number = 39 ; var link = "" ;
var bild = "" ; var xx = "" ; var yy = "" ; var randomnumber = random() ; 
var pic_select = Math.round( (pic_number-1) * randomnumber) + 1 ;

if ( pic_select == 1 )
 { link="roncalli.htm"; bild="aachen/ron1167.jpg"; xx="300"; yy="225"; txt="im Café Roncalli, Theaterstrasse, Aachen"}
if ( pic_select == 2)
 { link="palmeras.htm"; bild="nuernberg/palm821k.jpg"; xx="222"; yy="432"; txt="im Las Palmeras, Fürth"}
if ( pic_select == 3)
 { link="maxe.htm"; bild="muenchen/maxe950k.jpg"; xx="255"; yy="290"; txt="in der Max Emanuel-Brauerei, München"}
if ( pic_select == 4)
 { link="maxe.htm"; bild="muenchen/maxe955k.jpg"; xx="200"; yy="339"; txt="in der Max Emanuel-Brauerei, München"}
if ( pic_select == 5)
 { link="westba.htm"; bild="aachen/wb476k.jpg"; xx="300"; yy="225"; txt="im Westbahnhof, Aachen"}
if ( pic_select == 6)
 { link="exx.htm"; bild="bonn/exx6150k.jpg"; xx="213"; yy="275"; txt="im EXX in Bonn"}
if ( pic_select == 7 )
 { link="haris.htm"; bild="austria/har5420k.jpg"; xx="201"; yy="275"; txt="in Haris Bar, Innsbruck"}
if ( pic_select == 8)
 { link="lennet.htm"; bild="aachen/len6871k.jpg"; xx="232"; yy="275"; txt="im Lennet Kann, Aachen"}
if ( pic_select == 9)
 { link="bierst.htm"; bild="austria/bie6533k.jpg"; xx="367"; yy="275"; txt="in Innsbruck: Bierstindl"}
if ( pic_select == 10)
 { link="schnitzl.htm"; bild="sch6779s.jpg"; xx="194"; yy="275"; txt="im Brauhaus Schnitzlbaumer, Traunstein"}
if ( pic_select == 11)
 { link="romano.htm"; bild="freiburg/rom1498k.jpg"; xx="200"; yy="365"; txt="in der Tanzschule Romano, Freiburg"}
if ( pic_select == 12)
 { link="poco.htm"; bild="freiburg/poc1477k.jpg"; xx="300"; yy="237"; txt="im Poco Loco, Freiburg"}
if ( pic_select == 13)
 { link="cuabar.htm"; bild="h/cua6957k.jpg"; xx="185"; yy="275"; txt="im CUABAR, Hannover"}
if ( pic_select == 14)
 { link="frizz.htm"; bild="fri1878x.jpg"; xx="268"; yy="400"; txt="im FRIZZ, Regensburg"}
if ( pic_select == 15)
 { link="frizz.htm"; bild="regensburg/fri1839k.jpg"; xx="250"; yy="350"; txt="im FRIZZ, Regensburg"}
if ( pic_select == 16)
 { link="katakom.htm"; bild="aachen/kat2558k.jpg"; xx="275"; yy="300"; txt="in den Katakomben, Aachen"}
if ( pic_select == 17)
 { link="katakom.htm"; bild="aachen/kat2562k.jpg"; xx="276"; yy="300"; txt="in den Katakomben, Aachen"}
if ( pic_select == 18)
 { link="sudhaus.htm"; bild="frankfurt/sud2608k.jpg"; xx="257"; yy="275"; txt="im Sudhaus, Limburg"} 
if ( pic_select == 19)
 { link="salsa_bo.htm"; bild="koeln/sbo6636k.jpg"; xx="317"; yy="275"; txt="auf dem Rhein: Salsaboot Köln"}
if ( pic_select == 20)
 { link="jazzhaus.htm"; bild="jaz2932s.jpg"; xx="390"; yy="275"; txt="im Jazzhaus, Freiburg"}
if ( pic_select == 21)
 { link="havan_k.htm"; bild="karlsruhe/hav3313k.jpg"; xx="313"; yy="275"; txt="im Havanna, Karlsruhe"}
if ( pic_select == 22)
 { link="havan_k.htm"; bild="karlsruhe/hav3340k.jpg"; xx="179"; yy="275"; txt="im Havanna, Karlsruhe"}
if ( pic_select == 23)
 { link="fiesta.htm"; bild="wuerzburg/fie3368k.jpg"; xx="191"; yy="275"; txt="im La Fiesta, Würzburg"}
if ( pic_select == 24)
 { link="fiesta.htm"; bild="wuerzburg/fie3394k.jpg"; xx="303"; yy="275"; txt="im La Fiesta, Würzburg"}
if ( pic_select == 25)
 { link="rincon.htm"; bild="austria/and4166k.jpg"; xx="298"; yy="275"; txt="im Rincon Andino, Graz"}
if ( pic_select == 26)
 { link="atisha.htm"; bild="hamburg/ati4582k.jpg"; xx="213"; yy="280"; txt="im ATISHA, Hamburg"}
if ( pic_select == 27)
 { link="sax.htm"; bild="hamburg/sax3864k.jpg"; xx="206"; yy="275"; txt="im SAX, Hamburg"}
if ( pic_select == 28)
 { link="gr_salon.htm"; bild="berlin/grs4612k.jpg"; xx="175"; yy="280"; txt="im Grünen Salon, Berlin"}
if ( pic_select == 29)
 { link="gr_salon.htm"; bild="berlin/grs4610k.jpg"; xx="305"; yy="275"; txt="im Grünen Salon, Berlin"}
if ( pic_select == 30)
 { link="kurhaus.htm"; bild="aachen/kur4508k.jpg"; xx="198"; yy="275"; txt="im alten Kurhaus, Aachen"}
if ( pic_select == 31)
 { link="living.htm"; bild="frankfurt/liv5034k.jpg"; xx="262"; yy="275"; txt="im Living, Frankfurt"}
if ( pic_select == 32)
 { link="palacio.htm"; bild="muenchen/pal5237k.jpg"; xx="347"; yy="275"; txt="im Palacio de La Salsa, Muenchen"}
if ( pic_select == 33)
 { link="hansapl.htm"; bild="muenchen/han5282k.jpg"; xx="189"; yy="275"; txt="mit Marion und Mimo (Hansa-Palast, Muenchen)"}
if ( pic_select == 34)
 { link="motown.htm"; bild="augsburg/mot5672k.jpg"; xx="294"; yy="275"; txt="in Augsburg: Mo Town"}
if ( pic_select == 35)
 { link="helene.htm"; bild="essen/hel5709k.jpg"; xx="207"; yy="275"; txt="in Essen"}
if ( pic_select == 36)
 { link="tor5.htm"; bild="koeln/t5-5703k.jpg"; xx="232"; yy="275"; txt="in Koeln: KulTor 5"}
if ( pic_select == 37)
 { link="hafen.htm"; bild="austria/haf5976k.jpg"; xx="214"; yy="275"; txt="in Innsbruck: Hafen"}
if ( pic_select == 38)
 { link="bierst.htm"; bild="austria/bie6374k.jpg"; xx="346"; yy="275"; txt="in Innsbruck: Bierstindl"}

if ( pic_select == 39)
 { link="passwort.htm"; bild="ant6813k.jpg"; xx="363"; yy="275"; txt="im Radio(studio)"}


document.write("<A HREF=\"javascript:pxx('../" + link + "'); \" OnMouseOver=\"window.status='click here to see more pictures of that location or reload to see another picture'; return true\" ");
document.write("OnMouseout=\"window.status=''; return true\"> ");
document.write("<IMG SRC=\"../" + bild + "\" WIDTH=\"" + xx + "\" HEIGHT=\"" + yy + "\" ALT=\"Salsa " + txt + " (click here to see more pictures of that location or reload to see another picture)\" ");
document.write(" HSPACE=\"10\" VSPACE=\"10\" ALIGN=\"RIGHT\" BORDER=\"0\"></A>");

return xx;  } 

function random()
{ var today = new Date(); var seed = today.getTime() + today.getDate(); 
 seed=(seed * 29 + 1) % 1024; return seed/1024 }

function pxx(url,winname,width,height) {
if (winname==null) winname="_blank";
var pxxWindow = window.open(url,winname="_blank","scrollbars=1,toolbar=1,location=0,directories=0,status=0,resizable=1,copyhistory=0,width="+(screen.width-10)+",height="+(screen.height-98)+"");
pxxWindow.location.href = url; pxxWindow.moveTo(0, 0);  }

function right(e) {
if (navigator.appName == 'Netscape' && 
(e.which == 3 || e.which == 2))
{
alert("wrong key\nfalsche taste");
return false; }

else if (navigator.appName == 'Microsoft Internet Explorer' && 
(event.button == 2 || event.button == 3)) {
alert("...?");
return false; }
return true; }
document.onmousedown=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=right;

