var windowNote;
function showNote(title, big1, big2, big3, big4, big5, foto1, foto2, foto3, foto4, foto5, marke, modelis, metai, vietu, kita, komentarai, kaina1, kaina2, kaina3, w, h) {
  windowNote = window.open('','Note','toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=no,copyhistory=no,width=' + w + ',height=' + h);
  text = '<HTML><HEAD><LINK rel="stylesheet" type="text/css" href="volnata.css"><TITLE></TITLE></HEAD><SCRIPT language="JavaScript1.2" src="vol2.js"></SCRIPT><BODY leftmargin="0" marginwidth="0" topmargin="0" marginheight="0">'; // <A href="" onClick="return showNote2(\'\',\'images/volnata.jpg\',500,350)">test</A></TD></TR>
  text += '<TABLE cellspacing="0" cellpadding="0" width="100%"><TR><TD background="images/volbigbg.gif"><IMG src="images/volbig.gif" border="0" width="265" height="67"></TD></TR>';
  text += '<TR><TD><TABLE cellspacing="5"><TR><TD><A href="" onClick="return showNote2(\'\',\'' + big1 + '\',500,350)"><IMG src="' + foto1 + '" border="0"></A></TD><TD><A href="" onClick="return showNote2(\'\',\'' + big2 + '\',500,350)"><IMG src="' + foto2 + '" border="0"></A></TD><TD><A href="" onClick="return showNote2(\'\',\'' + big3 + '\',500,350)"><IMG src="' + foto3 + '" border="0"></A></TD><TD><A href="" onClick="return showNote2(\'\',\'' + big4 + '\',500,350)"><IMG src="' + foto4 + '" border="0"></A></TD><TD><A href="" onClick="return showNote2(\'\',\'' + big5 + '\',500,350)"><IMG src="' + foto5 + '" border="0"></A></TD></TR></TABLE></TD></TR>';
  text += '<TR><TD><BR><BLOCKQUOTE><B>Markė</B>: ' + marke + '<BR><B>Modelis</B>: ' + modelis + '<BR><B>Pagaminimo metai</B>: ' + metai + '<BR><B>Vietų skaičius</B>: ' + vietu + '<BR><B>Kita įranga</B>:<BR>' + kita + '<BR><B>Komentarai</B>:<BR>' + komentarai + '<BR></BLOCKQUOTE></TD></TR>';
  text += '<TR><TD><BLOCKQUOTE><B>Lt/km bendros ridos</B>: ' + kaina1 + '<BR><B>Lt/val bendro laiko</B>: ' + kaina2 + '<BR><B>Lt/val Vilniaus m. bendro laiko</B>: ' + kaina3 + '<BR></BLOCKQUOTE></TD></TR>';
  text += '</TABLE></' + 'BODY' + '><' + '/HTML' + '>';
  windowNote.document.write(text);
  windowNote.focus();
  windowNote.document.close();
  return false;
}
function showNote3(title, big1, big2, big3, big4, big5, foto1, foto2, foto3, foto4, foto5, marke, modelis, metai, vietu, kita, komentarai, kaina1, kaina2, kaina3, w, h) {
  windowNote = window.open('','Note','toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=no,copyhistory=no,width=' + w + ',height=' + h);
  text = '<HTML><HEAD><LINK rel="stylesheet" type="text/css" href="volnata.css"><TITLE></TITLE></HEAD><SCRIPT language="JavaScript1.2" src="vol2.js"></SCRIPT><BODY leftmargin="0" marginwidth="0" topmargin="0" marginheight="0">'; // <A href="" onClick="return showNote2(\'\',\'images/volnata.jpg\',500,350)">test</A></TD></TR>
  text += '<TABLE cellspacing="0" cellpadding="0" width="100%"><TR><TD background="images/volbigbg.gif"><IMG src="images/volbig.gif" border="0" width="265" height="67"></TD></TR>';
  text += '<TR><TD><TABLE cellspacing="5"><TR><TD><A href="" onClick="return showNote2(\'\',\'' + big1 + '\',500,350)"><IMG src="' + foto1 + '" border="0"></A></TD><TD><A href="" onClick="return showNote2(\'\',\'' + big2 + '\',500,350)"><IMG src="' + foto2 + '" border="0"></A></TD><TD><A href="" onClick="return showNote2(\'\',\'' + big3 + '\',500,350)"><IMG src="' + foto3 + '" border="0"></A></TD><TD><A href="" onClick="return showNote2(\'\',\'' + big4 + '\',500,350)"><IMG src="' + foto4 + '" border="0"></A></TD><TD><A href="" onClick="return showNote2(\'\',\'' + big5 + '\',500,350)"><IMG src="' + foto5 + '" border="0"></A></TD></TR></TABLE></TD></TR>';
  text += '<TR><TD><BR><BLOCKQUOTE><B>Tipas</B>: ' + marke + '<BR><B>Vietovė</B>: ' + modelis + '<BR><B>Plotas</B>: ' + vietu + '<BR><B>Kita informacija</B>:<BR>' + kita + '<BR><B>Komentarai</B>:<BR>' + komentarai + '<BR></BLOCKQUOTE></TD></TR>';
  text += '<TR><TD><BLOCKQUOTE><B>Kaina 1</B>: ' + kaina1 + '<BR><B>Kaina 2</B>: ' + kaina2 + '<BR><B>Kaina 3</B>: ' + kaina3 + '<BR></BLOCKQUOTE></TD></TR>';
  text += '</TABLE></' + 'BODY' + '><' + '/HTML' + '>';
  windowNote.document.write(text);
  windowNote.focus();
  windowNote.document.close();
  return false;
}

var zindex=100;
function dropit2(whichone){
if (window.themenu&&themenu.id!=whichone.id)
themenu.style.visibility="hidden";
themenu=whichone;
if (document.all){
themenu.style.left=document.body.scrollLeft+event.clientX-event.offsetX+50;
themenu.style.top=document.body.scrollTop+event.clientY-event.offsetY+20;
if (themenu.style.visibility=="hidden"){
themenu.style.visibility="visible";
themenu.style.zIndex=zindex++;
}
else{
hidemenu();
}
}
}

function dropit(e,whichone){
if (window.themenu&&themenu.id!=eval(whichone).id)
themenu.visibility="hide";
themenu=eval(whichone);
if (themenu.visibility=="hide")
themenu.visibility="show";
else
themenu.visibility="hide";
themenu.zIndex++;
themenu.left=e.pageX-e.layerX+100;
themenu.top=e.pageY-e.layerY+19;
return false;
}

function hidemenu(whichone){
if (window.themenu)
themenu.style.visibility="hidden";
}

function hidemenu2(){
themenu.visibility="hide";
}

if (document.all)
document.body.onclick=hidemenu;