var rndm;

rndm = Math.ceil(10 * Math.random() );

switch (rndm){

	case 1:

		document.write('<div id="#homeimage"><a href="/english/products/pm/018.html"><img src="./images/home/main_1.jpg" width="587" height="172" border="0" alt="Photosensitive Dry Film Photec" /></a></div>');

		break;	

	case 2:

		document.write('<div id="#homeimage"><a href="/english/products/srm/003.html"><img src="./images/home/main_2.jpg" width="587" height="172" alt="CMP Slurry GPX" /></a></div>');

		break;

	case 3:

		document.write('<div id="#homeimage"><a href="/english/products/ppcm/013.html"><img src="./images/home/main_3.jpg" width="587" height="172" alt="RFID Products IC Card &amp; Tags" /></a></div>');

		break;		

	case 4:

		document.write('<div id="#homeimage"><a href="/english/products/bm/b02/004.html"><img src="./images/home/main_4.jpg" width="587" height="172" alt="Copper-Clad Laminates for Multilayer PWBs MCL" /></a></div>');

		break;

	case 5:

		document.write('<div id="#homeimage"><a href="/english/products/do/001.html"><img src="./images/home/main_5.jpg" width="587" height="172" alt="Anisotropic Conductive Film ANISOLM" /></a></div>');

		break;

	case 6:

		document.write('<div id="#homeimage"><a href="/english/products/aprm/001.html"><img src="./images/home/main_6.jpg" width="587" height="172" alt="Insulating Varnishes" /></a></div>');

		break;		
		
	case 7:

		document.write('<div id="#homeimage"><a href="/english/products/pwb/005.html"><img src="./images/home/main_7.jpg" width="587" height="172" alt="High Density Multi Wiring Board MWB" /></a></div>');

		break;		
		
	case 8:

		document.write('<div id="#homeimage"><a href="/english/products/cc/007.html"><img src="./images/home/main_8.jpg" width="587" height="172" alt="Anode Material for Lithium Ion Batteries" /></a></div>');

		break;		
		
	case 9:

		document.write('<div id="#homeimage"><a href="/english/products/prm/001.html"><img src="./images/home/main_10.jpg" width="587" height="172" alt="Conductive Film" /></a></div>');

		break;
		
	case 10:

		document.write('<div id="#homeimage"><img src="/english/images/home/bnr_hc50th.jpg" width="587" height="172" alt="Hitachi Chemical 50th Anniversary" /></div>');

		break;
		

	default:

		document.write('<div id="#homeimage"><a href="/english/products/pmp/001.html"><img src="./images/home/main_9.jpg" width="587" height="172" alt="Powder Metal Products" /></a></div>');

		break;

}



//*イベント開催時 例*//

/*
document.write('<div id="#homeimage"><a href="/english/information/event/jpca2011/index.html"><img src="/english/images/home/title_jpca2011.jpg" width="587" height="172" alt="We will exhibit at JPCA Show 2011" /></a></div>');


/*

var rndm;

rndm = Math.ceil(2 * Math.random() );

switch (rndm){

	case 1:

		document.write('<div id="#homeimage"><a href="/english/information/event/icp2011/index.html"><img src="./images/home/title_icp2011.jpg" width="587" height="172" border="0" alt="We will exhibit at 12th IC PACKAGING TECHNOLOGY EXPO" /></a></div>');

		break;	

	case 2:

		document.write('<div id="#homeimage"><a href="/english/information/event/lj2011/index.html"><img src="./images/home/title_lj2011.jpg" width="587" height="172" alt="We will exhibit at LIGHTING JAPAN 3rd LED/OLED Lighting Technology Expo." /></a></div>');

		break;

	default:

}
*/

