function show_rows(z){
    var arr = z.split("-");
    for(i=0;i<arr.length; i++){
    if ((document.getElementById(arr[i]) != null))
      if ((document.getElementById(arr[i]).style.display == 'none')){
        document.getElementById(arr[i]).style.display = '';
      }
      else {
        document.getElementById(arr[i]).style.display = 'none';
      }
    }
}

function swapImage(el,src) {
el.src = src;
return true;
}



function popup(url,windowName,windowWidth,windowHeight){
myleft=(screen.width)?(screen.width-windowWidth)/2:100;
mytop=(screen.height)?(screen.height-windowHeight)/2:100;
properties = "width="+windowWidth+",height="+windowHeight+",scrollbars=yes,resizable=yes, top="+mytop+",left="+myleft;
window.open(url,windowName,properties);
}
