﻿var status=null;var postparams=null;Sys.Application.add_load(initializeControls);function initializeControls(e){}
function GetAsync(params,resultpanel){postparams=params;ws_ajax_load.Kontrol_Method(params.target,params.argument,params.prono,params.issecure,onSuccess,onFailure,[resultpanel],10000);}
function onSuccess(result,context,methodName){var resultpanelid;var resultpanel=context[0];if(resultpanel.sepetDivid!=null)
resultpanelid=resultpanel.sepetDivid;if(resultpanelid!=null){var obj=$get(resultpanelid);while(obj.firstChild)
obj.removeChild(obj.firstChild);var ndiv=document.createElement('div');ndiv.innerHTML=result;obj.appendChild(ndiv);}}
function onFailure(result,context,methodName){if(postparams!=null&&postparams.target!=null&&postparams.argument!=null)
Post(postparams.target,postparams.argument);}
