@args String nameList, Object output, boolean all, boolean deps, String media, String browser, String id, String charset, String type, com.greenscriptool.RenderSession sm;

@if (!sm.isDefault(browser))

<!--[if @browser]>
@
@each String sUrl: sm.output(nameList, deps, all, media, browser)
    @if("css".equals(type))
        <link rel="stylesheet" type="text/css" media="@media" href="@sUrl"/>
    @ else
        <script type="text/javascript" src="@sUrl" @if (null != id && !"".equals(id)) id="@id" @ @if (null != charset && !"".equals(charset)) charset="@charset" @></script>
    @
@
@if (!sm.isDefault(browser))
<![endif]-->
@

@{ String inline = all ? sm.outputInline().trim() : null; }@
@if (null != inline && !"".equals(inline))
    @greenscript.openTag_(type) @inline @greenscript.closeTag_(type)
@
