function element()
{
if ((document.szukanie.info.checked) && (document.szukanie.forum.checked)  && (document.szukanie.anz.checked)  && (document.szukanie.linki.checked))
{
		document.szukanie.alles.checked=1
}
else
{
		document.szukanie.alles.checked=0
}
}

function wszystkie()
{
if (document.szukanie.alles.checked)
{
	document.szukanie.info.checked=1
	document.szukanie.forum.checked=1
	document.szukanie.anz.checked=1
	document.szukanie.linki.checked=1
}
else
{
	document.szukanie.info.checked=0
	document.szukanie.forum.checked=0
	document.szukanie.anz.checked=0
	document.szukanie.linki.checked=0
}
}


function zdjecie(id,typ,sprache,kraj)
{
xPos = (screen.width - 500) /2;
yPos = (screen.height - 250) /2 - 20;

eval("window.open('show.php?sprache="+sprache+"&kraj="+kraj+"&id="+id+"&typ="+typ+"','"+id+"','width=500,height=400,toolbar=0,status=0,directories=0,location=0,scrollbars=yes,left=" + xPos + ",top=" + yPos + "')");

}

function profil(id,sprache,kraj)
{
xPos = (screen.width - 500) /2;
yPos = (screen.height - 250) /2 - 20;

eval("window.open('profil.php?sprache="+sprache+"&kraj="+kraj+"&id="+id+"','"+id+"','width=500,height=450,toolbar=0,status=0,directories=0,location=0,scrollbars=yes,left=" + xPos + ",top=" + yPos + "')");
}

function sendphoto(id,imie,sprache,kraj)
{
xPos = (screen.width - 500) /2;
yPos = (screen.height - 300) /2 - 20;

eval("window.open('sendphoto.php?sprache="+sprache+"&kraj="+kraj+"&id="+id+"&imie="+imie+"','"+id+"','width=500,height=420,toolbar=0,status=0,directories=0,location=0,scrollbars=yes,left=" + xPos + ",top=" + yPos + "')");
}

function sendtip(id,imie,sprache,kraj)
{
xPos = (screen.width - 500) /2;
yPos = (screen.height - 300) /2 - 20;

eval("window.open('sendtip.php?sprache="+sprache+"&kraj="+kraj+"&id="+id+"&imie="+imie+"','"+id+"','width=500,height=420,toolbar=0,status=0,directories=0,location=0,scrollbars=yes,left=" + xPos + ",top=" + yPos + "')");
}


function sendlink(id,imie,sprache,kraj)
{
xPos = (screen.width - 500) /2;
yPos = (screen.height - 300) /2 - 20;

eval("window.open('sendlink.php?sprache="+sprache+"&kraj="+kraj+"&id="+id+"&imie="+imie+"','"+id+"','width=500,height=420,toolbar=0,status=0,directories=0,location=0,scrollbars=yes,left=" + xPos + ",top=" + yPos + "')");
}


function sendclub(id,imie,sprache,kraj)
{
xPos = (screen.width - 500) /2;
yPos = (screen.height - 300) /2 - 20;

eval("window.open('sendclub.php?sprache="+sprache+"&kraj="+kraj+"&id="+id+"&imie="+imie+"','"+id+"','width=500,height=420,toolbar=0,status=0,directories=0,location=0,scrollbars=yes,left=" + xPos + ",top=" + yPos + "')");

}

function sendhotel(id,imie,sprache,kraj)
{
xPos = (screen.width - 500) /2;
yPos = (screen.height - 300) /2 - 20;

eval("window.open('sendhotel.php?sprache="+sprache+"&kraj="+kraj+"&id="+id+"&imie="+imie+"','"+id+"','width=500,height=420,toolbar=0,status=0,directories=0,location=0,scrollbars=yes,left=" + xPos + ",top=" + yPos + "')");

}


function addIEFavorite() 
{
if (window.external) 
{
external.AddFavorite('http://www.tajlandia.pl', 'Tajlandia.pl')
}
}

function reklama() {
reklama = window.open("http://www.MiniKamery.pl")
focus()
}
