// JavaScript Document
kickThum=function(){
	document.images['thumPic'].src='';
	document.getElementById('thumValue').value='-2';
}
sPaste=function(sObjPath, sObjPic){
	document.images['thumPic'].src=sObjPath;
	document.getElementById('thumValue').value=sObjPic;
	hideFuncDiv();
}
caFuncDiv=function(DivObj, w, h){
	var iW, iH;
	if(!document.all && document.getElementById){
		var iW = window.innerWidth;
		var iH = window.innerHeight;
	}else{
		var iW = document.documentElement.clientWidth;
		var iH = document.documentElement.clientHeight;
	}
	document.getElementById('function_div_area').style.left=(iW-w)/2 + "px";
	document.getElementById('function_div_area').style.top=(iH-h)/4 + "px";
}
showFuncDiv=function(SetWidth, SetHeight){
	var iWidth = document.body.clientWidth;
	var iHeight = document.body.clientHeight;
	document.getElementById('function_div').style.width=iWidth+"px";
	document.getElementById('function_div').style.height=iHeight+"px";
	document.getElementById('function_div_area').style.display='block';
	caFuncDiv('function_div_area', SetWidth, SetHeight);
}
hideFuncDiv=function(){
	document.getElementById('function_div').style.width="0px";
	document.getElementById('function_div').style.height="0px";
	document.getElementById('function_div_area').style.display='none';
}