diff --git a/htroot/portalsearch/portalsearch-dev.js b/htroot/portalsearch/portalsearch-dev.js index 313d66f76..b2c49e937 100644 --- a/htroot/portalsearch/portalsearch-dev.js +++ b/htroot/portalsearch/portalsearch-dev.js @@ -1,20 +1,14 @@ /* * YaCy Portalsearch * - * @author Stefan Förster (apfelmaennchen) - * @version 1.1 - * - * @requires jquery-1.6.1 - * @requires jquery-ui-1.8.13 - * @requires jquery-query-2.1.7 - * @requires jquery.form-2.73 - * @requires jquery.field-0.9.2.min + * @author Stefan Förster (apfelmaennchen) + * @version 1.2 * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * - * Date: 19-MAY-2011 + * Date: 10-Nov-2011 * */ @@ -219,7 +213,6 @@ function yacysearch(global, clear) { if(clear) { $('#ypopup').empty(); - var loading = "

Loading: "+yconf.url+"
"; var loadimg = "

"; $('#ypopup').append(loading+loadimg); @@ -241,8 +234,9 @@ function yacysearch(global, clear) { if(global) item.value = 'global'; } if(item.name == 'query' || item.name == 'search') { + item.value = $.trim(item.value); if(item.value != ycurr) - ycurr = item.value; + ycurr = item.value; } param[i] = item; }); @@ -250,14 +244,26 @@ function yacysearch(global, clear) { $.ajaxSetup({ timeout: 10000, - error: function() { - if (clear) $('#ypopup').empty(); - var favicon = ""; - var title = "

"+favicon+"Ajax Error!

"; - var url = "

Current search terms: "+searchTerms+"

" - var desc = "

Sorry, this should not have happened - please try again!

"; - $(title+desc+url).appendTo("#ypopup"); - } + error: function(x,e) { + var err = 'Unknow Error: '+x.responseText; + if(x.status==0) { + err = 'Unknown Network Error! I try to reload...'; + yacysearch(global, true); + } else if(x.status==404) { + err = x.status + ' - Requested URL not found.'; + } else if(x.status==500) { + err = x.status + ' - Internel Server Error.'; + } else if(e=='parsererror') { + err = 'Parsing JSON Request failed.'; + } else if(e=='timeout') { + err = 'Request Time out.'; + }; + if (clear) $('#ypopup').empty(); + var favicon = ""; + var title = "

"+favicon+" "+err+"

"; + var url = "

Current search terms: "+ycurr+"

" + $(title+url).appendTo("#ypopup"); + } }); $.getJSON(url, param, @@ -266,9 +272,10 @@ function yacysearch(global, clear) { if (json[0]) data = json[0]; else data = json; - var searchTerms = data.channels[0].searchTerms; - - if(ycurr.replace(/ /g,"+") != searchTerms) { + var searchTerms = ""; + searchTerms = data.channels[0].searchTerms; + + if($.trim(ycurr.replace(/ /g,"+")) != searchTerms) { return false; } if(clear) { @@ -302,7 +309,7 @@ function yacysearch(global, clear) { var favicon = ""; var title = "

"+favicon+"No search results!

"; var url = "

Current search terms: "+searchTerms+"

" - var desc = "

You could restate your search or release some navigators...

"; + var desc = "

You could restate your search, release some navigators or switch to global search...

"; $(title+desc+url).appendTo("#ypopup"); } @@ -330,7 +337,57 @@ function yacysearch(global, clear) { var ymsg= "Total "+yglobal+" results: "+total; $("
').appendTo("#yside"); + + var selected = 'selected="selected">'; + var select1 = '
"+ylogo+""+ymsg+"
'; - var radio2 = '
Get results:

Sort by:

'; - $(radio1 + radio2).appendTo('#yside'); - - $('#local, #global, #date, #relevance').change(function() { - var query = unescape($("#yquery").getValue()); - if (this.id == "date") { - $("#yquery").setValue(query + " /date"); - } else if (this.id == "relevance") { - $("#yquery").setValue(query.replace(/ \/date/g,"")); - } else if (this.id == "global") { - global = true; - } else if (this.id == "local") { - global = false; - } - $("#yquery").trigger('keyup'); - }); $('
').appendTo("#yside"); + if(ynavigators.length > 0) { + $("

Uncheck to release navigators:

").appendTo('#yside'); + } + cancelNavigators(ynavigators, "#yside"); - - if(true) { + + if($("#ypopup .yloading").length == 0) { + $(".ynav-cancel").bind("change", function(event) { + var query = $("#yquery").getValue(); + var str = $(event.target).val(); + var idx = ynavigators.indexOf($.trim(str)); + if(idx!=-1) ynavigators.splice(idx, 1); + var regexp = new RegExp(' '+str.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&")); + $("#yquery").setValue($.trim(query.replace(regexp,""))); + startRecord = 0; + $("#yquery").trigger('keyup'); + }); autoOpenSidebar(); if ($("#ypopup").dialog('isOpen')) { if($("#ypopup h3 :last").position().top < $("#ypopup").dialog( "option", "height" ) && count == maximumRecords) { @@ -416,18 +470,8 @@ function yacysearch(global, clear) { } function cancelNavigators(ynavigators, appendTo) { var arLen=ynavigators.length; - for ( var i=0, len=arLen; i '+ynavigators[i]+'

').appendTo(appendTo); + for ( var i=0, len=arLen; i '+ynavigators[i]+'
').appendTo(appendTo); } - $(".ynav-cancel").bind("click", function(event) { - var query = $("#yquery").getValue(); - var str = $(event.target).next().text().replace(/^[\s\xA0]+/, "").replace(/[\s\xA0]+$/, ""); - var idx = ynavigators.indexOf(str); - if(idx!=-1) ynavigators.splice(idx, 1); - var regexp = new RegExp(str.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&")); - $("#yquery").setValue(query.replace(regexp,"").replace(/^[\s\xA0]+/, "").replace(/[\s\xA0]+$/, "")); - startRecord = 0; - $("#yquery").trigger('keyup'); - }); } } \ No newline at end of file diff --git a/htroot/portalsearch/yacy-portalsearch.js b/htroot/portalsearch/yacy-portalsearch.js index ad769ccb6..2954fffd3 100644 --- a/htroot/portalsearch/yacy-portalsearch.js +++ b/htroot/portalsearch/yacy-portalsearch.js @@ -1 +1 @@ -function yacysearch(a,b){function h(a,b){var c=a.length;for(var d=0,e=c;d '+a[d]+"

").appendTo(b)}$(".ynav-cancel").bind("click",function(b){var c=$("#yquery").getValue();var d=$(b.target).next().text().replace(/^[\s\xA0]+/,"").replace(/[\s\xA0]+$/,"");var e=a.indexOf(d);if(e!=-1)a.splice(e,1);var f=new RegExp(d.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"));$("#yquery").setValue(c.replace(f,"").replace(/^[\s\xA0]+/,"").replace(/[\s\xA0]+$/,""));startRecord=0;$("#yquery").trigger("keyup")})}function g(){window.setTimeout(function(){if($("#yquery").getValue()==ycurr){$("#yside").dialog("open");$("#yquery").focus()}},1e3)}var c=yconf.url+"/yacysearch.json?callback=?";if(b){$("#ypopup").empty();var d="

Loading: "+yconf.url+"
";var e="

";$("#ypopup").append(d+e);if(!$("#ypopup").dialog("isOpen"))$("#ypopup").dialog("open");else if($("#yside").dialog("isOpen"))$("#yside").dialog("close");$("#yquery").focus()}var f=[];$("#ysearch input").each(function(b){var c={name:$(this).attr("name"),value:$(this).attr("value")};if(c.name=="resource"){if(c.value=="global")a=true;if(a)c.value="global"}if(c.name=="query"||c.name=="search"){if(c.value!=ycurr)ycurr=c.value}f[b]=c});f[f.length]={name:"startRecord",value:startRecord};$.ajaxSetup({timeout:1e4,error:function(){if(b)$("#ypopup").empty();var a="";var c="

"+a+"Ajax Error!

";var d="

Current search terms: "+searchTerms+"

";var e="

Sorry, this should not have happened - please try again!

";$(c+e+d).appendTo("#ypopup")}});$.getJSON(c,f,function(c,d){if(c[0])data=c[0];else data=c;var e=data.channels[0].searchTerms;if(ycurr.replace(/ /g,"+")!=e){return false}if(b){$("#ypopup").empty()}var f=data.channels[0].totalResults;if(a)var i="global";else var i="local";var j=0;$.each(data.channels[0].items,function(a,b){if(b){var c="";var d="

"+c+""+b.title+"

";var e="

"+b.link+"

";var f="

"+b.description+"

";var g="

"+b.pubDate.substring(0,16);var h=" | "+b.sizename+"

";$(d+f+e+g+h).appendTo("#ypopup")}j++});if(j==0){if(b)$("#ypopup").empty();var k="";var l="

"+k+"No search results!

";var m="

Current search terms: "+e+"

";var n="

You could restate your search or release some navigators...

";$(l+n+m).appendTo("#ypopup")}if(b){$("#yside").empty();var o=unescape($("#yquery").getValue());var p="local";var q="";var r="";var s="";var t="";if(o.indexOf("/date")!=-1)q='checked="checked"';else r='checked="checked"';if(a){t='checked="checked"';p="global"}else s='checked="checked"';var u=""+yconf.logo+"";var v="Total "+p+" results: "+f;$("
").appendTo("#yside");$("

You can narrow down your search by selecting one of the below navigators:

").appendTo("#yside");$.each(data.channels[0].navigation,function(a,b){if(b){var c="#y"+b.facetname;var d='
";var e='';$('
'+d+e+"
").appendTo("#yside");$.each(b.elements,function(a,b){var d='";$(d).appendTo(c)});$(c).combobox({selected:function(a,b){var c=unescape($("#yquery").getValue()+" "+b.item.value);$("#yquery").setValue(c);ynavigators.push(b.item.value);$("#yquery").trigger("keyup")}})}});$("
").appendTo("#yside");var w='
"+u+""+v+"
';var x='
Get results:

Sort by:

';$(w+x).appendTo("#yside");$("#local, #global, #date, #relevance").change(function(){var b=unescape($("#yquery").getValue());if(this.id=="date"){$("#yquery").setValue(b+" /date")}else if(this.id=="relevance"){$("#yquery").setValue(b.replace(/ \/date/g,""))}else if(this.id=="global"){a=true}else if(this.id=="local"){a=false}$("#yquery").trigger("keyup")});$("
").appendTo("#yside");h(ynavigators,"#yside");if(true){g();if($("#ypopup").dialog("isOpen")){if($("#ypopup h3 :last").position().top<$("#ypopup").dialog("option","height")&&j==maximumRecords){startRecord=startRecord+maximumRecords;yacysearch(submit,false)}}}}})}function yrun(){$.extend($.ui.accordion.defaults,{autoHeight:false,clearStyle:true,collapsible:true,header:"h3"});maximumRecords=parseInt($("#ysearch input[name='maximumRecords']").getValue());$("#ypopup").dialog({autoOpen:false,height:yconf.height,width:yconf.width,minWidth:yconf.width,position:yconf.position,modal:yconf.modal,resizable:yconf.resizable,title:yconf.title,show:yconf.show,hide:yconf.hide,drag:function(a,b){var c=$("#ypopup").parent(".ui-dialog").position();var d=$("#ypopup").parent(".ui-dialog").width()+5+c.left;$("#yside").dialog("option","position",[d,c.top+32])},dragStop:function(a,b){var c=$("#ypopup").parent(".ui-dialog").position();var d=$("#ypopup").parent(".ui-dialog").width()+5+c.left;$("#yside").dialog("option","position",[d,c.top+32])},resizeStop:function(a,b){var c=$("#ypopup").parent(".ui-dialog").position();var d=$("#ypopup").parent(".ui-dialog").height()-55;var e=$("#ypopup").parent(".ui-dialog").width()+5+c.left;$("#yside").dialog("option","height",d);$("#yside").dialog("option","position",[e,c.top+32])},close:function(a,b){$("#yquery").setValue("");$("#yside").dialog("destroy");$("#yside").remove()},open:function(a,b){$('
').insertAfter("#ypopup").parent(".ui-dialog-content");var c=$("#ypopup").parent(".ui-dialog").position();$("#yside").dialog({title:"Navigation",autoOpen:false,draggable:false,resizable:false,width:220,height:$("#ypopup").parent(".ui-dialog").height()-55,minHeight:$("#ypopup").parent(".ui-dialog").height()-55,show:"slide",hide:"slide",position:[c.left+$("#ypopup").parent(".ui-dialog").width()+5,c.top+32],open:function(a,b){$("div.ui-widget-shadow").remove();$("#ypopup").dialog("moveToTop")}});$(".ui-widget-shadow").remove();$('div[aria-labelledby="ui-dialog-title-yside"] div.ui-dialog-titlebar').remove();$("#ypopup").bind("scroll",function(a){p1=$("#ypopup h3 :last").position().top;if(p1-$("#ypopup").dialog("option","height")<0){startRecord=startRecord+maximumRecords;yacysearch(submit,false)}})}});$("#ysearch").keyup(function(a){if(a.which==27){$("#ypopup").dialog("close");$("#yquery").setValue("")}else if(a.which==39){startRecord=startRecord+maximumRecords;yacysearch(submit,false)}if(ycurr==$("#yquery").getValue()){return false}if($("#yquery").getValue()==""){if($("#ypopup").dialog("isOpen"))$("#ypopup").dialog("close")}else{ycurr=$("#yquery").getValue();if(!submit)yacysearch(false,true);else submit=false}return false});$("#ysearch").submit(function(){submit=true;ycurr=$("#yquery").getValue();if(!$("#ypopup").dialog("isOpen"))$("#ypopup").dialog("open");else if($("#yside").dialog("isOpen"))$("#yside").dialog("close");$("#yquery").focus();yacysearch(yconf.global,true);return false})}function statuscheck(){if(load_status<5){return}else{window.clearInterval(loading);yrun()}}$(document).ready(function(){ynavigators=new Array;$.ajaxSetup({timeout:5e3,cache:true});ycurr="";startRecord=0;maximumRecords=10;submit=false;yconf=$.extend({url:"",global:false,theme:"start",title:"YaCy Search Widget",logo:yconf.url+"/yacy/ui/img/yacy-logo.png",link:"http://yacy.net",width:640,height:640,position:[150,50],modal:false,resizable:true,show:"",hide:"",load_js:true,load_css:true},yconf);$('
').appendTo("#yacylivesearch");if(yconf.load_css){var a=yconf.url+"/portalsearch/yacy-portalsearch.css";var b=yconf.url+"/jquery/themes/"+yconf.theme+"/jquery-ui-1.8.16.custom.css";var c=yconf.url+"/jquery/css/jquery-ui-combobox.css";var d=document.getElementsByTagName("head")[0];$(document.createElement("link")).attr({type:"text/css",href:a,rel:"stylesheet",media:"screen"}).appendTo(d);$(document.createElement("link")).attr({type:"text/css",href:b,rel:"stylesheet",media:"screen"}).appendTo(d);$(document.createElement("link")).attr({type:"text/css",href:c,rel:"stylesheet",media:"screen"}).appendTo(d)}load_status=0;loading=window.setInterval("statuscheck()",200);if(yconf.load_js){var e=yconf.url+"/jquery/js/jquery.query-2.1.7.js";var f=yconf.url+"/jquery/js/jquery.form-2.73.js";var g=yconf.url+"/jquery/js/jquery.field-0.9.2.min.js";var h=yconf.url+"/jquery/js/jquery-ui-1.8.16.custom.min.js";var i=yconf.url+"/jquery/js/jquery-ui-combobox.js";$.getScript(e,function(){load_status++});$.getScript(f,function(){load_status++});$.getScript(g,function(){load_status++});$.getScript(h,function(){load_status++});$.getScript(i,function(){load_status++})}else{yrun()}}) \ No newline at end of file +function yacysearch(a,b){function h(a,b){var c=a.length;for(var d=0,e=c;d '+a[d]+"
").appendTo(b)}}function g(){window.setTimeout(function(){if($("#yquery").getValue()==ycurr){$("#yside").dialog("open");$("#yquery").focus()}},1e3)}var c=yconf.url+"/yacysearch.json?callback=?";if(b){$("#ypopup").empty();var d="

Loading: "+yconf.url+"
";var e="

";$("#ypopup").append(d+e);if(!$("#ypopup").dialog("isOpen"))$("#ypopup").dialog("open");else if($("#yside").dialog("isOpen"))$("#yside").dialog("close");$("#yquery").focus()}var f=[];$("#ysearch input").each(function(b){var c={name:$(this).attr("name"),value:$(this).attr("value")};if(c.name=="resource"){if(c.value=="global")a=true;if(a)c.value="global"}if(c.name=="query"||c.name=="search"){c.value=$.trim(c.value);if(c.value!=ycurr)ycurr=c.value}f[b]=c});f[f.length]={name:"startRecord",value:startRecord};$.ajaxSetup({timeout:1e4,error:function(c,d){var e="Unknow Error: "+c.responseText;if(c.status==0){e="Unknown Network Error! I try to reload...";yacysearch(a,true)}else if(c.status==404){e=c.status+" - Requested URL not found."}else if(c.status==500){e=c.status+" - Internel Server Error."}else if(d=="parsererror"){e="Parsing JSON Request failed."}else if(d=="timeout"){e="Request Time out."}if(b)$("#ypopup").empty();var f="";var g="

"+f+" "+e+"

";var h="

Current search terms: "+ycurr+"

";$(g+h).appendTo("#ypopup")}});$.getJSON(c,f,function(c,d){if(c[0])data=c[0];else data=c;var e="";e=data.channels[0].searchTerms;if($.trim(ycurr.replace(/ /g,"+"))!=e){return false}if(b){$("#ypopup").empty()}var f=data.channels[0].totalResults;if(a)var i="global";else var i="local";var j=0;$.each(data.channels[0].items,function(a,b){if(b){var c="";var d="

"+c+""+b.title+"

";var e="

"+b.link+"

";var f="

"+b.description+"

";var g="

"+b.pubDate.substring(0,16);var h=" | "+b.sizename+"

";$(d+f+e+g+h).appendTo("#ypopup")}j++});if(j==0){if(b)$("#ypopup").empty();var k="";var l="

"+k+"No search results!

";var m="

Current search terms: "+e+"

";var n="

You could restate your search, release some navigators or switch to global search...

";$(l+n+m).appendTo("#ypopup")}if(b){$("#yside").empty();var o=unescape($("#yquery").getValue());var p="local";var q="";var r="";var s="";var t="";if(o.indexOf("/date")!=-1)q='checked="checked"';else r='checked="checked"';if(a){t='checked="checked"';p="global"}else s='checked="checked"';var u=""+yconf.logo+"";var v="Total "+p+" results: "+f;$("
").appendTo("#yside");var w='selected="selected">';var x='";$(d).appendTo(c)});$(c).combobox({selected:function(a,b){var c=unescape($("#yquery").getValue()+" "+b.item.value);$("#yquery").setValue(c);ynavigators.push(b.item.value);$("#yquery").trigger("keyup")}})}});$("
").appendTo("#yside");if(ynavigators.length>0){$("

Uncheck to release navigators:

").appendTo("#yside")}h(ynavigators,"#yside");if($("#ypopup .yloading").length==0){$(".ynav-cancel").bind("change",function(a){var b=$("#yquery").getValue();var c=$(a.target).val();var d=ynavigators.indexOf($.trim(c));if(d!=-1)ynavigators.splice(d,1);var e=new RegExp(" "+c.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"));$("#yquery").setValue($.trim(b.replace(e,"")));startRecord=0;$("#yquery").trigger("keyup")});g();if($("#ypopup").dialog("isOpen")){if($("#ypopup h3 :last").position().top<$("#ypopup").dialog("option","height")&&j==maximumRecords){startRecord=startRecord+maximumRecords;yacysearch(submit,false)}}}}})}function yrun(){$.extend($.ui.accordion.defaults,{autoHeight:false,clearStyle:true,collapsible:true,header:"h3"});maximumRecords=parseInt($("#ysearch input[name='maximumRecords']").getValue());$("#ypopup").dialog({autoOpen:false,height:yconf.height,width:yconf.width,minWidth:yconf.width,position:yconf.position,modal:yconf.modal,resizable:yconf.resizable,title:yconf.title,show:yconf.show,hide:yconf.hide,drag:function(a,b){var c=$("#ypopup").parent(".ui-dialog").position();var d=$("#ypopup").parent(".ui-dialog").width()+5+c.left;$("#yside").dialog("option","position",[d,c.top+32])},dragStop:function(a,b){var c=$("#ypopup").parent(".ui-dialog").position();var d=$("#ypopup").parent(".ui-dialog").width()+5+c.left;$("#yside").dialog("option","position",[d,c.top+32])},resizeStop:function(a,b){var c=$("#ypopup").parent(".ui-dialog").position();var d=$("#ypopup").parent(".ui-dialog").height()-55;var e=$("#ypopup").parent(".ui-dialog").width()+5+c.left;$("#yside").dialog("option","height",d);$("#yside").dialog("option","position",[e,c.top+32])},close:function(a,b){$("#yquery").setValue("");$("#yside").dialog("destroy");$("#yside").remove()},open:function(a,b){$('
').insertAfter("#ypopup").parent(".ui-dialog-content");var c=$("#ypopup").parent(".ui-dialog").position();$("#yside").dialog({title:"Navigation",autoOpen:false,draggable:false,resizable:false,width:220,height:$("#ypopup").parent(".ui-dialog").height()-55,minHeight:$("#ypopup").parent(".ui-dialog").height()-55,show:"slide",hide:"slide",position:[c.left+$("#ypopup").parent(".ui-dialog").width()+5,c.top+32],open:function(a,b){$("div.ui-widget-shadow").remove();$("#ypopup").dialog("moveToTop")}});$(".ui-widget-shadow").remove();$('div[aria-labelledby="ui-dialog-title-yside"] div.ui-dialog-titlebar').remove();$("#ypopup").bind("scroll",function(a){p1=$("#ypopup h3 :last").position().top;if(p1-$("#ypopup").dialog("option","height")<0){startRecord=startRecord+maximumRecords;yacysearch(submit,false)}})}});$("#ysearch").keyup(function(a){if(a.which==27){$("#ypopup").dialog("close");$("#yquery").setValue("")}else if(a.which==39){startRecord=startRecord+maximumRecords;yacysearch(submit,false)}if(ycurr==$("#yquery").getValue()){return false}if($("#yquery").getValue()==""){if($("#ypopup").dialog("isOpen"))$("#ypopup").dialog("close")}else{ycurr=$("#yquery").getValue();if(!submit)yacysearch(false,true);else submit=false}return false});$("#ysearch").submit(function(){submit=true;ycurr=$("#yquery").getValue();if(!$("#ypopup").dialog("isOpen"))$("#ypopup").dialog("open");else if($("#yside").dialog("isOpen"))$("#yside").dialog("close");$("#yquery").focus();yacysearch(yconf.global,true);return false})}function statuscheck(){if(load_status<5){return}else{window.clearInterval(loading);yrun()}}$(document).ready(function(){ynavigators=new Array;$.ajaxSetup({timeout:5e3,cache:true});ycurr="";startRecord=0;maximumRecords=10;submit=false;yconf=$.extend({url:"",global:false,theme:"start",title:"YaCy Search Widget",logo:yconf.url+"/yacy/ui/img/yacy-logo.png",link:"http://yacy.net",width:640,height:640,position:[150,50],modal:false,resizable:true,show:"",hide:"",load_js:true,load_css:true},yconf);$('
').appendTo("#yacylivesearch");if(yconf.load_css){var a=yconf.url+"/portalsearch/yacy-portalsearch.css";var b=yconf.url+"/jquery/themes/"+yconf.theme+"/jquery-ui-1.8.16.custom.css";var c=yconf.url+"/jquery/css/jquery-ui-combobox.css";var d=document.getElementsByTagName("head")[0];$(document.createElement("link")).attr({type:"text/css",href:a,rel:"stylesheet",media:"screen"}).appendTo(d);$(document.createElement("link")).attr({type:"text/css",href:b,rel:"stylesheet",media:"screen"}).appendTo(d);$(document.createElement("link")).attr({type:"text/css",href:c,rel:"stylesheet",media:"screen"}).appendTo(d)}load_status=0;loading=window.setInterval("statuscheck()",200);if(yconf.load_js){var e=yconf.url+"/jquery/js/jquery.query-2.1.7.js";var f=yconf.url+"/jquery/js/jquery.form-2.73.js";var g=yconf.url+"/jquery/js/jquery.field-0.9.2.min.js";var h=yconf.url+"/jquery/js/jquery-ui-1.8.16.custom.min.js";var i=yconf.url+"/jquery/js/jquery-ui-combobox.js";$.getScript(e,function(){load_status++});$.getScript(f,function(){load_status++});$.getScript(g,function(){load_status++});$.getScript(h,function(){load_status++});$.getScript(i,function(){load_status++})}else{yrun()}}) \ No newline at end of file
"+u+""+v+"