function deamon(){
}
function changeStyleFont(warstwa,wartosc) {
	if (document.getElementById)
        var returnVar = document.getElementById(warstwa);
    else if (document.all)
        var returnVar = document.all[warstwa];
    else if (document.layers)
        var returnVar = document.layers[warstwa]; 
	returnVar.style.fontSize = wartosc+'px';
	if(wartosc>12)
		returnVar.style.lineHeight = '17px';
	else
		returnVar.style.lineHeight = '15px';
	} 
function submitform(form_name)
{
    document.forms[form_name].submit();
}
function divshow(warstwa)
{		
		if (document.getElementById)
        var toshow = document.getElementById(warstwa);
    else if (document.all)
        var toshow = document.all[warstwa];
    else if (document.layers)
        var toshow = document.layers[warstwa];
		if(toshow.style.display=='block')
		{	toshow.style.display='none';}
		else
		{	toshow.style.display='block';}
}
function divshow2(warstwa)
{		
		if (document.getElementById)
        var toshow = document.getElementById(warstwa);
    else if (document.all)
        var toshow = document.all[warstwa];
    else if (document.layers)
        var toshow = document.layers[warstwa];
		if(toshow.style.display=='block')
		{	toshow.style.display='block';}
		else
		{	toshow.style.display='block';}
}
function change_backgroud_image(warstwa,plik,plik_po,hidden,warstwa_po)
{		
		if (document.getElementById)
        var toshow = document.getElementById(warstwa);
    else if (document.all)
        var toshow = document.all[warstwa];
    else if (document.layers)
        var toshow = document.layers[warstwa];
		if(hidden=='true')
		{
			if (document.getElementById)
        var tocheck = document.getElementById(warstwa_po);
			else if (document.all)
        var tocheck = document.all[warstwa_po];
			else if (document.layers)
        var tocheck = document.layers[warstwa_po];
			if(tocheck.style.display=='none') {
				toshow.style.background=" url('gfx/"+plik_po+"')";}
			else {
				toshow.style.background=" url('gfx/"+plik+"')";}
		}
		else
		{	toshow.style.background=" url('gfx/"+plik+"')";}
}


