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 _3c;}nv=_3c.nodeValue;nv_last=0;matches=this.autoshot_match(nv);len=matches.length;for(i=0;i10000){_48=10000;}_4a+=_48;this.last_partial_check_count=_49;}if(this.first_scan){this.first_scan=false;}else{this.sample();}}this.timer_id.partial=this.later(_4a,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(_4b,_4c,_4d){var els=_4b.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*_a2/5))?"b":"t";_a5+=(_a3>(_a1/2))?"r":"l";_9e=this.el_prop(_a0,"shot_parent")||_a0;if(!this.el_prop(_9e,"markup")&&!this.is_valid_link(_9e)){return;}if(this.div.main.style.visibility=="visible"){if(this.current_element!=_9e){_9c=_9d;}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);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(_a0,"shot_parent")||_a0;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(_a0);this.timer_id.prefetch=this.later(this.cfg.delay.prefetch,this.marea_adserver,null);}}this.timer_id.show=this.later(_9c,this.show,_a0,_a5);},show:function(_a7,_a8){var ex;var ey;if((this.cfg.trigger_position=="icon")&&this.el_prop(_a7,"link_icon")){offset=this.getXY(this.el_prop(_a7,"link_icon")||_a7);ex=offset[0];ey=offset[1];}else{ex=this.current_ex;ey=this.current_ey;}var _ab=this.get_shot_data(_a7);if(this.pre_tmr){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(_ab.url);this.tmr.set_id(this.view.id);}if(this.other_bubbles){for(var i=0;i_c7){div.disable_a.style.width=_c6;}else{if(_c7>_c6){div.option_a.style.width=_c7;}}}},hideOptionMenu:function(_c8){var div=this.get_active_div(_c8);div.option_menu.style.visibility="hidden";},changePaletteImg:function(_ca,_cb,_cc){var div=this.get_active_div(_cc);var cfg=this.cfg;if(cfg.palette[_cb]==null){return;}var s=div[_ca].style;s.backgroundColor="transparent";s.backgroundImage="url("+cfg.img.palette+")";s.backgroundPosition=cfg.palette[_cb].loc;s.backgroundRepeat="no-repeat";s.width=cfg.palette[_cb].w+"px";s.height=cfg.palette[_cb].h+"px";},rand_hash:function(a){var h=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],b=document.location.href,c=[],d=0,i;if(!a){a="";}while(a.length<32){a+=this.now();}while(b.length<32){b+=this.now();}var c=[];for(i=0;i<32;++i){d=a.charCodeAt(i)^b.charCodeAt(i)^(15*Math.random());c[i]=h[d&15];}return c.join("");},raise_shot:function(_d3,_d4){var div=this.get_active_div(_d4);var _d6="hidden",iframe="";if(_d3=="preview"){_d6="";iframe="hidden";}div.preview.style.visibility=iframe;div.preview_img.style.visibility=_d6;div.url_a.style.visibility=_d6;},show_shot:function(_d7,_d8,_d9){var url,fragment,max,shot_url,shot_base,b,bimg,burl,cp,rand_rate,is_custom_shot=false;var div=this.get_active_div(_d8);var cfg=this.get_active_cfg(_d8);var _dd=0,shot=this,imgs=_d7.element.getElementsByTagName("img");for(var i=0;imax){url=url.substr(0,max)+"...";}div.url.innerHTML=url;div.url_a.href=_11b.url;div.url_favicon.href=_11b.url;div.url_arrow.href=_11b.url;div.img_a.href=_11b.url;div.url_a.target=_11b.target;div.url_favicon.target=_11b.target;div.url_arrow.target=_11b.target;div.img_a.target=_11b.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,_123){var text="";if(el.innerText!==undefined){text=el.innerText;}else{if(el.textContent!==undefined){text=el.textContent;}}if(_123===undefined){return this.trim(text).substr(0);}else{return this.trim(text).substr(0,_123);}},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(_132){if(this.view.id){this.div.arrow.src=this.cfg.prefix.image+"snip/arrow-contd/"+this.view.id+"/d/"+_132+"/p"+(this.now()-this.view.time)+"/arrow/";}this.view.id=null;},rss_check_loaded:function(ev,_134){this.tmr.mark("rss_check_end");var div=this.get_active_div(_134);if(ev.currentTarget){var pi=ev.currentTarget;}else{var pi=ev.srcElement;}if(pi.height==3&&pi.width==6){this.showTopLeftMenu(_134);if(this.cfg.shot_check==1){this.rss_toggle(null,"rss",_134);this.lower_loading_img();this.raise_shot("iframe",_134);if(this.isSafari){this.later(300,this.lower_loading_img);}}else{this.rss_toggle(null,"preview",_134);}}else{if(pi.width==1&&pi.height==2&&this.cfg.shot_check==1){this.view.time=this.now();var _137=this.shot_base+"&view_id="+this.view.id+"&goto="+encodeURIComponent(this.cfg.text.GoToURL);div.preview_img.src=this.cfg.prefix.preview+"preview"+_137+"&direct=1&sc=0";}else{if(pi.width==1&&pi.height==3&&this.cfg.shot_check==1){this.lower_loading_img();this.raise_shot("iframe",_134);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==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 _13b=1;var url=this.div.preview_img.src;var _13d=/retry=(\d+)/;var _13e=url.match(_13d);if(_13e){_13b=Number(_13e[1])+1;url=url.replace(_13d,"retry="+_13b);}else{url+="&retry="+_13b;}if(_13b>this.cfg.retry_interval.length){return;}if(_13b==this.cfg.retry_interval.length){url+="&final=1";}var shot=this;var _140=this.cfg.retry_interval[_13b-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;},_140);}}}}},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){var _146=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=_146+"&tol=url";this.div.url_favicon.href=_146+"&tol=url_favicon";this.div.url_arrow.href=_146+"&tol=url_arrow";this.div.img_a.href=_146+"&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&&_150<_14f&&_151>top&&_151<_14e);if(_152){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(_155){var div=this.get_active_div(_155);this.orientation("pin",false,_155);div.pin_close_img.style.display="inline";},destroy_bubble:function(ev,_158){this.other_bubbles[_158].main.style.display="none";this.other_bubbles[_158].current_url=null;this.other_bubbles[_158].current_tag=null;this.other_bubbles[_158].main.parentNode.removeChild(this.other_bubbles[_158].main);},pin_check:function(_159){this.hideFlashOverlay();this.div.pin_close_img.style.display="none";try{try{var _15a=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 _15d=tmp[tmp.length-1];}catch(e){}if((_159.svc&&_159.svc.indexOf("Snap_Shot_")!=-1&&(_159.svc.indexOf("Video")!=-1||_159.svc.indexOf("Audio")!=-1))||(_15a.toLowerCase().indexOf("youtube.com")!=-1&&path.indexOf("v")!=-1&&path.indexOf("view_play_list?")==-1)||(_15a.toLowerCase().indexOf("video.google.com")!=-1&&path.indexOf("videoplay")!=-1)||(_15a.toLowerCase().indexOf("metacafe.com")!=-1&&path.indexOf("watch")!=-1)||(_15a.toLowerCase().indexOf("revver.com")!=-1&&path.indexOf("watch")!=-1)||(_15a.toLowerCase().indexOf("video.xanga.com")!=-1)||(_15a.toLowerCase().indexOf("photobucket.com")!=-1&&this.current_url.indexOf("action=view")!=-1)||(_15a.toLowerCase().indexOf("veoh.com")!=-1&&path.indexOf("videos")!=-1)||(_15a.toLowerCase().indexOf("vids.myspace.com")!=-1)||_15d.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 _161=this.other_bubbles.length;this.other_bubbles[_161]=new Object();this.other_bubbles[_161].main=node;this.get_all_shot_nodes(this.other_bubbles[_161].main,this.other_bubbles[_161]);this.other_bubbles[_161].current_url=this.current_url;this.other_bubbles[_161].current_tag=this.current_tag;this.other_bubbles[_161].current_element=this.current_element;this.other_bubbles[_161].current_orientation=this.current_orientation;this.other_bubbles[_161].cfg=this.cfg;var div=this.other_bubbles[_161];this.observe(div["submit"],"click",this.form_submit,_161);this.observe(div["box"],"keydown",this.form_submit,_161);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,_161);var divs=div.main.getElementsByTagName("input");for(var i=0;ileft&&_178<_177&&_179>top&&_179<_176);if(!_17a){this.hide_delay(null,this.cfg.delay.hide);}}if(this.drag_state!="start"){return;}var _17b=div.main;var x=this.pointerX(ev);var y=this.pointerY(ev);x=x-this.dragStartX;y=y-this.dragStartY;var obx=_17b.offsetLeft;var oby=_17b.offsetTop;var _180=obx-0+x;var _181=oby-0+y;var _182=-1*div.bubble.offsetLeft;if(_180<_182){_180=_182;}var _183=-1*div.bubble.offsetTop;if(_181<_183){_181=_183;}_17b.style.left=_180+"px";_17b.style.top=_181+"px";if(_180!=_182){this.dragStartX=this.pointerX(ev);}if(_181!=_183){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(_187){return _187.pageX||(_187.clientX+(document.documentElement.scrollLeft||document.body.scrollLeft));},pointerY:function(_188){return _188.pageY||(_188.clientY+(document.documentElement.scrollTop||document.body.scrollTop));},form_submit:function(ev,_18a){var div=this.get_active_div(_18a);var _18c=false;var _18d="bsb";if(div.box.value===this.cfg.text.SearchTheWeb){_18d=this.campaign("defaulttext");if(this.cfg.search_type!="adult"){_18c=true;}}else{if(div.box.value===""){_18d=this.campaign("emptybox");_18c=true;}else{_18d=this.campaign("bsb");}}var _18e=this.cfg.prefix.search+"?source="+encodeURIComponent(this.cfg.source)+"&campaign="+_18d;if(_18c){if(this.cfg.search_type=="image"){_18e+="&query=sunflower";}}else{_18e+="&query="+encodeURIComponent(div.box.value);_18e+="&spa_key="+encodeURIComponent(this.cfg.key);if(this.cfg.search_type=="adult"){_18e+="&spa_adult=1";}}var tg=(window.event)?ev.srcElement:ev.target;if(tg==div.box){var _190=ev.keyCode;if(_190==13){ev.returnValue=false;if(ev.preventDefault){ev.preventDefault();}location.href=_18e;}return;}else{if(tg==div.submit){window.open(_18e,"_blank");ev.returnValue=false;if(ev.preventDefault){ev.preventDefault();}return false;}}},sendPrecrawlList:function(){var _191="?key="+this.cfg.key;for(var i=this.num_precrawl_sent;i1800){break;}_191+="url"+(i+1)+"="+encodeURIComponent(url);}this.num_precrawl_sent=i;_191+="&url_count="+this.thumbnail_precrawl_list.length;this.div.lg.src=this.cfg.prefix.preview+"thumbnail_precrawl.php"+_191;if(this.num_precrawl_sent!=this.thumbnail_precrawl_list.length){this.later(1000,this.sendPrecrawlList);}},logFeatureClick:function(_194){this.div.lg.src=this.cfg.prefix.preview+"halo_proxy.php?feature_type="+_194+"&img=1&r="+this.now();},setPreviewIframeSrc:function(_195,_196){this.tmr.mark("shot_iframe_start");var div=this.get_active_div(_196);if(this.isSafari){if(div.preview){this.later(50,function(){div.preview.src=(_195);});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(_195);}}},sto:function(func,_199){if(this.cfg.flavor=="xanga"){if(window.restrictedSetTimeout){return window.restrictedSetTimeout(func,_199);}else{return window.setTimeout(func,_199);}}else{return window.setTimeout(func,_199);}},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 _19b=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];_19b=el.offsetParent;var _19e=(this.getStyle(el,"position")=="absolute");if(_19b!=el){while(_19b){pos[0]+=_19b.offsetLeft;pos[1]+=_19b.offsetTop;if(this.isSafari&&!_19e&&(this.getStyle(_19b,"position")=="absolute")){_19e=true;}_19b=_19b.offsetParent;}}if(this.isSafari&&_19e){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 _1a4=-1;var mode=document.compatMode;if((mode||this.isIE)&&!this.isOpera){if(mode==="CSS1Compat"){_1a4=document.documentElement.clientHeight;}else{_1a4=document.body.clientHeight;}}else{_1a4=self.innerHeight;}return _1a4;},getViewportWidth:function(){var _1a6=-1;var mode=document.compatMode;if(mode||this.isIE){if(mode==="CSS1Compat"){_1a6=document.documentElement.clientWidth;}else{_1a6=document.body.clientWidth;}}else{_1a6=self.innerWidth;}return _1a6;},getWidth:function(_1a8){var _1a9=parseInt(_1a8.offsetWidth);if(_1a8==document.body||_1a8==document||_1a8==window){return window.getWidth();}else{if(_1a8){var _1a9=parseInt(_1a8.offsetWidth);return (_1a9==0)?parseInt(_1a8.style.width):_1a9;}else{return null;}}},getHeight:function(_1aa){if(_1aa==document.body||_1aa==document||_1aa==window){return window.getHeight();}else{if(_1aa){var _1ab=parseInt(_1aa.offsetHeight);return (_1ab==0)?parseInt(_1aa.style.height):_1ab;}else{return null;}}},getLeft:function(_1ac){return _1ac.offsetLeft;},getRight:function(_1ad){return this.getLeft(_1ad)+this.getWidth(_1ad);},getTop:function(_1ae){return _1ae.offsetTop;},getBottom:function(_1af){return this.getTop(_1af)+this.getHeight(_1af);},trim:function(str){return str.replace(/^\s*|\s*$/g,"");},getStyle:function(el,_1b2){return el.style[_1b2];},getStyleW3C:function(el,_1b4){var _1b5=null;if(_1b4=="float"){_1b4="cssFloat";}var _1b6=(document.defaultView)?document.defaultView.getComputedStyle(el,""):null;if(_1b6){_1b5=_1b6[_1b4];}return el.style[_1b4]||_1b5;},getStyleIE:function(el,_1b8){switch(_1b8){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":_1b8="styleFloat";default:var _1ba=el.currentStyle?el.currentStyle[_1b8]:null;return (el.style[_1b8]||_1ba);}},AC_AddExtension:function(src,ext){if(src.indexOf("?")!=-1){return src.replace(/\?/,ext+"?");}else{return src+ext;}},AC_Generateobj:function(_1bd,_1be,_1bf){var str="";if(this.isIE&&this.isWin&&!this.isOpera){str+=" ";}str+="";}else{str+="-->
Site hosted by Angelfire.com: Build your free website today!