
function showHide(id_zaklad) {
	var zaklad = document.getElementById(id_zaklad);
	if(zaklad.style.display == "block") {
		zaklad.style.display = "none";
		zaklad.style.visible = "hidden";
	}
	else {
		zaklad.style.display = "block";
		zaklad.style.visible = "visible";
	}
}


function changeLocation(id) {
	//alert("http://www.renault.warszawa.pl/v2/index.php?ID=" + id);
	window.location.href = "http://www.renault.warszawa.pl/v2/index.php?ID=" + id;
}


function mapka(map){

    NoweOkienko=window.open('','NoweOkienko','toolbar=no,menubar=no,location=no,personalbar=no,scrollbars=no,directories=no,status=no,resizable=no,width=410,height=305,top=100,left='+((screen.availWidth/2)-150));
    NoweOkienko.document.open();
//<A HREF='javascript:window.close()'><IMG SRC=\"/i/" + map + ".jpg\" BORDER=0></A>");

    NoweOkienko.document.write("<HTML><HEAD><TITLE>Renault Warszawa</TITLE></HEAD><BODY topmargin=\"0\" leftmargin=\"0\" marginwidth=\"0\" marginheight=\"0\" ><img src=\"/i/" + map + ".jpg\" width=\"400\" height=\"300\" border=\"0\" alt=\"\" usemap=\"#" + map + "_Map\"><map name=\"" + map + "_Map\"><area shape=\"rect\" alt=\"mapa\" coords=\"310,282,400,300\" href=\"http://www.automapa.com.pl\" target=\"_blank\"><area shape=\"rect\" alt=\"automapa\" coords=\"0,0,400,300\" href=\"javascript: self.close();\"></map></BODY></HTML>");
    NoweOkienko.document.close();
    NoweOkienko.focus()
  }
function mapkaOld(map){

  NoweOkienko=window.open('','NoweOkienko','toolbar=no,menubar=no,location=no,personalbar=no,scrollbars=no,directories=no,status=no,resizable=no,width=400,height=300,top=100,left='+((screen.availWidth/2)-150));
  NoweOkienko.document.open();
  NoweOkienko.document.write("<HTML><HEAD><TITLE>Renault Warszawa</TITLE></HEAD><BODY topmargin=\"0\" leftmargin=\"0\" marginwidth=\"0\" marginheight=\"0\" ><A HREF='javascript:window.close()'><IMG SRC=\"/i/" + map + ".jpg\" BORDER=0></A></BODY></HTML>");
  NoweOkienko.document.close();
  NoweOkienko.focus()
}
  function mtin(i){
    document.getElementById('menutop'+i).src = '/i/menutop'+i+'a.jpg';
  }
  function mtout(i){
    document.getElementById('menutop'+i).src = '/i/menutop'+i+'.jpg';
  }
  function imgReplaceById(id,path){
    document.getElementById(id).src = path;
  }

function openPopup(){

    popupWin=window.open('','popupWin','toolbar=no,menubar=no,location=no,personalbar=no,scrollbars=no,directories=no,status=no,resizable=no,width=710,height=300,top=50,left=50');
    popupWin.document.open();

    popupWin.document.write("<HTML><HEAD><TITLE>Renault Warszawa</TITLE></HEAD><BODY topmargin=\"0\" leftmargin=\"0\" marginwidth=\"0\" marginheight=\"0\" ><img src=\"/i/baner.jpg\" width=\"700\" height=\"297\" border=\"0\" alt=\"\"></BODY></HTML>");
    popupWin.document.close();
    popupWin.focus()
  }

function openPopup2(){
    popupWin=window.open('','popupWin2','toolbar=no,menubar=no,location=no,personalbar=no,scrollbars=no,directories=no,status=no,resizable=no,width=785,height=320,top=50,left=50');
    popupWin.document.open();

    popupWin.document.write("<HTML><HEAD><TITLE>Renault Warszawa</TITLE></HEAD><BODY topmargin=\"0\" leftmargin=\"0\" marginwidth=\"0\" marginheight=\"0\" ><center><a href=\"javascript:opener.location.href='index.php?ID=668';self.close();\"><img src=\"/i/lewin_banner.jpg\" width=\"775\" height=\"310\" border=\"0\" alt=\"\"></a></center></BODY></HTML>");
    popupWin.document.close();
    popupWin.focus()

//    popupWin2=window.open('komunikat.html','popupWin2','toolbar=no,menubar=no,location=no,personalbar=no,scrollbars=no,directories=no,status=no,resizable=no,width=780,height=300,top=80,left=60');



//    popupWin2.focus()
  }

function openPopup3(){
//zmiana 2006.02.28
    popupWin=window.open('','popupWin3','toolbar=no,menubar=no,location=no,personalbar=no,scrollbars=no,directories=no,status=no,resizable=no,width=610,height=390,top=50,left=50');
    popupWin.document.open();

    popupWin.document.write("<HTML><HEAD><TITLE>Renault Warszawa</TITLE></HEAD><BODY topmargin=\"0\" leftmargin=\"0\" marginwidth=\"0\" marginheight=\"0\" ><center><a href=\"javascript:opener.location.href='index.php?ID=1287';self.close();\"><img src=\"/i/assist-baner.jpg\" width=\"600\" height=\"383\" border=\"0\" alt=\"\"></a></center></BODY></HTML>");
    popupWin.document.close();
    popupWin.focus()
  }


