    			function search_submit() {
    			            document.search_form.domains.value='';
    			            document.search_form.as_rights.value='';
    			            document.search_form.sitesearch.value='';
    			            if(document.search_form.content[1].checked) {
    			                document.search_form.as_rights.value='(cc_publicdomain|cc_attribute|cc_sharealike|cc_noncommercial|cc_nonderived)';
    			            } else {
    			                document.search_form.domains.value='hk.creativecommons.org';
    			                document.search_form.sitesearch.value='hk.creativecommons.org';
    			            }
    			            return True;
    			        }
function orderby(sel) {
  var url = sel.options[sel.selectedIndex].value;
  if (url.indexOf('http') != 0) {
    url = "/worldwide/" + url;
  }
	  location.href = url;
	}

/* Drop-Down Menu from 
http://wphacks.com/how-to-make-categories-drop-down-menu/

sfHover = function() {
var sfEls = document.getElementById("nav").getElementsByTagName("LI");
for (var i=0; i<sfEls.length; i++) {
sfEls[i].onmouseover=function() {
this.className+=" sfhover";
}
sfEls[i].onmouseout=function() {
this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
}
}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
*/

