var rozdielczosc = screen.width;
     if (rozdielczosc <=  800) document.write('<link rel="stylesheet" href="styl800.css" type="text/css" />');
else document.write('<link rel="stylesheet" href="styl1024.css" type="text/css" />');
function write_it(status_text)
{
window.status=status_text;
}
function displayWindow(url, width, height) {
        var Win = window.open(url,"displayWindow",'width=' + width + ',height=' + height + ',resizable=1,scrollbars=yes,menubar=no' );
}

function openFullscreen(page) {
var yes = 1;
var no = 0;

var menubar = yes;      // The File, Edit, View Menus
var scrollbars = yes;   // Horizontal and vertical scrollbars
var locationbar = no;  // The location box with the site URL
var directories = no;  // the "What's New", "What Cool" links
var resizable = yes;    // Can the window be resized?
var statusbar = yes;    // Status bar (with "Document: Done")
var toolbar = no;      // Back, Forward, Home, Stop toolbar

windowprops = "width=" + (screen.width-10) + ",height=" + (screen.height-50) + ",top=0,left=0";

windowprops += (menubar ? ",menubars" : "") +
(scrollbars ? ",scrollbars" : "") +
(locationbar ? ",location" : "") +
(directories ? ",directories" : "") +
(resizable ? ",resizable" : "") +
(statusbar ? ",status" : "") +
(toolbar ? ",toolbar" : "");

window.open(page, 'fullPopup', windowprops);
}
function blinklink()
{
if (!document.getElementById('blink').style.color)
	{
	document.getElementById('blink').style.color="red"
	}
if (document.getElementById('blink').style.color=="red")
	{
	document.getElementById('blink').style.color="#555544"
	}
else
	{
	document.getElementById('blink').style.color="red"
	}
timer=setTimeout("blinklink()",500)
}

function stoptimer()
{
clearTimeout(timer)
}

