jWC(document).ready(function(){hide_msg();jWC('#loading').hide();jWC("#spot_name").autocomplete("/common/ajaxcheckname/check-name.php",{autoFill:false,matchSubset:0,cacheLength:10,width:350,maxItemsToShow:30,delay:400,formatItem:formatItem,minChars:3});setTimeout("hide_msg()",2*1000);});function no_match(q){} function formatItem(row){return'  '+row[0]+'. '+row[1]+'';} function hide_msg(){jWC("#flash_msg").hide();}