;------------- anti-spy --------------

[Anti_Spy]
props=$Task_Panel
State=[Task_Header]
Body=[Spy_Body]

[Spy_Body]
props=$Task_Body
Description=[Task_Description]
Status=[Anti_Spy_Status]
Statistics=[Anti_Spy_Statistics]

[Anti_Spy_Status]
props       = $Task_Settings
Status      = $Task_Statistics_Item                    v($(state,ProfileState))                                                  f($(state,SubProfileStateFont)) text($Anti_Spy)
StatusAP    = $Task_Statistics_ItemAttr                v($(antiphishing.enabled,SubComponentState_antiphishing,SubProfileState)) f($(antiphishing.enabled,SubComponentActiveState_antiphishing,SubProfileStateFont))
StatusPB    = $Task_Statistics_ItemAttr                v($(popupchk.enabled,SubComponentState_popupchk,SubProfileState))         f($(popupchk.enabled,SubComponentActiveState_popupchk,SubProfileStateFont))
StatusAB    = $Task_Statistics_ItemAttr                v($(AdBlocker.enabled,SubComponentState_adblocker,SubProfileState))       f($(AdBlocker.enabled,SubComponentActiveState_adblocker,SubProfileStateFont))
StatusAD    = $Task_Statistics_ItemAttr at(nobindhide) v($(antidial.enabled,SubComponentState_antidial,SubProfileState))         f($(antidial.enabled,SubComponentActiveState_antidial,SubProfileStateFont))

[Anti_Spy_Statistics]
props       = $Task_Statistics
BlockedAP   = $Task_Statistics_ItemAttr                v($(antiphishing.nURLsDetected))      f($(antiphishing.$ProfileActiveStateFont))
BlockedPB   = $Task_Statistics_ItemAttr                v($(popupchk.nPopupsBlocked))         f($(popupchk.$ProfileActiveStateFont))
BlockedAB   = $Task_Statistics_ItemAttr                v($(AdBlocker.nURLsDetected))         f($(AdBlocker.$ProfileActiveStateFont))
BlockedAD   = $Task_Statistics_ItemAttr at(nobindhide) v($(antidial.nDialsBlocked))          f($(antidial.$ProfileActiveStateFont))

;------------- SettingsWindow.Anti_Spy -----------

[SettingsWindow.Anti_Spy]
props=$SettingsViewPanel h(1106)
Header=$SettingsViewHeader i(spy)
Body=[SettingsWindow.Anti_Spy_Body]

[SettingsWindow.Anti_Spy_Body]
props=$SettingsBodyAttr
Startup=[SettingsViewStartup]
StartupGroup=[SettingsViewStartup_Group]
AntiPhishingGroup=[AntiPhishing_Group]
PopupBlockGroup=[PopupBlock_Group]
AdBlockGroup=[AdBlock_Group]
AntiDialersGroup=[AntiDialers_Group]

[AntiPhishing_Group]
props=$SettingsGroupNext sz(p,a) disable($(enabled,EnableIfNotZero)) lb(v($(antiphishing.state,fld(enabled))))
Ico=a(lt) i(visa)
Enable=$Checkbox xy(40) v($(antiphishing.enabled))	tt($(antiphishing.enabled,AntiPhishing_Group_Enable))

[PopupBlock_Group]
props=$SettingsGroupNext sz(p,a) disable($(enabled,EnableIfNotZero)) lb(v($(popupchk.state,fld(enabled,bAllowFromTrustedZone,bAllowFromIntranetZone,vAllowDomainsList))))
Ico=a(lt) i(stop)
Enable=$Checkbox xy(40) v($(popupchk.enabled))		tt($(popupchk.enabled,PopupBlock_Group_Enable))
Trusted_Sites=$Button_Large a(ra) xy(0,3) v(dialog:Trusted_Sites) disable($(popupchk.enabled,EnableIfNotZero))

