//ヨガとは？の処理設定
function infoImage()
{
img = new Array();
img[0] = "top_banner/yg_info1_1.gif";
img[1] = "top_banner/yg_info1_2.gif";
n = Math.floor(Math.random()*1);
m = n+1;
document.write("<img src='"+img[n]+"' border='0' onmouseover=src='"+img[m]+"' onmouseout=src='"+img[n]+"' width=340,height=146>");
}
//設定終了




//ヘッダーボタンの処理設定
function header_btn()
{
img = new Array();
img[0] = "http://www.yoga-gene.com/images/header/header_btn1.jpg";
img[1] = "http://www.yoga-gene.com/images/header/header_btn2.jpg";
img[2] = "http://www.yoga-gene.com/images/header/header_btn1_on.jpg";
img[3] = "http://www.yoga-gene.com/images/header/header_btn2_on.jpg";

var url = 'http://www.tokyo-yogawear.jp http://www.tokyo-yogawear.jp'.split(' ');
var n = Math.floor(Math.random()*2);
document.write('<a href="'+url[n]+'" target="_blank">');
document.write('<img src="'+img[n]+'" border="0" onMouseOver="this.src=\''+img[n-0+2]+'\'" onMouseOut="this.src=\''+img[n]+'\'">');
document.write('</a>');
}
//設定終了





//特集の処理設定
function randomImage_sp2()
{
img = new Array();
img[0] = "http://www.yoga-gene.com/top_image/btn/ranking.jpg";
img[1] = "http://www.yoga-gene.com/top_image/btn/ranking_rollover.jpg";

var url = 'http://www.tokyo-yogawear.jp/about/tyw20/18977.html'.split(' ');
var alt = '東京ヨガウェア2.0人気ヨガウェアランキングを発表！'.split(' ');
var pagetrack = '/yogagene-top/TW20'.split(' ');
var n = Math.floor(Math.random()*1);
document.write('<a href="'+url[n]+'" onClick="javascript: pageTracker._trackPageview(\''+pagetrack[n]+'\');" target="_blank">');
document.write('<img src="'+img[n]+'" alt="'+alt[n]+'" border="0" onMouseOver="this.src=\''+img[n-0+3]+'\'" onMouseOut="this.src=\''+img[n]+'\'">');
document.write('</a>');
}
//設定終了



//特集の処理設定
function randomImage_sp()
{
img = new Array();
img[0] = "http://www.yoga-gene.com/top_image/btn/tyw.jpg";
img[1] = "http://www.yoga-gene.com/top_image/btn/yoginoichi_btn.jpg";
img[2] = "http://www.yoga-gene.com/top_image/btn/tyw_on.jpg";
img[3] = "http://www.yoga-gene.com/top_image/btn/yoginoichi_btn_on.jpg";

n = Math.floor(Math.random()*2);
m = n+2;
document.write("<img src='"+img[n]+"' border='0' onmouseover=src='"+img[m]+"' onmouseout=src='"+img[n]+"' width=340,height=290>");
}
//設定終了

//ムービーの処理設定
function randomImage2()
{
img = new Array();
img[0] = "./top_image/btn/yogirecipe/yogi_recipe1_1.gif";
img[1] = "./top_image/btn/yogirecipe/yogi_recipe2_1.gif";
img[2] = "./top_image/btn/yogirecipe/yogi_recipe3_1.gif";
img[3] = "./top_image/btn/yogirecipe/yogi_recipe4_1.gif";
img[4] = "./top_image/btn/yogirecipe/yogi_recipe5_1.gif";
img[5] = "./top_image/btn/yogirecipe/yogi_recipe6_1.gif";
img[6] = "http://www.yoga-gene.com/top_image/maternity_btn.jpg";
img[7] = "./top_image/btn/yogirecipe/yogi_recipe1_2.gif";
img[8] = "./top_image/btn/yogirecipe/yogi_recipe2_2.gif";
img[9] = "./top_image/btn/yogirecipe/yogi_recipe3_2.gif";
img[10] = "./top_image/btn/yogirecipe/yogi_recipe4_2.gif";
img[11] = "./top_image/btn/yogirecipe/yogi_recipe5_2.gif";
img[12] = "./top_image/btn/yogirecipe/yogi_recipe6_2.gif";
img[13] = "http://www.yoga-gene.com/top_image/maternity_btn_on.jpg";
var url = 'http://www.yoga-gene.com/contents/food/#recipeall http://www.yoga-gene.com/contents/food/#recipeall http://www.yoga-gene.com/contents/food/#recipeall http://www.yoga-gene.com/contents/food/#recipeall http://www.yoga-gene.com/contents/food/#recipeall http://www.yoga-gene.com/contents/food/#recipeall http://www.yoga-gene.com/contents/family/maternity/maternity.html#metanity_box'.split(' ');
var n = Math.floor(Math.random()*7);
document.write('<a href="'+url[n]+'" target="_blank">');
document.write('<img src="'+img[n]+'" border="0" onMouseOver="this.src=\''+img[n-0+7]+'\'" onMouseOut="this.src=\''+img[n]+'\'">');
document.write('</a>');
}
//設定終了

