<!--

sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);


function dosearch() {
var sf=document.searchform;
var submitto = sf.sengines.options[sf.sengines.selectedIndex].value + escape(sf.searchterms.value);
window.location.href = submitto;
return false;
}

function validate_link()
{
	if(document.getElementById('form').name.value==""){alert("Podaj nazwę strony.");return false;}
	else if(document.getElementById('form').dsc.value==""){alert("Podaj opis strony.");return false;}
	else if(document.getElementById('form').url.value==""){alert("Podaj adres strony.");return false;}
	else if(document.getElementById('form').url.value=="http://"){alert("Podaj adres strony.");return false;}
}

var name = "info";
var domain = "aukcje.org";
var display = "E-mail";
function lojezu() { document.write('<a title=\'Napisz do mnie\' href=mailto:' + name + '@' + domain + '>' + display + '</a>');}

function go()
{
	  var text = document.getElementById("s").value;

    if (text == '') return;
	document.getElementById('form').submit();
}

if (parent.frames.length) 
  top.location.href= document.location;

//-->