(function(F){var registered_ids={},id_to_module_map={},interim_actions={},cleanup_actions={},clicked_ids={},queueing=true;function jsFailBeacon(){var key='flickr.jsfail.fail',title='flickr_js_fail',endpoint='/flanal_event.gne?target='+key+'&title='+title+'&rand='+Math.random();F.jsFail=true;window.setTimeout(function(){if(F.jsFail&&(Math.floor(Math.random()*100)==1)){(new Image()).src=endpoint;}},10000);} F.jsFailBeacon=jsFailBeacon;function register_id(id,callbacks,required_module){id=id.replace('*','.*');registered_ids[id]=true;id_to_module_map[id]=required_module;interim_actions[id]=callbacks.interim;cleanup_actions[id]=callbacks.cleanup;} function rectify_id(actual_id){for(var key_id in registered_ids){if(registered_ids.hasOwnProperty(key_id)&&actual_id.search(key_id)!==-1){return key_id;}} return actual_id;} F.actionQueue={register:function(id,callbacks,required_module){if(id instanceof Array){for(var n=0,len=id.length;n
(function(F){var listeners=[],old_func,enabled=false,graylist=false;var okB=[/AppleWebKit\/([^\s]*)/,/MSIE\s(([^0-7]{1}\.|[0-9]{2})[^;]*)/,/Gecko\/([^\s]*)/,/Opera/];function sniff(){var nav=window.navigator,ua=nav&&nav.userAgent,len=okB.length;if(ua.match(/Mobile/)){return false;} if(ua.match(okB[1])){if(document.documentMode==7){return false;} graylist=true;} if(ua.match(/Version\/[1234][0-9\.\s]+Safari/i)){return false;} for(var i=0;ilen;n++){if(typeof listeners[key_codes[n]]==='function'){func=combine_funcs(listeners[key_codes[n]],func);} listeners[key_codes[n]]=func;}}},detach_all:function(){enabled=false;},detach:function(key_codes){for(var n=0,len=key_codes.length;nlen;i+=1){cookie=cookies[i];while(cookie.charAt(0)===' '){cookie=cookie.substring(1,cookie.length);} if(cookie.indexOf(nameEq)===0){dv_cookie=decode(cookie.substring(nameEq.length,cookie.length));break;}} if(dv_cookie){nameEq=decode(dv_id)+'=';if(dv_cookie.indexOf(nameEq)===-1){return false;} subs=dv_cookie.split('&');for(i=0,len=subs.length;i=smarty_timestamp){if(photo_id){document.cookie='flignoreview='+photo_id+'; expires='+(new Date((new Date()).getTime()+1000*60*5)).toUTCString()+'; path=/; domain=.flickr.com';} w.setTimeout(function(){d.body.style.visibility='hidden';w.location.reload();},0);}}}());(function(){var l,hash_pos,photo_page_regex,path_parts,hash_path_parts,old_id,new_id,url_values,hash_values,new_location,i,len,states,state;l=window.location;hash_pos=l.href.indexOf('#');if(hash_pos===-1){return;} photo_page_regex=/^\/photos\/([^\/]+)\/(\d+)(?:\/in\/([^\/]+))?(?:(?:\/page(\d+))|(?:\/(lightbox))|(?:\/(tour)))?/;path_parts=photo_page_regex.exec(l.pathname);if(!path_parts||!path_parts instanceof Array||!path_parts[1]||!path_parts[2]){return;} old_id=path_parts[2];new_location={hash:l.href.substr(hash_pos),host:l.host,pathname:l.pathname,protocol:l.protocol,search:l.search};if(new_location.hash.substr(1,1)==='/'){new_location.pathname=new_location.hash.substr(1);new_location.search='';new_location.hash='';hash_path_parts=photo_page_regex.exec(new_location.pathname);if(!hash_path_parts||!hash_path_parts instanceof Array||!hash_path_parts[1]||!hash_path_parts[2]){return;} new_id=hash_path_parts[2];} new_location.href=new_location.protocol+'//'+new_location.host+new_location.pathname+new_location.search+new_location.hash;if(new_location.pathname!==l.pathname){if(old_id===new_id){document.cookie='flignoreview='+new_id+'; expires='+(new Date((new Date()).getTime()+1000*60*5)).toUTCString()+'; path=/; domain=.flickr.com';}else{} if(typeof l.replace==='function'){l.replace(new_location.href);}else{l.href=new_location.href;}}}());
(function(){var mod='imageChecker',imgs={},i=0;function stamp(node){return node.id||(node.id=mod+'-'+new Date().getTime()+i++);} F[mod]={load:function(node){imgs[stamp(node)]=true;},error:function(node){imgs[stamp(node)]=false;},check:function(node){return imgs[stamp(node)];}};}());
(function(F){var el,w,d,n,ua,ae,is_away_from_tab,de,disabled=false,assigned_events=false;w=window;d=w.document;n=w.navigator;ua=n&&n.userAgent;var supportsActiveElt=false;if('activeElement'in document){supportsActiveElt=true;} function doF(e,me){if(is_away_from_tab&&e.target===w){is_away_from_tab=false;}else{el=e.target||me;}} function doB(e){if(el!==w&&e.target===w){is_away_from_tab=true;}else{el=undefined;}} function get(){var nt,in_doc;if(supportsActiveElt){el=document.activeElement;}else if(el&&(nt=el.nodeType)){if(d.contains){if((ua&&ua.match(/Opera[\s\/]([^\s]*)/))||nt===1){in_doc=d.contains(el);}else{while(el){if(d===el){in_doc=true;} el=el.parentNode;}}}else if(d.compareDocumentPosition){if(d===el||!!(d.compareDocumentPosition(el)&16)){in_doc=true;}}else{var myEl=el;while(myEl){if(d===myEl){in_doc=true;} myEl=myEl.parentNode;}}} return in_doc?el:undefined;} function isInput(){var n=get(),nn;if(!n){return false;} nn=n.nodeName.toLowerCase();return(nn==='input'||nn==='textarea');} function instrumentInputs(){if(!assigned_events){var i,me,inputs=document.getElementsByTagName('input'),tas=document.getElementsByTagName('textarea'),nInputs=inputs.length,nTextAreas=tas.length;if(nInputs||nTextAreas){for(i=0;inInputs;i++){me=inputs[i];inputs[i].attachEvent('onfocusin',function(e){if(!disabled){doF(e,me);}});} assigned_events=true;}}} function destroy(){disabled=true;if(de=w.removeEventListener){de('focus',doF,true);de('blur',doB,true);}else if(de=d.removeEvent){de('blur',doB);}} function dom_onready(onready_handler){if(typeof onready_handler==='undefined'){return false;} if(document.readyState==='complete'){onready_handler();}else{if(document.addEventListener){DOMContentLoaded=function(){document.removeEventListener('DOMContentLoaded',DOMContentLoaded,false);onready_handler();};}else if(document.attachEvent){DOMContentLoaded=function(){if(document.readyState==='complete'){document.detachEvent('onreadystatechange',DOMContentLoaded);onready_handler();}};} if(document.addEventListener){document.addEventListener('DOMContentLoaded',onready_handler,false);}else if(document.attachEvent){document.attachEvent('onreadystatechange',onready_handler);}}} if(ae=w.addEventListener){ae('focus',doF,true);ae('blur',doB,true);}else if(ae=d.attachEvent){dom_onready(instrumentInputs);ae('onfocusout',doB);} F.focus_tracker={get:get,isInput:isInput,destroy:destroy};}(F));
}('We\'re sorry, Flickr .If you\'d like to view this content, .', 'http://www.flickr.com', true, false));
(function(wipe_msg, root_url, bust_image_search, is_debug) {
$1 per yard fabric from Walmart | Flickr - Photo Sharing!
Комментариев нет:
Отправить комментарий