
/* -----------------------------------------------
JS file sogo-medical.
FileName:keyvisual.js
----------------------------------------------- */

// PRELOAD IMAGES
function revPreloadImages(the_images_array) {
	for(var loop = 0; loop < the_images_array.length; loop++) {
		var an_image = new Image();
		an_image.src = the_images_array[loop];
	}
}
var the_images = new Array(
'/images/prt_dtod.jpg',
'/images/logo_dtod.gif',
'/images/prt_consultant.jpg',
'/images/prt_divisionsupport.jpg',
'/images/prt_lease.jpg',
'/images/prt_rental.jpg',
'/images/prt_construct.jpg',
'/images/prt_risk.jpg',
'/images/prt_talent.jpg',
'/images/prt_store.jpg',
'/images/prt_smo.jpg',
'/images/prt_lifestyle.jpg',
'/images/prt_succeed.jpg'
);
revPreloadImages(the_images);


function keyviChange(val){

var keyviArray = new Array();
keyviArray['dtod'] = '<div class="img_01"><img src="images/prt_dtod.jpg" width="780" height="160" alt="" usemap="#link" border="0"></div><map name="link"><area href="dtod/index.html" shape="rect" coords="18,117,120,137" alt="DtoDのご案内"><area href="http://www.dtod-concierge.com/" shape="rect" coords="128,117,250,137" alt="DtoDコンシェルジュ" target="_blank"></map><div style="position:absolute;top:18px;right:20px;width:125px;height:125px;"><a href="dtod/index.html"><img src="images/logo_dtod.gif" width="125" height="125" alt="DtoD 医業継承・医療連携・医師転職支援システム"></a></div>'; 
keyviArray['dtodc'] = '<div class="img_01"><img src="images/prt_dtodc.jpg" width="780" height="160" alt=""></div><div style="position:absolute;top:18px;right:20px;width:125px;height:125px;"><a href="dtod/index.html"><img src="images/logo_dtod.gif" width="125" height="125" alt="DtoD 医業継承・医療連携・医師転職支援システム"></a></div>'; 
keyviArray['consultant'] = '<div class="img_01"><img src="images/prt_consultant.jpg" width="780" height="160" alt=""></div><div style="position:absolute;top:18px;right:20px;width:125px;height:125px;"><a href="dtod/index.html"><img src="images/logo_dtod.gif" width="125" height="125" alt="DtoD 医業継承・医療連携・医師転職支援システム"></a></div>'; 
keyviArray['divisionsupport'] = '<div class="img_01"><img src="images/prt_divisionsupport.jpg" width="780" height="160" alt=""></div><div style="position:absolute;top:18px;right:20px;width:125px;height:125px;"><a href="dtod/index.html"><img src="images/logo_dtod.gif" width="125" height="125" alt="DtoD 医業継承・医療連携・医師転職支援システム"></a></div>'; 
keyviArray['lease'] = '<div class="img_01"><img src="images/prt_lease.jpg" width="780" height="160" alt=""></div><div style="position:absolute;top:18px;right:20px;width:125px;height:125px;"><a href="dtod/index.html"><img src="images/logo_dtod.gif" width="125" height="125" alt="DtoD 医業継承・医療連携・医師転職支援システム"></a></div>'; 
keyviArray['rental'] = '<div class="img_01"><img src="images/prt_rental.jpg" width="780" height="160" alt=""></div><div style="position:absolute;top:18px;right:20px;width:125px;height:125px;"><a href="dtod/index.html"><img src="images/logo_dtod.gif" width="125" height="125" alt="DtoD 医業継承・医療連携・医師転職支援システム"></a></div>'; 
keyviArray['construct'] = '<div class="img_01"><img src="images/prt_construct.jpg" width="780" height="160" alt=""></div><div style="position:absolute;top:18px;right:20px;width:125px;height:125px;"><a href="dtod/index.html"><img src="images/logo_dtod.gif" width="125" height="125" alt="DtoD 医業継承・医療連携・医師転職支援システム"></a></div>'; 
keyviArray['risk'] = '<div class="img_01"><img src="images/prt_risk.jpg" width="780" height="160" alt=""></div><div style="position:absolute;top:18px;right:20px;width:125px;height:125px;"><a href="dtod/index.html"><img src="images/logo_dtod.gif" width="125" height="125" alt="DtoD 医業継承・医療連携・医師転職支援システム"></a></div>'; 
keyviArray['talent'] = '<div class="img_01"><img src="images/prt_talent.jpg" width="780" height="160" alt=""></div><div style="position:absolute;top:18px;right:20px;width:125px;height:125px;"><a href="dtod/index.html"><img src="images/logo_dtod.gif" width="125" height="125" alt="DtoD 医業継承・医療連携・医師転職支援システム"></a></div>'; 
keyviArray['store'] = '<div class="img_01"><img src="images/prt_store.jpg" width="780" height="160" alt=""></div><div style="position:absolute;top:18px;right:20px;width:125px;height:125px;"><a href="dtod/index.html"><img src="images/logo_dtod.gif" width="125" height="125" alt="DtoD 医業継承・医療連携・医師転職支援システム"></a></div>'; 
keyviArray['smo'] = '<div class="img_01"><img src="images/prt_smo.jpg" width="780" height="160" alt=""></div><div style="position:absolute;top:18px;right:20px;width:125px;height:125px;"><a href="dtod/index.html"><img src="images/logo_dtod.gif" width="125" height="125" alt="DtoD 医業継承・医療連携・医師転職支援システム"></a></div>'; 
keyviArray['lifestyle'] = '<div class="img_01"><img src="images/prt_lifestyle.jpg" width="780" height="160" alt=""></div><div style="position:absolute;top:18px;right:20px;width:125px;height:125px;"><a href="dtod/index.html"><img src="images/logo_dtod.gif" width="125" height="125" alt="DtoD 医業継承・医療連携・医師転職支援システム"></a></div>'; 
keyviArray['succeed'] = '<div class="img_01"><img src="images/prt_succeed.jpg" width="780" height="160" alt=""></div><div style="position:absolute;top:18px;right:20px;width:125px;height:125px;"><a href="dtod/index.html"><img src="images/logo_dtod.gif" width="125" height="125" alt="DtoD 医業継承・医療連携・医師転職支援システム"></a></div>'; 
keyviArray['succeedlog'] = '<div class="img_01"><img src="images/prt_succeedlog.jpg" width="780" height="160" alt=""></div><div style="position:absolute;top:18px;right:20px;width:125px;height:125px;"><a href="dtod/index.html"><img src="images/logo_dtod.gif" width="125" height="125" alt="DtoD 医業継承・医療連携・医師転職支援システム"></a></div>'; 
keyviArray['seminer'] = '<div class="img_01"><img src="images/prt_seminer.jpg" width="780" height="160" alt="" usemap="#seminer" border="0"></div><map name="seminer"><area href="information/event/management_seminar.html" shape="rect" coords="15,129,116,148" alt="医業経営セミナー"></map><div style="position:absolute;top:18px;right:20px;width:125px;height:125px;"><a href="dtod/index.html"><img src="images/logo_dtod.gif" width="125" height="125" alt="DtoD 医業継承・医療連携・医師転職支援システム"></a></div>'; 
keyviArray['management'] = '<div class="img_01"><img src="images/prt_management.jpg" width="780" height="160" alt=""></div><div style="position:absolute;top:18px;right:20px;width:125px;height:125px;"><a href="dtod/index.html"><img src="images/logo_dtod.gif" width="125" height="125" alt="DtoD 医業継承・医療連携・医師転職支援システム"></a></div>'; 
keyviArray['diners'] = '<div class="img_01"><img src="images/prt_diners.jpg" width="780" height="160" alt=""></div><div style="position:absolute;top:18px;right:20px;width:125px;height:125px;"><a href="dtod/index.html"><img src="images/logo_dtod.gif" width="125" height="125" alt="DtoD 医業継承・医療連携・医師転職支援システム"></a></div>'; 

document.getElementById('keyvi').innerHTML = keyviArray[val];

}