function menu_link(url) {
	document.location=url;
}

function forum_link(url) {
	window.open(url);
}

function menu_over(obj) {
	obj.style.background='#5A1617';
	obj.style.color='#DF9942';
}

function menu_out(obj) {
	obj.style.background='#4E0506';
	obj.style.color='#F2AE4C';
}

function podmenu_over(obj) {
	obj.style.background='url(./img/podmenu_over.jpg) repeat-y';
	obj.style.color='#DF9942';
}

function podmenu_out(obj) {
	obj.style.background='url(./img/podmenu_out.jpg) repeat-y';
	obj.style.color='#F2AE4C';
}

function img_over(obj) {
	obj.style.border='solid 1px #FFFFFF';
}

function img_out(obj) {
	obj.style.border='solid 1px #4E0506';
}

noweOkno = null;
function powieksz(src, w, h, tytul){
  if(window.screen){
    aw=screen.availWidth;
    ah=screen.availHeight;
  }else{
    aw=640;
    ah=450;
  }
  if (noweOkno!=null&&(!noweOkno.closed))
  {
  	noweOkno.window.close();
  }
  if(noweOkno==null || noweOkno.closed)
  {
    ustawienia=
     "left=" + (aw-w)/2 + ","
    +"top=" + (ah-h)/2 + ","
    +"screenX=" + (aw-w)/2 + ","
    +"screenY=" + (ah-h)/2 + ","
    +"width=" + w + ","
    +"height=" + h + ","
    +"innerWidth=" + w + ","
    +"innerHeight=" + h + ","
    +"toolbar=no,"
    +"location=no,"
    +"directories=no,"
    +"status=no,"
    +"menubar=no,"
    +"scrollbars=no,"
    +"resizable=no"
    noweOkno = window.open('','obrazek',ustawienia);
  }
  noweOkno.document.open();
  noweOkno.document.clear();
  noweOkno.document.write(
	"<html><head>\n"
	+"<title>" + tytul +"</title>\n"
	+"<script language='javascript'>\n"
	+"<!-- Original:  Gilbert Davis -->\n"
	+"<!-- Begin\n"
	+"function loadImages() {\n"
	+"if (document.getElementById) {  // DOM3 = IE5, NS6\n"
	+"document.getElementById('hidepage').style.visibility = 'hidden';\n"
	+"}\n"
	+"else {\n"
	+"if (document.layers) {  // Netscape 4\n"
	+"document.hidepage.visibility = 'hidden';\n"
	+"}\n"
	+"else {  // IE 4\n"
	+"document.all.hidepage.style.visibility = 'hidden';\n"
	+"      }\n"
	+"   }\n"
	+"}\n"
	+"//--\>"
	+"</script>\n"
	+"</head><body style='background-color: #FFFFFF; margin: 0' onload='loadImages()'>\n"
	+"\n"
	+"\n"
	+"<div id='hidepage' style='position: absolute; left: 5px; top: 5px; height: 100%; width: 100%;'>\n"
	+"<table style='width: 100%'>\n"
	+"	<tr>\n"
	+"		<td style='font-family: Verdana; font-size: 10px; color: #4E0506'><b>Ładowanie... Proszę czekać.</b></td>\n"
	+"	</tr>\n"
	+"</table>\n"
	+"</div>\n"
	+"<a href='javascript:close()'><img src='" + src + "' alt='" + tytul + "' style='border: none'></a>\n"
	+"\n"
	+"\n"
  );
  noweOkno.document.close();
  noweOkno.focus();
}