
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}



function mailkontrol() {
	var tamam = document.formbox.mail.value.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.gov)|(\.org)|(\..{2,2}))$)\b/gi);
	if (tamam) { return true } else { alert('Lütfen e-posta adresinizi doğru giriniz.'); document.formbox.mail.focus(); document.formbox.mail.select(); return false	}
}

function popupform(source, isim, width, height)	{
			newWindow = window.open(source, isim,"menubar=no,scrolling=no,scrollbars=1,resizable=yes,width=" + width + ",height=" + height);
}

function disableForm(theform) {
if (document.all || document.getElementById) {
for (i = 0; i < theform.length; i++) {
var tempobj = theform.elements[i];
if (tempobj.type.toLowerCase() == "submit" || tempobj.type.toLowerCase() == "reset")
tempobj.disabled = true;
}
}
}


function openWin(theURL,winName,features) {
  	window.open(theURL,winName,features);
}

function aramaislemi() {
	var f = document.aramadefform
	if ((f.field.value == "") || (f.field.value.length < 3)) {
		alert ("Lütfen aranacak sözcüğü giriniz!\nEn az 3 harf girmelisiniz.")
		f.field.focus();	
		return false
	}
return true
}