// JavaScript Document/*****************************************************************************/
//T̃C//
thisMainRace="";//
thisMainRaceEng = "";
//////////////////////////////////////////////////////////////////////////////////////

//T̊JÁE/
//thisKaisaiKai=[1,2];//
//20060303modify mosmos
thisKaisaiKai=[1,1];//
thisKaisaiJoCD = ["06","08"];//
thisKaisaiNichi=[1,1];//
thisKaisaiLength = 2;

//NURLݒFKaisai[i].URL
//null check add mosmos
if(Kaisai!=null&&Kaisai!=undefined){
	for (var i=0;i<Kaisai.length;i++){
		Kaisai[i].URL=new Array();
		for (var t=0;t<(Kaisai[i].Location).length;t++){
			Kaisai[i].URL[t]=KaisaiDate[i].substr(0,8)+Kaisai[i].Location[t];
		}
	}
}

/*****************************************************************************/
////
//LeadingKikan=["4񒆎R1`4","4_1`4","2Dy1`4"];
LeadingKikan=["֓","֐","[J"];
LeadingKikanJKCode=["JK_E","JK_W","JK_L"];
LeadingKikanTRCode=["TR_E","TR_W","TR_L"];


/******************a***********************************************************/
////
BabaTitle=["","",""];						//
BabaLoc=["e","w","l"];

/*****************************************************************************/
////
thisColumnTitle= new Array();
thisColumnTitle[0]="";//RURL//
thisColumnTitle[1]="";//RURL//
thisColumnURL= new Array();
thisColumnURL[0]="http://www.jrdb.jp/mt/269/archives/2006/01/post_101.html";
thisColumnURL[1]="http://www.jrdb.jp/mt/269/archives/2006/01/_131.html";
////
thisColumnNew= new Array();
thisColumnNew[0]=0;
thisColumnNew[1]=0;

/*****************************************************************************/

/*****************************************************************************/
////
thisKaikoTitle= new Array();
thisKaikoTitle[0]="_[r[bs BY";
thisKaikoTitle[1]="}[`r BY";

////
thisKaikoNew= new Array();
thisKaikoNew[0]=0;
thisKaikoNew[1]=0;


thisPhotoURL="http://www.jrdb.jp/mt/269/archives/20041205sp.jpg";
//RURL//
thisKaikoURL= new Array();
thisKaikoURL[0]="http://www.jrdb.jp/mt/269/archives/2005/10/post_93.html";
thisKaikoURL[1]="http://www.jrdb.jp/mt/269/archives/2005/10/_1010.html";



//thisKaikoURL[2]="http://jrdb.cocolog-nifty.com/jrdb/2004/10/1026.html";
/*****************************************************************************/



//[Xډ摜{bNXE
function SetKaikoBox(){
	document.write('<table>');
	document.write('<tr><td>');
	document.write('<a href="'+thisKaikoURL[0]+'" target="_blank"><img width="50" height="80" border="0" src="'+thisPhotoURL+'" /></a>');
	document.write('</td></tr>');
	document.write('</table>');
}
//////////////////////////////////////////////////
function SetKaikoText(){
	SetLiskBox(thisKaikoURL,thisKaikoTitle,thisKaikoNew);
}
function SetWeekColumn(){
	SetLiskBox(thisColumnURL,thisColumnTitle,thisColumnNew);
}

function SetLiskBox(tURLList,tTitleList,tNewList){
	for (var i=0;i<tTitleList.length;i++){
		if (!tNewList[i] || tNewList[i]==undefined){	
			document.write('<dt><a href="'+tURLList[i]+'" target="_blank">'+tTitleList[i]+'</a></dt>');
		}else{
			document.write('<dt><a href="'+tURLList[i]+'" target="_blank"><img src="pic/new_type2.gif" border="0" align="absmiddle" />'+tTitleList[i]+'</a></dt>');
		}
	}
}
//////////////////////////////////////////////////
function OpenHarai(tValue){
	var theIndex=document.forms["harai"+tValue].jyo.value;			
	window.open("h_j/hj_"+theIndex+".html","harai");
}

//J[\ρE
function f_ChangeCursor(tObj){
	tObj.style.cursor = 'hand';
}

