function jsp_selecttab(pdiv){
var pparent=pdiv.parent;
var sclassbefore=pdiv.className.substring(0,pdiv.className.indexOf('_'));
	var itab=0;
	var btab=false;
	var i=0;
	var pset=document.getElementsByName(pdiv.id);
	for(var i=0;i<pset.length;i++){
		if(pset[i].id==pdiv.id){
			if(!btab){itab++;}
			if(pset[i]==pdiv){
				pset[i].className=sclassbefore+'_se';
				btab=true;
			}
			else{
				pset[i].className=sclassbefore+'_ns';
			}
		}
	}
}


window.onload=function () {
	var input_keyword=document.getElementById('input_keyword');
	if (document.addEventListener) {
		input_keyword.addEventListener('click',function () {this.setAttribute('value','');},false);
	}
	else {
		input_keyword.attachEvent('onclick',function () {input_keyword.setAttribute('value','');});
	}
}

function get_Code() {
	var CodeFile = "GetCode.asp";
	if(document.getElementById("imgid"))
	document.getElementById("imgid").innerHTML = '<img src="'+CodeFile+'?t='+Math.random()+'" alt="µã»÷Ë¢ÐÂÑéÖ¤Âë" style="cursor:pointer;border:0;vertical-align:middle;" onclick="this.src=\''+CodeFile+'?t=\'+Math.random()" />'
}
