
		function vcf(carousel){
			jQuery('#vitrin-sola').bind('click',function(){
				carousel.prev();
				return false;
			});
			jQuery('#vitrin-saga').bind('click',function(){
				carousel.next();
				return false;
			});
		}
		function genislet(){
			if($('#sektorlistesi').height() == 67){
				$('#sektorlistesi').animate({height:'350px'})
				$('#sektorlistesitasi').animate({height:'375px'})
			}else{
				$('#sektorlistesi').animate({height:'67px'})
				$('#sektorlistesitasi').animate({height:'78px'})
			}
			return false;
		}
		function genisletil(){
			if($('#illistesi').height() == 40){
				$('#illistesi').animate({height:'265px'})
				$('#illistesitasi').animate({height:'275px'})
			}else{
				$('#illistesi').animate({height:'40px'})
				$('#illistesitasi').animate({height:'50px'})
			}
			return false;
		}

		$(document).ready(function(){
			$('#urunler-r').attr({'src':$('#urunler-1').attr('title')});
			jQuery('#vitrin-home').jcarousel({
				auto: 2,
				wrap: 'last',
				scroll: 1,
				initCallback: vcf
			});
			$('.tab_list a').mouseover(function(){
				//alert('tyu');
				var t = $(this).attr('title');
				var id = jQuery(this).attr('id');
				var idm = id.split('-');
				$('#'+idm[0]+'-r').fadeOut(1, function() {
					$(this).attr({'src':t});
					if (this.complete) 
						$(this).fadeIn(1);
				});
			});

			jQuery('.tabs').click(function(){
				
				jQuery('.tabs').parent().addClass('tab_passive');
				jQuery('.tabs').parent().removeClass('tab_active');
				var id = jQuery(this).attr('id');
				jQuery('.tabl').addClass('dpn');
				jQuery('#'+id+'-t').removeClass('dpn');
				jQuery(this).parent().addClass('tab_active');
				return false;
			})
			jQuery('.tabs1').click(function(){
				jQuery('.tabs1').parent().addClass('tab_passive');
				jQuery('.tabs1').parent().removeClass('tab_active');
				var id = jQuery(this).attr('id');
				$('#'+id+'-r').attr({'src':$('#'+id+'-1').attr('title')});
				jQuery('.tabk').addClass('dpn');
				jQuery('#'+id+'-t').removeClass('dpn');
				jQuery(this).parent().addClass('tab_active');
				return false;
			});
		});
		
		function bookmarksite(title, url){
		if (document.all)
		window.external.AddFavorite(url, title);
		else if (window.sidebar)
		window.sidebar.addPanel(title, url, "")
		}
		
		function check_frmm(){	
		if (document.getElementById('kelime2').value == ""){
			alert ("Lutfen Aranan Kelime Alanini Doldurunuz.");
			document.getElementById('kelime2').focus();
			return false;
		}
		if (document.getElementById('kelime2').value.length<3 || document.getElementById('kelime2').value.length>40){
			alert ("Aranan Kelime 3 karakteden az, 40 karakterden fazla olmamali.");
			document.getElementById('kelime2').focus();
			return false; 
		}
		
		return true;
	}
	
	function login_validator(theForm)
	{
	
		if(theForm.mailgir.value == "" || theForm.sifregir.value == "") {
			 alert("Lutfen Mail Adresinizi ve Sifrenizi Giriniz...");
			 return(false);
		}
	
		return (true);
	}
