function p_lo()
{
 document.getElementById('lo').style.display='block';
 document.getElementById('re').style.display='none';
}
function p_re()
{
 document.getElementById('lo').style.display='none';
 document.getElementById('re').style.display='block';
}

function p_in()
{
 document.getElementById('in').style.display='block';
 document.getElementById('st').style.display='none';
}
function p_st()
{
 document.getElementById('in').style.display='none';
 document.getElementById('st').style.display='block';
}

function p_nm()
{
 document.getElementById('nm').style.display='block';
 document.getElementById('om').style.display='none';
}
function p_om()
{
 document.getElementById('nm').style.display='none';
 document.getElementById('om').style.display='block';
}

function p_gl()
{
 document.getElementById('gl').style.display='block';
 document.getElementById('wy').style.display='none';
}
function p_wy()
{
 document.getElementById('gl').style.display='none';
 document.getElementById('wy').style.display='block';
}

function urlwindow(url,w,h)
{
 window.open(url,'JavaScript','toolbar=no,menubar=no,location=no,personalbar=no,scrollbars=yes,directories=no,status=no,resizable=yes,width='+w+',height='+h)
}

function showPopup(intType, intID, intMidletFamily)
{
 var winl = (screen.width - 404) / 2;
 var wint = (screen.height - 430) / 2;
 window.open('http://partner.wapster.pl/partnerSendMe.aspx?cID=' + intID + '&Type=' + intType + '&ID=296&MidletFamily=' + intMidletFamily,'sendMe','titlebar=no,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,top=' + wint + ',left=' + winl + ',width=404,height=430');
}