function sip(a,b,c){$.ajax({type:"POST",url:"http://www.hymnal.net/songindex.php/"+a+c,data:{sik:b,type:"search"},dataType:"html",beforeSend:function(){$("#siForm input").attr("disabled",true);$("#searchentries #status").html('<img src="http://www.hymnal.net/images/transparent-loading.gif"/> Loading...')},success:function(d){$("#siForm input").removeAttr("disabled");$("#searchentries #status").text("");$("#main #page #page-in #content").html(d);$("#siinfo").html($("#searchstats").html());return false},error:function(f,e,d){alert("ERROR: response="+f.responseText+", desc="+e+", exceptionobj="+d);return false}})}function sis(){$.ajax({type:"POST",url:$("#siForm").attr("action"),data:{sik:$("#siForm #sik").val(),type:"search"},dataType:"html",beforeSend:function(){$("#siForm input").attr("disabled",true);$("#searchentries #status").html('<img src="http://www.hymnal.net/images/transparent-loading.gif"/> Searching...')},success:function(a){$("#siForm input").removeAttr("disabled");$("#searchentries #status").text("");$("#main #page #page-in #content").html(a);$("#siinfo").html($("#searchstats").html());return false},error:function(c,b,a){alert("ERROR: response="+c.responseText+", desc="+b+", exceptionobj="+a);return false}})}function siReset(){$("#searchentries #status").html('<img src="http://www.hymnal.net/images/transparent-loading.gif"/> Reseting...');location.reload(true)};