function initYazarSecim() {
 	var lst1 = document.getElementById("lstYazarSecim1");
}
 
 
function generateSpacer(width, height) {
	var oImg = document.createElement("IMG");
	oImg.src = I_URL + "sp.gif";
	oImg.width = width;
	oImg.height = height;
	oImg.alt = "";
	return oImg;
}
 

 
function showYazarPanel(visible) {
	if (visible) {
		// hizli erisimi gizle
		var pnlErisim = document.getElementById("divYazarErisim");
		pnlErisim.style.display = "none";

		// clear list2 and fill with current selection
		fillYazarList2();
	}

	var pnl = document.getElementById("divYazarSecim");
	if (pnl != null)
		pnl.style.display = visible ? "block" : "none";
}

function toggleYazarPanel() {
	var pnl = document.getElementById("divYazarSecim");
	var visible = pnl.style.display == "none";

	if (visible)
		showYazarPanel(true);
	else
		cancelYazarChange();
}

function toggleYazarErisimPanel() {
	var pnl = document.getElementById("divYazarErisim");
	var visible = pnl.style.display == "none";

	if (visible)
		showYazarErisimPanel();
	else
		hideYazarErisimPanel();
}

function hideYazarErisimPanel() {
	var pnl = document.getElementById("divYazarErisim");
	pnl.style.display = "none";
}

function hideYazarErisimPanelDelayed() {
	setYazarTimeout('hideYazarErisimPanel()', 1000);
}

function showYazarErisimPanel() {
	// yazar secimini gizle
	cancelYazarChange();

	var pnl = document.getElementById("divYazarErisim");
	pnl.style.display = "block";
}


function cancelYazarChange() {
	showYazarPanel(false);
}
