$( function(){
	$("#keywordsearchWrap").css("display","none");
	$("#proList02").css("background-position","0 -22px");
	$("#topProList a").click(tabChange);
//	$("#topBunnerWrap img").mouseover(bunnerOn);
//	$("#topBunnerWrap img").mouseout(bunnerOff);
});
function tabChange(){
	var thisid = $(this).attr("id");
	var openTab = $(this).attr("href");
	$(".tab_cont").css("display","none");
	$("#topProList a").css("background-position","0 -22px");
	$(openTab).css("display","block");
	$(this).css("background-position","0 0");
	return false;
}

//function bunnerOn(){
//	var src = $(this).attr("src");
//	var src_file = src.split("/");
//	var length = src_file.length;
//	length = length - 1;
//	new_file = "on"+src_file[length];
//	var new_src = "./";
//	for(i=0;i<=length;i++){
//		if(i == length){
//			new_src = new_src + "/" + new_file;
//		}else{
//			new_src = new_src + "/" + src_file[i];
//		}
//	}
//	 $(this).attr("src",new_src);
//}
//function bunnerOff(){
//	var src = $(this).attr("src");
//	var src_file = src.split("/");
//	var length = src_file.length;
//	length = length - 1;
//	new_file = src_file[length].split("on");
//	var new_src = "./";
//	for(i=0;i<=length;i++){
//		if(i == length){
//			new_src = new_src + "/" + new_file[1];
//		}else{
//			new_src = new_src + "/" + src_file[i];
//		}
//	}
//	 $(this).attr("src",new_src);
//}
