<{if $block.settings.7 eq '0'}>
<{if $block.settings.0 eq '0'}>
<div id='alertsncdr'>
<div id="<{if $block.settings.1 eq '0'}>capInfo300250<{else}>capInfo300250_Normal_<{$block.settings.2}><{/if}>"></div>
</div>
<script defer="defer"  type="text/javascript" src="https://alerts.ncdr.nat.gov.tw/temp/StaticFiles/Immediately/<{if $block.settings.1 eq '0'}>CAP300250_CapInfo.js<{else}>CapInfoNormal_<{$block.settings.2}>_300250.js<{/if}>"></script>
<{/if}>


<{if $block.settings.0 eq '1'}>
<div id='alertsncdr'>
<div id="<{if $block.settings.1 eq '0'}>capInfo300250_Extreme<{else}>capInfo300250_Extreme_<{$block.settings.2}><{/if}>"></div>
</div>
<script defer="defer"  type="text/javascript" src="https://alerts.ncdr.nat.gov.tw/temp/StaticFiles/Immediately/<{if $block.settings.1 eq '0'}>CapInfoExtreme_300250.js<{else}>CapInfoExtreme_<{$block.settings.2}>_300250.js<{/if}>"></script>
<{/if}>

<style type="text/css"> 
#alertsncdr{
width: calc(<{$block.settings.3}>px - 2px);
min-height: <{$block.settings.4}>px;
}

#alertsncdr .alertCAP_banner02{
width: <{$block.settings.3}>px;
min-height: <{$block.settings.4}>px;
z-index: 10;
}
#alertsncdr  .alertCAP_banner02 .alertCAP_title,
#alertsncdr .alertCAP_banner02 .alertCAP_con,
#alertsncdr  .alertCAP_banner02 .alertCAP_titleicon{
width:calc(<{$block.settings.3}>px - 2px);
}

<{if $block.setting.themefolder eq 'computer'}>
.alertCAP_con{
line-height: 160% !important;
font-size: 0.8em !important;
}
.alertCAP_banner02 .alertCAP_time {
font-size: 0.8em !important;
}
.alertCAP_banner02 .alertCAP_con {
top: unset !important;
font-family: inherit !important; 
}
<{else}>
.alertCAP_con{
line-height: 165% !important;
font-size: 1.1em !important;
}
.alertCAP_banner02 .alertCAP_time {
font-size: 0.8em !important;
}
#alertsncdr  .alertCAP_titleicon img {
height: 50px;
}
.alertCAP_banner02 .alertCAP_titleicon,
.alertCAP_banner02 .alertCAP_titleicon img{
height: 75px  !important;    
}
.alertCAP_banner02 .alertCAP_con {
top: unset !important;
font-family: inherit !important; 
}

.alertCAP_banner02 .alertCAP_title {
height: 65px !important;
line-height: 65px !important;
line-height: 200% !important;
}

<{/if}>
</style>
<{/if}>




<{if $block.settings.7 eq '1'}>

<script defer="defer"  type="text/javascript" src="<{$xoops_url}>/modules/neillibrary/js/AlertModule/CAPScript/jquery.innerfade.js"></script>
<script defer="defer"  type="text/javascript" src="<{$xoops_url}>/modules/neillibrary/js/AlertModule/<{if $block.settings.0 eq '1'}>serious<{else}>generally<{/if}>/T300250_Extreme_<{if $block.settings.2 neq '0'}><{$block.settings.2}><{/if}>.js"></script>

<style type="text/css"> 
#alertsncdr{
width: <{$block.settings.3}>px;
min-height: <{$block.settings.4}>px;
}
#alertsncdr .alertCAP_banner{
width:<{$block.settings.3}>px !important;
min-height: <{$block.settings.4}>px;
}

<{if $block.setting.themefolder eq 'computer'}>
#alertsncdr {
  margin: 0px 0px 20px 0px;
}
#alertsncdr  .block_up{
  min-height: 85px;
}

#alertsncdr  .alertCAP_titleicon img {
  margin-bottom: -5px;
  height: 45px;
}
.alertCAP_banner02 .alertCAP_time {
    font-family: inherit; 

}
.alertCAP_banner02 .alertCAP_con {
    font-family: inherit; 
}
<{else}>
#alertsncdr {
  position: relative;
  margin: 0px 0px 30px 0px;
}

#alertsncdr  .block_up{
  min-height: 180px;
}

#alertsncdr  .alertCAP_titleicon img {
    height: 105px;
}
#alertsncdr  .alertCAP_title {
  line-height: 130%;
  font-size: 100%;
  padding-bottom: 30px;
}
#alertsncdr  .alertCAP_con,
#alertsncdr  .alertCAP_titleicon {
  font-size: 100%;
  line-height: 160%;
}
#alertsncdr .alertCAP_moreBOX {
     font-size: 150%; 
}
#alertsncdr .alertCAP_moreBOX   a.BUTmore:link, #alertsncdr .alertCAP_moreBOX  a.BUTmore:visited {
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
     font-size: 60%; 
    line-height: 40px;
    line-height: 25px\0;
    color: #FFF;
    background-color: #333333;
    display: inline-block;
    height: 40px;
    width: 250px;
    text-align: center;
    text-decoration: none;
}
.alertCAP_banner02 .alertCAP_time {
    font-family: inherit; 
    font-size: 1.5rem;
}
.alertCAP_banner02 .alertCAP_con {
    font-family: inherit; 
}

<{/if}>
</style>

<div id='alertsncdr'>
<div id="CapModule_T300250_Extreme_<{if $block.settings.2 neq '0'}><{$block.settings.2}><{/if}>" ></div>
<h4 style='display:none;'></h4>
</div>

<{/if}>