
function focus() {
for (a=0;a<document.links.length;)
document.links[a].onfocus=document.links[a++].blur;
}

function openPictureWindow_Fever(imageName,imageWidth,imageHeight,alt,posLeft,posTop,picOpen) {
		newWindow = window.open("","newWindow","width="+imageWidth+",height="+imageHeight+",left="+posLeft+",top="+posTop+",scrollbars=no");
		newWindow.document.open();
		newWindow.document.write('<html><head><title>'+alt+'</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2"></head><body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0">');

		newWindow.document.write('<img src='+imageName+' width="'+imageWidth+'" height="'+imageHeight+'" border="0" onClick="window.close();">');
		newWindow.document.write('</body></html>');
		newWindow.document.close();
		newWindow.focus();
}

function openPictureWindow_FeverX(imageName,imageWidth,imageHeight,alt,posLeft,posTop,picOpen,target) {
        newWindow = window.open("",target,"width="+imageWidth+",height="+imageHeight+",left="+posLeft+",top="+posTop+",scrollbars=no");
        newWindow.document.open();
        newWindow.document.write('<html><head><title>'+alt+'</title><meta http-equiv="imagetoolbar" content="no"><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2"></head><body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0">');
        newWindow.document.write('<img src="http://<? echo WWW; ?>/'+imageName+'" width="'+imageWidth+'" height="'+imageHeight+'" border="0" onMouseOver="style.cursor=\'hand\';" onClick="opener.open(\''+picOpen+'\',\'_top\'\,\'\'); window.close();">');
        newWindow.document.write('</body></html>');
        newWindow.document.close();
        newWindow.focus();
}

function noSpam(login,parametr,serwer) {
	textstring = login + String.fromCharCode(64) + serwer;
	locationstring = "mailto:" + textstring; 
	if (parametr==1) { window.location = locationstring; }
	if (parametr==2) { document.write(textstring); }
}
