if(typeof SNAP_COM=="undefined"){SNAP_COM={};}SNAP_COM.timer_obj=function(){var t={events:{},on:false,logged:false,el:null,id:null,reset:function(){this.events={};},set_id:function(id){this.id=id;},enabled:function(on){this.on=on?true:false;},mark:function(_4){if(!this.on){return;}this.events[_4]=(new Date()).getTime();},sequence:function(){var i,len,start,marks=[],seq={};if(!this.on){return undefined;}for(i in this.events){if(this.events.hasOwnProperty(i)){marks.push(i);}}var _6=this.events;function mark_sort(a,b){return _6[a]-_6[b];}marks.sort(mark_sort);start=this.events[marks[0]];len=marks.length;for(i=0;i=this.cfg.auto_shot.limit){return _3a;}nv=_3a.nodeValue;nv_last=0;matches=this.autoshot_match(nv);len=matches.length;for(i=0;i10000){_46=10000;}_48+=_46;this.last_partial_check_count=_47;}if(this.first_scan){this.first_scan=false;}else{this.sample();}}this.timer_id.partial=this.later(_48,this.partial_check);this.cfg.partial_check.attempts--;},onload:function(){this.clear_timer("partial");this.cfg.partial_check.attempts=0;this.body_loaded=true;if(this.cfg.rescan_after_load){this.partial_check();}if(!this.div_added){this.add_main_div();}this.shot_scan();this.sample();},get_all_shot_nodes:function(_49,_4a,_4b){var els=_49.getElementsByTagName("*");for(var i=0;i\n\n\n\n\n\n\n\n\n\n\n\n\n
\n\n\n\n\n\n\n\n
\n\n
\n
 
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n \n
\n
\n
\n
\n \n
  
\n \n \n
\n
 
\n
 
\n \n
 
\n
\n \n
\n\n
\n
\n
\n \n \n
\n".replace(/__T_GIF__/g,this.cfg.prefix.cdn_image+"t.gif");this.get_all_shot_nodes(this.div.main,this.div);this.set_css();this.div.flash_overlay.title=this.cfg.text.ClickToPlay;if(this.cfg.size=="large"){this.div.zoom_img.style.display="none";}this.raise_loading_img();this.observe(this.div.bubble,"mouseover",this.rollover);this.observe(this.div.bubble,"mouseout",this.rollout);this.observe(this.div.option_iframe,"mouseover",this.rollover);this.observe(this.div.option_iframe,"mouseout",this.rollout);for(i=0;i(2*_a0/5))?"b":"t";_a3+=(_a1>(_9f/2))?"r":"l";_9c=this.el_prop(_9e,"shot_parent")||_9e;if(!this.el_prop(_9c,"markup")&&!this.is_valid_link(_9c)){return;}if(this.div.main.style.visibility=="visible"){if(this.current_element!=_9c){_9a=_9b;}else{return;}}if(this.div.main.style.visibility=="visible"){this.pre_tmr=new SNAP_COM.timer_obj();this.pre_tmr.enabled(this.tmr_on);this.pre_tmr.mark("mouseover");}else{this.view.id=this.rand_hash(this.cfg.rnd+_a1+_a2);this.view.confirm=true;this.tmr=new SNAP_COM.timer_obj();this.tmr.enabled(this.tmr_on);this.tmr.mark("mouseover");this.tmr.set_id(this.view.id);}var el=this.el_prop(_9e,"shot_parent")||_9e;if(el&&el.className&&el.className.match(/\bsnap_shots?_custom/i)){this.marea.fb_arg="custom";this.marea.call="uf";}else{if(this.div.main.style.visibility!="visible"){this.shot_data=this.get_shot_data(_9e);this.timer_id.prefetch=this.later(this.cfg.delay.prefetch,this.marea_adserver,null);}}this.timer_id.show=this.later(_9a,this.show,_9e,_a3);},show:function(_a5,_a6){var ex;var ey;if((this.cfg.trigger_position=="icon")&&this.el_prop(_a5,"link_icon")){offset=this.getXY(this.el_prop(_a5,"link_icon")||_a5);ex=offset[0];ey=offset[1];}else{ex=this.current_ex;ey=this.current_ey;}var _a9=this.get_shot_data(_a5);if(this.pre_tmr){this.tmr.mark("hide");this.tmr.log(this);this.tmr=this.pre_tmr;this.pre_tmr=undefined;}else{if(!this.tmr){this.tmr=new SNAP_COM.timer_obj();this.tmr.enabled(this.tmr_on);}}this.tmr.mark("show");if(this.div.main.style.visibility=="visible"){this.view.id=this.rand_hash(this.cfg.rnd+ex+ey);this.view.confirm=true;this.tmr.set_id(this.view.id);}if(this.other_bubbles){for(var i=0;i_c5){div.disable_a.style.width=_c4;}else{if(_c5>_c4){div.option_a.style.width=_c5;}}}},hideOptionMenu:function(_c6){var div=this.get_active_div(_c6);div.option_menu.style.visibility="hidden";},changePaletteImg:function(_c8,_c9,_ca){var div=this.get_active_div(_ca);var cfg=this.cfg;if(cfg.palette[_c9]==null){return;}var s=div[_c8].style;s.backgroundColor="transparent";s.backgroundImage="url("+cfg.img.palette+")";s.backgroundPosition=cfg.palette[_c9].loc;s.backgroundRepeat="no-repeat";s.width=cfg.palette[_c9].w+"px";s.height=cfg.palette[_c9].h+"px";},hash32:function(str){var h=5003;str=str.toString();for(var i=0;i>6);}h+=(h<<3);h^=(h>>11);h+=(h<<15);h=Math.abs(h).toString(16);while(h.length<8){h="0"+h;}return h;},rand_hash:function(a){var i,str=["","","",""];a=a.toString()+Math.random()+document.location.href+this.now()+window.navigator.userAgent;for(i=0;imax){url=url.substr(0,max)+"...";}div.url.innerHTML=url;div.url_a.href=_11c.url;div.url_favicon.href=_11c.url;div.url_arrow.href=_11c.url;div.img_a.href=_11c.url;div.url_a.target=_11c.target;div.url_favicon.target=_11c.target;div.url_arrow.target=_11c.target;div.img_a.target=_11c.target;div.url_a.title=cfg.text.GoToURL.replace(/%URL/,url);div.url_favicon.title=cfg.text.GoToURL.replace(/%URL/,url);div.url_arrow.title=cfg.text.GoToURL.replace(/%URL/,url);div.img_a.title=div.url_a.title;},is_preview_url:function(url){if(this.cfg.rich_shot_exceptions!=""){if(url.match(this.rich_shot_exceptions_re)){return true;}}var m=url.match(/\w+:\/\/([^#]*)/);if(m&&m[1].match(this.preview_re)){return false;}return true;},get_inner_text:function(el,_124){var text="";if(el.innerText!==undefined){text=el.innerText;}else{if(el.textContent!==undefined){text=el.textContent;}}if(_124===undefined){return this.trim(text).substr(0);}else{return this.trim(text).substr(0,_124);}},get_shot_data:function(el){var i,j,m,els;var node;var key,val;var svcs=[];var shot={"svc":"","tag":"","url":"","target":"","element":el,"trigger":"","auto":false};if(this.el_prop(el,"is_link_icon")){shot.trigger="icon";}else{shot.trigger="link";}el=this.el_prop(el,"shot_parent")||el;shot.element=el;shot.trigger=(this.el_prop(el,"trigger")=="both"?"both":"only")+"_"+shot.trigger;if(el.href!==undefined){shot.url=el.href;shot.target=el.target;}if(typeof SNAP_COM!="undefined"&&SNAP_COM.translateURL){if(shot.target.toLowerCase()=="_search"){shot.target="_SELF";}shot.url=SNAP_COM.translateURL(shot.url);shot.redir_url=shot.url;}if(this.cfg.redirect_param){regexS="[\\?&]"+this.cfg.redirect_param+"=([^&#]*)";regex=new RegExp(regexS);m=shot.url.match(regex);if(m){shot.redir_url=decodeURIComponent(m[1]);}else{shot.redir_url=shot.url;}}else{shot.redir_url=shot.url;}if(this.el_prop(el,"markup")){if((el.innerText!==undefined)&&el.innerText.length){shot.tag=this.trim(el.innerText).substr(0,500).replace(String.fromCharCode(164),"¤");}else{if(el.textContent!==undefined){shot.tag=this.trim(el.textContent).substr(0,500);}else{shot.tag=this.trim(el.innerHTML).substr(0,500);}}svcs.push(encodeURIComponent(el.className.match(/\bsnap_shots?_\S+/ig).join("|")));node=el.firstChild;while(node){if(node.tagName){m=node.className.match(/\bsnap_shots?_\S+/ig);if(m){key=encodeURIComponent(m.join("|"));val=encodeURIComponent(this.get_inner_text(node,500));svcs.push(key+"="+val);}}node=node.nextSibling;}shot.svc=svcs.join("&");}else{shot.is_preview=this.is_preview_url(shot.redir_url);}if(this.el_prop(el,"auto")){shot.auto=this.el_prop(el,"autoshot_data");}return shot;},set_load_tmr_js:function(el,src){var m;if((m=src.match(/^http:\/\/ad.(doubleclick).net\//))||(m=src.match(/\/(marea).js\?/))){this.set_load_tmr(el,m[1]);}},set_load_tmr:function(el,id){var shot=this;this.tmr.mark(id+"_start");this.observe(el,"load",function(e){shot.tmr.mark(id+"_end");});},confirm_shot_load:function(_133){if(this.view.confirm){this.div.arrow.src=this.cfg.prefix.image+"snip/arrow-contd/"+this.view.id+"/d/"+_133+"/p"+(this.now()-this.view.time)+"/arrow/";}this.view.confirm=false;},rss_check_loaded:function(ev,_135){this.tmr.mark("rss_check_end");var div=this.get_active_div(_135);if(ev.currentTarget){var pi=ev.currentTarget;}else{var pi=ev.srcElement;}if(pi.height==3&&pi.width==6){this.showTopLeftMenu(_135);if(this.cfg.shot_check==1){this.rss_toggle(null,"rss",_135);this.lower_loading_img();this.raise_shot("iframe",_135);if(this.isSafari){this.later(300,this.lower_loading_img);}}else{this.rss_toggle(null,"preview",_135);}}else{if(pi.width==1&&pi.height==2&&this.cfg.shot_check==1){this.view.time=this.now();var _138=this.shot_base+"&view_id="+this.view.id+"&goto="+encodeURIComponent(this.cfg.text.GoToURL);div.preview_img.src=this.cfg.prefix.preview+"preview"+_138+"&direct=1&sc=0";this.view.confirm=true;}else{if(pi.width==1&&pi.height==3&&this.cfg.shot_check==1){this.lower_loading_img();this.raise_shot("iframe",_135);if(this.isSafari){this.later(300,this.lower_loading_img);}}}}},preview_iframe_loaded:function(ev){this.tmr.mark("shot_iframe_end");this.lower_loading_img();},preview_img_loaded:function(ev){this.tmr.mark("preview_end");if(ev.currentTarget){var pi=ev.currentTarget;}else{var pi=ev.srcElement;}if(pi.height<10&&pi.width<10){this.view.confirm=false;}if(pi.height==3&&pi.width==6){this.lower_loading_img();this.raise_shot("iframe");if(this.isSafari){this.later(300,this.lower_loading_img);}}else{if(!pi.src.match(/\/t.gif/)){this.lower_loading_img();}if(pi.height>1&&pi.width>1&&pi.src.indexOf("&vid=nolog")==-1){this.confirm_shot_load("ps");}if(this.div.preview_img.width==274||this.div.preview_img.width==431){var _13c=1;var url=this.div.preview_img.src;var _13e=/retry=(\d+)/;var _13f=url.match(_13e);if(_13f){_13c=Number(_13f[1])+1;url=url.replace(_13e,"retry="+_13c);}else{url+="&retry="+_13c;}if(_13c>this.cfg.retry_interval.length){return;}if(_13c==this.cfg.retry_interval.length){url+="&final=1";}var shot=this;var _141=this.cfg.retry_interval[_13c-1];if(this.retry_url_list[this.div.url_a.href]!=url){this.retry_url_list[this.div.url_a.href]=url;if(this.div.main.style.visibility=="visible"){this.clear_timer("retry");this.timer_id.retry=this.sto(function(){shot.div.preview_img.src=url;},_141);}}}}},link_click:function(ev){var shot=this;var rw=false;var url=this.current_url;switch(ev.type){case "mouseup":var b=0;if(typeof (ev.which)=="number"){b=ev.which;}else{if(typeof (ev.button)=="number"){b=ev.button;}}if((this.isIE&&b==4)||(!this.isIE&&b==2)){rw=true;}break;case "click":rw=true;break;}if(rw){this.tmr.mark("click");this.tmr.log(this);var _147=this.cfg.prefix.preview+"explore/"+Math.floor((Math.random()*100000))+"/?url="+encodeURIComponent(url)+"&key="+this.cfg.key+"&src="+encodeURIComponent(this.cfg.source)+"&cp="+this.cfg.campaign;this.div.url_a.href=_147+"&tol=url";this.div.url_favicon.href=_147+"&tol=url_favicon";this.div.url_arrow.href=_147+"&tol=url_arrow";this.div.img_a.href=_147+"&tol=image";this.sto(function(){shot.div.url_a.href=shot.current_url;shot.div.url_favicon.href=shot.current_url;shot.div.url_arrow.href=shot.current_url;shot.div.img_a.href=shot.current_url;},0);}},sample:function(){var i,n,as,rates=[],as_data=[],as_len=this.cfg.auto_shot.list.length;var r=Math.random();if(this.sampled){return;}this.sampled=true;if(this.cfg.srate){if(this.cfg.srate.main>=r){rates.push("m"+this.cfg.srate.main);}if(this.cfg.auto_shot.list.length&&(this.cfg.srate.auto>=r)){rates.push("a"+this.cfg.srate.auto);}if(this.cfg.auto_shot.inspect){rates.push("i"+this.cfg.srate.inspect);for(i=0;ileft&&_151<_150&&_152>top&&_152<_14f);if(_153){return;}}this.highlight(false);this.hide_delay(null,this.cfg.delay.hide);},title_mouseover:function(ev){this.div.url_a.style.color="#009933";},title_mouseout:function(ev){this.div.url_a.style.color="#003399";},pin:function(_156){var div=this.get_active_div(_156);this.orientation("pin",false,_156);div.pin_close_img.style.display="inline";},destroy_bubble:function(ev,_159){this.other_bubbles[_159].main.style.display="none";this.other_bubbles[_159].current_url=null;this.other_bubbles[_159].current_tag=null;this.other_bubbles[_159].main.parentNode.removeChild(this.other_bubbles[_159].main);},pin_check:function(_15a){this.hideFlashOverlay();this.div.pin_close_img.style.display="none";try{try{var _15b=this.current_url.split("//")[1].split("/")[0];var path=this.current_url.split("//")[1].split("/")[1];var tmp=this.current_url.split("?")[0].split(".");var _15e=tmp[tmp.length-1];}catch(e){}if((_15a.svc&&_15a.svc.indexOf("Snap_Shot_")!=-1&&(_15a.svc.indexOf("Video")!=-1||_15a.svc.indexOf("Audio")!=-1))||(_15b.toLowerCase().indexOf("youtube.com")!=-1&&path.indexOf("v")!=-1&&path.indexOf("view_play_list?")==-1)||(_15b.toLowerCase().indexOf("video.google.com")!=-1&&path.indexOf("videoplay")!=-1)||(_15b.toLowerCase().indexOf("metacafe.com")!=-1&&path.indexOf("watch")!=-1)||(_15b.toLowerCase().indexOf("revver.com")!=-1&&path.indexOf("watch")!=-1)||(_15b.toLowerCase().indexOf("video.xanga.com")!=-1)||(_15b.toLowerCase().indexOf("photobucket.com")!=-1&&this.current_url.indexOf("action=view")!=-1)||(_15b.toLowerCase().indexOf("veoh.com")!=-1&&path.indexOf("videos")!=-1)||(_15b.toLowerCase().indexOf("vids.myspace.com")!=-1)||_15e.toLowerCase()=="mp3"){this.showFlashOverlay();}}catch(e){}},cloneBubble:function(){var shot=this;var node=this.div.main.cloneNode(true);var body=document.getElementsByTagName("body")[0];body.insertBefore(node,this.div.main);var _162=this.other_bubbles.length;this.other_bubbles[_162]=new Object();this.other_bubbles[_162].main=node;this.get_all_shot_nodes(this.other_bubbles[_162].main,this.other_bubbles[_162]);this.other_bubbles[_162].current_url=this.current_url;this.other_bubbles[_162].current_tag=this.current_tag;this.other_bubbles[_162].current_element=this.current_element;this.other_bubbles[_162].current_orientation=this.current_orientation;this.other_bubbles[_162].cfg=this.cfg;var div=this.other_bubbles[_162];this.observe(div["submit"],"click",this.form_submit,_162);this.observe(div["box"],"keydown",this.form_submit,_162);var box=div["box"];this.observe(box,"focus",function(ev){if(box.value===shot.cfg.text.SearchTheWeb){box.value="";}});this.observe(div.rss_check,"load",this.rss_check_loaded,_162);var divs=div.main.getElementsByTagName("input");for(var i=0;ileft&&_179<_178&&_17a>top&&_17a<_177);if(!_17b){this.hide_delay(null,this.cfg.delay.hide);}}if(this.drag_state!="start"){return;}var _17c=div.main;var x=this.pointerX(ev);var y=this.pointerY(ev);x=x-this.dragStartX;y=y-this.dragStartY;var obx=_17c.offsetLeft;var oby=_17c.offsetTop;var _181=obx-0+x;var _182=oby-0+y;var _183=-1*div.bubble.offsetLeft;if(_181<_183){_181=_183;}var _184=-1*div.bubble.offsetTop;if(_182<_184){_182=_184;}_17c.style.left=_181+"px";_17c.style.top=_182+"px";if(_181!=_183){this.dragStartX=this.pointerX(ev);}if(_182!=_184){this.dragStartY=this.pointerY(ev);}if(!ev){var ev=window.event;}ev.cancelBubble=true;if(ev.stopPropagation){ev.stopPropagation();}},dragStop:function(ev){if(this.drag_state!="start"){return;}this.drag_state="off";if(this.dragged_bubble==null){var div=this.div;var cfg=this.cfg;}else{var div=this.other_bubbles[this.dragged_bubble];var cfg=this.other_bubbles[this.dragged_bubble].cfg;}div.drag_overlay.style.left=cfg.css_pos.drag_overlay.x+"px";div.drag_overlay.style.top=cfg.css_pos.drag_overlay.y+"px";div.drag_overlay.style.width=cfg.css_pos.drag_overlay.w+"px";div.drag_overlay.style.height=cfg.css_pos.drag_overlay.h+"px";if(this.dragged_bubble==null){div.preview_img.src=cfg.prefix.cdn_image+"t.gif";div.rss_check.src=cfg.prefix.cdn_image+"t.gif";if(this.isSafari){div.preview.src="about:blank";}this.pinAndClone();}this.dragged_bubble=null;},pointerX:function(_188){return _188.pageX||(_188.clientX+(document.documentElement.scrollLeft||document.body.scrollLeft));},pointerY:function(_189){return _189.pageY||(_189.clientY+(document.documentElement.scrollTop||document.body.scrollTop));},form_submit:function(ev,_18b){var div=this.get_active_div(_18b);var _18d=false;var _18e="bsb";if(div.box.value===this.cfg.text.SearchTheWeb){_18e=this.campaign("defaulttext");if(this.cfg.search_type!="adult"){_18d=true;}}else{if(div.box.value===""){_18e=this.campaign("emptybox");_18d=true;}else{_18e=this.campaign("bsb");}}var _18f=this.cfg.prefix.search+"?source="+encodeURIComponent(this.cfg.source)+"&campaign="+_18e;if(_18d){if(this.cfg.search_type=="image"){_18f+="&query=sunflower";}}else{_18f+="&query="+encodeURIComponent(div.box.value);_18f+="&spa_key="+encodeURIComponent(this.cfg.key);if(this.cfg.search_type=="adult"){_18f+="&spa_adult=1";}}var tg=(window.event)?ev.srcElement:ev.target;if(tg==div.box){var _191=ev.keyCode;if(_191==13){ev.returnValue=false;if(ev.preventDefault){ev.preventDefault();}location.href=_18f;}return;}else{if(tg==div.submit){window.open(_18f,"_blank");ev.returnValue=false;if(ev.preventDefault){ev.preventDefault();}return false;}}},sendPrecrawlList:function(){var _192="?key="+this.cfg.key;for(var i=this.num_precrawl_sent;i1800){break;}_192+="url"+(i+1)+"="+encodeURIComponent(url);}this.num_precrawl_sent=i;_192+="&url_count="+this.thumbnail_precrawl_list.length;this.div.lg.src=this.cfg.prefix.preview+"thumbnail_precrawl.php"+_192;if(this.num_precrawl_sent!=this.thumbnail_precrawl_list.length){this.later(1000,this.sendPrecrawlList);}},logFeatureClick:function(_195){this.div.lg.src=this.cfg.prefix.preview+"halo_proxy.php?feature_type="+_195+"&img=1&r="+this.now();},setPreviewIframeSrc:function(_196,_197){this.tmr.mark("shot_iframe_start");var div=this.get_active_div(_197);if(this.isSafari){if(div.preview){this.later(50,function(){div.preview.src=(_196);});if(this.shot_data&&!this.shot_data.is_preview){this.later(300,this.lower_loading_img);}}}else{if(div.preview.contentWindow){div.preview.contentWindow.location.replace(_196);}}},sto:function(func,_19a){if(this.cfg.flavor=="xanga"){if(window.restrictedSetTimeout){return window.restrictedSetTimeout(func,_19a);}else{return window.setTimeout(func,_19a);}}else{return window.setTimeout(func,_19a);}},needs_png_fix:(navigator.userAgent.match(/msie (5\.5|6)/i)&&navigator.platform=="Win32"),isFirefox:(navigator.userAgent.match(/firefox/i)),isSafari:(/Safari|Konqueror|KHTML/gi).test(navigator.userAgent),isIE:(!this.isSafari&&!navigator.userAgent.match(/opera/gi)&&navigator.userAgent.match(/msie/gi)),isOpera:(navigator.userAgent.match(/Opera/gi)),isWin:(navigator.appVersion.match(/win/gi)),getXY:function(el){var _19c=null;var pos=[];var box,st,sl;if(el.getBoundingClientRect){box=el.getBoundingClientRect();st=Math.max(document.documentElement.scrollTop,document.body.scrollTop);sl=Math.max(document.documentElement.scrollLeft,document.body.scrollLeft);return [box.left+sl,box.top+st];}else{pos=[el.offsetLeft,el.offsetTop];_19c=el.offsetParent;var _19f=(this.getStyle(el,"position")=="absolute");if(_19c!=el){while(_19c){pos[0]+=_19c.offsetLeft;pos[1]+=_19c.offsetTop;if(this.isSafari&&!_19f&&(this.getStyle(_19c,"position")=="absolute")){_19f=true;}_19c=_19c.offsetParent;}}if(this.isSafari&&_19f){pos[0]-=document.body.offsetLeft;pos[1]-=document.body.offsetTop;}}return pos;},getPageX:function(ev){var x=ev.pageX;if(!x&&0!==x){x=ev.clientX||0;if(this.isIE){x+=this._getScrollLeft();if(document.body.clientLeft){x-=document.body.clientLeft;}}}return x;},getPageY:function(ev){var y=ev.pageY;if(y&&document.body.style&&this.getStyle(document.body,"position")=="relative"){y-=10;}if(!y&&0!==y){y=ev.clientY||0;if(this.isIE){y+=this._getScrollTop();if(document.body.clientTop){y-=document.body.clientTop;}}}return y;},_getScrollLeft:function(){return this._getScroll()[1];},_getScrollTop:function(){return this._getScroll()[0];},_getScroll:function(){var dd=document.documentElement,db=document.body;if(dd&&(dd.scrollTop||dd.scrollLeft)){return [dd.scrollTop,dd.scrollLeft];}else{if(db){return [db.scrollTop,db.scrollLeft];}else{return [0,0];}}},getViewportHeight:function(){var _1a5=-1;var mode=document.compatMode;if((mode||this.isIE)&&!this.isOpera){if(mode==="CSS1Compat"){_1a5=document.documentElement.clientHeight;}else{_1a5=document.body.clientHeight;}}else{_1a5=self.innerHeight;}return _1a5;},getViewportWidth:function(){var _1a7=-1;var mode=document.compatMode;if(mode||this.isIE){if(mode==="CSS1Compat"){_1a7=document.documentElement.clientWidth;}else{_1a7=document.body.clientWidth;}}else{_1a7=self.innerWidth;}return _1a7;},getWidth:function(_1a9){var _1aa=parseInt(_1a9.offsetWidth);if(_1a9==document.body||_1a9==document||_1a9==window){return window.getWidth();}else{if(_1a9){var _1aa=parseInt(_1a9.offsetWidth);return (_1aa==0)?parseInt(_1a9.style.width):_1aa;}else{return null;}}},getHeight:function(_1ab){if(_1ab==document.body||_1ab==document||_1ab==window){return window.getHeight();}else{if(_1ab){var _1ac=parseInt(_1ab.offsetHeight);return (_1ac==0)?parseInt(_1ab.style.height):_1ac;}else{return null;}}},getLeft:function(_1ad){return _1ad.offsetLeft;},getRight:function(_1ae){return this.getLeft(_1ae)+this.getWidth(_1ae);},getTop:function(_1af){return _1af.offsetTop;},getBottom:function(_1b0){return this.getTop(_1b0)+this.getHeight(_1b0);},trim:function(str){return str.replace(/^\s*|\s*$/g,"");},getStyle:function(el,_1b3){return el.style[_1b3];},getStyleW3C:function(el,_1b5){var _1b6=null;if(_1b5=="float"){_1b5="cssFloat";}var _1b7=(document.defaultView)?document.defaultView.getComputedStyle(el,""):null;if(_1b7){_1b6=_1b7[_1b5];}return el.style[_1b5]||_1b6;},getStyleIE:function(el,_1b9){switch(_1b9){case "opacity":var val=100;try{val=el.filters["DXImageTransform.Microsoft.Alpha"].opacity;}catch(e){try{val=el.filters("alpha").opacity;}catch(e){}}return val/100;break;case "float":_1b9="styleFloat";default:var _1bb=el.currentStyle?el.currentStyle[_1b9]:null;return (el.style[_1b9]||_1bb);}},AC_AddExtension:function(src,ext){if(src.indexOf("?")!=-1){return src.replace(/\?/,ext+"?");}else{return src+ext;}},AC_Generateobj:function(_1be,_1bf,_1c0){var str="";if(this.isIE&&this.isWin&&!this.isOpera){str+=" ";}str+="";}else{str+="