function PutRanDomBanner2() {

add = new Array();
img = new Array();

//add[0] = "http://themoon.hida-ch.com/";
//add[1] = "http://hidaho.hida-ch.com/e394065.html";

//img[0] = "http://www.hida-ch.com/img/bnr_advert/bnr_themoon200_02.jpg";
//img[1] = "http://www.hida-ch.com/img/bnr_advert/bnr_hidahotel_200.gif";


n = Math.floor(Math.random()*img.length);

document.write("<a href='"+add[n]+"' target='"+"_blank"+"'>");
document.write("<img src='"+img[n]+"' border='0'>");
document.write("</a>");
}



function PutRanDomBanner3() {

add = new Array();
img = new Array();
text = new Array();

add[0] = "http://themoon.hida-ch.com/";
add[2] = "http://htmmuseum.hida-ch.com/";


img[0] = "http://www.hida-ch.com/img/bnr_advert/bnr_themoon200_02.jpg";
img[1] = "http://www.hida-ch.com/img/bnr_advert/bnr_usagi_flowers_winter_2.jpg";
img[2] = "http://www.hida-ch.com/img/bnr_advert/bnr_museum.png";

text[0] = "《PR》エステのことなら<br />TheMoon高山店";

n = Math.floor(Math.random()*img.length);

if (n == 1)
{
document.write("<img src='"+img[n]+"' border='0' usemap='#Map2'>");
document.write("<map name='MAP2'>");
document.write("<area shape='rect' coords='2,5,199,95' href='http://sanaiflowers.hida-ch.com/' target='_blank'>");
document.write("<area shape='rect' coords='3,106,197,197' href='http://www.usagiya.jp/' target='_blank'>");
document.write("</map>");
document.write("<div style="+'"width:200px; font-size:0.8em; text-align:center; margin-bottom:5px;"'+'">');
document.write("<a href='"+add[0]+"' target='"+"_blank"+"'>");
document.write(text[0]);
document.write("</a>");
document.write("</div>");
}

else if (n == 2)
{
document.write("<a href='"+add[n]+"' target='"+"_blank"+"'>");
document.write("<img src='"+img[n]+"' border='0'>");
document.write("<div style="+'"width:200px; font-size:0.8em; text-align:center; margin-bottom:5px;"'+'">');
document.write("<a href='"+add[0]+"' target='"+"_blank"+"'>");
document.write(text[0]);
document.write("</a>");
document.write("</div>");
}

else{
document.write("<a href='"+add[n]+"' target='"+"_blank"+"'>");
document.write("<img src='"+img[n]+"' border='0'>");
document.write("</a>");
}
}



function PutRanDomBanner4() {

add = new Array();
img = new Array();

add[0] = "http://www.miyako21.co.jp/";
add[1] = "http://www.hakuunsou.jp/";

img[0] = "http://www.hida-ch.com/img/bnr_advert/bnr_miyako.gif";
img[1] = "http://www.hida-ch.com/img/bnr_advert/bnr_hakuunso.gif";


n = Math.floor(Math.random()*img.length);

document.write("<a href='"+add[n]+"' target='"+"_blank"+"'>");
document.write("<img src='"+img[n]+"' border='0'>");
document.write("</a>");
}

