( function(){


/* ============================================================================== initRollovers - 'imgover'
	
*/

var initRollovers = function() {
	if (!document.getElementById) return

	var aPreLoad = new Array();
	var sTempSrc;
	var aImages = document.getElementsByTagName('img');

	for (var i = 0; i < aImages.length; i++) {		
		if (aImages[i].className == 'imgover') {
			var src = aImages[i].getAttribute('src');
			var ftype = src.substring(src.lastIndexOf('.'), src.length);
			var hsrc = src.replace(ftype, '_o'+ftype);

			aImages[i].setAttribute('hsrc', hsrc);
		
			aPreLoad[i] = new Image();
			aPreLoad[i].src = hsrc;
		
			aImages[i].onmouseover = function() {
				sTempSrc = this.getAttribute('src');
				this.setAttribute('src', this.getAttribute('hsrc'));
			}	
		
			aImages[i].onmouseout = aImages[i].onclick = function() {
				if (!sTempSrc) sTempSrc = this.getAttribute('src').replace('_o'+ftype, ftype);
				this.setAttribute('src', sTempSrc);
			}
		}
	}
};


/* ============================================================================== addEvent
*/

function addEvent(elm, listener, fn){
	try{
		elm.addEventListener(listener, fn, false);
	}catch(e){
		elm.attachEvent('on' + listener, fn);
	}
}

addEvent(window, 'load', function() {
	
	initRollovers();
	
});

}) ();

function pickup01(){
var strTemp;
strTemp='';
strTemp+='<ul>';
strTemp+='<li><a href="./about/">ISOとは</a></li>';
strTemp+='<li><a href="./about/iso9001.html">ISO9001について・認証取得のメリット</a></li>';
strTemp+='<li><a href="./about/iso14001.html">ISO14001について・認証取得のメリット</a></li>';
strTemp+='<li><a href="./about/category.html">業種別ISO取得のメリット</a></li>';
strTemp+='<li><a href="./about/attention.html">取得にあたっての留意点</a></li>';
strTemp+='</ul>';
document.write(strTemp);
}

function pickup02(){
var strTemp;
strTemp='';
strTemp+='<ul>';
strTemp+='<li><a href="./consultant/">ISOコンサルタントに頼むメリット</a></li>';
strTemp+='<li><a href="./consultant/strength.html">パワーラウンドの強み</a></li>';
strTemp+='<li><a href="./consultant/price.html">コンサルティング費用</a></li>';
strTemp+='<li><a href="./consultant/ex.html">過去の案件事例</a></li>';
strTemp+='<li><a href="./consultant/flow.html">お申し込み後取得までの流れ</a></li>';strTemp+='</ul>';
document.write(strTemp);
}