function noSpam(user,domain) {
locationstring = "mailto:" + user + "@" + domain;window.location = locationstring;
}

function displayWindow(url, width, height) {
        var Win = window.open(url,"displayWindow",'width=' + (width+25) + ',height=' + (height+25) + ',resizable=1,scrollbars=1,top=50,left=50,menubar=no' );
}


/*  show hide */
var supported = (document.getElementById || document.all);
var s = 0;

function changeForm()
{
	if (!supported)
	{
		alert('Zaktualizuj swoj^(1) przegl^(1)darke^ - b^(1)dY" kompatybilny z najnowszymi standardami.');
		return;
	}

	s++;
	stat = 'none';
	if (s % 2 == 1 ) { stat='block'; }
	if (document.getElementById)
	{
		document.getElementById('shoutForm').style.display = stat;
	}
	else if (document.all)
	{
		document.all['shoutForm'].style.display = stat;
	}
	return;

}


function changeSet(name, stat)
{

	if (!supported)
	{
		alert('Zaktualizuj swoj^(1) przegl^(1)darke^ - b^(1)dY" kompatybilny z najnowszymi standardami.');
		return;
	}


	if (document.getElementById)
	{
		document.getElementById(name).style.display = stat;
	}
	else if (document.all)
	{
		document.all[name].style.display = stat;
	}

}

function showLayer (iname) 
{
	if (!supported)
	{
		alert('Zaktualizuj swoj^(1) przegl^(1)darke^ - b^(1)dY" kompatybilny z najnowszymi standardami.');
		return;
	}

	if (document.getElementById)
	{
		stat = document.getElementById(iname).style.display;
	}
	else if (document.all)
	{
		stat = document.all[iname].style.display;
	}

	if (stat == 'block')
	{ 
		stat = 'none'
	}
	else
	{
		stat = 'block'
	}

	if (document.getElementById)
	{
		document.getElementById(iname).style.display = stat;
	}
	else if (document.all)
	{
		document.all[iname].style.display = stat;
	}
	return;
}
/* end show hide */


function selecturl(s) {
    var gourl = s.options[s.selectedIndex].value;    
window.top.location.href = gourl;
}