{{assign var=fileNameToUse value='/news/'}}
<div id="leftside">
<div id="smarty_plugin">{{getcontent id=12}}</div>
</div>
<div id="contentalt">
{{news newsContentID=0 var=Result newsId=$smarty.get.newsid isArchived=2 NewsCollection=274 NewsCategoriesCollection=273 NewsCategoriesXRefCollection=275}}
			<div class="mainnewsimage">{{displayImage src=$Result.Image alternateImage='/images/sep.gif' alt=$Result.Headline}}</div>
            <h1>{{$Result.Headline}}</h1>
            <h3>{{$Result.SubHead}}</h3>
            
            {{if $Result.ArticleContent neq ''}}
            <div>{{$Result.ArticleContent}}</div>
            {{/if}}
            
            {{assign var='PageTitle' value='News - '}} 
			{{assign var='PageTitle' value=$PageTitle|concat:$Result.Headline}} 
			{{setPage var=Collection_17_2 value=$PageTitle}}
            
</div>
{{if $smarty.session.UserID gt 0}}
{{CollectionCanAccess userId=$smarty.session.UserID CollectionId=274 rowId=$smarty.get.newsid var=DisplayLink}}
{{if $DisplayLink}}
{{capture name=eventfadmin assign=eventFrontEndAdmin}}

var obj = $('#AdminMenu10').parent().find('ul');
$("<li id='adminFrontEditNews'><a class=\"level2\" href='javascript: adminDialog ( \"1\" , \"&id=274&eid={{$smarty.get.newsid}}\" , \"\"  , 900 , 600 , \"\" );'>Edit News</a></li>").appendTo(obj);

$('#AdminMenu13').remove();
$('#AdminMenu2').remove();

{{/capture}}
{{assign var=JavaScriptJQueryCode value=$JavaScriptJQueryCode|concat:' '|concat:$eventFrontEndAdmin}}
{{/if}}{{/if}}