//Preload 
preImages = new Array("images/gnavi_home_on.gif", "images/gnavi_event_on.gif", "images/gnavi_exhibition_on.gif", "images/gnavi_release_on.gif", "images/gnavi_review_on.gif", "images/gnavi_report_on.gif", "images/gnavi_interview_on.gif", "images/icon_arrow_on.gif", "images/bt_eng_on.gif");
preload   = new Array();
for (i=0; i<preImages.length; i++) {
	preload[i] = new Image();
	preload[i].src = preImages[i];
}
//Rollover
function imgRollover(imgName, areaName, path){
	if(document.images){
		document.getElementById(imgName).src = path + "images/" + areaName + imgName + "_on.gif";
	}
}
//RollOut
function imgRollout(imgName, areaName, path){
	if(document.images){
		document.getElementById(imgName).src = path + "images/" + areaName + imgName + ".gif";
	}
}
//
function listVewOver(arrowNumber){
	if(document.images){
		document.getElementById(arrowNumber).style.background = "url(images/icon_arrow_on.gif) no-repeat";
	}
}
//
function listVewOut(arrowNumber){
	if(document.images){
		document.getElementById(arrowNumber).style.background = "url(images/icon_arrow.gif) no-repeat";
	}
}
/*
//CurrentMagazineOver
function currentMagOver(idName){
	if(document.images){
		document.getElementById(idName).childNodes[1].childNodes[0].style.color = "#000000";
		document.getElementById(idName).childNodes[3].childNodes[0].style.color = "#000000";
		document.getElementById(idName).childNodes[5].childNodes[0].style.color = "#000000";
	}
}
//CurrentMagazineOut
function currentMagOut(idName){
	if(document.images){
		document.getElementById(idName).childNodes[1].childNodes[0].style.color = "#626262";
		document.getElementById(idName).childNodes[3].childNodes[0].style.color = "#626262";
		document.getElementById(idName).childNodes[5].childNodes[0].style.color = "#626262";
	}
}
*/
//ie用リンク
//
function ieURL(url){
	location.href = url;
}
//
//OSとBrowserを判別してサイズを変更。
function checkOS(){
	if(BrowserDetect.OS == "Windows"){
		document.getElementById("informationArea").style.padding = "15px 0 20px 0;";
	}
}