[AdBlock_Group]
props=$SettingsGroupNext sz(p,a) disable($(enabled,EnableIfNotZero)) lb(v($(AdBlocker.state,fld(enabled))))
Ico=a(lt) i(banner)
Enable=$Checkbox xy(40) v($(AdBlocker.enabled))		tt($(AdBlocker.enabled,AdBlock_Group_Enable))
Settings=$Button_Large a(ra) xy(0,3) v(dialog:AdBlock_Settings) disable($(AdBlocker.enabled,EnableIfNotZero)) usefor($IsNotAkPolicy)

[AntiDialers_Group]
props=$SettingsGroupNext sz(p,a) disable($(enabled,EnableIfNotZero)) text($(antidial.enabled,Dummy)) at(nobindhide) lb(v($(antidial.state,fld(enabled,vAllowPhoneNumbersList))))
Ico=a(lt) sz(32,32) i(dialer)
AD_Enable=$Checkbox xy(40) v($(antidial.enabled))		tt($(antidial.enabled,AntiDialers_Group_Enable))
Trusted=$Button_Large a(ra) xy(0,3) v(dialog:) disable($(antidial.enabled,EnableIfNotZero))

;------------- AdBlock_Settings -----------

[AdBlock_Settings]
props=$DlgAttr alias(antibannerdlg) sz(330,300) at(resizable) v(AdBlocker)
Tab=[AdBlock_Settings_Tab]

[AdBlock_Settings_Tab]
props    = $DlgBodyTabAttr
Standard = [AdBlock_Standard] h(1112)
User     = [AdBlock_User]     h(1258)
White    = [AdBlock_White]    h(1113)

;------------- AdBlock_Standard -----------

[AdBlock_Standard]
UseHeuristics=$Checkbox v($(embscr))
List=[AdBlock_Standard_List]

[AdBlock_Standard_List]
props=t(list) alias(vector) at(checked,noheader) xy(0,$Group_Shift) sz(p,p) a(la) v($(blist))
Name=v($(Name),$(Enabled))

;------------- AdBlock_User -----------

[AdBlock_User]
List=[AdBlock_User_List]
Add=$Button a(rs) xy(0,0)
Edit=$Button a(ra) xy(0,$Button_Shift)
Delete=$Button a(ra) xy(0,$Button_Shift)
Import=$ListButton a(rb)
Export=$ListButton $Next_Control a(rp)

[AdBlock_User_List]
props=t(list) alias(vector.BannerList) at(checked,noheader) xy(0,$Group_Shift,80) sz(p,p) a(la) v($(ublist))
Name=v($(Name),$(Enabled))

;------------- AdBlock_User.Edit -----------

[AdBlock_User.Edit]
$dlg_enable_ok=$(Name,EnableIfNotZero)
props=$DlgAttr sz(320,a) at(dragable) h(1258)
Body=[AdBlock_User.Edit_Body]

[AdBlock_User.Edit_Body]
props=$DlgBodyAttr sz(p,a)
Name=t(edit) $First_Control sz(p) v($(Name))

;------------- AdBlock_White -----------
[AdBlock_White]
List=[AdBlock_White_List]
Add=$Button a(rs) xy(0,0)
Edit=$Button a(ra) xy(0,$Button_Shift)
Delete=$Button a(ra) xy(0,$Button_Shift)
Import=$ListButton a(rb)
Export=$ListButton $Next_Control a(rp)

[AdBlock_White_List]
props=t(list) alias(vector.BannerList) at(checked,noheader) xy(0,$Group_Shift,80) sz(p,p) a(la) v($(wlist))
Name=v($(Name),$(Enabled))

;------------- AdBlock_White.Edit -----------

[AdBlock_White.Edit]
$dlg_enable_ok=$(Name,EnableIfNotZero)
props=$DlgAttr sz(320,a) at(dragable) h(1113)
Body=[AdBlock_White.Edit_Body]

[AdBlock_White.Edit_Body]
props=$DlgBodyAttr sz(p,a)
Name=t(edit) $First_Control sz(p) v($(Name))

