var imagenumber = 26 ; 
var randomnumber = Math.random() ; 
var rand1 = Math.round( (imagenumber-1) * randomnumber) + 1 ; 
images = new Array 
images[1] = "stimmungsbilder/16.jpg"
images[2] = "stimmungsbilder/17.jpg"
images[3] = "stimmungsbilder/18.jpg"
images[4] = "stimmungsbilder/19.jpg"
images[5] = "stimmungsbilder/01.jpg"
images[6] = "stimmungsbilder/02.jpg"
images[7] = "stimmungsbilder/03.jpg"
images[8] = "stimmungsbilder/04.jpg"
images[9] = "stimmungsbilder/05.jpg"
images[10] = "stimmungsbilder/06.jpg"
images[11] = "stimmungsbilder/08.jpg"
images[12] = "stimmungsbilder/09.jpg"
images[13] = "stimmungsbilder/10.jpg"
images[14] = "stimmungsbilder/11.jpg"
images[15] = "stimmungsbilder/12.jpg"
images[16] = "stimmungsbilder/13.jpg"
images[17] = "stimmungsbilder/14.jpg"
images[18] = "stimmungsbilder/15.jpg"
images[19] = "stimmungsbilder/21.jpg"
images[20] = "stimmungsbilder/20.jpg"
images[21] = "stimmungsbilder/22.jpg"
images[22] = "stimmungsbilder/26.jpg"
images[23] = "stimmungsbilder/23.jpg"
images[24] = "stimmungsbilder/24.jpg"
images[25] = "stimmungsbilder/25.jpg"
var image = images[rand1]




Rot13 = {
    map: null,

    convert: function(a) {
        Rot13.init();

        var s = "";
        for (i=0; i < a.length; i++) {
            var b = a.charAt(i);
            s += ((b>='A' && b<='Z') || (b>='a' && b<='z') ? Rot13.map[b] : b);
        }
        return s;
    },

    init: function() {
        if (Rot13.map != null)
            return;
              
        var map = new Array();
        var s   = "abcdefghijklmnopqrstuvwxyz";

        for (i=0; i<s.length; i++)
            map[s.charAt(i)] = s.charAt((i+13)%26);
        for (i=0; i<s.length; i++)
            map[s.charAt(i).toUpperCase()] = s.charAt((i+13)%26).toUpperCase();

        Rot13.map = map;
    },

    write: function(a) {
        document.write(Rot13.convert(a));
    }
}
