/*
 * Compressed by JSA(www.xidea.org)
 */
var FaqeeWeatherService=new Object();FaqeeWeatherService.arg={prefix:"weather_",ip:"",city:"",callback:"",encode:"UTF-8",scriptClientID:"faqee_weather_script"};FaqeeWeatherService.url={stat:"http://www.faqee.com/crm/g_weather.action"};FaqeeWeatherService.script={exeScript:this.prefix+"faqee_script_exescript"};FaqeeWeatherService.createScriptTag=function(){var _=document.getElementsByTagName("head").item(0),$=document.createElement("script");$.src="";$.id=this.script.exeScript;_.appendChild($)};FaqeeWeatherService.exeCode=function(A){if(document.getElementById(this.script.exeScript)){var _=document.getElementById(this.script.exeScript),C=_.parentNode;C.removeChild(_)}var B=document.getElementsByTagName("head").item(0),$=document.createElement("script");$.src=A;$.id=this.script.exeScript;B.appendChild($)};FaqeeWeatherService.report=function(){var $=this.url.stat+"?ip="+this.arg.ip;$=$+"&city="+this.arg.city;$=$+"&encode="+this.arg.encode;$=$+"&callback="+this.arg.callback;$=$+"&t="+new Date();this.exeCode($)};FaqeeWeatherService.init=function(){var $=document.getElementById(this.arg.scriptClientID).src;this.arg.ip=this.getQueryString($,"ip");this.arg.city=this.getQueryString($,"city");this.arg.city=encodeURIComponent(this.arg.city);this.arg.city=encodeURIComponent(this.arg.city);this.arg.encode=this.getQueryString($,"encode");this.arg.callback=this.getQueryString($,"callback");this.createScriptTag();this.report()};FaqeeWeatherService.getQueryString=function($,A){var _=new RegExp("(^|\\?|&)"+A+"=([^&]*)(\\s|&|$)","i");if(_.test($))return RegExp.$2;return""}