var text1 = new Array();
text1[0]="<a target='_blank' href='https://textad.net/cgi-bin/redir.cgi?uid=12572&bid=3&site=https://web.fc2.com/fc2html/wordpress.html'><img src='https://storage1000-textad.fc2.com/textad/user12572/eb91f8f1e7e9d94ef76cd0025113bfc3.jpeg' alt='WordPressが使える無料のレンタルサーバー' width='320' height='50' ></a>";
text1[1]="<a target='_blank' href='https://textad.net/cgi-bin/redir.cgi?uid=12572&bid=7&site=https://domain.fc2.com/'><img src='https://storage1000-textad.fc2.com/textad/user12572/bbe8a512a00466e406cde884fa2d3564.jpeg' alt='JPRSが発行する安心と信頼のSSL証明書' width='320' height='50' ></a>";
text1[2]="<a target='_blank' href='https://textad.net/cgi-bin/redir.cgi?uid=12572&bid=1&site=https://contents.fc2.com/?tag=TXpjMk1EY3dOak09&dref=textad_general'><img src='https://storage1000-textad.fc2.com/textad/user12572/668f540669179556b8cfb8e5a9d647f4.jpeg' alt='デジタル商品の売買が誰でも簡単に！' width='320' height='50' ></a>";
text1[3]="<a target='_blank' href='https://textad.net/cgi-bin/redir.cgi?uid=12572&bid=6&site=https://cart.fc2.com/'><img src='https://storage1000-textad.fc2.com/textad/user12572/5c485f00d4b543b30d68813d3ea2d237.jpeg' alt='手数料0円！ノーリスクで始めるネットショップ' width='320' height='50' ></a>";
text1[4]="<a target='_blank' href='https://textad.net/cgi-bin/redir.cgi?uid=12572&bid=5&site=http://domain.fc2.com/ex/'><img src='https://storage1000-textad.fc2.com/textad/user12572/a878e5f07a336ab7afb0c8207a4fed9d.jpeg' alt='かんたん変換JPドメインが、最大2年間無料' width='320' height='50' ></a>";
var n1 = Math.floor(Math.random() * text1.length);
var ua1 = navigator.userAgent;
if('currentScript' in document && 'parentNode' in document.currentScript &&  document.currentScript.parentNode.tagName.toUpperCase() != 'HEAD'){
current = document.currentScript;
current.insertAdjacentHTML('beforebegin','<STYLE>.sys_font1 a{font: 12px Verdana;text-decoration:underline;color: #0000FF;}.sys_font1 a:hover{text-decoration:underline;}#sys1{background-color: #F0F0F0;border: #F0F0F0 1px solid ;position:relative;display: inline-block;}</STYLE><div id="sys1" class="sys_font1">Initializing...</div>');
}else{ document.write('<STYLE>.sys_font1 a{font: 12px Verdana;text-decoration:underline;color: #0000FF;}.sys_font1 a:hover{text-decoration:underline;}#sys1{background-color: #F0F0F0;border: #F0F0F0 1px solid ;position:relative;display: inline-block;}</STYLE><div id="sys1" class="sys_font1">Initializing...</div>');}

  fc2_textad_sys1 = document.getElementById("sys1");
  sys_bg1 = fc2_textad_sys1.style;  fc2_textad_sys1.innerHTML = '';
for (var i = 0; i < text1.length; i++) {
var adsTag = createAdsTag(text1[i]);
fc2_textad_sys1.appendChild(adsTag); }
var allATag_1 = document.querySelectorAll("#sys1 > a");
for (var i = 0; i< allATag_1.length; i++) {
allATag_1[i].style.display = "none"; }  rotate1();function createAdsTag(elementStr) {
var tmp = document.createElement("div");
tmp.innerHTML = elementStr;
return tmp.firstElementChild; }
function refreshImage(imgElement){
var timestamp = new Date().getTime();
var imgURL = imgElement.src.split('&t')[0];
imgElement.src = imgURL + '&t='+ timestamp;  }function rotate1(){
  BgFade1(0x00,0x00,0xFF,0xFF,0xFF,0xFF,10);allATag_1[n1].style.display = "none";  if(n1 < text1.length - 1){n1 ++;}else{n1 = 0;}allATag_1[n1].style.display = "block";
if (allATag_1[n1].children.length == 2) {
let imgPixel = allATag_1[n1].children[1];
refreshImage(imgPixel); }  setTimeout("rotate1()",3000);
}
function BgFade1(red1,grn1,blu1,red2,grn2,blu2,steps){
  sred = red1;
  sgrn = grn1;
  sblu = blu1;
  ered = red2;
  egrn = grn2;
  eblu = blu2;
  inc1 = steps;
  step1 = 0;
  RunFader1();
}
function RunFader1(){
  var epct = step1 / inc1;
  var spct = 1 - epct;
  var backgroundColor = Math.floor(sred*spct+ered*epct)*256*256 + Math.floor(sgrn*spct+egrn*epct)*256 + Math.floor(sblu*spct+eblu*epct);
  sys_bg1.backgroundColor = "#" + ('000000' + backgroundColor.toString(16)).slice(-6);
  if(step1 < inc1){ setTimeout("RunFader1()",50);}else{sys_bg1.backgroundColor="#F0F0F0";}
  step1 ++;
}

