var photos=new Array()
var photoslink=new Array()
var which=0

photos[0]="images/resim1.jpg"
photos[1]="images/resim2.jpg"
photos[2]="images/resim3.jpg"

var preloadedimages=new Array()
for (i=0;i<photos.length;i++){
preloadedimages[i]=new Image()
preloadedimages[i].src=photos[i]
}


function applyeffect(){
if (document.all && photoslider.filters){
photoslider.filters.revealTrans.Transition=Math.floor(Math.random()*23)
photoslider.filters.revealTrans.stop()
photoslider.filters.revealTrans.apply()
}
}

function playeffect(){
if (document.all && photoslider.filters)
photoslider.filters.revealTrans.play()
}

function keeptrack(){
window.status="Resim Galerisi "+(which+1)+" - "+photos.length
}


function backward(){
if (which>0){
which--
applyeffect()
document.images.photoslider.src=photos[which]
playeffect()
keeptrack()
}
}

function forward(){
if (which<photos.length-1){
which++
applyeffect()
document.images.photoslider.src=photos[which]
playeffect()
keeptrack()
}
}

function transport(){
window.location=photoslink[which]
}

var highlightcolor="#f8f8f8"

var ns6=document.getElementById&&!document.all
var previous=''
var eventobj


var intended=/INPUT|TEXTAREA|SELECT|OPTION/


function checkel(which){
if (which.style&&intended.test(which.tagName)){
if (ns6&&eventobj.nodeType==3)
eventobj=eventobj.parentNode.parentNode
return true
}
else
return false
}

function highlight(e){
eventobj=ns6? e.target : event.srcElement
if (previous!=''){
if (checkel(previous))
previous.style.backgroundColor=''
previous=eventobj
if (checkel(eventobj))
eventobj.style.backgroundColor=highlightcolor
}
else{
if (checkel(eventobj))
eventobj.style.backgroundColor=highlightcolor
previous=eventobj
}
}


<!-- 
function Guck(Halt) {
if (Halt.Adı.value == '') { alert('Lütfen Adınızı Yazınız! '); return false }
else

if (Halt.Soyadı.value == '') { alert('Lütfen Soyadınızı Yazınız! '); return false }
else

if (Halt.Telefon.value == '') { alert('Lütfen Telefon Numaranızı Yazınız! '); return false }
else

if (Halt.Fax.value == '') { alert('Lütfen Fax Numaranızı Yazınız! '); return false }
else

if (Halt.Eposta.value == '') { alert('Lütfen E-posta Adresinizi Yazınız! '); return false }
else

if (Halt.Eposta.value.indexOf('@',0) == -1 || Halt.Eposta.value.indexOf('.',0) == -1 || Halt.Eposta.value.indexOf('.',0) == Halt.Eposta.value.indexOf('@',0) + 1) { alert('Lütfen Geçerli Bir Eposta Adresi Yazınız! '); return false }
else

if (Halt.Mesaj.value == '') { alert('Lütfen Mesajınızı Yazınız! '); return false }
else

return true
}
//-->


function high(which2){
theobject=which2
highlighting=setInterval("highlightit(theobject)",50)
}

function low(which2,count){
clearInterval(highlighting)
which2.filters.alpha.opacity=count
}

function highlightit(cur2){
if (cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=5
else if (window.highlighting)
clearInterval(highlighting)
}