<!--
  function open_cdcover(URLString) {
    var hwnd = window.open(URLString,'cdcoverPopup','width=450,height=450,scrollbars=yes,resizable=yes');
    hwnd.focus();
  }

  function getQsearchBoxes(whichBox,whichDiv){

	var x = whichBox;
	var y =  "&x=" + new Date().getTime();
	var url = "http://www.symposiumrecords.co.uk/pls/dad_generic/ajax_qsearch?p_whichbox=";

	var myAjax = new Ajax.Updater(
		whichDiv,
		url+x+y,
		{
			method: 'get'
		});
  }


  function doSearch(objFrm,col1,col2) {
	   if (document.getElementById("p_artist_index").options[document.getElementById("p_artist_index").selectedIndex].innerHTML != "Artist Index") {
		  if (document.getElementById) {
			// this is the way the standards work
			d = document.getElementById(col1);
			d.style.color = 'red';
			d.style.fontWeight = 'bold';
			d = document.getElementById(col2);
			d.style.color = 'red';
			d.style.fontWeight = 'bold';
		  } else if (document.all) {
			// this is the way old msie versions work
			d = document.all[col1];
			d.style.color = 'red';
			d.style.fontWeight = 'bold';
			d = document.all[col2];
			d.style.color = 'red';
			d.style.fontWeight = 'bold';
		  }
		  objFrm.p_artist_index.options.selectedIndex = 0;
		  document.location = '#'+document.getElementById("p_artist_index").options[document.getElementById("p_artist_index").selectedIndex].innerHTML;
	   } else {
        jumpSearch(objFrm);
	   }
    return false;
  }


  function jumpEditDets(objFrm) {
    if (document.getElementById("p_cdno").options[document.getElementById("p_cdno").selectedIndex].innerHTML != "Catalogue No.") {
      location = '/pls/dad_generic/sym_admdets?p_cdnos='+document.getElementById("p_cdno").options[document.getElementById("p_cdno").selectedIndex].innerHTML;
    }
    return false;
  }

  function jumpEditCat(objFrm) {
    if (document.getElementById("p_cdno").options[document.getElementById("p_cdno").selectedIndex].innerHTML != "Catalogue No.") {
      location = '/pls/dad_generic/sym_admcat?p_cdnos='+document.getElementById("p_cdno").options[document.getElementById("p_cdno").selectedIndex].innerHTML;
    }
    return false;
  }


  function jumpSearch(objFrm) {
    if (objFrm.p_title.value != "") {
      location = '/pls/dad_generic/sym_ksearch?p_kword='+objFrm.p_title.value;
    }
    if (document.getElementById("p_artist_index").options[document.getElementById("p_artist_index").selectedIndex].innerHTML != "Artist Index") {
      location = '/pls/dad_generic/sym_artistssrch?p_id='+document.getElementById("p_artist_index").options[document.getElementById("p_artist_index").selectedIndex].value;
    }
    if (document.getElementById("p_cdno").options[document.getElementById("p_cdno").selectedIndex].innerHTML != "Catalogue No.") {
      location = '/pls/dad_generic/sym_cddets?p_cdnos='+document.getElementById("p_cdno").options[document.getElementById("p_cdno").selectedIndex].innerHTML;
    }
    return false;
  }

  function chkSearch(objFrm) {
    if (objFrm.p_title.value != "") {
      location = '/pls/dad_generic/sym_ksearch?p_kword='+objFrm.p_title.value;
      //alert('keyword...');
      //document.qsearchFrm.action='/pls/dad_generic/sym_ksearch';
    }
    if (document.getElementById("p_artist_index").options[document.getElementById("p_artist_index").selectedIndex].value != "") {
      location = '/pls/dad_generic/sym_artistssrch?p_artist_name='+escape(document.getElementById("p_artist_index").options[document.getElementById("p_artist_index").selectedIndex].value);
      //alert('artists...');
      //document.qsearchFrm.action='/pls/dad_generic/sym_artistssrch';
    }
    if (document.getElementById("p_cdno").options[document.getElementById("p_cdno").selectedIndex].value != "") {
      location = '/pls/dad_generic/sym_cddets?p_cdnos='+document.getElementById("p_cdno").options[document.getElementById("p_cdno").selectedIndex].value;
      //alert('cdnos...');
      //document.qsearchFrm.action='/pls/dad_generic/sym_cddets';
    }
    return false;
  }


  // IE version - defunct
  function jumpSearch_works_in_ie_only(objFrm) {
    if (objFrm.p_title.value != "") {
      location = '/pls/dad_generic/sym_ksearch?p_kword='+objFrm.p_title.value;
    }
    if (objFrm.p_artist_index.options[objFrm.p_artist_index.selectedIndex].value != "") {
      location = '/pls/dad_generic/sym_artistssrch?p_artist_name='+objFrm.p_artist_index.options[objFrm.p_artist_index.selectedIndex].value;
    }
    if (objFrm.p_cdno.options[objFrm.p_cdno.selectedIndex].value != "") {
      location = '/pls/dad_generic/sym_cddets?p_cdnos='+objFrm.p_cdno.options[objFrm.p_cdno.selectedIndex].value;
    }
    return false;
  }


  function confDel() { 
	var fRet; 
	fRet = confirm('Are you sure you want to delete?'); 
	if (fRet) {
	  document.editFrm.p_action.value = 'delete';
	  document.editFrm.submit();
	}
  } 


//-->
