var timerId=null;function isHyphen(a){if(a!=null&&a!=undefined&&a=="-"){return -2;}else{return -1;}}function cancelBubble(b){var a=b?b:window.event;if(a.stopPropagation){a.stopPropagation();}if(a.cancelBubble!=null){a.cancelBubble=true;}}Ext.Loader.setConfig({enabled:true,disableCaching:false,preserveScripts:false,garbageCollect:true,paths:{"Ext.ux":"/final/scripts/ux","utilities":"/final/scripts/utilities","widgets":"/final/scripts/widgets","views":"/final/scripts/views","sessionSimulation":"/final/monitor/eg_scripts/sessionSimulation"}});
function nFormatter(b,d){if(d!=null){d=0;}var a=[{value:1,symbol:""},{value:1000,symbol:"k"},{value:1000000,symbol:"M"},{value:1000000000,symbol:"G"},{value:1000000000000,symbol:"T"},{value:1000000000000000,symbol:"P"},{value:1000000000000000000,symbol:"E"}];var e=/\.0+$|(\.[0-9]*[1-9])0+$/;var c;for(c=a.length-1;
c>0;c--){if(b>=a[c].value){break;}}return(b/a[c].value).toFixed(d).replace(e,"$1")+a[c].symbol;}var sess_sim_compType="";var sess_sim_comp="";var sess_sim_agent="";var sess_sim_script="";var interVal=null;var countPer=0;var perVal=0;var Refurl="";var Reftext="";var Refid="";var Reftot="";var RefpageVal="";
var ReftotalPageno="";var compRefUrl="";var compListType="";var compSelectedValue=null;var zonelasInfrastructureMenuSelection="";var zoneName="";var donutClickFlag=false;var time_line_obj=null;var extAgentData="";var isListView=false;var deletedDefaultView=false;var isUpdate=false;var fromServiceDashboard=false;
var isPaddingRightChanged=false;var gLogonParam="";var selectedExtAgent="";var selectedSimulation="";var selectedCompType="";var refreshSimulation="";var innerActiveTab="";var extAgentData="";var extSimData="";var compTypeData="";var singleComponentTypeValue="";var singleComponentTypeName="";var compTypeChanged="";
var isRefreshing=false;var timeLineValueForRefresh="";var fromHrValueForRefresh="";var toHrValueForRefresh="";var fromMinValueForRefresh="";var toMinValueForRefresh="";var modeValueForRefresh="";var fromDateValueForRefresh="";var toDateValueForRefresh="";var SysComponentType="";Ext.Ajax.on("beforerequest",function(c,d){Ext.getBody().unmask();
clearInterval(interVal);countPer=0;perVal=0;var b=d;if(!Ext.isEmpty(b.url)&&(b.url.indexOf("comparisonComponent")>-1||b.url.indexOf("EgMonRemoteScriptingServlet")>-1||b.url.indexOf("setSession")>-1)){return;}if(!Ext.isEmpty(d.comboIdValue)&&d.comboIdValue!=undefined&&d.comboIdValue!=null){var a=d.comboIdValue;
if(!Ext.isEmpty(a)&&a.indexOf("_combo")!=-1){a=a.substring(0,a.indexOf("_combo"));}if(a.indexOf("(")!=-1){a=a.replace("(","LB");}if(a.indexOf(")")!=-1){a=a.replace(")","RB");}Ext.getCmp(a).el.mask("Loading..."+perVal+"%");interVal=setInterval("updateLoadingStatus("+a+")",2000);}else{Ext.getBody().mask("Loading..."+perVal+"%");
interVal=setInterval("updateLoadingStatus()",2000);}});Ext.Ajax.on("requestcomplete",function(c,d){var b=d;if(!Ext.isEmpty(b.responseText)&&(b.responseText.indexOf("subFilterOptions")>-1||b.responseText.indexOf("getTime")>-1||b.responseText.indexOf("<script>")>-1)){return;}if(!Ext.isEmpty(d.request.options.comboIdValue)&&d.request.options.comboIdValue!=undefined&&d.request.options.comboIdValue!=null){var a=d.request.options.comboIdValue;
if(!Ext.isEmpty(a)&&a.indexOf("_combo")!=-1){a=a.substring(0,a.indexOf("_combo"));}if(a.indexOf("(")!=-1){a=a.replace("(","LB");}if(a.indexOf(")")!=-1){a=a.replace(")","RB");}Ext.getCmp(a).el.mask("Loading...100%");setTimeout("endLoading("+a+")",1000);}else{Ext.getBody().mask("Loading...100%");setTimeout("endLoading()",1000);
}});Ext.Ajax.on("requestexception",function(c,d){var b=d;if(!Ext.isEmpty(b.url)&&(b.url.indexOf("comparisonComponent")>-1||b.url.indexOf("EgMonRemoteScriptingServlet")>-1||b.url.indexOf("setSession")>-1)){return;}if(!Ext.isEmpty(d.request.options.comboIdValue)&&d.request.options.comboIdValue!=undefined&&d.request.options.comboIdValue!=null){var a=d.request.options.comboIdValue;
if(!Ext.isEmpty(a)&&a.indexOf("_combo")!=-1){a=a.substring(0,a.indexOf("_combo"));}if(a.indexOf("(")!=-1){a=a.replace("(","LB");}if(a.indexOf(")")!=-1){a=a.replace(")","RB");}Ext.getCmp(a).el.mask("Loading...100%");setTimeout("endLoading("+a+")",1000);}else{setTimeout("endLoading()",1000);}});function updateLoadingStatus(a){countPer=countPer+1;
if(countPer<=5){perVal=perVal+10;if(perVal<=98){if(!Ext.isEmpty(a)){Ext.getCmp(a.id).el.mask("Loading..."+perVal+"%");}else{Ext.getBody().mask("Loading..."+perVal+"%");}}}else{perVal=perVal+2;if(perVal<=98){if(!Ext.isEmpty(a)){Ext.getCmp(a.id).el.mask("Loading..."+perVal+"%");}else{Ext.getBody().mask("Loading..."+perVal+"%");
}}}}function endLoading(a){if(!Ext.isEmpty(a)){Ext.getCmp(a.id).el.unmask();}else{Ext.getBody().unmask();}clearInterval(interVal);countPer=0;}function execute(){var a=Ext.getCmp("TimeLineId");var b=null;if(a!=null&&a!=undefined){b=a.getValue();}if(b==null||b==undefined||b==""){b="Current";}if(b!=null&&(b=="Current"||b=="Recent"||b.indexOf("5 min")==0||b.indexOf("10 mins")==0)){citrixDashboard.app.getController("Main").refresh("execute");
}}function loadView(q,x,F,G,H,p,B,g){try{if(x!=""&&(x=="-"||x=="0"||x==0)){return;}if(q!=null&&q!=""&&q!="none"&&q=="LAYERMODEL"){if(p!=undefined&&p!=null&&p.trim().length>0){var d=p;if(fromMenu!=null&&fromMenu=="true"){d+="&fromMenu="+fromMenu;}document.location.href=d;}}else{if(q!=null&&q!=""&&q!="none"&&q.toLowerCase()=="metrics_view"){if(B==undefined||B==null){B=true;
}var c=Ext.getCmp("dashmenu_model_id");var r=c.getStore();var z=null;for(var J=0;J<r.getCount();J++){var e=r.getAt(J).data.name;if(e!=null&&e!=undefined&&e==q){z=J;break;}}try{if(z!=null){c.getSelectionModel().select(z);requestParams.activeView=q;if(!B){c.fireEvent("itemclick",c,c.getSelectionModel().getLastSelected());
}else{if(!Ext.isEmpty(userMappingApplisTo)&&userMappingApplisTo!=null&&userMappingApplisTo!=undefined){if(userMappingApplisTo.indexOf(":")>0){var D=userMappingApplisTo.substring(0,userMappingApplisTo.indexOf(":"));var C=userMappingApplisTo.substring(userMappingApplisTo.indexOf(":")+1);if(D!=null&&D=="Service"){D="services";
}}}var i=false;if(D.toLowerCase().indexOf("component")>-1||D.toLowerCase().indexOf("components")>-1){i=true;}var v="";if(!Ext.isEmpty(Ext.getCmp("dashListComId"))&&Ext.getCmp("dashListComId")!=null&&Ext.getCmp("dashListComId")!=undefined){v=Ext.getCmp("dashListComId").getValue();}var d="/final/monitor/comparisonComponent.jsp?treeTitle=citrixcomponents&selectedState=&componentNameSearch=&fromPageView=CitrixDashboard&viewPageTitle=Components&action=component&fromHomepage=&userName=&filterBy="+D+"&subFilter="+C+"&timeline=null&isfromCitrix=true&iniName="+iniName+"&user_name="+user_name+"&dashboard_mapping="+v+"&dashboard_name="+dashboard+"&view_name="+q+"&fromServiceHomePage="+isFromHomePage+"&isFromZone="+isFromZone+"&iszoneName="+iszoneName+"&parentZone="+parentZone;
d+="&componentType="+Dashboard_ComponentType;var o=c.getSelectionModel().getLastSelected();c.onItemSelect(o);c.onTriggerSelect(requestParams.activeView);setSession(requestParams.activeView);var w=o.data;var y=citrixDashboard.app.getController("Main").getMain().getComponent("citrix_ground").getComponent("cardID");
if(!Ext.isEmpty(y)){y.stopAnimation();y.animate({duration:500,to:{"opacity":0},listeners:{afteranimate:function(){citrixDashboard.app.getController("Main").addPage(w.caption,d);}},scope:citrixDashboard.app.getController("Main").getMain()});}}}}catch(h){}}else{if(q!=null&&q!=""&&q!="none"&&(q!="UED"&&q!="APPUED")){var c=Ext.getCmp("dashmenu_model_id");
var r=c.getStore();var z=0;for(var J=0;J<r.getCount();J++){var e=r.getAt(J).data.name;if(e!=null&&e!=undefined&&e==q){z=J;break;}}try{var j=c.getSelectionModel().getLastSelected();c.getSelectionModel().select(z);var o=c.getSelectionModel().getLastSelected();var w=o.data;requestParams.activeView=q;c.onItemSelect(o);
c.onTriggerSelect(requestParams.activeView);setSession(requestParams.activeView);var y=citrixDashboard.app.getController("Main").getMain().getComponent("citrix_ground").getComponent("cardID");if(!Ext.isEmpty(y)){y.stopAnimation();y.animate({duration:500,to:{"opacity":0},listeners:{afteranimate:function(){citrixDashboard.app.getController("Main").addPage(w.caption);
}},scope:citrixDashboard.app.getController("Main").getMain()});}}catch(h){}}else{if(q!=null&&q!=""&&q!="none"&&(q=="UED"||q=="APPUED")){var d="/final/monitor/endUserDashboard.jsp?access=allusers&userType="+userType+"&fromGeo=true&enableBackButton=true&filterFlag=true&isFromZone="+isFromZone+"&iszoneName="+iszoneName+"&parentZone="+parentZone;
if(q=="APPUED"){d="/final/monitor/endUserDashboard.jsp?access=allusers&userType="+userTypeUED+"&fromGeo=true&enableBackButton=true&filterFlag=true&isFromZone="+isFromZone+"&iszoneName="+iszoneName+"&parentZone="+parentZone;}var n=requestParams.activeView;d+="&iniName="+iniName;d+="&user_name="+user_name;
d+="&isUserBased="+isUserBased;d+="&dashboard_name="+dashboard;d+="&view_name="+n;d+="&dashboard_mapping="+dashboard_mapping;d+="&fromSerComboChange="+fromSerComboChange;d+="&filterByFlag="+filterFlag;d+="&filterByParamFlag="+filterByParamFlag;if(G!=null&&G!=undefined&&G!=""){if(G.indexOf(",")>-1){d+="&selectedTest="+encodeURI("VmgICASessionTest");
}else{d+="&selectedTest="+encodeURI(G);}}if(H!=null&&H!=undefined&&H!=""){if(H.indexOf(",")>-1){d+="&selectedMeasure="+encodeURIComponent("Session_avg_latency");}else{d+="&selectedMeasure="+encodeURIComponent(H);}d+="&orderByColumn="+encodeURIComponent(H);}if(isFromHomePage){d+="&fromServiceHomePage="+isFromHomePage;
}if(isFromZonePage){d+="&fromZonePage=true";}var m=Ext.getCmp("dashTypeComId").getValue();var K="";try{var l=requestParams.dashboardArray;for(var P in l){if(l[P].value==m){K=l[P].ctype;}}}catch(I){}if(!Ext.isEmpty(g)){d+="&detail=ComponentType";d+="&filterBy="+g.substring(0,g.indexOf(":"));d+="&compCombo="+g;
}else{if(!Ext.isEmpty(userMappingApplisTo)&&userMappingApplisTo!=null&&userMappingApplisTo!=undefined){if(userMappingApplisTo.indexOf(":")>0){var N=userMappingApplisTo.substring(0,userMappingApplisTo.indexOf(":"));var M=userMappingApplisTo.substring(userMappingApplisTo.indexOf(":")+1);if(N!=null&&N!=undefined&&N!="null"){if(N=="Component"||N=="Components"){d+="&detail=ComponentType";
if(!Ext.isEmpty(K)&&K!=null&&K!=undefined&&K!=""){d+="&filterBy="+K;}else{d+="&filterBy="+M.substring(0,M.indexOf(":"));}d+="&compCombo="+M;}else{d+="&detail="+N;if(N=="ComponentType"&&!Ext.isEmpty(K)&&K!=null&&K!=undefined&&K!=""){d+="&filterBy="+K;}else{d+="&filterBy="+M;}d+="&compCombo=All";}}}else{d+="&filterBy=All";
}}}if(n!=null&&n!=undefined&&(n=="Overview_View"||n=="Geo_View")){var L="All";if(!Ext.isEmpty(n)&&n.trim()=="Geo_View"){var f=Ext.getCmp("countryComboId");var Q=Ext.getCmp("regionComboId");if(f!=null&&f!=undefined){if(Q!=null&&Q!=undefined){var t=Q.getValue();var A=Q.getRawValue();if(t!=null&&t!=undefined&&t=="AllRegion"){if(f!=null&&f!=undefined&&f.getValue()!="World"){L=f.getRawValue();
}else{L="All";}}else{if(t!=null&&t!=undefined){L=t;if(f!=null&&f!=undefined&&f.getValue()!="World"){L=A+" - "+f.getRawValue();}}else{if(f!=null&&f!=undefined&&f.getValue()!="World"){L=f.getRawValue();}else{L="All";}}}}else{L="All";}}}}if(!Ext.isEmpty(F)){L=F;d+="&fromf5=true";}d+="&ginfo="+encodeURI(L);
var b=Ext.getCmp("TimeLineId").getValue();if(b!=null&&b!=undefined&&b!=""){d+="&time_line="+encodeURI(b);}if(x!=null&&x!=undefined&&x!=""&&x!="-"){d+="&usercountval="+x;}if(!Ext.isEmpty(L)&&L!=null&&L!=undefined){if(L.indexOf("+")==0){L=L.substring(1);}if(L.indexOf("-")>0&&(L.indexOf("-")==L.lastIndexOf("-"))){var E=L.substring(0,L.indexOf("-"));
var u=L.substring(L.indexOf("-")+1);d+="&searchFilter="+encodeURI(u)+"&nextSearch="+encodeURI(E);}else{if(L.indexOf("-")!=L.lastIndexOf("-")){var E=L.substring(0,L.indexOf(" - "));var u=L.substring(L.indexOf(" - ")+3,L.lastIndexOf(" - "));var s=L.substring(L.lastIndexOf(" - ")+3);d+="&searchFilter="+encodeURI(s)+"&nextSearch="+encodeURI(u)+"&nextSubSearch="+encodeURI(E);
}else{d+="&searchFilter="+encodeURI(L);}}}window.location.href=d;}}}}}catch(O){alert(O);}}function DashboardToLayers(o,n,j,r,b,q,m,c){if(!Ext.isEmpty(r)&&r!=null&&r!=undefined){if(r=="logonSim"){var e=Ext.getCmp("simulationCombo");if(!Ext.isEmpty(e)){var g=e.getStore();var i=e.getValue();for(var d=0;
d<g.getCount();d++){var h=g.getAt(d).data.value;if(h==i){o=h;n=g.getAt(d).data.comptype;break;}else{h=g.getAt(d).data.name;if(h==i){o=g.getAt(d).data.value;n=g.getAt(d).data.comptype;break;}}}}}else{var f=Ext.getCmp("componentCombo");if(!Ext.isEmpty(f)){var a=f.getStore();var i=f.getValue();for(var d=0;
d<a.getCount();d++){var h=a.getAt(d).data.value;if(h==i){o=h;n=a.getAt(d).data.comptype;break;}}}}}var l=false;var p="";if(n!=null&&n=="Real_user_monitor"){p="/final/servlet/com.eg.EgDashboardController?site="+j;}else{p="/final/servlet/com.eg.EgDashboardController?site="+j;}window.location.href=p+"&from=list&fromp=ComparisonDashboard&qctr=0&comptype="+n+"&host="+o+"&tab=LayerModel&toDashBoardLayer=true&treeTitle=components&componentNameSearch=&fromPageView=CitrixDashboard&selectedState=&viewPageTitle=Components&action=component&fromHomepage=&isfromCitrix=true&dashboard_mapping=&dashboard_name="+dashboard+"&user_name="+m+"&view_name="+b+"&iniName="+q+"&fromSerComboChange="+fromSerComboChange+"&fromServiceHomePage="+isFromHomePage+"&filter=services&filterBy="+encodeURIComponent(filterByParamFlag)+"&isFromServiceMenu="+isFromServiceMenu+"&isFromZoneMain="+isFromZoneMain+"&isFromZoneMenu="+isFromZoneMenu+"&isFromServiceGroup="+isFromServiceGroup+"&isToLayerModel=true&isFromZone="+isFromZone+"&iszoneName="+iszoneName+"&parentZone="+parentZone;
}function configPop(n,m){if(!m){var m=window.event;}var j=true;var h="";if(n!=null&&n!=""){var e=n.substring(n.indexOf("?")+1,n.length);var d=e.split("&");for(var f=0;f<d.length;f++){var o=d[f];if(o.indexOf("componentName")>-1){h=o.substring(o.indexOf("=")+1);}}}var c="/final/servlet/com.eg.EcConfigurationServletNew?ec_rtype=ChangeNew&ec_option1=Component Name&ec_timeline=1+day&ec_prevtimeline=1+day&ec_option2="+h+"&ec_changetype=Latest&ec_viewchange=byInformation&fromPage=configChange&ec_criteria=Component&fromMonitor="+j;
var b=m.clientX-240;var a=m.clientY-125;var l;var k;try{k=Ext.get("configchange").getY()+20;l=Ext.get("configchange").getX()-20;}catch(g){}if(!Ext.getCmp("configContainer")){Ext.create("Ext.container.Container",{padding:0,floating:true,frame:true,width:900,hidden:true,height:357,x:l,y:k,floatable:true,id:"configContainer",cls:"configPopupWindow",items:[{xtype:"container",cls:"configPopupArrow",style:{"top":"-6px","left":"20px"}},{xtype:"container",cls:"configPopfont",padding:0,html:'<table cellspacing="0" cellpadding="0" border="0" ><tr><td style="width:100%"><div style="float:left;margin:0px 0px 0px 7px;border-bottom:none;padding:0px 0px 3px 0px" class="configPopfont">CONFIGURATION CHANGES FOR '+h.substring(0,h.indexOf(":"))+' DURING LAST 24 hrs</div></td><td style="width:92px;display:block"><div style="float:left;margin-top:0px"><a href="'+n+'" class="configLink" style="font-size:10px !important">More details</a></div><div class="configSeparator" style="margin-right:5px;margin-top:0px;"></div></td><td><div style="text-align:right;width:25px"><div class="iconClose3" style="margin-top:-4px"></div></div></td></tr></table>',style:{"top":"0px","margin":"2px"}},{xtype:"panel",id:"configDataPanel",cls:"configPopupWindow_inner",height:320,html:'<iframe width="900" height="315" border="0" scrolling="yes" marginwidth="0px" marginheight="0px" frameborder="0"  src="'+c+'"> </iframe>'}]}).show();
Ext.select(".iconClose3").on("click",function(){Ext.getCmp("configContainer").hide();Ext.getCmp("configContainer").removeAll();Ext.getCmp("configContainer").destroy();},this);}}function dateValidation(k,e,m,d,f,g){var l=parseInt(k.substring((k.lastIndexOf("/")+1)));var h=parseInt(k.substring((k.indexOf("/")+1),k.lastIndexOf("/")));
var a=parseInt(k.substring(0,k.indexOf("/")));var i=parseInt(e.substring((e.lastIndexOf("/")+1)));var c=parseInt(e.substring((e.indexOf("/")+1),e.lastIndexOf("/")));var j=parseInt(e.substring(0,e.indexOf("/")));var b=0;if(l>i){b=-1;}else{if(l==i){if(a>j){b=-1;}else{if(a==j){if(h>c){b=-1;}else{if(h==c){if(m>d){b=-1;
}else{if(m==d){if(f>=g){b=-1;}}}}}}}}}return b;}function deleteSingleDashboard(a){citrixDashboard.app.getController("Main").deleteSingleDashboard(a,false);}function modifyCtxListDashboard(a,b){citrixDashboard.app.getController("Main").modifyCtxListDashboard(a,b,false);}function setThisCtxDashboardAsHome(a){citrixDashboard.app.getController("Main").setThisCtxDashboardAsHome(a,false);
}Ext.application({name:"citrixDashboard",controllers:["Main"],requires:["citrixDashboard.view.Main"],autoCreateViewport:true,appFolder:"../monitor/eg_scripts/citrixDashboard",launch:function(){citrixDashboard.app=this;}});function openAlarmPopup(b,l,f,j,w){var n=dispDashboard_ComponentType;var d="/final/monitor/EgAlarms.jsp?isPopupWindow=true";
var s=Ext.getCmp("dashmenu_model_id");var r=s.getStore();var k=requestParams.activeView;d+="&isFromCitrixDashboard=true";d+="&subjectVariable="+encodeURI(l);d+="&entry="+encodeURI(b);d+="&iniName="+iniName;d+="&user_name="+user_name;d+="&isUserBased="+isUserBased;d+="&dashboard_name="+dashboard;d+="&view_name="+k;
d+="&dashboard_mapping="+dashboard_mapping;if(!Ext.isEmpty(f)&&f!=undefined&&f!="undefined"&&f!="$undefined"){if(f.indexOf("$")==0){f=f.substring(1);d+="&state="+f;}else{d+="&state="+encodeURI("HIGH|amp|INTERMEDIATE|amp|LOW");}}else{d+="&state="+encodeURI("HIGH|amp|INTERMEDIATE|amp|LOW");}if(!Ext.isEmpty(w)&&w!=undefined&&w!="undefined"){d+="&title="+w;
}if(!Ext.isEmpty(j)&&j!=null&&j!=undefined&&j!="undefined"&&j=="true"){d+="&test="+encodeURI(b)+"&measure="+encodeURI(l)+"&showType=false&showLayer=false";}else{if(l!=null&&l=="Alert_Block_2_Value"&&!Ext.isEmpty(j)&&j!=null&&j!=undefined&&j.indexOf("~!~")>0){var m=j.split("~!~");d+="&test="+m[0]+"&measure="+m[1]+"&showType=false&doSubString=false";
}else{if(l!=null&&l=="Alert_Block_1_Value"){d+="&showType=false";}else{if(b!=null&&(b=="Others"||b=="Servers"||b=="Logons")){d+="&showType=true";n=null;}else{d+="&showType=false";}}}}time_line="Current";var o=Ext.getCmp("dashTypeComId").getValue();var h="";try{var c=requestParams.dashboardArray;for(var u in c){if(c[u].value==o){h=c[u].ctype;
}}}catch(v){}if(!Ext.isEmpty(userMappingApplisTo)&&userMappingApplisTo!=null&&userMappingApplisTo!=undefined){if(userMappingApplisTo.indexOf(":")>0){var t=userMappingApplisTo.substring(0,userMappingApplisTo.indexOf(":"));var i=userMappingApplisTo.substring(userMappingApplisTo.indexOf(":")+1);if(t!=null&&t!=undefined&&t!="null"){if(t=="Component"||t=="Components"){d+="&detail=ComponentType";
if(!Ext.isEmpty(h)&&h!=null&&h!=undefined&&h!=""){d+="&filterBy="+h;}else{d+="&filterBy="+i.substring(0,i.indexOf(":"));}d+="&compCombo="+i;}else{d+="&detail="+t;if(t=="ComponentType"&&!Ext.isEmpty(h)&&h!=null&&h!=undefined&&h!=""){d+="&filterBy="+h;}else{d+="&filterBy="+i;}d+="&compCombo=All";}}}else{d+="&filterBy=All";
}d+="&time_line="+time_line;}try{var p=Ext.getCmp("countryComboId").getValue();var g=Ext.getCmp("regionComboId").getValue();if(p!=null&&p!="null"&&p!="World"){d+="&filterCountry="+p;}if(g!=null&&g!="null"&&g!="AllRegion"){d+="&filterRegion="+g;}}catch(v){}try{parent.openAlarmPopupWindow(d,n);}catch(q){}}