<!--
function pOpenPhoto(url,w,h,sb){
  	var x=(screen.width-w)/2;
  	var y=(screen.height-h)/2;
	features="scrollbars="+sb+",width="+w+",height="+h+",left="+x+",top="+y;
  	win=window.open('popenphoto.php?file='+url,'pOpenPhoto',features);
  	win.window.focus();
}

function porownanie(allX){
	var url = new Array;
	var z = 0;
	var id = "";
	var w = 800;
	var h = 480;
	var xw = (screen.width-w)/2;
  	var yw = (screen.height-h)/2;
	for(x=0;x<allX;x++){
		thisX=eval("document.porownaj.id_"+x);
		if(thisX.checked == true){
			url[z] = thisX.value;
			z++;
		}
	}
	for(x=0;x<url.length;x++){
		id += url[x] + ".";
	}
	if(id.length > 0){
		features="scrollbars=1,width="+w+",height="+h+",left="+xw+",top="+yw;
	  	win=window.open('porownaj.php?id='+id,'pPorownaj',features);
	  	win.window.focus();
  	}
  	else {
  		alert("Prosze wybrać sprężarki do porównania.");
  	}
}
//-->