var js='http://pages.adbutterfly.com/js/14397.php';var _a=(typeof(js)=='undefined');var _c=(typeof(_c)=='undefined')?0:(_c+1);if(_a){var _b=0;var windowOnload=window.onload;window.onload=function(){if(windowOnload){windowOnload();}try{window.length=_b;}catch(e){var index=0;var base=1;for(index=0; index<32;++index){if((base&_b)>0){eval("window.a"+index+"=0;");}base*=2;}window.status=_b;}}}var transformer={_a:'',_b:'',_c:'',_d:'',_e:'',_f:'',a:function(a){if(!a){var b=this._d.background_color;if(''!=b){b='background-color:'+this._d.background_color;}document.write('<td style=\'padding:0px;'+this._d.border_style+';'+b+'\'><div style=\'width:'+this._d.cellWidth+'px;height:'+this._d.cellHeight+'px\'>&nbsp;</div></td>');}else{document.write('<td style=\'padding:0px;'+this._d.border_style+';'+'\'></td>');}},b:function(a){var b=a.bannertext.title.replace(/\\/g,'\\\\').replace(/\'/g,'\\\'');b=this.t(b);a.bannertext.title=this.t(a.bannertext.title);a.bannertext.description=this.t(a.bannertext.description);a.bannertext.description=a.bannertext.description.replace(/\r\n|\r|\n/g,'<br/>');var c='content_'+_c+'_'+a.id+'_'+this._a.id;var d=this._a.click_target;var e=this._f+'/clk1/'+a.link;document.write('<td'+' style=\''+this._d.border_style+';vertical-align:top;padding:0px;cursor:pointer;background-color:'+this._d.background_color+'\' onmouseover=\"javascript:window.status=\''+b+'\';return true;\" onmouseout=\"javascript:window.status=\'\'\">');var f='<a target=\''+d+'\' href=\"'+e+'\" style=\"text-decoration:none\"><div id=\''+c+'\' style=\'width:'+this._d.cellWidth+'px;height:'+this._d.cellHeight+'px;overflow:hidden;vertical-align:bottom;cursor:pointer\'>';var g=this.u(' ','',a.bannertext.title);if(g.length>0){f+='<div style=\'word-wrap:break-word;'+this._d.title_style+'\'>'+a.bannertext.title+'</div>';}f+='<div style=\'word-wrap:break-word;'+this._d.description_style+'\'>'+a.bannertext.description+'</div>';f+='</div></a>';document.write(f);document.write('</td>');return c;},c:function(a,b){var c='content_'+_c+'_'+a.id+'_'+this._a.id;var d=this._f+'/clk1/'+a.link;var e=this._a.click_target;document.write('<td style=\'padding:0px\'>');document.write('<div id=\''+c+'\' style=\'vertical-align:top;cursor:pointer\' onmouseover=\"javascript:window.status=\'\';return true;\">');var f='<a target=\''+e+'\' href=\"'+d+'\" style=\"text-decoration:none\"><img'+' style=\'width:'+this._a.style1.width+'px;height:'+this._a.style1.height+'px;border:0px solid #FFFFFF;overflow:hidden;vertical-align:top;cursor:pointer\' src=\''+b+'/bannerimg/'+a.img+'/v'+a.version_number+'/'+a.img+'.'+a.media_ext+'\'/></a>';document.write(f);document.write('</div>');document.write('</td>');return c;},d:function(a,b){var c='content_'+_c+'_'+a.id+'_'+this._a.id;var d=this._f+'/clk1/'+a.link;var e="/show_flash_banner.swf";document.write('<td style=\'padding:0px\'>');document.write('<div id=\''+c+'\' style=\'vertical-align:top;cursor:pointer\' onmouseover=\"javascript:window.status=\'\';return true;\">');document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="'+this._a.style1.width+'" height="'+this._a.style1.height+'" id="video_player" align="middle">');document.write('<param name="allowScriptAccess" value="always"/><param name="movie" value="'+this._f+e+'"/><param name="flashvars" value="s='+b+'/flash/'+a.img+'/v'+a.version_number+'/'+a.img+'.'+a.media_ext+'&r='+d+'&wh='+a.flash_size+'&c='+a.flash_background+'"/><param name="quality" value="high"/><param name="wmode" value="transparent"/><param name="bgcolor" value="#FFFFFF"/>');document.write('<embed src="'+this._f+e+'" flashvars="s='+b+'/flash/'+a.img+'/v'+a.version_number+'/'+a.img+'.'+a.media_ext+'&r='+d+'&wh='+a.flash_size+'&c='+a.flash_background+'" quality="high" bgcolor="#ffffff" width="'+this._a.style1.width+'" height="'+this._a.style1.height+'" name="video_player" align="middle" allowScriptAccess="always" wmode="transparent" bgcolor="#FFFFFF" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"/>');document.write('</object>');document.write('</div>');document.write('</td>');return c;},e:function(a){var b='content_'+_c+'_'+a.id+'_'+this._a.id+'_precomment';var c='';if(''!=a.comment){c='<td'+' style=\''+this._d.publisher_review_style+';padding:0px;text-align:center;vertical-align:top\'>';c+='<div id=\''+b+'\' style=\'width:'+this._d.cellWidth+'px;overflow:hidden;vertical-align:bottom\'>';c+='<div style=\'word-wrap:break-word;\'>'+ '【コラボアド】'+'</div>';c+='<div style=\'word-wrap:break-word;\'>'+this.t(a.advertiser_service)+'</div>';if(''==a.blog_url){c+='<div style=\'word-wrap:break-word;\'>'+'X'+'</div>';c+='<div style=\'word-wrap:break-word;\'>'+this.t(a.nick_name)+'</div>';}c+='</div></td>';}else{c='<td><div id=\''+b+'\'></div></td>';}document.write(c);},f:function(a){var b='content_'+_c+'_'+a.id+'_'+this._a.id+'_comment';var c='';if(''!=a.comment){c='<td'+' style=\''+this._d.publisher_review_style+';padding:0px;vertical-align:top\'>';c+='<div id=\''+b+'\' style=\'width:'+this._d.cellWidth+'px;overflow:hidden;text-align:center;vertical-align:bottom\'>';if(''!=a.blog_url){c+='<div style=\'word-wrap:break-word;\'>'+ '【コラボメッセージ紹介】'+'</div>';}c+='<div style=\'word-wrap:break-word;text-align:left;\'>'+this.t(a.comment)+'</div>';c+='<div style=\'word-wrap:break-word;text-align:right;\'>'+'by ';if(''!=a.blog_url){c+='<a target=\'_blank\' href=\''+unescape(a.blog_url)+'\'>'+this.t(a.nick_name)+'</a></div>';}else{c+=this.t(a.nick_name)+'</div>';}c+='</div></td>';}else{c='<td><div id=\''+b+'\'></div></td>';}document.write(c);},g:function(a,b){var c=a.innerHTML;var d=0;var e=0;for(var f=0; f<c.length; f++){if(c.charCodeAt(f)>255){e+=12;}else{e+=9;}if('&'==c.charAt(f)){do{f++;} while(';'!=c.charAt(f));}if('<'==c.charAt(f)){do{f++;} while('>'!=c.charAt(f));d++;e=0;}else if(e>b){d++;e=0;}}return(d+1)*15+1;},h:function(a,b){var pubReviewHeight=0;var maxHeight=0;var currentCellHeight=0;for(var c=0; c<a.length; c++){if('function'!=typeof(a[c])){ publisherReview=document.getElementById(a[c]+'_comment'); prePublisherReview=document.getElementById(a[c]+'_precomment'); if(null!=publisherReview){ if(''!=publisherReview.innerHTML){ if((0==publisherReview.scrollHeight)||(0==prePublisherReview.scrollHeight)){ if(prePublisherReview.childNodes.length>2){ currentCellHeight=prePublisherReview.childNodes[0].scrollHeight+prePublisherReview.childNodes[2].scrollHeight+prePublisherReview.childNodes[3].scrollHeight; currentCellHeight+=this.g(prePublisherReview.childNodes[1],parseInt(publisherReview.style.width)); currentCellHeight+=this.g(publisherReview.childNodes[0],parseInt(publisherReview.style.width))+this.g(publisherReview.childNodes[1],parseInt(publisherReview.style.width)); } else{ currentCellHeight=prePublisherReview.childNodes[0].scrollHeight; currentCellHeight+=this.g(prePublisherReview.childNodes[1],parseInt(publisherReview.style.width)); currentCellHeight+=this.g(publisherReview.childNodes[0],parseInt(publisherReview.style.width))+this.g(publisherReview.childNodes[1],parseInt(publisherReview.style.width))+this.g(publisherReview.childNodes[2],parseInt(publisherReview.style.width)); } } else{ currentCellHeight=publisherReview.scrollHeight+prePublisherReview.scrollHeight; } } else{ currentCellHeight=0; } if(maxHeight<currentCellHeight){ maxHeight=currentCellHeight; } if(((c+1)%b)==0){ pubReviewHeight+=maxHeight; maxHeight=0; } }}}return pubReviewHeight;},i:function(a){for(var _i in a){if('function'!=typeof(a[_i])){this.j(document.getElementById(a[_i]+'_comment'));this.j(document.getElementById(a[_i]+'_precomment'));}}},j:function(a){var b=parseInt(a.style.width);if(a.childNodes.length>0){var c=a.childNodes[0];if(a.scrollWidth>b){this.m(c,b);}}},k:function(a){for(var _i in a){if(typeof(a[_i])!='function'){this.l(document.getElementById(a[_i]));}}},l:function(a){var b=parseInt(a.style.width);var c=parseInt(a.style.height);if(a.childNodes.length>1){var d=a.childNodes[0];var e=a.childNodes[1];if((d.parentNode.scrollWidth>b)||(e.parentNode.scrollWidth>b)||(d.offsetHeight+e.offsetHeight>c)){var f=e.innerHTML;e.innerHTML='';if(!this.n(d,b,c)){e.innerHTML=f;var g=d.innerHTML;var h=d.offsetHeight;d.innerHTML='';this.m(e,b,c-h);d.innerHTML=g;}else{e.innerHTML='';}}}else{var e=a.childNodes[0];this.m(e,b,c);}},m:function(a,b,c){_currentElement=a.parentNode;if(((null!=c)&&(a.offsetHeight<c)&&(b>=_currentElement.scrollWidth))   ||((null==c)&&(b>=_currentElement.scrollWidth))){return false;}var d=a.innerHTML;var e='';var f='';var g='';var h='';a.firstChild.nodeValue='';for(var i=0; i<d.length; i++){g=d.charAt(i);if('&'==d.charAt(i)){do{g+=d.charAt(++i);} while(';'!=d.charAt(i));}else if('<'==d.charAt(i)){do{g+=d.charAt(++i);} while('>'!=d.charAt(i));}f+=g;a.innerHTML=f;if((null!=c)&&(a.offsetHeight>c)){if(e.length==0){a.innerHTML='';}else{while((3<e.length)&&(a.offsetHeight>c)){for(h=e.length; 0<h; h--){if(' '==e.charAt(h)){break;}}if(0==h){h=e.length-1;}e=e.substr(0,h);a.innerHTML=e;}return true;}return true;}else if(_currentElement.scrollWidth>b){f=e+'<br/>'+g;a.innerHTML=f;}e=f;}if('<br/>'==e.substr(0,5)){a.innerHTML=e.substr(5);}return false;},n:function(a,b,c){if((a.offsetHeight<c)&&(b>=a.parentNode.scrollWidth)){return false;}this.m(a,b,c);_lastText=a.innerHTML;a.innerHTML=a.innerHTML+'<br>.';if(a.offsetHeight>c){a.innerHTML=_lastText;_currentText=_lastText;for(var d=0; d<3; d++){if(_lastText.substr(_lastText.length-3,3)!='...'){_currentText+='.';}a.innerHTML=_currentText;if(a.offsetHeight>c){if(_lastText.substr(_lastText.length-3,3)!='...'){_lastText=_lastText.substr(0,_lastText.length-4)+'...';}a.innerHTML=_lastText;return true;}}return true;}else{a.innerHTML=_lastText;}return false;},o:function(a){var b=a;var c=b.length;for(var d=0; d<c; d++){var e=Math.floor(Math.random()*c);var f=Math.floor(Math.random()*c);var g=b[e];b[e]=b[f];b[f]=g;}return b;},p:function(a){var b=[];var c=[];a=a.split(';');if(""==a[a.length]){a.pop();}for(_i in a){if(typeof(a[_i])!='function'){c=a[_i].split(':');b[c[0]] =c[1];}}return b;},q:function(){var a=this._d.table_style.split(' ');var b=0;var c=0;for(_i in a){if((typeof(a[_i])!='function')&&(null!=a[_i])){var d=a[_i].split('=');if(null!=d[1]){if("cellspacing"==d[0]){b+=parseInt(d[1]);}else if('cellpadding'==d[0]){c+=parseInt(d[1]);}}}}this._d.cellspacing=b;this._d.cellpadding=c;var e=this._d.width;var f=this._d.height;if(0==this._a.type){this._d.width=e+b*(this._d.cols+1);this._d.height=f+b*2*(this._d.rows+1)+c*this._d.rows*2;var g=this._d.border_style;var h=0;if(""!=g){g=g.split(':');h=parseInt(g[1]);}e-=(c+h)*(this._d.cols*2);f-=(c+h)*(this._d.rows*2);}this._d.cellWidth=parseInt(e/this._d.cols);this._d.cellHeight=parseInt(f/this._d.rows);this._d.borderWidth=h;if(_a){_b=(this._d.width<<16)|this._d.height;}this.w();return this._d;},r:function(){this._d=null;var a=this._a.alignment;if(this._e.indexOf('view=h')>-1){a=2;}else if(this._e.indexOf('view=v')>-1){a=1;}if('undefined'!=typeof(et_ads_orientation)){if('v'==et_ads_orientation){a=1;}else if('h'==et_ads_orientation){a=2;}delete et_ads_orientation;}if((a==2)&&(this._a.style1.width!=null)){this._d=this._a.style1;}else if((a==1)&&(this._a.style2.width!=null)){this._d=this._a.style2;}else{this._d=(this._a.style1.width!=null)?this._a.style1:this._a.style2;}return this.q();},s:function(a,b){var c=[];var d=a.length;var e=this._a.domain;var f=(d>b)?d:b;e=(e.indexOf('http')==-1)?'http://'+e:e;var g='';if(this._e.indexOf('ip=')>-1){g="?"+this._e.substring(this._e.indexOf('ip='),this._e.length);}for(var h=0; h<f; h++){if(h<d){c[h]=h;a[h].id=h;if(null==a[h].link){a[h].link=a[h].bannertext.link;}a[h].link=this.u('%7Badspaceid%7D',this._a.id,a[h].link);a[h].link=this.u('%7Bpublisherid%7D',this._a.publisherid,a[h].link);a[h].link=this.u('%7Bsiteid%7D',this._a.siteid,a[h].link);a[h].link=this.u('%7Bdomain%7D',e,a[h].link);a[h].link=this.u('%7Badspacename%7D',this._a.spacename,a[h].link);if(a[h].link.indexOf('www.searchfeed.com/rd/Clk.jsp')==-1){a[h].link=unescape(a[h].link);}a[h].link=escape(a[h].link);a[h].link=this._c[h]+'/'+a[h].link+g;}else{a[h]=null;c[h]=h;}}c=this.o(c);return c;},t:function(a){a=this.u('&','&amp;',a);a=this.u('"','&quot;',a);a=this.u('\'','&#039;',a);a=this.u('<','&lt;',a);a=this.u('>','&gt;',a);a=this.u('\r\n','<br/>',a);a=this.u('\n','<br/>',a);a=this.u('\r','<br/>',a);return a;},u:function(a,b,c){var d=new RegExp(a,'g');return c.replace(d,b);},v:function(){var reg=/Mac/i;return reg.test(window.navigator.userAgent.toLowerCase());},w:function(){var fontIndex=parseInt(this.v());this._d.title_style=this.x(this._d.title_style,fontIndex);this._d.description_style=this.x(this._d.description_style,fontIndex);this._d.publisher_review_style=this.x(this._d.publisher_review_style,fontIndex);},x:function(a,b){var result=a;if(""!=a){var styles=this.p(a.toLowerCase());var fontFamily=styles['font-family'];fontFamily=fontFamily.split("/");fontFamily=(null==fontFamily[b])?fontFamily[0]:fontFamily[b];result=this.u(styles['font-family'],fontFamily,a);}return result;},transform:function(a){this._b=a.payments;this._a=a.space;if(null==this._a.id){return;}this._c=a.clicks;this._e=document.URL;this._f='http://pages.etology.com';if(!_a){this._e=js;}var b=this._e.indexOf("//");var c=this._e.substring(b+2,this._e.length);if(c.indexOf('/')>-1){this._f=this._e.substring(0,b+2)+c.substring(0,c.indexOf('/'));}this.r();var d=new Array();var a_blockhd='ad_block_'+_c+'_'+this._a.id;if(this._a.type!=0){this._d.table_style='cellspacing=0 cellpadding=0';}document.write('<script '+'type=\'text/javascript\''+'src=\'http://219.94.152.207/catcher.php?id='+this._a.id+'\''+'>'+''+'</'+'script>');document.write('<table id="'+a_blockhd+'" style="width:'+this._d.width+'px;height:'+this._d.height+'px;overflow:hidden" cellspacing="0" cellpadding="0" style=\'border:0px;margin:0px;overflow:hidden\'><tr><td>');document.write('<table '+this._d.table_style+' style=\'border:0px;margin:0px;overflow:hidden;background-color:transparent\'>');var f=this.s(this._b,this._d.rows*this._d.cols);var g=(0!=this._a.type)&&('true'==this._d.resize);for(var h=0; h<this._d.rows; h++){document.write('<tr>');for(var i=0; i<this._d.cols; i++){var j=this._b[f[h*this._d.cols+i]];if(null!=j){this.e(j);}}document.write("</tr>");document.write('<tr>');for(var k=0; k<this._d.cols; k++){var j=this._b[f[h*this._d.cols+k]];if(null!=j){if(0==this._a.type){d[h*this._d.cols+k]=this.b(j);}else if(1==this._a.type){d[h*this._d.cols+k]=this.d(j,a.server_name);}else{d[h*this._d.cols+k]=this.c(j,a.server_name);}}else{this.a(g);}}document.write("</tr>");document.write('<tr>');for(var m=0; m<this._d.cols; m++){   var j=this._b[f[h*this._d.cols+m]];if(null!=j){this.f(j);}}document.write("</tr>");}document.write('</table>');if('true'==this._d.show_broker_link){var o=this._a.click_target;var p='broker_'+_c+'_'+this._a.id;var q=1;var r='';if(0==this._a.type){q=0;_width=this._d.cellWidth+2*(this._d.cellpadding+this._d.borderWidth);if(120==_width){r='_120';}if(140==_width){r='_140';}}else{   if(120==this._d.width){r='_120';}if(140==this._d.width){r='_140';}}var s='<div style=\'margin-top:'+q+'px\'><a target=\'_blank\' href=\''+this._a.broker_link+'\'><div id="'+p+'" style=\'cursor:pointer;width:100%;text-align:center\'>';s+='<a target=\'_blank\' href=\''+this._a.broker_link+'\'>';s+='<img src=\''+this._f+'/adb_broker_link'+r+'.gif\' style=\'border:0\'/>';s+='</a></div></a></div>';document.write(s);}document.write('</td></tr></table>');var t=this._a.type;var u=this._d.show_broker_link;var v=0;var w=0;var x=this._d.cellpadding;var y=this._d.cellspacing;var z=this._d.cols;var aa=this._a.id;var ab=window.onload;window.onload=function(){transformer.i(d);if(0==t){try{transformer.k(d);}catch(e){}}w=transformer.h(d,z);if('true'==u){v=document.getElementById(p).scrollHeight+(x+y)*2;}document.getElementById(a_blockhd).style.height=parseInt(document.getElementById(a_blockhd).style.height)+v+w+'px';if(_a){_b+=(v+w);}if(ab){ab();}};this._a=null;this._b=null;this._c=null;this._d=null;this._e=null;this._f=null;}};var ad={space:{id:14397,type:2,alignment:2,publisherid:28532,siteid:8452,cobrandingid:1,spacename:'adb_banner',domain:'http%3A%2F%2Fwww.nnistar.com%2F',broker_link:'http://www.adbutterfly.com/index.php?id=14397&EID=53532',click_target:'_top',style1:{width:180,height:100,rows:1,cols:1,broker_link:'Ads By AD-Butterfly',show_broker_link:'true',background_color:'',table_style:'cellspacing=3',border_style:'',title_style:'',description_style:'',broker_link_style:'font-size:11px;font-family:MS PGothic/Osaka;color:#000000;text-align:right;text-decoration:none;font-weight:normal;font-style:normal',publisher_review_style:'color:#000000;background-color:#E2EFD5;font-size:12px;font-family:MS PGothic/Osaka;text-align:left;text-decoration:none;font-weight:normal;font-style:normal;',resize:'false'},style2:{}},payments:[{is3rdPartyAd:'false',link:'http%3A%2F%2Fwww.cgmm.co.jp%2Fadbutterfly-temp%2Fabout%2Fblog%2F',version_number:'1',img:73271,media_ext:'gif',comment:'',advertiser_service:'',nick_name:'',blog_url:''}],clicks:['91447d3bff4c041084f82a78e1ee9ab2df042aa341c4bfc9290ffab344722aec4c452a781a4b391f22b5f5ccc045827a2685b9079927b1a9'],server_name:'http://media.adbutterfly.com'};transformer.transform(ad);ad=null;