;------------- AntiDialers_Group.Trusted -----------

[AntiDialers_Group.Trusted]
props=$DlgAttr sz(330,300) at(resizable) v(antidial) h(1114)
Dlg=[AntiDialers_Group_Trusted_Body]

[AntiDialers_Group_Trusted_Body]
props=$DlgBodyAttr
Describe=a(lt) sz(p,a)
List=[AntiDialers_Trusted_List]
Add=$Button a(rs) xy(0,0)
Edit=$Button a(ra) xy(0,$Button_Shift)
Delete=$Button a(ra) xy(0,$Button_Shift)

[AntiDialers_Trusted_List]
props=t(list) alias(vector) at(checked,noheader) xy(0,$Group_Shift,80) sz(p,p) a(la) v($(vAllowPhoneNumbersList))
Name=v($(Name),$(Enabled))

;------------- AntiDialers_Group_Trusted_Body.Edit -----------

[AntiDialers_Group_Trusted_Body.Edit]
$dlg_enable_ok=$(Name,EnableIfNotZero)
props=$DlgAttr alias(antidial_excludeitem) sz(320,80) at(dragable) h(1321)
Body=[AntiDialers_Group_Trusted_Body.Edit_Body]

[AntiDialers_Group_Trusted_Body.Edit_Body]
props=$DlgBodyAttr
Name=t(edit) $First_Control sz(p) v($(Name))

;------------- Trusted_Sites -----------

[Trusted_Sites]
props=$DlgAttr sz(350,300) at(resizable) h(1110)
Dlg=[Trusted_Body]

[Trusted_Body]
props=$DlgBodyAttr
Describe=a(lt) sz(p,a)
List=[Trusted_Body.List]
Add=$Button a(rs) xy(0,0)
Edit=$Button a(ra) xy(0,$Button_Shift)
Delete=$Button a(ra) xy(0,$Button_Shift)
IEZone=[IE_Zone]

[IE_Zone]
props=$SettingsGroupNext sz(p,a) a(lb)
IETrusted=$Checkbox $First_Control v($(popupchk.bAllowFromTrustedZone))
IEIntranet=$Checkbox $Next_Control v($(popupchk.bAllowFromIntranetZone))

[Trusted_Body.List]
props=t(list) alias(vector) at(checked,noheader) xy(0,$Group_Shift,80,80) sz(p,p) a(la) v($(popupchk.vAllowDomainsList))
Site=v($(Name),$(Enabled))sz(100)

;------------- Trusted_Body.Edit -----------

[Trusted_Body.Edit]
$dlg_enable_ok=$(Name,EnableIfNotZero)
props=$DlgAttr sz(320,a) at(dragable) h(1320)
Body=[Trusted_Body.Edit_Body]

[Trusted_Body.Edit_Body]
props=$DlgBodyAttr sz(p,a)
Name=t(edit) $First_Control sz(p) v($(Name))
Example=a(la) f(Normal_Grey)

;------------- ReportWindow.Anti_Spy -----------

[Report_Body.StatisticsRun.antispy]
props=$StatTop b(Footer_Border)
Status=xy(,10) text($($IsNTBasedOS,Report_Body_Spy_Status_NT))

[Report_Body.StatisticsResult.antispy]
props=$StatTop b(Footer_Border)
Status=xy(,10) text($($IsNTBasedOS,Report_Body_Spy_Status_NT))

[Report_Body.StatisticsLeft.antispy]
props=a(la) $StatLeft
BlockedAP=a(lt) $StatValLeft v($(antiphishing.nURLsDetected))
BlockedPB=a(la) $StatValLeft v($(popupchk.nPopupsBlocked))
BlockedAB=a(la) $StatValLeft v($(AdBlocker.nURLsDetected))
BlockedAD=a(la) $StatValLeft v($(antidial.nDialsBlocked)) at(nobindhide)

