//右広告Aのランダム表示


































































































































jmp = new Array();
cnt = '3';



i='1';
jmp[i] ='http://www.pjl.co.jp/pr/a/a3.html';

i='2';
jmp[i] ='http://www.pjl.co.jp/pr/a/a_1.html';

i='3';
jmp[i] ='http://www.pjl.co.jp/pr/a/a2.html';


if( cnt >= 3) {
n = Math.floor(Math.random()*3+1);
}
else {
n = Math.floor(Math.random()*cnt+1);
}


//右サイド部分の表示
window.onload = function() {
	
new Ajax.Updater($("header_ad"), "http://www.pjl.co.jp/pr/header_ad/post.html", {method: 'get'});
new Ajax.Updater($("right_ad_a"), jmp[n], {method: 'get'});
new Ajax.Updater($("right_ad_b"), "http://www.pjl.co.jp/pr/b/b_1.html", {method: 'get'});
new Ajax.Updater($("right_ad_c"), "http://www.pjl.co.jp/pr/c/c_1.html", {method: 'get'});

	Element.setStyle($('right_ad_d'), {'display':'block'});
new Ajax.Updater($("right_ad_d"), "http://www.pjl.co.jp/pr/right_ad_d/d_1.html", {method: 'get'}); 


	Element.setStyle($('right_ad_e'), {'display':'block'});
new Ajax.Updater($("right_ad_e"), "http://www.pjl.co.jp/pr/right_ad_e/e_1.html", {method: 'get'}); 


	Element.setStyle($('right_ad_f'), {'display':'block'});
new Ajax.Updater($("right_ad_f"), "http://www.pjl.co.jp/pr/f/ffacebook.html", {method: 'get'}); 



new Ajax.Updater($("side_right"), "http://www.pjl.co.jp/side_right.html", {method: 'get'});
new Ajax.Updater($("side_featurelist"), "http://www.pjl.co.jp/side_featurelist.html", {method: 'get'});
return;
};

