function noblurlinx()
{
	linx = document.getElementsByTagName('a');
	for(i=0; i<linx.length; i++){
		linx[i].onfocus = new Function("if(this.blur)this.blur()");
	}
}

function eolas() {
	var objects = document.getElementsByTagName("object");

	for (var i=0; i<objects.length; i++)
	    objects[i].outerHTML = objects[i].outerHTML;
}

function createCookie(name,value,days)
{
	if (days)
	{
		var date = new Date();
		date.setTime(date.getTime()+(days*24*60*60*1000));
		var expires = "; expires="+date.toGMTString();
	}
	else var expires = "";
	document.cookie = name+"="+value+expires+"; path=/";
}
function SetStopCookie() {
    createCookie('stopit','zastav',100);
}
function SetPlayCookie() {
    createCookie('stopit','spust',100);
}
window.onload = function() {
//	eolas(); // v starych verzich IE to spousti 2 krat -> zkusam s document.write
	noblurlinx();
}


