
/* 画像の枚数と書き出し枚数を調整してください*/  

function random_banner_static(){
var jumpURL = new Array();  
var imgURL = new Array();  

/* リンク先を指定*/  

jumpURL[0] = "http://www.intermax.co.jp/news/archives/2010/03/-dvdbook/";  
jumpURL[1] = "http://www.intermax.co.jp/products/nino/"; 

/* 画像のパスを指定*/  

imgURL[0] = "http://www.intermax.co.jp/banner/sidebanner/dvdbook.jpg";  
imgURL[1] = "http://www.intermax.co.jp/banner/sidebanner/nino.jpg";  


/* 書き出しの設定*/  

for(i = 0; i < 2; i++) { // この部分で表示する数を調整。 
var n = parseInt(jumpURL.length);  

document.write('<div class="clip"><a href="'+jumpURL[i]+'" ><img src="'+imgURL[i]+'" border="0" width="210px"></a></div>');   
jumpURL.splice(n,1);  
imgURL.splice(n,1);  
} }


/* サイト内リンクbike関連*/  

function random_banner_bike(){
var jumpURL = new Array();  
var imgURL = new Array();  
jumpURL[0] = "http://www.intermax.co.jp/products/im/";  
jumpURL[1] = "http://www.intermax.co.jp/products/im/";  
jumpURL[2] = "http://www.intermax.co.jp/products/im/";  
jumpURL[3] = "http://www.intermax.co.jp/products/im/";  
jumpURL[4] = "http://www.intermax.co.jp/products/im/"; 
jumpURL[5] = "http://www.intermax.co.jp/products/kuota/";  
jumpURL[6] = "http://www.intermax.co.jp/products/im/"; 

  
imgURL[0] = "http://www.intermax.co.jp/banner/sidebanner/bike/im_bl.jpg";  
imgURL[1] = "http://www.intermax.co.jp/banner/sidebanner/bike/im_red.jpg";  
imgURL[2] = "http://www.intermax.co.jp/banner/sidebanner/bike/im_green.jpg";  
imgURL[3] = "http://www.intermax.co.jp/banner/sidebanner/bike/im_cafe.jpg";  
imgURL[4] = "http://www.intermax.co.jp/banner/sidebanner/bike/im_pink.jpg";  
imgURL[5] = "http://www.intermax.co.jp/banner/sidebanner/bike/kuota.jpg";  
imgURL[6] = "http://www.intermax.co.jp/banner/sidebanner/bike/im.jpg";  
  
 
  
for(i = 0; i < 1; i++) { // この部分で表示する数を調整。  
var n = parseInt(Math.random() * jumpURL.length);  
document.write('<div class="clip"><a href="'+jumpURL.slice(n,n+1)[0]+'" ><img src="'+imgURL.slice(n,n+1)[0]+'" border="0" width="210px"></a></div>');   
jumpURL.splice(n,1);  
imgURL.splice(n,1);  
} }


/* ターゲット_blankリンク*/  

function random_banner_link(){
var jumpURL = new Array();  
var imgURL = new Array();  
jumpURL[0] = "http://www.intermax.co.jp/news/blitzen/index.php";  
jumpURL[1] = "http://www.intermax.co.jp/event/event-report/letape-du-tour-2009.html";  
jumpURL[2] = "http://www.intermax.co.jp/event/event-report/2009-eurobike.html"; 
jumpURL[3] = "http://www.intermax.co.jp/news/blitzen/index.php";  
jumpURL[4] = "http://www.intermax.co.jp/news/blitzen/index.php";  

  
imgURL[0] = "http://www.intermax.co.jp/banner/sidebanner/link/blitzen.jpg";   
imgURL[1] = "http://www.intermax.co.jp/banner/sidebanner/link/le-tour.jpg";  
imgURL[2] = "http://www.intermax.co.jp/banner/sidebanner/link/eurobike.jpg";  
imgURL[3] = "http://www.intermax.co.jp/banner/sidebanner/link/blitzen.jpg";  
imgURL[4] = "http://www.intermax.co.jp/banner/sidebanner/link/blitzen.jpg";  

  
for(i = 0; i < 1; i++) { // この部分で表示する数を調整。  
var n = parseInt(Math.random() * jumpURL.length);  
document.write('<div class="clip"><a href="'+jumpURL.slice(n,n+1)[0]+'" target="_blank" ><img src="'+imgURL.slice(n,n+1)[0]+'" border="0" width="210px"></a></div>');   
jumpURL.splice(n,1);  
imgURL.splice(n,1);  
} }


/* サイト内リンクパーツ関連*/  

function random_banner(){
var jumpURL = new Array();  
var imgURL = new Array();  
jumpURL[0] = "http://www.cyclingtime.com/pr/intermax/castelli2008/index.html";  
jumpURL[1] = "http://www.intermax.co.jp/products/polar/";  
jumpURL[2] = "http://www.intermax.co.jp/products/prologo/";  
jumpURL[3] = "http://www.intermax.co.jp/products/northwave/wear_index.html";  
jumpURL[4] = "http://www.intermax.co.jp/products/met/"; 
jumpURL[5] = "http://www.intermax.co.jp/products/lightweight/";  
jumpURL[6] = "http://www.intermax.co.jp/products/thule/";  
jumpURL[7] = "http://www.intermax.co.jp/products/northwave/"; 
jumpURL[8] = "http://www.intermax.co.jp/products/vittoria/";

  
imgURL[0] = "http://www.intermax.co.jp/banner/sidebanner/banner01.jpg";  
imgURL[1] = "http://www.intermax.co.jp/banner/sidebanner/banner02.jpg";  
imgURL[2] = "http://www.intermax.co.jp/banner/sidebanner/banner03.jpg";  
imgURL[3] = "http://www.intermax.co.jp/banner/sidebanner/banner09.jpg";  
imgURL[4] = "http://www.intermax.co.jp/banner/sidebanner/banner05.jpg";  
imgURL[5] = "http://www.intermax.co.jp/banner/sidebanner/banner06.jpg";  
imgURL[6] = "http://www.intermax.co.jp/banner/sidebanner/banner07.jpg";  
imgURL[7] = "http://www.intermax.co.jp/banner/sidebanner/banner08.jpg"; 
imgURL[8] = "http://www.intermax.co.jp/banner/sidebanner/banner04.jpg"; 
  
for(i = 0; i < 4; i++) { // この部分で表示する数を調整。  
var n = parseInt(Math.random() * jumpURL.length);  
document.write('<div class="clip"><a href="'+jumpURL.slice(n,n+1)[0]+'" ><img src="'+imgURL.slice(n,n+1)[0]+'" border="0" width="210px"></a></div>');   
jumpURL.splice(n,1);  
imgURL.splice(n,1);  
} }





