

	function YahooSearch(source,lan,loc,count,offset,type,query,callbackFunction){
		this.url="http://boss.yahooapis.com/ysearch/";
		this.appKey="BSxGLQjV34EN3qyEyR6fPWt8.YopZD.JXOEF4pdhFZeIODJF7KG9f.gaaTAY";
		this.format="json";
		this.params="&abstract=long&view=delicious_toptags,keyterms,delicious_saves,searchmonkey_feed";
		this.location=loc;
		this.language=lan;
		this.source=source;
		this.callback=callbackFunction;
		this.start=offset;
		this.count=count;
		this.language=lan;
		this.location=loc
		this.query=query;
		
	}
	YahooSearch.prototype.getWebUrl=function(){
		var otherParams="&start="+this.start + "&count=" + this.count + "&region=" + this.location + "&lang=" + this.language;
		if(this.format=="json"){
			otherParams=otherParams+"&format=json&callback="+this.callback;
		}
		else{
			otherParams=otherParams+"&format=xml";
		}
		
		result=this.url + this.source + "/v1/"+this.query+"?appid="+this.appKey+otherParams+this.params;
		
		return result;
		
	}
	
