function Marq_Dur(eleman){
	eleman.stop();
}
						
function Marq_Devam(eleman){
	eleman.start();
}

function Marquee_Olustur(){
	document.write("<MARQUEE id=\"DuyurularMaq\">");
	document.write("</MARQUEE>");
	document.getElementById("DuyurularMaq").innerHTML = document.getElementById("DuyurularMaqx").innerHTML;
	document.getElementById("DuyurularMaqx").innerHTML = "";
	document.getElementById("DuyurularMaqx").style.display = "none";
	document.getElementById("DuyurularMaq").align = "left";
	document.getElementById("DuyurularMaq").direction = "up";
	document.getElementById("DuyurularMaq").behavior = "scroll";
	document.getElementById("DuyurularMaq").height = "240";
	document.getElementById("DuyurularMaq").loop = "-1";
	document.getElementById("DuyurularMaq").scrollamount = "2";
	document.getElementById("DuyurularMaq").scrolldelay = "65";
	document.getElementById("DuyurularDiv").innerHTML = document.getElementById("Gizli_Duyurular").innerHTML;
}

function OturumuAc(){
	document.getElementById("KullaniciAdi").value = document.getElementById("hKullaniciAdi").value;
	document.getElementById("Sifre").value = document.getElementById("hSifre").value;
	document.getElementById("OturumAcmaFormu").submit();
}

function MailiKaydet(){
	window.location.href='/islemler.aspx?islem=MailListeUyeEkle&maillist_eposta ='+ escape(document.getElementById("mb_mail").value) +'';
}

function Atraksiyonlar(){
	stepcarousel.setup({
		galleryid: 'Vitrin_Kutu', //id of carousel DIV
		beltclass: 'belt', //class of inner "belt" DIV containing all the panel DIVs
		panelclass: 'panel', //class of panel DIVs each holding content
		autostep: {enable:true, moveby:1, pause:3000},
		panelbehavior: {speed:500, wraparound:false, persist:true},
		defaultbuttons: {enable: false, moveby: 1, leftnav: ['http://i34.tinypic.com/317e0s5.gif', -5, 80], rightnav: ['http://i38.tinypic.com/33o7di8.gif', -20, 80]},
		statusvars: ['statusA', 'statusB', 'statusC'], //register 3 variables that contain current panel (start), current panel (last), and total panels
		contenttype: ['inline'] //content setting ['inline'] or ['external', 'path_to_external_file']
	})
	stepcarousel.setup({
		galleryid: 'EnCokIzlenenler_Kutu', //id of carousel DIV
		beltclass: 'belt', //class of inner "belt" DIV containing all the panel DIVs
		panelclass: 'panel', //class of panel DIVs each holding content
		autostep: {enable:true, moveby:1, pause:3000},
		panelbehavior: {speed:500, wraparound:false, persist:true},
		defaultbuttons: {enable: false, moveby: 1, leftnav: ['http://i34.tinypic.com/317e0s5.gif', -5, 80], rightnav: ['http://i38.tinypic.com/33o7di8.gif', -20, 80]},
		statusvars: ['statusA', 'statusB', 'statusC'], //register 3 variables that contain current panel (start), current panel (last), and total panels
		contenttype: ['inline'] //content setting ['inline'] or ['external', 'path_to_external_file']
	})
	stepcarousel.setup({
		galleryid: 'Yeni_Urunler_Kutu', //id of carousel DIV
		beltclass: 'belt', //class of inner "belt" DIV containing all the panel DIVs
		panelclass: 'panel', //class of panel DIVs each holding content
		autostep: {enable:true, moveby:1, pause:3000},
		panelbehavior: {speed:500, wraparound:false, persist:true},
		defaultbuttons: {enable: false, moveby: 1, leftnav: ['http://i34.tinypic.com/317e0s5.gif', -5, 80], rightnav: ['http://i38.tinypic.com/33o7di8.gif', -20, 80]},
		statusvars: ['statusA', 'statusB', 'statusC'], //register 3 variables that contain current panel (start), current panel (last), and total panels
		contenttype: ['inline'] //content setting ['inline'] or ['external', 'path_to_external_file']
	})
	stepcarousel.setup({
		galleryid: 'HaftaninUrunu', //id of carousel DIV
		beltclass: 'belt', //class of inner "belt" DIV containing all the panel DIVs
		panelclass: 'panel', //class of panel DIVs each holding content
		autostep: {enable:false, moveby:1, pause:3000},
		panelbehavior: {speed:500, wraparound:false, persist:true},
		defaultbuttons: {enable: false, moveby: 1, leftnav: ['http://i34.tinypic.com/317e0s5.gif', -5, 80], rightnav: ['http://i38.tinypic.com/33o7di8.gif', -20, 80]},
		statusvars: ['statusA', 'statusB', 'statusC'], //register 3 variables that contain current panel (start), current panel (last), and total panels
		contenttype: ['inline'] //content setting ['inline'] or ['external', 'path_to_external_file']
	})
	stepcarousel.setup({
		galleryid: 'AyinUrunu', //id of carousel DIV
		beltclass: 'belt', //class of inner "belt" DIV containing all the panel DIVs
		panelclass: 'panel', //class of panel DIVs each holding content
		autostep: {enable:false, moveby:1, pause:3000},
		panelbehavior: {speed:500, wraparound:false, persist:true},
		defaultbuttons: {enable: false, moveby: 1, leftnav: ['http://i34.tinypic.com/317e0s5.gif', -5, 80], rightnav: ['http://i38.tinypic.com/33o7di8.gif', -20, 80]},
		statusvars: ['statusA', 'statusB', 'statusC'], //register 3 variables that contain current panel (start), current panel (last), and total panels
		contenttype: ['inline'] //content setting ['inline'] or ['external', 'path_to_external_file']
	})
	stepcarousel.setup({
		galleryid: 'FirsatUrunu', //id of carousel DIV
		beltclass: 'belt', //class of inner "belt" DIV containing all the panel DIVs
		panelclass: 'panel', //class of panel DIVs each holding content
		autostep: {enable:false, moveby:1, pause:3000},
		panelbehavior: {speed:500, wraparound:false, persist:true},
		defaultbuttons: {enable: false, moveby: 1, leftnav: ['http://i34.tinypic.com/317e0s5.gif', -5, 80], rightnav: ['http://i38.tinypic.com/33o7di8.gif', -20, 80]},
		statusvars: ['statusA', 'statusB', 'statusC'], //register 3 variables that contain current panel (start), current panel (last), and total panels
		contenttype: ['inline'] //content setting ['inline'] or ['external', 'path_to_external_file']
	})
}