var ieUserData={init:function(){this.defaultExps=365;this.input=C("input");this.input.type="hidden";this.input.id="ieuserdata";this.input.addBehavior("#default#userData");document.body.appendChild(this.input);return this},set:function(A,$,B){this.input.load(A);var _=new Date();B=B||this.defaultExps;_.setDate(_.getDate()+B);this.input.load(A);this.input.expires=_.toUTCString();this.input.setAttribute("code",$);this.input.save(A)},get:function($,A){this.input.load($);var A=A||function(){},_=this.input.getAttribute("code");A(_);return _},is:function(_,A){var $=this.get(_);return($!=null&&$!="")?true:false},remove:function($){this.set($,false,-this.defaultExps)}},mozlliaStorage={init:function(){this.domain=getHost();return this},set:function(_,$){window.globalStorage[this.domain].setItem(_,$)},get:function(A,_){var _=_||function(){},$=window.globalStorage[this.domain].getItem(A);_($);return $},is:function(_){var $=this.get(_);return($!=null&&$!="")?true:false},remove:function($){window.globalStorage[this.domain].removeItem($)}},flashStorage=(function(){function D(){var _=document.createElement("span");_.style.position="absolute";_.style.display="block";var $='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="1" height="1" id="GlobalSharedObject">'+'<param name="movie" value="http://www.hao123.com/swf/SwfObject.swf?+'+new Date().getTime()+'" />'+'<param name="quality" value="low" />'+'<param name="flashvars" value="dbName=hao123&callbackName=FlashCallBack" />'+'<param name="wmode" value="transparent" />'+'<param name="swliveconnect" value="true" />'+'<param name="allowScriptAccess" value="always" />'+'<embed src="swf/SwfObject.swf?'+new Date().getTime()+'" flashvars="dbName=hao123&callbackName=FlashCallBack" quality="low" swLiveConnect="true" width="1" height="1" allowScriptAccess="always" wmode="transparent" name="GlobalSharedObject" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>'+"</object>";(document.body||document.documentElement).appendChild(_);_.innerHTML=$}function _(){return Browser.isIE?window.GlobalSharedObject:document.GlobalSharedObject}function C(A,$){var B=_();B.set(A,$)}function B(A,$){var B=_(),$=$||function(){};data=B.get(A);$(data);return data}function $(_){var $=B(_);return($!=undefined&&$!="")?true:false}function A($){C($,"")}return{init:D,set:C,get:B,is:$,remove:A}})(),userCookie={init:function(A,_,$){var $=($!==undefined)?$:365,B=new Date();B.setTime(B.getTime()+(86400*1000*$));this.domain=A||getHost();this.path=_||"/";this.expdate=B;this.time=$;return this},set:function(B,A,_){var $=this.expdate,_=_||this.domain;if(this.time==0)document.cookie=B+"="+A+";path="+this.path+";domain="+_;else document.cookie=B+"="+A+";expires="+$.toGMTString()+";path="+this.path+";domain="+_},get:function(C,A){var $=document.cookie.split(";"),C=C+"=",A=A||function(){};for(var D=0,B=$.length;D<B;D++)if($[D].indexOf(C)!="-1"){var _=$[D].replace(C,"");A(_);return _}A(null);return null},is:function(_){var $=this.get(_);return($!=null&&$!="")?true:false},remove:function(_,$){$=$||this.domain;if(this.is(_))document.cookie=_+"="+((this.path)?"; path="+this.path:"")+((this.domain)?"; domain="+$:"")+"; expires=Thu, 01-Jan-70 00:00:01 GMT"}};if(!window.UserData){var UserData=null,bUseCookie=false;if(Browser.isIE)UserData=ieUserData.init();else if(Browser.isFF)UserData=mozlliaStorage.init();else if(Browser.isFlash){flashStorage.init();UserData=flashStorage}else if(Browser.isCookie){UserData=userCookie.init();bUseCookie=true}else alert("\u5bf9\u4e0d\u8d77\uff0c\u60a8\u7684\u6d4f\u89c8\u5668\u4e0d\u652f\u6301\u6570\u636e\u5b58\u50a8\uff0c\u8bf7\u5f00\u542fCookie\u6216\u5b89\u88c5flash6.0\u4ee5\u4e0a\u7248\u672c\uff01")}