// JavaScript Document
function Highlight(element,basla,bitir){ // ----	------	------	------	Highligh EFEKTI
	if (!(basla)) basla = "#E874BF";
	if (!(bitir)) bitir = "#FFFFFF";

	element.style.cursor='pointer'; 
	element.style.background = basla;
	element.onmouseout = function(){element.style.background = bitir;};
}


function HighlightEffect(element,basla,bitir,sure){ // ----	------	------	------	Highligh EFEKTİ
	if (!(basla)) basla = "#E874BF";
	if (!(bitir)) bitir = "#FFFFFF";
	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 HighlightUP(element){ // ------	------	------	------	SARI YANMASI
	$(element).style.background = "#FFCFEE";
	$(element).style.cursor='pointer'; 
}
function HighlightDOWN(element,renk){ // ------	------	------	------	SARI SÖNMESİ
	if (!(renk)) basla = "#FFF";
	$(element).style.background = basla;
	$(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 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, "")
}


