/* Layer Color Tip */
function LctShow(ImgAddr,LyTop,LyLeft,LyMWTop,LyMWLeft){
	var LctTbl = '<table width="60" border="0" cellspacing="0" cellpadding="0">\n'
			   + '<tr>\n'
			   + '<td><img src="../../image/shim.gif" width="60" height="1" border="0" alt=""></td>\n'
			   + '</tr>\n'
			   + '<tr>\n'
			   + '<td><img src="image/' + ImgAddr + '" width="60" height="60" border="0" alt=""></td>\n'
			   + '</tr>\n'
			   + '<tr>\n'
			   + '<td><img src="../../image/shim.gif" width="60" height="1" border="0" alt=""></td>\n'
			   + '</tr>\n'
			   + '</table>\n';
			   
	if((document.getElementById) && (!document.all)){
		document.getElementById('Lctinner').innerHTML = LctTbl;
		document.getElementById('LctMiniWall').style.top = LyMWTop;
		document.getElementById('LctMiniWall').style.left = LyMWLeft;
		document.getElementById('Lctinner').style.top = LyTop;
		document.getElementById('Lctinner').style.left = LyLeft;
	}else if(document.all){ // LctShim
		document.all('Lctinner').innerHTML = LctTbl;	
		document.all('LctMiniWall').style.pixelTop = LyMWTop;
		document.all('LctMiniWall').style.pixelLeft = LyMWLeft;
		document.all('Lctinner').style.pixelTop = LyTop;
		document.all('Lctinner').style.pixelLeft = LyLeft;
	}else if(document.layers){
		with(document.layers['Lctinner'].document){
			open();
			write(LctTbl);
			close();
		}
		document.layers['LctMiniWall'].top = LyMWTop;
		document.layers['LctMiniWall'].left = LyMWLeft;	
		document.layers['Lctinner'].top = LyTop;
		document.layers['Lctinner'].left = LyLeft;
	}	
	LctShoHid('LctMiniWall','visible');
	LctShoHid('Lctinner','visible');
	LctShoHid('LctShim','visible');
}
function LctHide(){ // Layer Color Tip Hidden	
	LctShoHid('Lctinner','hidden');
	LctShoHid('LctMiniWall','hidden');
	LctShoHid('LctShim','hidden');
}
function LctShoHid(Lyname,LyControl){ // Layer Visible or hidden
	if((document.getElementById) && (!document.all)){document.getElementById(Lyname).style.visibility = LyControl;
	}else if(document.all){document.all(Lyname).style.visibility = LyControl;
	}else if(document.layers){document.layers[Lyname].visibility = LyControl;}
}

/* Layer Color Tip Type 2 */
function LctShow2(ID,ImgAddr,LyTop,LyLeft,ImgH,ImgW){
	var LctTbl = '<table width="' + ImgW + '" border="0" cellspacing="0" cellpadding="0">\n'
			   + '<tr>\n'
			   + '<td><img src="image/' + ImgAddr + '" width="' + ImgW + '" height="' + ImgH + '" border="0" alt=""></td>\n'
			   + '</tr>\n'
			   + '</table>\n';

	if((document.getElementById) && (!document.all)){
		document.getElementById(ID).innerHTML = LctTbl;
		document.getElementById(ID).style.top = LyTop;
		document.getElementById(ID).style.left = LyLeft;
	}else if(document.all){ // LctShim
		document.all(ID).innerHTML = LctTbl;
		document.all(ID).style.pixelTop = LyTop;
		document.all(ID).style.pixelLeft = LyLeft;
	}else if(document.layers){
		with(document.layers[ID].document){
			open();
			write(LctTbl);
			close();
		}
		document.layers[ID].top = LyTop;
		document.layers[ID].left = LyLeft;
	}	
	LctShoHid(ID,'visible');
}

function LctHide2(ID){ // Layer Color Tip Hidden
	LctShoHid(ID,'hidden');
}
