忍者ブログ
箱根温泉箱根湯本温泉の人気温泉・ホテル・宿泊施設の紹介

* admin *  * write *

[148]  [145]  [144]  [139]  [131]  [126]  [125]  [124]  [123]  [122]  [121

<<08 * 09/1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30  *  10>>
スポンサードリンク


×

[PR]上記の広告は3ヶ月以上新規記事投稿のないブログに表示されています。新しい記事を書く事で広告が消えます。

スポンサードリンク








';

// alert(ads);

var adArea = document.getElementById('grokBodyAdContainer');

if (adArea) {

if (ads != '') {

var iframe = document.createElement("iframe");

//iframe setting

var att = document.createAttribute("width");

att.nodeValue="100%";

iframe.setAttributeNode(att);

var att = document.createAttribute("height");

att.nodeValue="250";

iframe.setAttributeNode(att);

var att = document.createAttribute("scrolling");

att.nodeValue="no";

iframe.setAttributeNode(att);

var att = document.createAttribute("allowtransparency");

att.nodeValue="true";

iframe.setAttributeNode(att);

var att = document.createAttribute("frameborder");

att.nodeValue="0";

iframe.setAttributeNode(att);

var att = document.createAttribute("marginwidth");

att.nodeValue="0";

iframe.setAttributeNode(att);

var att = document.createAttribute("marginheight");

att.nodeValue="0";

iframe.setAttributeNode(att);

var att = document.createAttribute("vspace");

att.nodeValue="0";

iframe.setAttributeNode(att);

var att = document.createAttribute("hspace");

att.nodeValue="0";

iframe.setAttributeNode(att);

adArea.appendChild(iframe);

if (document.all) {

var iframedoc = iframe.contentWindow.document;

} else {

var iframedoc = iframe.contentDocument;

}

// adArea.innerHTML = ads;

var html ='';

html+= '';

html+= '';

html+= '';

html+= '';

html+= 'JUGEM AD';

html+= ''+ ads + css +'';

iframedoc.open();

iframedoc.write(html);

iframedoc.close();

adArea.style.display = 'block';

} else {

adArea.style.display = 'none';

}

}

};

showAdsImage = function() {

// alert('showAdsImage');

var adArea = document.getElementById('grokSideAdContainer');

var html='';

if (adArea) {

adArea.innerHTML=html;

adArea.style.display = 'block';

} else {

adArea.style.display = 'none';

}

};

showFoo = function() {

// alert('foo');

};

if (typeof(this.logicControllString) == 'undefined') {

return this.loadAdTimeOut();

} else if (this.logicControllString == 'active') {

// alert('active');

var sideStartIndex = 6;

var sideEndIndex = sideStartIndex + (6 * this.sideAdMax);

showAdsSideBar(adData, sideStartIndex, sideEndIndex);

} else if (this.logicControllString == 'inactive') {

// alert('inactive');

var bodyStartIndex = 6;

var bodyEndIndex = bodyStartIndex + (6 * this.bodyAdMax);

showAdsBody(adData, bodyStartIndex, bodyEndIndex);

var sideStartIndex = bodyEndIndex;

var sideEndIndex = sideStartIndex + (6 * this.sideAdMax);

showAdsSideBar(adData, sideStartIndex, sideEndIndex);

} else if (this.logicControllString == 'image') {

// alert('image');

showAdsImage();

} else if (this.logicControllString == 'inactive-image') {

// alert('inactive-image');

var bodyStartIndex = 6;

var bodyEndIndex = bodyStartIndex + (6 * this.bodyAdMax);

showAdsBody(adData, bodyStartIndex, bodyEndIndex);

showAdsImage();

} else if (this.logicControllString == 'foo') {

return showFoo();

} else {

//

}

};

Grok.Custom.prototype.ngAd = function() {

this.setStatus('ngAd');

this.grokData = undefined;

this.switchAd();

};

Grok.Custom.prototype.loadAdDataTimeOut = function() {

this.setStatus('loadAdDataTimeOut');

var bodyAdArea = document.getElementById('grokBodyAdContainer');

if (bodyAdArea) {

bodyAdArea.style.display = 'none';

}

var sideAdArea = document.getElementById('grokSideAdContainer');

if (sideAdArea) {

sideAdArea.style.display = 'none';

}

};

// make instance

Grok.Jugem = new Grok.Custom('Grok.Jugem')

Grok.Jugem.logicControllString = 'active';

// add listener

Grok.Util.addListener(window, 'load', function() {

Grok.Jugem.invoke();

});

//-->

箱根温泉の予約なら





PR
この記事にコメントする
お名前
タイトル
文字色
メールアドレス
URL
コメント
パスワード   Vodafone絵文字 i-mode絵文字 Ezweb絵文字

管理人のみ閲覧可能にする    
この記事へのトラックバック
この記事にトラックバックする:
ブログ内検索
あわせて読みたい
あわせて読みたいブログパーツ
Yahoo ログール
trackword
最新記事
(03/04)
(03/04)
(03/04)
(03/04)
(03/04)
最新TB
最新CM
[09/01 むらた]
プロフィール
HN:
箱根温泉大好き!
性別:
非公開
powered by NINJA TOOLS // appeal: 忍者ブログ / [PR]

template by ゆきぱんだ  //  Copyright: 箱根温泉箱根湯本温泉の宿 All Rights Reserved