function openPopup4(){
    popupWin=window.open('','popupWin4','toolbar=no,menubar=no,location=no,personalbar=no,scrollbars=no,directories=no,status=no,resizable=no,width=480,height=211,top=80,left=150');
    popupWin.document.open();

    popupWin.document.write("<HTML><HEAD><TITLE>Renault Warszawa</TITLE></HEAD><BODY topmargin=\"0\" leftmargin=\"0\" marginwidth=\"0\" marginheight=\"0\" ><center><a href=\"javascript:opener.location.href='index.php?ID=1287';self.close();\"><img src=\"/i/baner_okazja.jpg\" width=\"480\" height=\"211\" border=\"0\" alt=\"\"></a></center></BODY></HTML>");
    popupWin.document.close();
    popupWin.focus()
  }

function openPopup5(){
    popupWin=window.open('','popupWin5','toolbar=no,menubar=no,location=no,personalbar=no,scrollbars=no,directories=no,status=no,resizable=no,width=450,height=200,top=180,left=200');
    popupWin.document.open();

    popupWin.document.write("<HTML><HEAD><TITLE>Renault Warszawa</TITLE></HEAD><BODY topmargin=\"0\" leftmargin=\"0\" marginwidth=\"0\" marginheight=\"0\" style=\"background-color: #FFD721\"><b><p>Szanowni Państwo,</p><p>W sprawie wyceny samochodu prosimy o kontakt pod numerami telefonów:<br/><br/>RENAULT WARSZAWA Puławska 022 5 444 030<br/>RENAULT WARSZAWA Al. Jerozolimskie 022 5 444 130<br/>RENAULT WARSZAWA Praga Południe 022 5 444 230.</p></b></BODY></HTML>");
    popupWin.document.close();
    popupWin.focus()
  }



function openPopup6(){
    popupWin=window.open('popup.html','popupWin6','toolbar=no,menubar=no,location=no,personalbar=no,scrollbars=no,directories=no,status=no,resizable=no,width=660,height=660,top=10,left=120');
    popupWin.focus()
  }

function openPopup7(){
    popupWin=window.open('popup_show.php','popupWin7','toolbar=no,menubar=no,location=no,personalbar=no,scrollbars=no,directories=no,status=no,resizable=no,width=520,height=600,top=10,left=150');
    popupWin.focus()
  }

function openPopup8(){
    popupWin=window.open('informacja.html','popupWin8','toolbar=no,menubar=no,location=no,personalbar=no,scrollbars=yes,directories=no,status=no,resizable=yes,width=620,height=650,top=10,left=250');
    popupWin.focus()
  }

function openPopup9(){
    popupWin=window.open('pragapld.html','popupWin9','toolbar=no,menubar=no,location=no,personalbar=no,scrollbars=yes,directories=no,status=no,resizable=yes,width=620,height=250,top=200,left=250');
    popupWin.focus();
    //popupWin2=window.open('nieczynne.html','popupWin9_2','toolbar=no,menubar=no,location=no,personalbar=no,scrollbars=yes,directories=no,status=no,resizable=yes,width=620,height=150,top=520,left=250');
    //popupWin2.focus()
  }

function openPopup10(){
    //popupWin=window.open('pragapld.html','popupWin10','toolbar=no,menubar=no,location=no,personalbar=no,scrollbars=yes,directories=no,status=no,resizable=yes,width=620,height=250,top=200,left=250');
    //popupWin.focus();
    popupWin2=window.open('bezplatna.html','popupWin10_2','toolbar=no,menubar=no,location=no,personalbar=no,scrollbars=yes,directories=no,status=no,resizable=yes,width=470,height=130,top=220,left=250');
    popupWin2.focus()
  }

function openPopup11(){
    popupWin=window.open('nieczynne.html','popupWin10_2','toolbar=no,menubar=no,location=no,personalbar=no,scrollbars=yes,directories=no,status=no,resizable=yes,width=470,height=220,top=220,left=250');
    popupWin.focus()
  }


function openPopup12(){
    popupWin=window.open('daciafest.html','popupWin10_2','toolbar=no,menubar=no,location=no,personalbar=no,scrollbars=no,directories=no,status=no,resizable=yes,width=490,height=380,top=220,left=250');
    popupWin.focus()
  }


function openPopup13(){
    popupWin=window.open('nieczynne11.html','popupWin10_2','toolbar=no,menubar=no,location=no,personalbar=no,scrollbars=no,directories=no,status=no,resizable=yes,width=490,height=280,top=220,left=250');
    popupWin.focus()
  }

function openPopup14(){
    popupWin=window.open('popup0910.html','popupWin10_2','toolbar=no,menubar=no,location=no,personalbar=no,scrollbars=no,directories=no,status=no,resizable=yes,width=620,height=420,top=140,left=100');
    popupWin.focus()
  }

function openPopup15(){
    popupWin=window.open('popup0910_2.html','popupWin10_3','toolbar=no,menubar=no,location=no,personalbar=no,scrollbars=no,directories=no,status=no,resizable=yes,width=670,height=465,top=240,left=360');
    popupWin.focus()
  }
  
function openPopup16(){
    popupWin=window.open('baner-wyprzedaz.html','popupWin10_3','toolbar=no,menubar=no,location=no,personalbar=no,scrollbars=no,directories=no,status=no,resizable=no,width=1000,height=253,top=220,left=128');
    popupWin.focus()
  }
  
function openPopup17(){
    popupWin=window.open('wyprzedaz_uzywanych.html','popupWin10_3','toolbar=no,menubar=no,location=no,personalbar=no,scrollbars=no,directories=no,status=no,resizable=no,width=800,height=240,top=220,left=128');
    popupWin.focus()
  }
 
function openPopup18_Fluence(){
    popupWin=window.open('popup_fluence.htm','popupWin10_3','toolbar=no,menubar=no,location=no,personalbar=no,scrollbars=no,directories=no,status=no,resizable=no,width=1000,height=250,top=220,left=60');
    popupWin.focus()
  }

