        function yenipencere(paket,genislik,yukseklik) {
                acik="true";
                loc = paket + "";
				var genislik;
				var yukseklik;
				w=genislik;
				h=yukseklik;
				LeftPosition = (screen.width)?(screen.width-w)/2:100;
				TopPosition = (screen.height)?(screen.height-h)/2:100;
                //var pencere = window.open(loc,'yeni',top=' + TopPosition + ',left=' + LeftPosition + ','width=408,height=360,scrollbars=yes');
				var pencere = window.open(loc,'yeni','width=' + w + ',height=' + h + ',top=' + TopPosition + ',left=' + LeftPosition + ',scrollbars=yes,directories=no,status=no,menubar=no,toolbar=no,resizable=no');
                }
			//
        function yenipencerex(paket, w, h, pos, scrin) {
                acik="true";
                loc = paket + "";
				if (pos == "random")
	{
		LeftPosition = (screen.width)?Math.floor(Math.random()*(screen.width-w)):100;
		TopPosition = (screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;
	}
	if (pos == "center")
	{
		LeftPosition = (screen.width)?(screen.width-w)/2:100;
		TopPosition = (screen.height)?(screen.height-h)/2:100;
	}
	else if ((pos != "center" && pos != "random") || pos == null)
	{
		LeftPosition=0;
		TopPosition=20;
	}
	/////////
	if(w=="" || w==false || h==false || h=="")
	{
	if (screen.availHeight<=600)
			{
				w=754;
				h=580;			
			}
			else
			{
				w=980;
				h=625;	
			}
	}
	//////
	
                var pencere = window.open(loc,'yeni','width=' + w + ',height=' + h + ',top=' + TopPosition + ',left=' + LeftPosition + ',scrollbars=yes,directories=no,status=no,menubar=no,toolbar=no,resizable=no,fullscreen='+ scrin +'');
                }
				//				
		function giris_kontrol()
		{
			if(document.getElementById('email_id').value=='')
			{
			alert('Email Adresinizi Girmediniz.')
			document.getElementById('email_id').focus();
			return false;
			}
			var mail=document.getElementById('email_id').value;
			result=(mail.search(new RegExp("^\\S+@\\S+\\.\\S+$")))
			if(result)
			{
					
									alert("Email Adresinizi Kontrol Ediniz.");
										document.getElementById('email_id').focus();
										return false;
										
			}
			if(document.getElementById('sif').value=='')
			{
				alert('Şifrenizi yazmadınız.');
				document.getElementById('sif').focus();
				return false;
			}
		}
