var le = document.referrer.length;
var re = document.referrer;
var dom;
dom = re.indexOf("tabi-nz.com");  // リファラにtabi-nz.comが含まれるかどうかチェック

if (!re){    // リファラ（参照元）がない場合。ブックマークから来るなど。
  function NoRef() {
    document.getElementById('forLPO').innerHTML ='<li><a href="/tour/tour_heritage_tnwhg.html">世界遺産を観て歩いて感動する10泊11日</a><br /><a href="/tour/tour_heritage_tnwhg.html"><img class="right" src="/wp-content/themes/tabi-nz/images/lpo_sekaiisan.jpg" alt="世界遺産を観て歩いて感動する10泊11日" width="60" height="60" /></a><span>世界自然遺産のマウントクック、フィヨルドランド、トンガリロ国立公園を巡る。</span></li><li><a href="/tour/tour_trek_tnmft14.html">格安ミルフォードトラックガイドウォーク8泊9日</a><br /><span><a href="/tour/tour_trek_tnmft14.html"><img class="right" src="/wp-content/themes/tabi-nz/images/lpo_kakuyasu_miltrak.jpg" alt="ミルフォードトラック" width="60" height="60" /></a>円高差益還元！現地旅行会社の送迎サービスが付いた格安トレッキングツアー！</span></li><li class="end"><a href="/tour/tour_family_tnfmy.html">家族でわいわい楽しむニュージーランド6泊7日</a><br /><span><a href="/tour/tour_family_tnfmy.html"><img class="right" src="/wp-content/themes/tabi-nz/images/lpo_family.jpg" alt="家族でわいわい楽しむニュージーランド6泊7日" width="60" height="60" /></a>滞在を2都市に絞ったので楽々。家族で楽しめるオプショナルツアーがいっぱい！</span></li>'
    document.getElementById('forLPO_photo').innerHTML ='<img class="photo_waku photo_osusume" src="/wp-content/themes/tabi-nz/images/top_osu_noref.jpg" alt="ニュージーランド旅行、個人旅行、ハイキング、トレッキングは旅ニュージー.COMにお任せください！" title="ニュージーランド現地旅行会社　旅ニュージー.COMのトップページ画像" />'
  }
  window.onload = NoRef;	// オンロード後に呼び出し
// document.write("リファラなし");

} else if ((re) && (dom > 0)){    // 参照元にtabi-nz.comを含む（=サイト内の遷移）場合
  function DomMov() {
    document.getElementById('forLPO').innerHTML ='<li><a href="/tour/tour_heritage_tnwhg.html">世界遺産を観て歩いて感動する10泊11日</a><br /><a href="/tour/tour_heritage_tnwhg.html"><img class="right" src="/wp-content/themes/tabi-nz/images/lpo_sekaiisan.jpg" alt="世界遺産を観て歩いて感動する10泊11日" width="60" height="60" /></a><span>世界自然遺産のマウントクック、フィヨルドランド、トンガリロ国立公園を巡る。</span></li><li><a href="/tour/tour_trek_tnmft14.html">格安ミルフォードトラックガイドウォーク8泊9日</a><br /><span><a href="/tour/tour_trek_tnmft14.html"><img class="right" src="/wp-content/themes/tabi-nz/images/lpo_kakuyasu_miltrak.jpg" alt="ミルフォードトラック" width="60" height="60" /></a>円高差益還元！現地旅行会社の送迎サービスが付いた格安トレッキングツアー！</span></li><li class="end"><a href="/tour/tour_family_tnfmy.html">家族でわいわい楽しむニュージーランド6泊7日</a><br /><span><a href="/tour/tour_family_tnfmy.html"><img class="right" src="/wp-content/themes/tabi-nz/images/lpo_family.jpg" alt="家族でわいわい楽しむニュージーランド6泊7日" width="60" height="60" /></a>滞在を2都市に絞ったので楽々。家族で楽しめるオプショナルツアーがいっぱい！</span></li>'
    document.getElementById('forLPO_photo').innerHTML ='<img class="photo_waku photo_osusume" src="/wp-content/themes/tabi-nz/images/top_osu_noref.jpg" alt="ニュージーランド旅行、個人旅行、ハイキング、トレッキングは旅ニュージー.COMにお任せください！" title="ニュージーランド現地旅行会社　旅ニュージー.COMのトップページ画像" />'
  }
  window.onload = DomMov;	// オンロード後に呼び出し
//  document.write("サイト内遷移");

} else if ((le !=0) && (dom == -1)){    // 参照元があり、且つtabi-nz.comを含まない（=旅ニュージー外からのアクセス）場合
  function setLPO() {
    var s = new simpleLPO();
    s.init('forLPO', {
      'ニュージー' : '<li><a href="/tour/tour_heritage_tnwhg.html">世界遺産を観て歩いて感動する10泊11日</a><br /><a href="/tour/tour_heritage_tnwhg.html"><img class="right" src="/wp-content/themes/tabi-nz/images/lpo_sekaiisan.jpg" alt="世界遺産を観て歩いて感動する10泊11日" width="60" height="60" /></a><span>世界自然遺産のマウントクック、フィヨルドランド、トンガリロ国立公園を巡る。</span></li><li><a href="/tour/tour_trek_tnmft14.html">格安ミルフォードトラックガイドウォーク8泊9日</a><br /><span><a href="/tour/tour_trek_tnmft14.html"><img class="right" src="/wp-content/themes/tabi-nz/images/lpo_kakuyasu_miltrak.jpg" alt="ミルフォードトラック" width="60" height="60" /></a>円高差益還元！現地旅行会社の送迎サービスが付いた格安トレッキングツアー！</span></li><li class="end"><a href="/tour/tour_family_tnfmy.html">家族でわいわい楽しむニュージーランド6泊7日</a><br /><span><a href="/tour/tour_family_tnfmy.html"><img class="right" src="/wp-content/themes/tabi-nz/images/lpo_family.jpg" alt="家族でわいわい楽しむニュージーランド6泊7日" width="60" height="60" /></a>滞在を2都市に絞ったので楽々。家族で楽しめるオプショナルツアーがいっぱい！</span></li>',
      '個人' : '<li><a href="/tour/tour_trek_tnmft14.html">格安ミルフォードトラック ガイドウォーク8泊9日</a><br /><span><a href="/tour/tour_trek_tnmft14.html"><img class="right" src="/wp-content/themes/tabi-nz/images/lpo_kakuyasu_miltrak.jpg" alt="ミルフォードトラック" width="60" height="60" /></a>円高差益還元！現地旅行会社の送迎サービスが付いた格安トレッキングツアー！</span></li><li><a href="/tour/tour_sports_moto01.html">バイクツーリング＆飛行機・ヘリ操縦体験！</a><br /><span><a href="/tour/tour_sports_moto01.html"><img class="right" src="/wp-content/themes/tabi-nz/images/lpo_motor_air.jpg" alt="バイクツーリング＆飛行機・ヘリ操縦体験！" width="60" height="60" /></a>ただのバイクツアーじゃ物足りないという乗り物好きならコレ！陸・空で操縦体験！</span></li><li class="end"><a href="/tour/tour_outdoor_tnotd.html">アドレナリン爆裂の大自然体感8泊9日！</a><br /><span><a href="/tour/tour_outdoor_tnotd.html"><img class="right" src="/wp-content/themes/tabi-nz/images/lpo_stress.jpg" alt="ニュージーランドでストレス発散！" width="60" height="60" /></a>観るだけじゃ満足できないアウトドア派にお勧めの爆裂バリューセット！</span></li>',
      'トレッキング' : '<li><a href="/tour/tour_trek_tnmft14.html">格安ミルフォードトラック ガイドウォーク8泊9日</a><br /><span><a href="/tour/tour_trek_tnmft14.html"><img class="right" src="/wp-content/themes/tabi-nz/images/lpo_kakuyasu_miltrak.jpg" alt="ミルフォードトラック" width="60" height="60" /></a>円高差益還元！現地旅行会社の送迎サービスが付いた格安トレッキングツアー！</span></li><li><a href="/tour/tour_trek_tnmft12.html">ミルフォードトラック＆マウントクックハイキング体験11日間</a><br /><span><a href="/tour/tour_trek_tnmft12.html"><img class="right" src="/wp-content/themes/tabi-nz/images/lpo_miltrak_MtCook.jpg" alt="ミルフォードトラック＆マウントクックハイキング体験11日間" width="60" height="60" /></a>美しいミルフォードトラック、氷河を眺めながら歩くフッカーバレートラックをガイドと踏破します。</span></li><li class="end"><a href="/tour/tour_trek_tnmft11.html">感動のミルフォードトラック ガイドウォーク8泊9日</a><br /><span><a href="/tour/tour_trek_tnmft14.html"><img class="right" src="/wp-content/themes/tabi-nz/images/lpo_kandou_miltrak.jpg" alt="ミルフォードトラック" width="60" height="60" /></a>ニュージーランドの大自然の中を歩く感動の旅！マウントクック観光をプラス。</span></li>',
      'ミルフォードトラック' : '<li><a href="/tour/tour_trek_tnmft14.html">格安ミルフォードトラック ガイドウォーク8泊9日</a><br /><span><a href="/tour/tour_trek_tnmft14.html"><img class="right" src="/wp-content/themes/tabi-nz/images/lpo_kakuyasu_miltrak.jpg" alt="ミルフォードトラック" width="60" height="60" /></a>円高差益還元！現地旅行会社の送迎サービスが付いた格安トレッキングツアー！</span></li><li><a href="/tour/tour_trek_tnmft12.html">ミルフォードトラック＆マウントクックハイキング体験11日間</a><br /><span><a href="/tour/tour_trek_tnmft12.html"><img class="right" src="/wp-content/themes/tabi-nz/images/lpo_miltrak_MtCook.jpg" alt="ミルフォードトラック＆マウントクックハイキング体験11日間" width="60" height="60" /></a>美しいミルフォードトラック、氷河を眺めながら歩くフッカーバレートラックをガイドと踏破します。</span></li><li class="end"><a href="/tour/tour_trek_tnmft11.html">感動のミルフォードトラック ガイドウォーク8泊9日</a><br /><span><a href="/tour/tour_trek_tnmft14.html"><img class="right" src="/wp-content/themes/tabi-nz/images/lpo_kandou_miltrak.jpg" alt="感動のミルフォードトラック ガイドウォーク8泊9日" width="60" height="60" /></a>ニュージーランドの大自然の中を歩く感動の旅！マウントクック観光をプラス。</span></li>',
      'ハイキング' : '<li><a href="/tour/tour_trek_tnmft11.html">感動のミルフォードトラック ガイドウォーク8泊9日</a><br /><span><a href="/tour/tour_trek_tnmft14.html"><img class="right" src="/wp-content/themes/tabi-nz/images/tour_heritage01.jpg" alt="ミルフォードトラック" width="60" height="60" /></a>ニュージーランドの大自然の中を歩く感動の旅！マウントクック観光をプラス。</span></li><li><a href="/tour/tour_heritage_tnwhg.html">世界遺産を観て歩いて感動する10泊11日</a><br /><span><a href="/tour/tour_heritage_tnwhg.html"><img class="right" src="/wp-content/themes/tabi-nz/images/lpo_sekaiisan.jpg" alt="世界遺産を観て歩いて感動する10泊11日" width="60" height="60" /></a>世界自然遺産のマウントクック、フィヨルドランド、トンガリロ国立公園を巡る。</span></li><li class="end"><a href="/tour/tour_trek_tnmft13.html">ミルフォード＆ルートバーントラック踏破 11泊12日の旅</a><br /><span><a href="/tour/tour_trek_tnmft13.html"><img class="right" src="/wp-content/themes/tabi-nz/images/lpo_miltrak_routeburn.jpg" alt="ミルフォード＆ルートバーントラック踏破 11泊12日の旅" width="60" height="60" /></a>ニュージーランドを代表する世界的に有名なトレッキングコースを踏破！</span></li>',
      'マウントクック' : '<li><a href="/tour/tour_trek_tnmft12.html">ミルフォードトラック＆マウントクックハイキング体験11日間</a><br /><span><a href="/tour/tour_trek_tnmft12.html"><img class="right" src="/wp-content/themes/tabi-nz/images/lpo_miltrak_MtCook.jpg" alt="ミルフォードトラック＆マウントクックハイキング体験11日間" width="60" height="60" /></a>美しいミルフォードトラック、氷河を眺めながら歩くフッカーバレートラックをガイドと踏破します。</span></li><li><a href="/tour/tour_heritage_tnwhg.html">世界遺産を観て歩いて感動する10泊11日</a><br /><span><a href="/tour/tour_heritage_tnwhg.html"><img class="right" src="/wp-content/themes/tabi-nz/images/lpo_sekaiisan.jpg" alt="世界遺産を観て歩いて感動する10泊11日" width="60" height="60" /></a>世界自然遺産のマウントクック、フィヨルドランド、トンガリロ国立公園を巡る。</span></li><li class="end"><a href="/tour/tour_honeymoon.html">新婚旅行、南島クライストチャーチ4泊5日</a><br /><span><a href="/tour/tour_honeymoon.html"><img class="right" src="/wp-content/themes/tabi-nz/images/lpo_honeymoon.jpg" alt="ニュージーランド南島で新婚旅行" width="60" height="60" /></a>二人だけの専用車で世界自然遺産マウントクック国立公園や美しいテカポ湖を巡る。</span></li>',
      'クライストチャーチ' : '<li><a href="/transport/train_tclt06.html">トランツアルパイン日帰りツアー</a><br /><span><a href="/transport/train_tclt06.html"><img class="right" src="/wp-content/themes/tabi-nz/images/lpo_tranzalpine.jpg" alt="トランツアルパイン日帰りツアー" width="60" height="60" /></a>あのトランツアルパイン急行に乗車。農場訪問やジェットボート体験なども付いてます。</span></li><li><a href="/activity/water_whale_tclt08.html">カイコウラ ホエールウォッチング</a><br /><span><a href="/activity/water_whale_tclt08.html"><img class="right" src="/wp-content/themes/tabi-nz/images/lpo_whale_watching.jpg" alt="カイコウラ ホエールウォッチング" width="60" height="60" /></a>南島カイコウラで鯨やオットセイなど自然の動物たちに出会う興奮のツアー！</span></li><li class="end"><a href="/tour/tour_garden_tngdn.html">ニュージーランド縦断庭園＆ワイナリー巡り </a><br /><span><a href="/tour/tour_garden_tngdn.html"><img class="right" src="/wp-content/themes/tabi-nz/images/lpo_garden.jpg" alt="ニュージーランド縦断庭園＆ワイナリー巡り " width="60" height="60" /></a>色鮮やかな庭園やワイン園を中心にニュージーランドの花満開の季節をたっぷり堪能。</span></li>',
      'ロードオブザリング' : '<li><a href="/activity/land_ride_ds01.html">「ロード・オブ・ザ・リング」のロケ地で乗馬体験</a><br /><span><a href="/activity/land_ride_ds01.html"><img class="right" src="/wp-content/themes/tabi-nz/images/lpo_lord_of_horse.jpg" alt="「ロード・オブ・ザ・リング」のロケ地で乗馬体験" width="60" height="60" /></a>グレノーキーエリアの大自然の中で、映画の主人公気分！上級者向けも可能。</span></li><li><a href="/activity/land_location_tnavirit.html">「ロード・オブ・ザ・リング」ロケ地ツアー</a><br /><span><a href="/activity/land_location_tnavirit.html"><img class="right" src="/wp-content/themes/tabi-nz/images/lpo_lord_of_hobbit.jpg" alt="「ロード・オブ・ザ・リング」ロケ地ツアー" width="60" height="60" /></a>ホビット村を訪問。シャイアズレストでのランチもついてるお得なツアー！</span></li><li class="end"><a href="/tour/tour_heritage_tnwhg.html">世界遺産を観て歩いて感動する10泊11日</a><br /><span><a href="/tour/tour_heritage_tnwhg.html"><img class="right" src="/wp-content/themes/tabi-nz/images/lpo_sekaiisan.jpg" alt="世界遺産を観て歩いて感動する10泊11日" width="60" height="60" /></a>映画の世界観そのままといっても過言ではない、美しいニュージーランドの自然を堪能。</span></li>',
      '戦闘機' : '<li><a href="/tour/tour_outdoor_tnjet01.html">戦闘機フリークの為の体験フライトツアー5泊6日</a><br /><span><a href="/tour/tour_outdoor_tnjet01.html"><img class="right" src="/wp-content/themes/tabi-nz/images/lpo_Sentouki.jpg" alt="ニュージーランドで戦闘機に乗りたい！" width="60" height="60" /></a>「一生に一度はジェット戦闘機に乗りたい！」その願い、叶えましょう！</span></li><li><a href="/tour/tour_outdoor_tnjet02.html">Aero L-39アルバトロスジェット戦闘機体験フライト</a><br /><span><a href="/tour/tour_outdoor_tnjet02.html"><img class="right" src="/wp-content/themes/tabi-nz/images/lpo_Aero39.jpg" alt="Aero L-39アルバトロスジェット戦闘機体験フライト" width="60" height="60" /></a>観光もお土産屋周りも一切なし！ジェット戦闘機搭乗だけのツアー！</span></li><li class="end"><a href="/tour/tour_sports_moto01.html">バイクツーリング＆飛行機・ヘリ操縦体験！</a><br /><span><a href="/tour/tour_sports_moto01.html"><img class="right" src="/wp-content/themes/tabi-nz/images/lpo_motor_air.jpg" alt="バイクツーリング＆飛行機・ヘリ操縦体験！" width="60" height="60" /></a>ただのバイクツアーじゃ物足りないという乗り物好きならコレ！陸・空で操縦体験！</span></li>',
      'ミルフォードサウンド' : '<li><a href="/tour/tour_heritage_tnwhg.html">世界遺産を観て歩いて感動する10泊11日</a><br /><span><a href="/tour/tour_heritage_tnwhg.html"><img class="right" src="/wp-content/themes/tabi-nz/images/lpo_sekaiisan.jpg" alt="世界遺産を観て歩いて感動する" width="60" height="60" /></a>世界自然遺産のマウントクック、フィヨルドランド、トンガリロ国立公園を巡る。</span></li><li><a href="/activity/water_cruise_trj250.html">オーバーナイトクルーズ/マリナー号 </a><br /><span><a href="/activity/water_cruise_trj250.html"><img class="right" src="/wp-content/themes/tabi-nz/images/lpo_cruise_mariner.jpg" alt="オーバーナイトクルーズ/マリナー号 " width="60" height="60" /></a>美しいミルフォードトラック、氷河を眺めながら歩くフッカーバレートラックをガイドと踏破します。</span></li><li class="end"><a href="/activity/water_cruise_trj100.html">ミルフォードサウンド日帰りクルーズ </a><br /><span><a href="/activity/water_cruise_trj100.html"><img class="right" src="/wp-content/themes/tabi-nz/images/lpo_overnight_cruise.jpg" alt="ミルフォードサウンド日帰りクルーズ " width="60" height="60" /></a>海面からそそり立つマイターピークや高さ160mのボーウェン滝などの景観は圧巻！</span></li>',
      '国内線' : '<li><a href="/transport/ticket_domes.html">ニュージーランド国内線航空券</a><br /><span><a href="/transport/ticket_domes.html"><img class="right" src="/wp-content/themes/tabi-nz/images/lpo_dom_ticket.jpg" alt="世界遺産を観て歩いて感動する10泊11日" width="60" height="60" /></a>6名以上のグループ予約ならNZ国内線の予約を代行いたします！</span></li><li><a href="/tour/tour_heritage_tnwhg.html">世界遺産を観て歩いて感動する10泊11日</a><br /><span><a href="/tour/tour_heritage_tnwhg.html"><img class="right" src="/wp-content/themes/tabi-nz/images/lpo_sekaiisan.jpg" alt="世界遺産を観て歩いて感動する10泊11日" width="60" height="60" /></a>世界自然遺産のマウントクック、フィヨルドランド、トンガリロ国立公園を巡る。</span></li><li class="end"><a href="/tour/tour_trek_tnmft11.html">感動のミルフォードトラック ガイドウォーク8泊9日</a><br /><span><a href="/tour/tour_trek_tnmft14.html"><img class="right" src="/wp-content/themes/tabi-nz/images/lpo_kandou_miltrak.jpg" alt="ミルフォードトラック" width="60" height="60" /></a>ニュージーランドの大自然の中を歩く感動の旅！マウントクック観光をプラス。</span></li>'
    })
    s.init('forLPO_photo', {
      'ニュージー' : '<img class="photo_waku photo_osusume" src="/wp-content/themes/tabi-nz/images/top_osu_noref.jpg" alt="ニュージーランド旅行、個人旅行、ハイキング、トレッキングは旅ニュージー.COMにお任せください！" title="ニュージーランド現地旅行会社　旅ニュージー.COMのトップページ画像" />',
      '個人' : '<img class="photo_waku photo_osusume" src="/wp-content/themes/tabi-nz/images/top_osu_fit.jpg" alt="ニュージーランド　個人旅行" />',
      'トレッキング' : '<img class="photo_waku photo_osusume" src="/wp-content/themes/tabi-nz/images/top_osu_milfordtrack.jpg" alt="ニュージーランド　トレッキング" />',
      'ミルフォードトラック' : '<img class="photo_waku photo_osusume" src="/wp-content/themes/tabi-nz/images/top_osu_milfordtrack.jpg" alt="ニュージーランド　ミルフォードトラック" />',
      'ハイキング' : '<img class="photo_waku photo_osusume" src="/wp-content/themes/tabi-nz/images/top_osu_hiking.jpg" alt="ニュージーランド　ハイキング" />',
      'マウントクック' : '<img class="photo_waku photo_osusume" src="/wp-content/themes/tabi-nz/images/top_osu_MtCook.jpg" alt="ニュージーランド　マウントクック" />',
      'クライストチャーチ' : '<img class="photo_waku photo_osusume" src="/wp-content/themes/tabi-nz/images/top_osu_chch.jpg" alt="ニュージーランド　クライストチャーチ" />',
      'ロードオブザリング' : '<img class="photo_waku photo_osusume" src="/wp-content/themes/tabi-nz/images/top_osu_lord.jpg" alt="ニュージーランド　ロードオブザリングス" />',
      '戦闘機' : '<img class="photo_waku photo_osusume" src="/wp-content/themes/tabi-nz/images/top_osu_air.jpg" alt="ニュージーランド　戦闘機" />',
      '国内線' : '<img class="photo_waku photo_osusume" src="/wp-content/themes/tabi-nz/images/top_osu_dom.jpg" alt="ニュージーランド　国内線" />',
      'ミルフォードサウンド' : '<img class="photo_waku photo_osusume" src="/wp-content/themes/tabi-nz/images/top_osu_milfordsound.jpg" alt="ニュージーランド　ミルフォードサウンド" />'
    })
  }
  window.onload = setLPO;	// オンロード後に呼び出し
//  document.write("検索などのtabi-nz以外からのアクセス");

}

