
var mebimages=new Array()

	mebimages[1]=["images/resimyok.jpg", ""]  // 1.Parametre:Resim Linki, 2.Parametre:href

//Preload images ("yes" or "no"):
var preloadimg="no"

//Set optional link target to be added to all images with a link:
var optlinktarget=""

//Set image border width
var imgborderwidth=0

//Optionally, change 1.0 and 0.7 below to affect Wipe gradient size and duration in seconds in IE5.5+:
var filterstring="progid:DXImageTransform.Microsoft.GradientWipe(GradientSize=1.0 Duration=1.8)"

///////No need to edit beyond here/////

if (preloadimg=="yes"){
for (x=0; x<mebimages.length; x++){
var myimage=new Image()
myimage.src=mebimages[x][0]
}
}

function returnimgcode(theimg){
var imghtml=""
if (theimg=="")
imghtml+='<img src="'+mebimages[1][0]+'" border="'+imgborderwidth+'">'
else
imghtml+='<img src="'+theimg+'" border="'+imgborderwidth+'">'
return imghtml
}

function modifyimage(loadarea, resim){
if (document.getElementById){
var imgobj=document.getElementById(loadarea)
if (imgobj.filters && window.createPopup){
imgobj.style.filter=filterstring
imgobj.filters[0].Apply()
}
imgobj.innerHTML=returnimgcode(resim)
if (imgobj.filters && window.createPopup)
imgobj.filters[0].Play()
return false
}
}

