
function openWin(theURL){
	window.open(theURL, 'popupWin', 'width=750, height=420, top=0, toolbar=0, location=0, directories=0, status=1, menuBar=0, scrollBars=1, resizable=0');
}

function YeniPencere(mypage, myname, w, h, scroll) 
{
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable=no'
	win = window.open(mypage, myname, winprops)
}
function yenilen(){
    window.location.reload()
}


function stoperror(){
return true
}
window.onerror=stoperror

var secili_manset = 0;
var sonraki_manset = secili_manset + 1;
var manset_sayisi = 10;
var manset_degisme_suresi = 5000;
var manset_timeout;
function manset_degistir(i)
{
	if(i >= manset_sayisi) i = 0;
	dgid("manset_"+secili_manset).style.display = "none";
	dgid("manset_"+i).style.display = "block";
	
	dgid("manset_serit_"+secili_manset).className = "serit_pasif";
	dgid("manset_serit_"+i).className = "serit_aktif";
	
	secili_manset = i;
	sonraki_manset = i+1;

	manset_degistirmeyi_birak();
}
function manset_degistirmeyi_birak()
{
	setTimeout("clearTimeout("+manset_timeout+")", 20);
}
function tekrar_manset_degistir()
{
	manset_timeout = setTimeout("bir_sonraki_manset()", manset_degisme_suresi);
}
function bir_sonraki_manset()
{
	manset_degistir(sonraki_manset);
	manset_timeout = setTimeout("bir_sonraki_manset()", manset_degisme_suresi);
}
setTimeout("bir_sonraki_manset()", manset_degisme_suresi);

function openPopUp_520x390(href, target)
{
	var winl = (screen.width - 520) / 2;
	var wint = (screen.height - 390) / 2;
	window.open(href, target, 'width=520, height=390, top=' + wint + ', left=' + winl + ', toolbar=0, location=0, directories=0, status=1, menuBar=0, scrollBars=1, resizable=0');
	return false;
}

/**/

function openPopUp(href, target)
{
	var winl = (screen.width - 600) / 2;
	var wint = (screen.height - 450) / 2;
	window.open(href, target, 'width=600, height=450, top=' + wint + ', left=' + winl + ', toolbar=0, location=0, directories=0, status=1, menuBar=0, scrollBars=1, resizable=0');
	return false;
}
