
function gotocluster(s){       
  var d = s.options[s.selectedIndex].value
  if(d){
    self.location.href = d
  }
  s.selectedIndex=0
}

function przeladujformularz_listboxy(s){       
  var d = s.options[s.selectedIndex].value
  if(d){
    self.location.href = 'listboxy_edycja.php?kraj='+d;
  }
  s.selectedIndex=0
}

function przeladujformularz_oferta_dodajedytuj(s, where, what){       
  var kraj = s.options[s.selectedIndex].value
  if(kraj){
    self.location.href = 'oferty_dodajedycja.php?go='+where+'&action='+what+'&kraj='+kraj;
  }
  s.selectedIndex=0
}

function przeladujformularz_wyszukiwarka(s, where){       
  var kraj = s.options[s.selectedIndex].value
  if(kraj){
    self.location.href = 'index.php?wyszukiwanie='+where+'&kraj='+kraj;
  }
  s.selectedIndex=0
}

function przeladujformularz_wyszukiwarka_dojazd(s, where, kraj){       
  self.location.href = 'index.php?wyszukiwanie='+where+'&kraj='+kraj+'&dojazd='+s;
}

function przeladujformularz_wybierzoferte(s){       
  var kraj = s.options[s.selectedIndex].value
  if(kraj){
    self.location.href = 'wybierzoferte.php?kraj='+kraj;
  }
  s.selectedIndex=0
}

function edytuj_oferte(s, where, what){       
  var d = s.options[s.selectedIndex].value
  if(d){
    self.location.href = 'oferty_dodajedycja.php?go='+where+'&action='+what+'&id='+d;
  }
  s.selectedIndex=0
}

function konto(s, where){       
  var d = s.options[s.selectedIndex].value
  if(d){
    self.location.href = 'konta_uzytkownikow.php?go='+where+'&id='+d;
  }
  s.selectedIndex=0
}


function pokazzdjecie(ktore, x, y){
  okno=window.open('','','toolbar=0, fullscreen=0, location=0, directories=0, menuBar=0, scrollbars=0,  resizable=0, width='+x+', height='+y+', left=50, top=50');
  okno.document.write('<!doctype html public "-//w3c//dtd html 4.0 transitional//en">');
  okno.document.write('<html>');
  okno.document.write('<head>');
  okno.document.write('<title>Zdjęcie</title>');
  okno.document.write('<META NAME="autor" CONTENT="www.X-Travel.pl">');
  okno.document.write('<META http-equiv="Content-Type" content="text/html; charset=iso-8859-2">');
  okno.document.write('<LINK rel="stylesheet" href="../style00.css" type="text/css">');
  okno.document.write('</head>');
  okno.document.write('<body style="margin-top:-10px; margin-bottom:0px; margin-left:0px; margin-right:0px">');
  okno.document.write('<center><img src="'+ktore+'" border="0"></center>');
  okno.document.write('</body>');
  okno.document.write('</html>');
}

function pokazkonto_klubowicze(s){
  var ktora=s.options[s.selectedIndex].value;
  okno=window.open('','','toolbar=0, fullscreen=0, location=0, directories=0, menuBar=0, scrollbars=0, resizable=0, width=355, height=240, left=50, top=50');
  okno.document.write('<!doctype html public "-//w3c//dtd html 4.0 transitional//en">');
  okno.document.write('<html>');
  okno.document.write('<head>');
  okno.document.write('<title>www.X-Travel.pl - Klubowicz nr: '+ktora+'</title>');
  okno.document.write('<META NAME="autor" CONTENT="www.models-art.pl">');
  okno.document.write('<META http-equiv="Content-Type" content="text/html; charset=windows-1250">');
  okno.document.write('<LINK rel="stylesheet" href="../style00.css" type="text/css">');
  okno.document.write('</head>');
  okno.document.write('<body style="margin-top:-10px; margin-bottom:0px; margin-left:0px; margin-right:0px">');
  okno.document.write('<center><iframe src="konta_klubowiczow.php?id='+ktora+'" width="100%" height="100%" frameborder="1"></iframe></center>');
  okno.document.write('</body>');
  okno.document.write('</html>');
}

function pokazinformacja_klubowicze(s){
  var ktora=s.options[s.selectedIndex].value;
  okno=window.open('','','toolbar=0, fullscreen=0, location=0, directories=0, menuBar=0, scrollbars=0, resizable=0, width=455, height=340, left=50, top=50');
  okno.document.write('<!doctype html public "-//w3c//dtd html 4.0 transitional//en">');
  okno.document.write('<html>');
  okno.document.write('<head>');
  okno.document.write('<title>www.X-Travel.pl - Informacja nr: '+ktora+'</title>');
  okno.document.write('<META NAME="autor" CONTENT="www.models-art.pl">');
  okno.document.write('<META http-equiv="Content-Type" content="text/html; charset=windows-1250">');
  okno.document.write('<LINK rel="stylesheet" href="../style00.css" type="text/css">');
  okno.document.write('</head>');
  okno.document.write('<body style="margin-top:-10px; margin-bottom:0px; margin-left:0px; margin-right:0px">');
  okno.document.write('<center><iframe src="informacja_klubowicze.php?id='+ktora+'" width="100%" height="100%" frameborder="1"></iframe></center>');
  okno.document.write('</body>');
  okno.document.write('</html>');
}

function otworzformularz(s){
  var ktory=s.options[s.selectedIndex].value;
  okno=window.open('rezerwacja.php?id='+ktory+'','Formularz rezerwacji','toolbar=0, fullscreen=0, location=0, directories=0, menuBar=1, scrollbars=0,  resizable=0, width=690, height=650, left=50, top=25');
  
}

function pokaztemat(s){
  var ktory=s.options[s.selectedIndex].value;
  okno=window.open('','','toolbar=0, fullscreen=0, location=0, directories=0, menuBar=1, scrollbars=0,  resizable=0, width=790, height=650, left=50, top=25');
  okno.document.write('<!doctype html public "-//w3c//dtd html 4.0 transitional//en">');
  okno.document.write('<html>');
  okno.document.write('<head>');
  okno.document.write('<title>Forum - temat</title>');
  okno.document.write('<META NAME="autor" CONTENT="Jarosław Kacy 0-601-090-566">');
  okno.document.write('<META http-equiv="Content-Type" content="text/html; charset=windows-1250">');
  okno.document.write('<LINK rel="stylesheet" href="../style00.css" type="text/css">');
  okno.document.write('</head>');
  okno.document.write('<body style="margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px">');
  okno.document.write('<center><iframe src="forum_temat.php?id='+ktory+'" width="100%" height="100%" frameborder="0"></iframe></center>');
  okno.document.write('</body>');
  okno.document.write('</html>');
}

function otworzformularzdoboru(s){
  var ktory=s.options[s.selectedIndex].value;
  okno=window.open('dobor_formularz.php?id='+ktory+'','Formularz doboru oferty','toolbar=0, fullscreen=0, location=0, directories=0, menuBar=1, scrollbars=0,  resizable=0, width=690, height=650, left=50, top=25');

}















