var arSelected = new Array(); 
function getMultiple(ob) { 
	while (ob.selectedIndex != -1) { 
		if (ob.selectedIndex != 0) 
			arSelected.push(ob.options[ob.selectedIndex].value); 
		ob.options[ob.selectedIndex].selected = false; 
	} // You can use the arSelected array for further processing. 
}

function downWind2(myURL,w,h){

 var myWidth = 430;
var myHeight = 100;
if (w) myWidth = w;
if (h) myHeight = h;	
// alert('pop open window :myURL= '+myURL);
if (document.filterList.show && document.filterList.show.selectedIndex >0 ) {
	myURL = myURL + '&show='+document.filterList.show.options[document.filterList.show.selectedIndex].value;
}	
// alert('pop open window :myURL= '+myURL+', selectedIndex = '+document.filterList.limitprod.selectedIndex);
if ( document.filterList.limitprod && document.filterList.limitprod.selectedIndex !=-1 ) {
	getMultiple(document.filterList.limitprod);
	myURL = myURL  + '&limitprod='+arSelected.toString();
}
	winFeatures='width='+myWidth+',height='+myHeight+',scrollbars=0,status=no,scrollbars=no,resizable=yes';
	
	// alert('pop open window myURL= '+myURL);
	downloadwindow = window.open(myURL,'RR_Download', winFeatures);
	downloadwindow.focus();
}
