<!--

ImgTopName = new Array('hnv_printer','hnv_station','hnv_scanner','hnv_projector','top_btn1','top_btn2','top_btn3','top_btn4');
ImgAltPh = new Array('','オフィリオ　プリンタ','オフィリオ　複合機（ステーション）','オフィリオ　ネットワークスキャナ','オフィリオ　プロジェクター');
ImgSize = new Array('','182','181','181','181','181');
ImgTopStat = new Array('out','over');

//RollOver for menu --
A = new Array();
for( j = 0 ; j < ImgTopStat.length ; j++ ){
	for( i = 0 ; i < ImgTopName.length ; i++ ){
		A[ j*ImgTopName.length + i ] = new Image();
		A[ j*ImgTopName.length + i ].src = 'img/' + ImgTopName[i] + '_' +ImgTopStat[j] +'.gif';
	}
}

function ChgTopImg(i,j){
	document.images[ImgTopName[i]].src = A[ j*ImgTopName.length + i ].src ;
}


//Random ImageDraw at Toppage

function DrawTopImg(){
	k = Math.floor(2*Math.random());// k = 0 or 1
	document.writeln('<table width="725" border="0" cellspacing="0" cellpadding="0">');
	document.writeln('<tr>');
	if(k==0){//printer
		t=1;
	}else{//station
		t=4;
	}
	for(i=1;i<5;i++){
		document.writeln('<td><img src="img/top_img',t,'_',i,'.jpg" alt="',ImgAltPh[t],'" width="',ImgSize[i],'" height="207" border="0"></td>');
	}
	document.writeln('</tr>');
	document.writeln('</table>');
}



function openWi12(fi,na,w,h) {
	window.open(fi,na,"width="+w+",height="+h+",left=300,top=100,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,favorites=no,resizable=yes");
}

theBadges = new Array(2);
theBadges[0]='<tr><td><a href="/products/offirio/emp/index.htm"><img src="img/top_img4_1.jpg" alt="新スタイル・モバイル、誕生。" width="240" height="207" border="0"></a><a href="/products/offirio/emp/index.htm"><img src="img/top_img4_2.jpg" alt="新スタイル・モバイル、誕生。" width="223" height="207" border="0"></a><a href="/products/offirio/emp/index.htm"><img src="img/top_img4_3.jpg" alt="新スタイル・モバイル、誕生。" width="262" height="207" border="0"></a></td></tr>';
theBadges[1]='<tr><td><a href="/products/offirio/emp/index.htm"><img src="img/top_img4_1.jpg" alt="新スタイル・モバイル、誕生。" width="240" height="207" border="0"></a><a href="/products/offirio/emp/index.htm"><img src="img/top_img4_2.jpg" alt="新スタイル・モバイル、誕生。" width="223" height="207" border="0"></a><a href="/products/offirio/emp/index.htm"><img src="img/top_img4_3.jpg" alt="新スタイル・モバイル、誕生。" width="262" height="207" border="0"></a></td></tr>';
theBadges[2]='<tr><td><img src="img/top_img1_1.jpg" alt="ますます置けちゃう、A3カラー　置き楽プリンタ「新オフィリオ」" width="567" height="207"></td><td><img src="img/top_img1_2.jpg" alt="オフィリオ プリンタ" width="158" height="97"><br><img src="img/top_img1_3.jpg" width="158" height="110" border="0"></a></td></tr>';
theBadges[3]='<tr><td><img src="img/top_img1_1.jpg" alt="ますます置けちゃう、A3カラー　置き楽プリンタ「新オフィリオ」" width="567" height="207"></td><td><img src="img/top_img1_2.jpg" alt="オフィリオ プリンタ" width="158" height="97"><br><img src="img/top_img1_3.jpg" width="158" height="110" border="0"></a></td></tr>';
theBadges[4]='<tr><td><img src="img/top_img1_1.jpg" alt="ますます置けちゃう、A3カラー　置き楽プリンタ「新オフィリオ」" width="567" height="207"></td><td><img src="img/top_img1_2.jpg" alt="オフィリオ プリンタ" width="158" height="97"><br><img src="img/top_img1_3.jpg" width="158" height="110" border="0"></a></td></tr>';
maxBadges = 5;
badgesNo = Math.floor(Math.random() * maxBadges);





newWindow = null;
function openLocation(file) {
        if (!newWindow || newWindow.closed) {
                newWindow = window.open("","cm","width=640,height=480,status=no,scrollbars=no");
        }
        newWindow.location.href = file;
        newWindow.focus();
}

//Window Open for Color
function WinColor(){
	var Win_color = window.open('printer/color/index.htm','window_color','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=600,height=440');
	Win_color.focus();
}

//Window Open for BeforeAfter
function WinBeforeAfterOpen(){
use_win2 = window.open('/products/offirio/mfp/before_after/','use_newWin_beforeafter','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,width=840,height=630');
use_win2.focus();
}

//Window Open for HopOpen
function HopOpen(){
	var use_win = window.open('/products/offirio/healthy/','use_newWin_hop','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=600,height=440');
	use_win.focus();
}



//-->