[Report_Body.ReportDetails.antispy]
props=$Tab $ReportDetails
EventsAP=[AP_Report] h(1116)
EventsPB=[PB_Report] h(1117)
EventsAB=[AB_Report] h(1118)
EventsAD=[AD_Report] h(1119)
;Objects=[Scan_Objects_List]

[AP_Report]
;ReportSelector=$ReportSelector
Actions=$ReportActions
EventsLog=[AP_Report_List] a(lp) sz(p,p)

[AP_Report_List]
props=t(list) at(sorted,autoscroll) alias(taskreport) v(antiphishing.eventlog,antiphishing.eventcritlog)
ReportTime=sz(135)v($(ReportTime,datetime)) at(index)
ObjectName=sz(p,55)v($(DetectObject))
ObjectStatus=sz(p,20)v($(ResultAction,AskAction_AllowDeny))

[AP_Report_List.menu]
props         = t(menu)
Separator     = t(menuitem)
ReportCleanup = t(menuitem)

[PB_Report]
;ReportSelector=$ReportSelector
Actions=$ReportActions
EventsLog=[PB_Report_List] a(lp) sz(p,p)

[PB_Report_List]
props=t(list) at(sorted,autoscroll) alias(taskreport) v(popupchk.eventlog,popupchk.eventcritlog)
ReportTime=sz(135)v($(ReportTime,datetime)) at(index)
ObjectName=sz(p,75)v(i(warning)$(DetectObject))

[PB_Report_List.menu]
props         = t(menu)
Separator     = t(menuitem)
ReportCleanup = t(menuitem)

[AB_Report]
;ReportSelector=$ReportSelector
Actions=$ReportActions
EventsLog=[AB_Report_List] a(lp) sz(p,p)

[AB_Report_List]
props=t(list) at(sorted,autoscroll) alias(taskreport) v(AdBlocker.eventlog,AdBlocker.eventcritlog)
ReportTime=sz(135)v($(ReportTime,datetime)) at(index)
ObjectName=sz(p,50)v($(DetectObject))
ObjectStatus=sz(70)v($(ResultAction,AskAction_AllowDeny))
RuleName=sz(p,30)v($(DetectName))

[AB_Report_List.menu]
props         = t(menu)
BannerAllow   = t(menuitem) at(nobindhide) v(banner_allow) disable($(DetectName,EnableIfNotZero))
Separator     = t(menuitem)
ReportCleanup = t(menuitem)

[AD_Report]
props=text($(antidial.nDialsBlocked,Dummy)) at(nobindhide)
;ReportSelector=$ReportSelector
Actions=$ReportActions
EventsLog=[AD_Report_List] a(lp) sz(p,p)

[AD_Report_List]
props=t(list) at(sorted,autoscroll) alias(taskreport) v(antidial.eventlog,antidial.eventcritlog)
ReportTime=sz(135)v($(ReportTime,datetime)) at(index)
ProcessName=sz(p,42)v($(ObjectName))
ObjectName=sz(p,22)v($(DetectObject))
ObjectStatus=sz(70)v($(ResultAction,AskAction_AllowDeny))

[AD_Report_List.menu]
props         = t(menu)
Separator     = t(menuitem)
ReportCleanup = t(menuitem)

;-----------------------AlertDialog.Anti_Spy ---------------

[AlertDialog.Body.TreatGroup.antiphishing]
props=$SettingsGroupFirst sz(p,a)
Text1=t(hotlink) f(Hotlink_red) sz(p,a) 
Text2=a(sa) xy(,2) sz(p,a)
Detect_Label=f(Bold) $Next_Control
DetectName=t(edit) a(la) sz(p) at(readonly,noborder,compresspath) v($(DetectObject))

[AlertDialog.Body.ActionGroup.antiphishing]
props=$SettingsGroupNext sz(p,110)
Description=t(richedit) at(readonly,noborder,nofocus) a(lc) xy(10,10) sz(131,a)
AskResults=[AlertDialog.AskResults]