function yn(_y) {_y.className = 'ymenun';}
function yo(_y) {_y.className = 'ymenuo';}
function jl(_l) {document.location.href = _l;}
function mdur(madi) {document.getElementById(madi).stop();}
function mgit(madi) {document.getElementById(madi).start();}

function setCookie (name, value, expirationInDays) {
	if (expirationInDays) {
		var date = new Date();
		date.setTime(date.getTime() + (expirationInDays * 24 * 60 * 60 * 1000));
		var expires = "; expires=" + date.toGMTString();
		} else {
			var expires = "";
		}
		document.cookie = name + "=" + value + expires + "; path=/";
	}
function lout(lstr) {
document.write(lstr);
}
function getCookie (name) {
	var namePattern = name + "=";
	var cookies = document.cookie.split(';');
	for(var i = 0, n = cookies.length; i < n; i++) {
		var c = cookies[i];
		while (c.charAt(0) == ' ') { c = c.substring(1, c.length); }
		if (c.indexOf(namePattern) == 0) { return c.substring(namePattern.length, c.length); }
		}
	return null;
}
var ilktema = 'siyah/sitecss.css';
var aktiftema = getCookie("kayaktema");
if (aktiftema == null || aktiftema == "") {
	temayaz(ilktema);
	setCookie("kayaktema", ilktema, 30);
} else {
	temayaz(aktiftema);
}
function temayaz (ltema) {
	lout('<link rel="stylesheet" id="aktiftema" type="text/css" href="../Temalar/' + ltema + '" />');
}
function temadegis(ltema) {
	setCookie("kayaktema", ltema, 30);
	document.getElementById("aktiftema").href = "../Temalar/" + ltema;
}