// JavaScript Document
function HighlightEffect(element,basla,bitir,sure){ // ----	------	------	------	Highligh EFEKTİ
	if (!(basla)) basla = "#FFFFCC";
	if (!(bitir)) bitir = "#ebf2f6";
	if (!(sure)) sure = 3;
   new Effect.Highlight(element, 
				  {
					startcolor: basla,//"#FFFFCC",
					endcolor: bitir,//"#ebf2f6",
					restorecolor: bitir,//"#ebf2f6",
					duration: sure
				  });
	try{
		element.style.cursor='pointer'; 
	}catch(err){
	}
}
function HighlightEffect_RED(element){ // ----	------	------	------	Highligh EFEKTİ
   new Effect.Highlight(element, 
				  {
					startcolor: "#FF0000",
					endcolor: "#FAFDFE",
					restorecolor: "#FAFDFE",
					duration: 2
				  })
}
function HighlightUP(element){ // ------	------	------	------	SARI YANMASI
	$(element).style.background = "#FFFFCC";
	element.style.cursor='pointer'; 
}
function HighlightDOWN(element){ // ------	------	------	------	SARI SÖNMESİ
	$(element).style.background = "#ebf2f6";
	element.style.cursor='pointer'; 
}
function flu(element,miktar){ // --------	------	------	------	BLUR VERME
	element.filters.blur.strength = miktar;
	element.style.filter = 'blur(strength=' + miktar + ')';
}
function fligran(element,miktar){ // --------	------	------	------	BLUR VERME
	element.style.opacity = miktar;
	element.style.filter = 'alpha(opacity=' + miktar + ')';
}

function ac(element){ // ------	------	------	------	------	ELEMENTİ AÇMA
	$(element).style.display = 'block';
}
function kapa(element){ // ------	------	------	------	------	ELEMENTİ KAPAMA
	$(element).style.display = 'none';
}
function ackapa(element){ // ------	------	------	------	------	ELEMENTI AÇMA
	if ($(element).style.display == 'none' ) $(element).style.display = 'block';
	else if ($(element).style.display == 'block' ) $(element).style.display = 'none';
}
function gizle(element){ // ------	------	------	------	------	ELEMENTİ Gizle
	$(element).style.visibility = 'hidden';
}
function goster(element){ // ------	------	------	------	------	ELEMENTİ Göster
	$(element).style.visibility = 'visible';
}
function PopSayfaAc(url,name,w,h) 
{ 
//	alert(url+" "+name+" "+w+" "+h);
   newwindow=window.open(url,name,'height='+h+',width='+w+',toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0'); 
   if (window.focus) {newwindow.focus()} 
} 
function bookmarksite(title, url){
if (document.all)
window.external.AddFavorite(url, title);
else if (window.sidebar)
window.sidebar.addPanel(title, url, "")
}

function isNumeric(inputVal) 
{
     if (isNaN(parseFloat(inputVal))) 
	 {
          return false;
     }
     return true
}