function slideShowEkle(yer,resimler,sagDugmeYeri) {
	if (sagDugmeYeri==undefined) sagDugmeYeri=815;
	yer.append('<div style="cursor:pointer;z-index:1;display:none;background-image:url(img/prev.png);width:47px;height:100%;background-repeat:no-repeat;background-position:center center;left:3px;position:absolute;"></div><div style="cursor:pointer;z-index:1;display:none;background-image:url(img/next.png);width:47px;height:100%;background-repeat:no-repeat;background-position:center center;left:'+sagDugmeYeri+'px;position:absolute;"></div>').hover(function() {
		$(this).find('div').show(300);
	},function() {
		$(this).find('div').hide(300);
	}).find('div').filter(':first').click(function() {
		_resimler=$(this).parent().find('img');
		if (_resimler.filter(':animated').length==0) {
			resim=_resimler.filter(':first');
			resim.animate({marginLeft:resim.width()*-1-3+'px'},300,function() {
				resim.appendTo(resim.parent()).css('margin-left','3px');
			});
		}
	}).end().filter(':last').click(function() {
		_resimler=$(this).parent().find('img');
		if (_resimler.filter(':animated').length==0) {
			resim=_resimler.filter(':last');
			resim.css('margin-left',resim.width()*-1-3+'px').prependTo(resim.parent());
			resim.animate({marginLeft:"3px"},300);
		}
	});
	for (i=0;i<resimler.length;i++) yer.append('<img src="'+resimler[i]+'" style="float:left;height:100%;margin 0 3px;" onclick="$(this).resmiGoster();" />');
}
function dikeySlideShow(_resimler) {
	$('#sayfaDuzeni').append('<div class="dikeySlide" style="z-index:10;position:absolute;overflow:hidden;height:100%;left:50%;margin-left:-620px;width:140px;top:0;"></div><div class="dikeySlide" style="z-index:10;position:absolute;height:100%;left:50%;margin-left:480px;width:140px;top:0;overflow:hidden;"></div>');
	for (i=0;i<_resimler.length;i++) $('.dikeySlide').filter(':first').append('<img src="'+_resimler[i]+'" style="width:100%;margin 3px 0;" />').end().filter(':last').prepend('<img src="'+_resimler[i]+'" style="width:100%;margin 3px 0;" />');
	this.animate=function() {
		eleman=this;
		_resim=$('.dikeySlide:first img:first');
		_resim.animate({marginTop:_resim.height()*-1-3+'px'},300,function() {
			$('.dikeySlide:first img:first').appendTo($('.dikeySlide:first')).css('margin-top','3px');
		});
		_resim=$('.dikeySlide:last img:last');
		_resim.css('margin-top',_resim.height()*-1-3+'px').prependTo($('.dikeySlide:last'));
		_resim.animate({marginTop:"3px"},300);
		clearTimeout(eleman.timer);
		eleman.timer=setTimeout("dikeyOsman.animate();",2000);
	}
	this.destroy=function() {
		$('body .dikeySlide').remove();
		clearTimeout(this.timer);
	}
}
