if(typeof spoke=="undefined"){this.spoke={version:"0.1",authors:["Timothy Storm"],description:"Object for connecting Struts, Javascript and Service's framework",debug:false};}spoke.body=function(){return document.body||window["docyment"].body||document.getElementsByTagName("body")[0];};spoke.byId=function(a){return document.getElementById(a);
};spoke.$=function(a){return spoke.byId(a);};spoke.children=function(b){try{return spoke.byId(b).getElementsByTagName("*");}catch(a){if(spoke.debug){throw a;}}};spoke.byName=function(a){return document.getElementsByName(a);};spoke.byTagName=function(a){return document.getElementsByTagName(a);};spoke.hasClass=function(d,c){try{var b=spoke.isString(d)?spoke.byId(d):d;
return((" "+b.className+" ").indexOf(" "+c+" ")>=0);}catch(a){if(spoke.debug){throw a;}return false;}};spoke.isString=function(a){return a!==null&&(typeof a=="string"||a instanceof String);};spoke.hasText=function(a){var b=/\w+/;return b.exec(a)!==null;};