(function(){var A="undefined";var i=Math;var V=window;var H=document;var FA=(location.protocol.indexOf('https')>-1?"https://":"http://");var R=H.all?true:false;if(typeof(sr_adserver)==A)sr_adserver=FA+"ad.afy11.net/ad?";if(typeof(sr_page_key_1)==A){var EA=new Date();sr_page_key_1=srGetRand();sr_page_key_2=EA.valueOf()/1000;}srValidate();srConstructGraphicAd();function srGetConcordance(F){return '';}function srGetRand(){return i.round(i.random()*100000000);}function srValidate(){if(typeof(sr_adspace_id)==A)sr_adspace_id=0;if(typeof(sr_adspace_width)==A)sr_adspace_width=120;if(typeof(sr_adspace_height)==A)sr_adspace_height=60;if(typeof(sr_adspace_type)==A)sr_adspace_type="";if(typeof(sr_color_back)==A)sr_color_back="#FFFFFF";if(typeof(sr_color_text)==A)sr_color_text="#000000";if(typeof(sr_color_url)==A)sr_color_url="#E15F00";if(typeof(sr_color_title)==A)sr_color_title="#3F66B3";if(typeof(sr_color_border)==A)sr_color_border="#3366CC";if(typeof(sr_ad_new_window)==A)sr_ad_new_window=false;if(typeof(sr_mode)==A)sr_mode=1;if(typeof(sr_popup_type)==A)sr_popup_type=0;if(typeof(sr_popup_interval)==A)sr_popup_interval=1800;if(typeof(sr_disable_ie6_iframe)==A)sr_disable_ie6_iframe=false;if(navigator.appVersion.indexOf("MSIE 6")!=-1&&sr_disable_ie6_iframe!=true){try{if(window.KA!=null)sr_mode=0;}catch(M){sr_mode=0;}}if(sr_color_back==sr_color_text||sr_color_back==sr_color_title){sr_color_back="#FFFFFF";sr_color_text="#000000";sr_color_title="#3F66B3";}}function srConstructGraphicAd(){var Y=sr_mode;if(sr_popup_type!=0){sr_ad_new_window=true;Y=0;}var m=srGetRand();var t=sr_adspace_height;var C=(typeof(encodeURIComponent)==A?IA:encodeURIComponent);var W;if(sr_adspace_type=="graphic")W="2x";else W="1x";W+=sr_adspace_width+"x"+sr_adspace_height;var source=sr_adserver+'asId='+sr_adspace_id+'&sd='+W+'&ct='+srTestCapabilities()+'&enc='+Y+'&sf=0'+'&sfd=0'+'&ynw=0'+'&anw='+(sr_ad_new_window?"1":"0")+'&rand='+m+'&rk1='+sr_page_key_1+'&rk2='+sr_page_key_2+'&pt='+sr_popup_type;if(typeof(sr_custom0)!=A)source+='&c0='+C(sr_custom0);if(typeof(sr_custom1)!=A)source+='&c1='+C(sr_custom1);if(typeof(sr_custom2)!=A)source+='&c2='+C(sr_custom2);if(typeof(sr_custom3)!=A)source+='&c3='+C(sr_custom3);if(typeof(sr_custom4)!=A)source+='&c4='+C(sr_custom4);if(typeof(sr_keyword)!=A)source+='&kd='+C(sr_keyword);if(typeof(sr_widgetspace_id)!=A&&sr_widgetspace_id!=null){source+='&wsId='+sr_widgetspace_id;sr_widgetspace_id=null;}if(typeof(sr_click_count_url)!=A)source+='&trl='+C(sr_click_count_url);if(typeof(sr_second_pass)!=A&&sr_second_pass!=null&&sr_mode!=0&&typeof(sr_callback_data)!=A&&sr_callback_data!=null){source+='&cd='+C(sr_callback_data);sr_callback_data=null;sr_second_pass=null;}if(sr_adspace_type=="text"){source+='&bc='+C(sr_color_back)+'&tc='+C(sr_color_text)+'&uc='+C(sr_color_url)+'&ttc='+C(sr_color_title)+'&bbc='+C(sr_color_border);}if(sr_popup_type!=0){var a=new Date();var j=H.cookie;H.cookie='srtc1=1; path=/;';if(j.indexOf('srtc2=12345')<0&&H.cookie.indexOf('srtc1=1')>=0){a.setTime(a.getTime()+sr_popup_interval*1000);j='srtc2=12345; path=/; expires='+a.toGMTString();if(!R)H.captureEvents(Event.CLICK);DA(H,'click',l,false);sr_popup_window_source=source;}}else if(Y==0)H.write('<iframe height="'+t+'" width="'+sr_adspace_width+'" border="0"  noresize scrolling="no" src="'+source+'" frameborder="0" marginheight="0" marginwidth="0" ></iframe>'+srGetConcordance(1));else H.write('<scr'+'ipt src="'+source+'"></scr'+'ipt>'+srGetConcordance(1));}function srTestCapabilities(){function srControlVersion(){function Z(O){return new ActiveXObject("ShockwaveFlash.ShockwaveFlash"+O);}var D;var L;var M;function f(O){if(!D){try{L=Z(O);D=L.CA("$version");}catch(M){}}}function g(O,s){if(!D){try{L=Z(O);D=s;}catch(M){}}}f(".7");if(!D){try{L=Z(".6");D="WIN 6,0,21,0";L.PA="always";D=L.CA("$version");}catch(M){}}f(".3");g(".3","WIN 3,0,18,0");g("","WIN 2,0,0,11");if(!D)D=-1;return D;}function srGetSwfVer(){var b=navigator;var e=b.appVersion;var K=b.plugins;var o=b.userAgent.toLowerCase();var R=(e.indexOf("MSIE")!=-1)?true:false;var w=(e.toLowerCase().indexOf("win")!=-1)?true:false;var GA=(o.indexOf("opera")!=-1)?true:false;var G=-1;var S="Shockwave Flash";if(K!=null&&K.length>0){if(K[S+" 2.0"]||K[S]){var u=K[S+" 2.0"]?" 2.0":"";var HA=K[S+u].description;G=HA.split(" ")[2].split(".")[0];}}else if(R&&w&&!GA){G=srControlVersion();if(G!=-1)G=G.split(" ")[1].split(",")[0];}return G;}var G=srGetSwfVer();if(G>4)return 15;else return 7;}function DA(Q,c,X,r){if(Q.BA){Q.BA(c,X,r);return true;}else if(Q.z){return Q.z('on'+c,X);}else{Q['on'+c]=X;}}function l(JA){var k=R?event.srcElement:JA.target;try{if(sr_popup_window_source!=null&&(h(k,"A")||h(k,"INPUT"))){n(sr_popup_window_source);sr_popup_window_source=null;}}catch(M){};}function h(N,type){if(N.v.toUpperCase()==type)return true;while(N.p!=null){N=N.p;if(N.v.toUpperCase()==type)return true;}return false;}function n(J){if(navigator.appName=="Netscape"){P=V.open("","_blank","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0");}else{if(R){P=V.open("","","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,left=-1000,top=-1000,height=200,width=200");}};if(P!=null){V.focus();P.resizeTo(720,300);P.moveTo(screen.width/2,screen.height/2);P.location=J;}try{V.event.QA=true;}catch(M){};}function IA(T){var U="";for(F=0;F<T.length;F++){var B=T.charCodeAt(F);if(B==32||B>33&&B<39||B>42&&B<48||B>57&&B<65||B==91||B==93||B==94||B==96||B>122&&B<126)U+=escape(T.charAt(F));else if(B>127)U+="%20";else U+=T.charAt(F);}return U;}})();function srExecute(){}function srDocumentWrite(q){document.write(q);}function srGetAnchor(I){var F=0;if(I.childNodes[F].nodeType==3)F++;return I.childNodes[F].firstChild;}function srNavigate(I,J){if(srGetAnchor(I).target=="_new"){window.open(J);}else{window.top.location=J;}}function srShowStatusI(J){window.status=J;return true;}function srShowStatus(I){window.status=I.friendlyURL;return true;}function srClearStatus(){window.status='';}
