function ob_OnNodeDrop(src,dst,copy){if(typeof ob_post=="object"){ob_post.AddParam("src",src);ob_post.AddParam("dst",dst);document.getElementById("_ctl0__ctl0_lblmsg").innerHTML="Kaydediliyor."
ob_post.post("process.aspx","OnNodeDrop",OnNodeDropResponse);}else{alert("Please add obout_Postback control to your page to use the server-side events");}}function OnNodeDropResponse(sResponseText){document.getElementById("_ctl0__ctl0_lblmsg").innerHTML=sResponseText}function ob_OnNodeDropOutside(dst){if(ob_ev("OnNodeDropOutside")){if(typeof ob_post=="object"){ob_post.AddParam("dst",dst);ob_post.post("TreeEvents.aspx","OnNodeDropOutside");}else{alert("Please add obout_Postback control to your page to use the server-side events");}}}function ob_OnNodeSelect(id){if(ob_ev("OnNodeSelect")){if(document.getElementById(id).parentNode.parentNode.firstChild.firstChild.className=="ob_t8"){id="root";}if(typeof ob_post=="object"){ob_post.AddParam("id",id);ob_post.post("process_edit.aspx","OnNodeSelect");}else{alert("Please add obout_Postback control to your page to use the server-side events");}}}function ob_OnNodeEdit(id,text,prevText){if(ob_ev("OnNodeEdit")){if(document.getElementById(id).parentNode.parentNode.firstChild.firstChild.className=="ob_t8"){id="root";}if(typeof ob_post=="object"){ob_post.AddParam("id",id);ob_post.AddParam("text",text);ob_post.AddParam("prevText",prevText);ob_post.post("TreeEvents.aspx","OnNodeEdit");}else{alert("Please add obout_Postback control to your page to use the server-side events");}}}function ob_OnAddNode(parentId,childId,textOrHTML,expanded,image,subTreeURL){if(ob_ev("OnAddNode")){if(document.getElementById(parentId).parentNode.parentNode.firstChild.firstChild.className=="ob_t8"){parentId="root";}if(typeof ob_post=="object"){ob_post.AddParam("parentId",parentId);ob_post.AddParam("childId",childId);ob_post.AddParam("textOrHTML",textOrHTML);ob_post.AddParam("expanded",expanded?expanded:0);ob_post.AddParam("image",image?image:"");ob_post.AddParam("subTreeURL",subTreeURL?subTreeURL:"");ob_post.post("TreeEvents.aspx","OnAddNode");}else{alert("Please add obout_Postback control to your page to use the server-side events");}}}function ob_OnRemoveNode(id){if(ob_ev("OnRemoveNode")){if(typeof ob_post=="object"){ob_post.AddParam("id",id);ob_post.post("TreeEvents.aspx","OnRemoveNode");}else{alert("Please add obout_Postback control to your page to use the server-side events");}}}function ob_OnNodeExpand(id,dynamic){if(ob_ev("OnNodeExpand")){if(document.getElementById(id).parentNode.parentNode.firstChild.firstChild.className=="ob_t8"){id="root";}if(typeof ob_post=="object"){ob_post.AddParam("id",id);ob_post.post("TreeEvents.aspx","OnNodeExpand");}else{alert("Please add obout_Postback control to your page to use the server-side events");}}}function ob_OnNodeCollapse(id){if(ob_ev("OnNodeCollapse")){if(document.getElementById(id).parentNode.parentNode.firstChild.firstChild.className=="ob_t8"){id="root";}if(typeof ob_post=="object"){ob_post.AddParam("id",id);ob_post.post("TreeEvents.aspx","OnNodeCollapse");}else{alert("Please add obout_Postback control to your page to use the server-side events");}}}function ob_OnBeforeAddNode(parentId,childId,textOrHTML,expanded,image,subTreeURL){if(ob_ev("OnBeforeAddNode")){if(document.getElementById(parentId).parentNode.parentNode.firstChild.firstChild.className=="ob_t8"){parentId="root";}if(typeof ob_post=="object"){ob_post.AddParam("parentId",parentId);ob_post.AddParam("childId",childId);ob_post.AddParam("textOrHTML",textOrHTML);ob_post.AddParam("expanded",expanded?expanded:0);ob_post.AddParam("image",image?image:"");ob_post.AddParam("subTreeURL",subTreeURL?subTreeURL:"");ob_post.post("TreeEvents.aspx","OnBeforeAddNode");}else{alert("Please add obout_Postback control to your page to use the server-side events");}}return true;}function ob_OnBeforeRemoveNode(id){if(ob_ev("OnBeforeRemoveNode")){if(document.getElementById(id).parentNode.parentNode.firstChild.firstChild.className=="ob_t8"){id="root";}if(typeof ob_post=="object"){ob_post.AddParam("id",id);ob_post.post("TreeEvents.aspx","OnBeforeRemoveNode");}else{alert("Please add obout_Postback control to your page to use the server-side events");}}return true;}function ob_OnBeforeNodeEdit(id){if(ob_ev("OnBeforeNodeEdit")){if(document.getElementById(id).parentNode.parentNode.firstChild.firstChild.className=="ob_t8"){id="root";}if(typeof ob_post=="object"){ob_post.AddParam("id",id);ob_post.post("TreeEvents.aspx","OnBeforeNodeEdit");}else{alert("Please add obout_Postback control to your page to use the server-side events");}}return true;}function ob_OnBeforeNodeSelect(id){if(ob_ev("OnBeforeNodeSelect")){if(document.getElementById(id).parentNode.parentNode.firstChild.firstChild.className=="ob_t8"){id="root";}if(typeof ob_post=="object"){ob_post.AddParam("id",id);ob_post.post("TreeEvents.aspx","OnBeforeNodeSelect");}else{alert("Please add obout_Postback control to your page to use the server-side events");}}return true;}function ob_OnBeforeNodeDrop(src,dst,copy){if(ob_ev("OnBeforeNodeDrop")){if(document.getElementById(dst).parentNode.parentNode.firstChild.firstChild.className=="ob_t8"){dst="root";}if(typeof ob_post=="object"){ob_post.AddParam("src",src);ob_post.AddParam("dst",dst);ob_post.post("TreeEvents.aspx","OnBeforeNodeDrop");}else{alert("Please add obout_Postback control to your page to use the server-side events");}}return true;}function ob_OnBeforeNodeDrag(id){if(ob_ev("OnBeforeNodeDrag")){if(document.getElementById(id).parentNode.parentNode.firstChild.firstChild.className=="ob_t8"){id="root";}if(typeof ob_post=="object"){ob_post.AddParam("id",id);ob_post.post("TreeEvents.aspx","OnBeforeNodeDrag");}else{alert("Please add obout_Postback control to your page to use the server-side events");}}return true;}function ob_OnBeforeNodeDropOutside(dst){if(ob_ev("OnBeforeNodeDropOutside")){if(typeof ob_post=="object"){ob_post.AddParam("dst",dst);ob_post.post("TreeEvents.aspx","OnBeforeNodeDropOutside");}else{alert("Please add obout_Postback control to your page to use the server-side events");}}return true;}function ob_OnBeforeNodeExpand(id,dynamic){if(ob_ev("OnBeforeNodeExpand")){if(document.getElementById(id).parentNode.parentNode.firstChild.firstChild.className=="ob_t8"){id="root";}if(typeof ob_post=="object"){ob_post.AddParam("id",id);ob_post.post("TreeEvents.aspx","OnBeforeNodeExpand");}else{alert("Please add obout_Postback control to your page to use the server-side events");}}return true;}function ob_OnBeforeNodeCollapse(id){if(ob_ev("OnBeforeNodeCollapse")){if(document.getElementById(id).parentNode.parentNode.firstChild.firstChild.className=="ob_t8"){id="root";}if(typeof ob_post=="object"){ob_post.AddParam("id",id);ob_post.post("TreeEvents.aspx","OnBeforeNodeCollapse");}else{alert("Please add obout_Postback control to your page to use the server-side events");}}return true;}