var theImages = new Array()

theImages[0] = 'giris/giris01.jpg'
theImages[1] = 'giris/giris02.jpg'
theImages[2] = 'giris/giris03.jpg'
theImages[3] = 'giris/giris04.jpg'
theImages[4] = 'giris/giris05.jpg'
theImages[5] = 'giris/giris06.jpg'
theImages[6] = 'giris/giris07.jpg'
theImages[7] = 'giris/giris08.jpg'
theImages[8] = 'giris/giris09.jpg'
theImages[9] = 'giris/giris10.jpg'
theImages[10] = 'giris/giris11.jpg'
theImages[11] = 'giris/giris12.jpg'
theImages[12] = 'giris/giris13.jpg'
theImages[13] = 'giris/giris14.jpg'
theImages[14] = 'giris/giris15.jpg'
theImages[15] = 'giris/giris16.jpg'
theImages[16] = 'giris/giris17.jpg'
theImages[17] = 'giris/giris18.jpg'
theImages[18] = 'giris/giris19.jpg'
theImages[19] = 'giris/giris20.jpg'
theImages[20] = 'giris/giris21.jpg'
theImages[21] = 'giris/giris22a.jpg'
theImages[22] = 'giris/giris23.jpg'
theImages[23] = 'giris/giris24.jpg'
theImages[24] = 'giris/giris25.jpg'
theImages[25] = 'giris/giris26.jpg'

var j = 0
var p = theImages.length;

var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImages[i]
}

var whichImage = Math.round(Math.random()*(p-1));
function showImage(){
document.write('<img src="'+theImages[whichImage]+'">');
}
/*document.write('<img style="border: 1px solid #B4C8B4" src="'+theImages[whichImage]+'">');*/