var nk_id = "";
var currentX = 0;
var currentY = 0;
var pos_x = 0;
var pos_y = 0;
function show_nk_panel(){
var objMain = document.getElementById("div_title_main");
var objSub = document.getElementById("div_title_sub");
var objSub2 = document.getElementById("div_title_sub2");
function hide_all(e){
var srcItem ;
if(document.all){srcItem = event.srcElement;}
else{srcItem = e.target;}
if(srcItem.id.indexOf("nkvc_")!=-1){return;}
var objMain = document.getElementById("div_title_main");
var objSub = document.getElementById("div_title_sub");
var objSub2 = document.getElementById("div_title_sub2");
objMain.style.visibility="hidden";
objSub.style.visibility="hidden";
objSub2.style.visibility="hidden";
}
function hide_sub(){
var objSub = document.getElementById("div_title_sub");
var objSub2 = document.getElementById("div_title_sub2");
objSub.style.visibility="hidden";
objSub2.style.visibility="hidden";
}
function def_action(e){
var srcItem ;
if(document.all){srcItem = event.srcElement;}
else{srcItem = e.target;}
if(srcItem.id.indexOf("nkvc_")!=-1){
var tmp = srcItem.id.split("_");
nk_id = tmp[1];