//ヨガジェネWSの処理設定
function randomImage3()
{
img = new Array();
img[0] = "./top_image/btn/yogagene_ws1.jpg";
img[1] = "./top_image/btn/yogagene_ws2.jpg";
img[2] = "./top_image/btn/yogagene_ws3.jpg";
img[3] = "./top_image/btn/yogagene_ws4.jpg";
img[4] = "./top_image/btn/yogagene_ws5.jpg";
img[5] = "./top_image/btn/yogagene_ws6.jpg";
img[6] = "./top_image/btn/yogagene_ws7.jpg";
img[7] = "./top_image/btn/yogagene_ws1_on.jpg";
img[8] = "./top_image/btn/yogagene_ws2_on.jpg";
img[9] = "./top_image/btn/yogagene_ws3_on.jpg";
img[10] = "./top_image/btn/yogagene_ws4_on.jpg";
img[11] = "./top_image/btn/yogagene_ws5_on.jpg";
img[12] = "./top_image/btn/yogagene_ws6_on.jpg";
img[13] = "./top_image/btn/yogagene_ws7_on.jpg";
n = Math.floor(Math.random()*7);
m = n+7;
document.write("<img src='"+img[n]+"' border='0' onmouseover=src='"+img[m]+"' onmouseout=src='"+img[n]+"' width=340,height=190>");
}
//設定終了

//ヘッダーの処理設定
function randomImage4()
{
img = new Array();
img[0] = "http://www.yoga-gene.com/images/header/header_btn1.jpg";
img[1] = "http://www.yoga-gene.com/images/header/header_btn2.jpg";
img[2] = "http://www.yoga-gene.com/images/header/header_btn1_on.jpg";
img[3] = "http://www.yoga-gene.com/images/header/header_btn2_on.jpg";
n = Math.floor(Math.random()*2);
m = n+3;
document.write("<img src='"+img[n]+"' border='0' onmouseover=src='"+img[m]+"' onmouseout=src='"+img[n]+"' width=280,height=60>");
}
//設定終了

//インストラクターズネットの処理設定
function randomImage5()
{
img = new Array();
img[0] = "top_banner/banner_instructors1_1.gif";
img[1] = "top_banner/banner_instructors2_1.gif";
img[2] = "top_banner/banner_instructors3_1.gif";
img[3] = "top_banner/banner_instructors4_1.gif";
img[4] = "top_banner/banner_instructors5_1.gif";
img[5] = "top_banner/banner_instructors6_1.gif";
img[6] = "top_banner/banner_instructors7_1.gif";
img[7] = "top_banner/banner_instructors1_2.gif";
img[8] = "top_banner/banner_instructors2_2.gif";
img[9] = "top_banner/banner_instructors3_2.gif";
img[10] = "top_banner/banner_instructors4_2.gif";
img[11] = "top_banner/banner_instructors5_2.gif";
img[12] = "top_banner/banner_instructors6_2.gif";
img[13] = "top_banner/banner_instructors7_2.gif";
n = Math.floor(Math.random()*7);
m = n+7;
document.write("<img src='"+img[n]+"' border='0' onmouseover=src='"+img[m]+"' onmouseout=src='"+img[n]+"' width=340,height=180>");
}
//設定終了
