{literal}
<script language="javascript">
	function calcHeight(vars)
		{
			var tes = vars;
			var the_height = document.getElementById(tes).contentWindow.document.body.scrollHeight;
			document.getElementById(tes).height = the_height;
			document.getElementById(tes).contentWindow.document.body.style.backgroundColor = 'transparent';
		}
</script>
{/literal}
{if !isAjax()}
	<div id="selblogList">
  		<!-- three links manage blog link, add blog link, add member -->
  		<!--<div id="selAnswersLink">
    		<ul class="">
      			{if $CFG.user.user_id neq 0}
	  				{if $CFG.admin.blogs_create.allowed}
      					<li> <span><a href="{$myobj->getUrl('manageblog')}"> {$LANG.common_manage_blog} </a></span> </li>
      					<li> <span><a href="{$myobj->blog_comment_arr.manageblog_url_add}"> {$LANG.common_add_blog} </a></span> </li>
	  				{/if}
      			{else}
      				<li> <span><a id="manageblog" href="{$myobj->blog_comment_arr.login_lightwindow_url}?light_url={$myobj->blog_comment_arr.manageblog_url_mem}" onclick="{$myobj->getBrowser('manageblog')}"> {$LANG.common_manage_blog} </a></span> </li>
      				<li> <span><a id="addblog" href="{$myobj->blog_comment_arr.login_lightwindow_url}?light_url={$myobj->blog_comment_arr.manageblog_url_mem_add}" onclick="{$myobj->getBrowser('addblog')}"> {$LANG.common_add_blog} </a></span> </li>
      			{/if}
      			<li class="clsLastBlogInfo"> <span><a href="{$myobj->getUrl('blogs')}"> {$LANG.back_to_blog} </a></span> </li>
    		</ul>
  		</div>-->
  		<!-- end-->

  		<!-- tittle -->
  		<div class="clsManageBlogHeading">
    		<div class="clsBlogHeading" id="">
      			<h2 id="selForumTitle"><a href="{$myobj->getUrl('blogs')}">{$LANG.blogs}</a> - <span>{$myobj->blog_comment_arr.blog_cmd_title}</span></h2>
    		</div>
  		</div>
  		<!-- end-->

  		<!-- alert msg -->
  		{include file='../general/information.tpl'}
  		<!-- end-->

  		<!--  selBlogDetails  start-->
  		{if $myobj->isShowPageBlock('selBlogDetails')}
	  		<div id="selMsgConfirm" class="selMsgConfirm" style="display:none;position:absolute;">
	  			<p id="confirmMessage"></p>
	    		<form name="formConfirm" id="formConfirm" method="post" action="{$myobj->blog_comment_arr.blogcomment_url}">
	      			<table summary="{$LANG.blog_cmd_confirm_tbl_summary}">
			        	<tr><td>
							<input type="submit" class="clsPopSubmitButton" name="confirm_delete" id="confirm_delete" value="{$LANG.common_yes_option}" tabindex="{smartyTabIndex}" />
			            	&nbsp;
			            	<input type="button" class="clsPopCancelButton" name="no" id="no" value="{$LANG.common_no_option}" tabindex="{smartyTabIndex}" onClick="return hideAllBlocks();" />
						</td></tr>
	      			</table>
		            <input type="hidden" name="act" id="act" />
		            <input type="hidden" name="comment_id" id="comment_id" />
		            {$myobj->populateHidden($myobj->msgConfirmForm_hidden_arr)}
	    		</form>
	  		</div>
	  		<div id="selDelMsgConfirm" class="clsPopupConfirmation" style="display:none;position:absolute;">
	    		<p id="msgConfirmText"></p>
	    		<form name="msgConfirmform" id="msgConfirmform" method="post" action="{$myobj->blog_comment_arr.blogcomment_url}">
	      			<table summary="{$LANG.blog_cmd_confirm_tbl_summary}">
	        			<tr><td>
							<input type="button" class="clsPopSubmitButton" name="confirm" id="confirm" onclick="deleteComments('{$myobj->blog_comment_arr.blogcomment_del_url}','{$myobj->blog_comment_arr.blogcomment_del_url_pra}'); return hideAllBlocks();" value="{$LANG.common_yes_option}" tabindex="{smartyTabIndex}" />
				            &nbsp;
				            <input type="button" class="clsPopCancelButton" name="no" id="no" value="{$LANG.common_no_option}" tabindex="{smartyTabIndex}" onClick="return hideAllBlocks();" />
						</td></tr>
	      			</table>
		            <input type="hidden" name="act" id="act" />
		            <input type="hidden" name="comment_id" id="comment_id" />
		            <input type="hidden" name="main_comment_id" id="main_comment_id" />
		            {$myobj->populateHidden($myobj->msgConfirmForm_hidden_arr)}
	    		</form>
	  		</div>
<div class="clsCommonBlogRoundedCorner">
<!--rounded corners-->
<div class="clsShadedBg">
  <div class="lbtopanalyst">
    <div class="rbtopanalyst">
      <div class="bbtopanalyst">
        <div class="blctopanalyst">
          <div class="brctopanalyst">
            <div class="tbtopanalyst">
              <div class="tlctopanalyst">
                <div class="trctopanalyst">
		        	<div class="clsUserBlogDetails">
			          	<div class="">
			              	<div class="clsFckoverwrite">
                            	<h4>{$myobj->blog_comment_arr.blog_cmd_title}</h4>
								<iframe src="{$CFG.site.url}iframe.php?bid={$myobj->getFormField('blog_id')}" id="fck{$myobj->getFormField('blog_id')}" height="25" frameborder="0" allowtransparency="true" onLoad="calcHeight('fck{$myobj->getFormField('blog_id')}');" scrolling="no">
								</iframe>
						  	</div>
						</div>
					</div>
		      		<div class="clsClearfix clsUserSubLinks clsViewBlogThumDetails">
                    	<div class="clsUserThumbDetails">
                            <div class="clsFloatleft">
								<div class="clsUserUploaded clsNoLeftBgPadngMrgn">
								{if chkVideoModuleAllowed('blog') and $myobj->getFormField('blog_video')}
									<a id="{$myobj->selBlogDetails.displayBlog.ans_view_video.on_click}" href="{$myobj->selBlogDetails.displayBlog.ans_view_video.url}" onClick="{$myobj->getBrowser($myobj->selBlogDetails.displayBlog.ans_view_video.on_click)}"><img src="{$CFG.site.url}design/templates/{$CFG.html.template.default}/root/images/{$CFG.html.stylesheet.screen.default}/icon-qusvideo.gif" alt="{$LANG.questions_video_available}" title="{$LANG.questions_video_available}" /></a>
								{/if}
								{if chkAudioModuleAllowed('blog') and $myobj->getFormField('blog_audio')}
									<a id="{$myobj->selBlogDetails.displayBlog.ans_view_audio.on_click}" href="{$myobj->selBlogDetails.displayBlog.ans_view_audio.url}" onClick="{$myobj->getBrowser($myobj->selBlogDetails.displayBlog.ans_view_audio.on_click)}"><img src="{$CFG.site.url}design/templates/{$CFG.html.template.default}/root/images/{$CFG.html.stylesheet.screen.default}/icon-qusaudio.gif" alt="{$LANG.common_audio_available}" title="{$LANG.common_audio_available}" /></a>
								{/if}
								{if chkExternalVideoModuleAllowed('blog') and $myobj->getFormField('blog_ext_video')}
									<a id="{$myobj->selBlogDetails.displayBlog.ext_ans_view_video.on_click}" href="{$myobj->selBlogDetails.displayBlog.ext_ans_view_video.url}" onClick="{$myobj->getBrowser($myobj->selBlogDetails.displayBlog.ext_ans_view_video.on_click)}"><img src="{$CFG.site.url}design/templates/{$CFG.html.template.default}/root/images/{$CFG.html.stylesheet.screen.default}/icon-externalvideo.gif" alt="{$LANG.external_video_available}" title="{$LANG.external_video_available}" /></a>
								{/if}
								{if chkExternalAudioModuleAllowed('blog') and $myobj->getFormField('blog_ext_audio')}
									<a id="{$myobj->selBlogDetails.displayBlog.ext_ans_view_audio.on_click}" href="{$myobj->selBlogDetails.displayBlog.ext_ans_view_audio.url}" onClick="{$myobj->getBrowser($myobj->selBlogDetails.displayBlog.ext_ans_view_audio.on_click)}"><img src="{$CFG.site.url}design/templates/{$CFG.html.template.default}/root/images/{$CFG.html.stylesheet.screen.default}/icon-externalaudio.gif" alt="{$LANG.external_video_available}" title="{$LANG.external_video_available}" /></a>
								{/if}
								</div>
                                <div class="clsUserLinkBy {$myobj->selBlogDetails.displayBlog.separator_class}">{$LANG.common_in}&nbsp;</div>
                                <div class="clsUserCategoryBlog clsNoLeftBgPadngMrgn">
                                    {$myobj->selBlogDetails.displayBlog.blog_category}
                                 </div>
                                <div class="clsUserLinkBy">
                                 {$LANG.common_comment_posted_by}{$LANG.common_title_seperator}
                                </div>
                                <div class="clsUserLinkImage">
                                    {$myobj->displayBlogUserSmallImage($myobj->selBlogDetails.displayBlog.userdetails)}
                                </div>
                               <div class="clsUserLinkName clsNoLeftBgPadngMrgn">
                                    <a href="{$myobj->selBlogDetails.displayBlog.myanswers_url}"> {$myobj->selBlogDetails.displayBlog.strip_username} </a>
                                </div>
                                <div class="clsUserLinkDate">
                                 <!-- {$LANG.common_title_seperator}--> &nbsp;{$myobj->getFormField('date_added')}
                                 </div>
                             </div>
                            <!-- addBook marking-->
                           <div class="clsFloatright clsAddThis">
                                {if $CFG.admin.blogs.addthis}
                                    {$myobj->addThisOption()}
                            	{/if}
                            </div>
                        </div>
			      	</div>
			      	<!--<ul class="clsBlogDisplayLinks">
			        	<li class="clsLastBlogInfo"> <span class="clsBlogInfoTitle"> {$LANG.blog_cmd_total_views}{$LANG.common_title_seperator} </span> &nbsp;{$myobj->getFormField('total_views')} </li>
			        	<li> <span class="clsBlogInfoTitle"> {$LANG.blog_cmd_total_comments}{$LANG.common_title_seperator} </span> &nbsp;{$myobj->getFormField('total_comments')} </li>

			      	</ul>-->
                            {if isMember() && $myobj->getFormField('user_id') neq $CFG.user.user_id }
                                <div id="selMsgAbuseConfirm" class="selMsgAbuseConfirm" style="display:none;position:absolute;">
                                    <p id="confirmAbuseMessage"></p>
                                    <form name="formAbuseConfirm" id="formAbuseConfirm" method="post" action="{$myobj->getCurrentUrl()}">
                                        <table>
                                            <tr><td>
                                                <p>{$LANG.common_reason}</p>
                                                <p><textarea class="clsCommonTextArea" name="reason" id="reason" tabindex="{smartyTabIndex}">{$myobj->getFormField('reason')}</textarea></p>
                                                <p id="validReason"></p>
                                            </td></tr>
                                            <tr><td>
                                                <input type="submit" class="clsPopSubmitButton" name="confirm_action" id="confirm_action" value="{$LANG.common_yes_option}" tabindex="{smartyTabIndex}" onClick="return chkIsAbuseReasonExists();" />
                                                &nbsp;
                                                <input type="button" class="clsPopCancelButton" name="cancel" id="cancel" value="{$LANG.common_no_option}" tabindex="{smartyTabIndex}" onClick="removeReasonErrors(); return hideAllBlocks();" />
                                            </td></tr>
                                        </table>
                                        <input type="hidden" name="content_id" id="content_id" value="" />
                                    </form>
                                </div>
                            {/if}
                        {/if}
                    {/if}
                <!-- end -->

                <div>
                    <!--  selCommentListBlock  start-->
                    {if $myobj->isShowPageBlock('selCommentListBlock')}
                        <!-- Div enclosed with rating and comments  start -->
                        <div class="clsBlogCommentContainer">
                            <div class="clsCommonIndexRoundedCorner">
                            <!-- Blog Rating -->
                            {if $CFG.admin.blogs.ratings}
                                <div id="selBlogRatingContent">
                                    {include file='../general/blogCommentrating.tpl'}
                                </div>
                            {/if}
                            <!-- end -->
                            {literal}
								<script language="javascript" type="text/javascript">
									var videoPreviewUrl = {/literal}'{$myobj->blogsEditBlock.manageBlogs_arr.video_default_preview_url}'{literal};
									var audioPreviewUrl = {/literal}'{$myobj->blogsEditBlock.manageBlogs_arr.audio_default_preview_url}'{literal};
									var video_not_encoded_info = {/literal}'{$myobj->blogsEditBlock.manageBlogs_arr.video_not_encoded_info}'{literal};
									var externalVideoPreviewUrl = {/literal}'{$myobj->blogsEditBlock.manageBlogs_arr.external_video_preview_url}'{literal};
									var audio_not_encoded_info = {/literal}'{$myobj->blogsEditBlock.manageBlogs_arr.audio_not_encoded_info}'{literal};
									var externalAudioPreviewUrl = {/literal}'{$myobj->blogsEditBlock.manageBlogs_arr.external_audio_preview_url}'{literal};
						        </script>
							{/literal}
                            {if $myobj->isShowPageBlock('selAcceptCommentBlock') AND isMember() AND $myobj->isAllowedToAsk()}
                            {include file='../general/blogCommentList.tpl'}
                                <div id="selAddComment">
								<div class="clsClearfix">
                                    <h2 class="clsBlogComment clsFloatleft"> {$LANG.blog_cmd_post_comment} </h2>
                                    <p class="clsFloatright"><span id="backtotop"> <a href="#selblogList" onClick="new Effect.ScrollTo('selTop'); return false;"> {$LANG.blog_cmd_back_to_top} </a> </span></p>
								</div>
                                    <form name="addComments" id="addComments" method="post" action="{$myobj->getCurrentUrl('true')}" autocomplete="off">
                                        <table class="clsPostBlogTbl">
                                            <tr><td class="{$myobj->getCSSFormFieldCellClass('comment')}">
                                                <textarea class="clsCommonTextArea" name="comment" id="comment" tabindex="{smartyTabIndex}" OnClick="removeSpam('noBlog')" cols="80" rows="5" maxlength="{$CFG.admin.comment.limit}" onFocus="updatelength(this);" onKeyUp="updatelength(this);"></textarea>
                                                <span class="LV_validation_message LV_invalid" id="noBlog"></span>
                                                {$myobj->getFormFieldErrorTip('comment')}
                                                <div id="ss" class="clsZeroColour"><span> {$LANG.header_remainig} :</span> <span class="clsCharacterLimit">{$CFG.admin.comment.limit} </span></div>
                                            </td></tr>
                                            </table>
                                        {if $myobj->showVideoAudio}
										<table class="clsAskQuestion clsAskQuestionUpload" >
											<tr>
												<td colspan="2">
													<div class="AskQuestionSubHead">{$LANG.common_attachments}</div>
												</td>
											</tr>
											<tr>
												{if chkVideoModuleAllowed('blogcomment') || chkExternalVideoModuleAllowed('blogcomment')}
								        		<td class="{$myobj->getCSSFormFieldCellClass('blog_video')} {if chkAudioModuleAllowed('blogcomment') || chkExternalAudioModuleAllowed('blogcomment')} clsQuestionVideo {/if}clsVideoUpload30">
								        			{if chkVideoModuleAllowed('blogcomment')}
														<div class="clsVideoUpload clsClearfix" id="video_first" {$myobj->blogsEditBlock.manageBlogs_arr.style_add_video}>
															<div class="clsVideoContainer">
															<a id="video_add" href="{$myobj->blogsEditBlock.manageBlogs_arr.video_upload_url}" onClick="{$myobj->getBrowser('video_add')}"></a>
									        				{$myobj->getFormFieldErrorTip('question_video')}
															</div>
															<div class="clsVideoDetails">
																<a href="{$myobj->blogsEditBlock.manageBlogs_arr.video_upload_url}" onClick="{$myobj->getBrowser('video_add')}">
																	<p>{$LANG.common_record_video}</p>
																	<p>{$LANG.common_using_webcams}</p>
																</a>
															</div>
														</div>
														<div class="clsAudioUpload clsClearfix" id="video_secnd" {if $myobj->blogsEditBlock.manageBlogs_arr.style_add_video==''} style="display:none;" {/if}>

															<div class="clsAudioDetails clsAudioOptions">
																<div >
																	<p class="clsAVDelete"><a {$myobj->blogsEditBlock.manageBlogs_arr.style_delete_video} id="video_delete" href="{$myobj->getCurrentUrl()}" onClick="return confrimRemove('video', 'video_delete', '{$LANG.are_you_sure_to_delete}');">{$LANG.delete_video}</a></p>
																	<p class="clsAVPreview"><a {$myobj->blogsEditBlock.manageBlogs_arr.style_preview_video} id="video_preview" href="{$myobj->blogsEditBlock.manageBlogs_arr.video_preview_url}" onClick="{$myobj->getBrowser('video_preview')}">{$LANG.preview_video}</a></p>
																</div>
															</div>
														</div>
													{/if}
													{if chkExternalVideoModuleAllowed('blogcomment')}
														<div class="clsExternalUploadBox">
															<div class="clsVideoUpload" id="external_video_add1" {$myobj->blogsEditBlock.manageBlogs_arr.style_add_external_video}>
																<div class="clsExternalVideoContainer">
																	<a {$myobj->blogsEditBlock.manageBlogs_arr.style_add_external_video} id="external_video_add" href="{$myobj->blogsEditBlock.manageBlogs_arr.external_video_upload_url}" onClick="{$myobj->getBrowser('external_video_add')}">{$LANG.add_external_video}</a>
										        					{$myobj->getFormFieldErrorTip('audio')}
																</div>

															</div>
															<div class="clsAudioUpload" id="external_video_add2" {if $myobj->blogsEditBlock.manageBlogs_arr.style_add_external_video==''} style="display:none;" {/if}>
																<div class="clsAudioDetails clsAudioOptions">
																	<div >
																		<p class="clsAVDelete"><a {$myobj->blogsEditBlock.manageBlogs_arr.style_delete_external_video} id="external_video_delete" href="{$myobj->getCurrentUrl()}" onClick="return confrimRemove('external_video', 'external_video_delete','{$LANG.are_you_sure_to_delete}');">{$LANG.delete_external_video}</a></p>
																		<p class="clsAVPreview"><a {$myobj->blogsEditBlock.manageBlogs_arr.style_preview_external_video} id="external_video_preview" href="{$myobj->blogsEditBlock.manageBlogs_arr.external_video_preview_url}" onClick="{$myobj->getBrowser('external_video_preview')}">{$LANG.preview_external_video}</a></p>
																	</div>
																</div>
															</div>
														</div>
													{/if}
								        		</td>
											    {/if}
								        		{if chkAudioModuleAllowed('blogcomment') || chkExternalAudioModuleAllowed('blogcomment')}
								        		<td class="{$myobj->getCSSFormFieldCellClass('audio')}">
								        			{if chkAudioModuleAllowed('blogcomment')}
														<div class="clsAudioUpload clsClearfix" id="audio_first" {$myobj->blogsEditBlock.manageBlogs_arr.style_add_audio}>
															<div class="clsAudioContainer">
																<a id="audio_add" href="{$myobj->blogsEditBlock.manageBlogs_arr.audio_upload_url}" onClick="{$myobj->getBrowser('audio_add')}"></a>
									        					{$myobj->getFormFieldErrorTip('audio')}
															</div>
															<div class="clsAudioDetails">
																<div>
																	<a href="{$myobj->blogsEditBlock.manageBlogs_arr.audio_upload_url}" onClick="{$myobj->getBrowser('audio_add')}">
																		<p>{$LANG.common_record_audio}</p>
																		<p>{$LANG.common_using_recorder}</p>
																	</a>
																</div>
															</div>
														</div>
														<div class="clsAudioUpload clsClearfix" id="audio_secnd" {if $myobj->blogsEditBlock.manageBlogs_arr.style_add_audio==''} style="display:none;" {/if}>
															<div class="clsAudioDetails clsAudioOptions">
																<div >
																	<p class="clsAVDelete"><a {$myobj->blogsEditBlock.manageBlogs_arr.style_delete_audio} id="audio_delete" href="{$myobj->getCurrentUrl()}" onClick="return confrimRemove('audio', 'audio_delete', '{$LANG.are_you_sure_to_delete}');">{$LANG.delete_audio}</a></p>
																	<p class="clsAVPreview"><a {$myobj->blogsEditBlock.manageBlogs_arr.style_preview_audio} id="audio_preview" href="{$myobj->blogsEditBlock.manageBlogs_arr.audio_preview_url}"  onClick="{$myobj->getBrowser('audio_preview')}">{$LANG.preview_audio}</a></p>
																</div>
															</div>
														</div>
													{/if}
													{if chkExternalAudioModuleAllowed('blogcomment')}
														<div class="clsExternalUploadBox">
															<div class="clsAudioUpload" id="external_audio_add1" {$myobj->blogsEditBlock.manageBlogs_arr.style_add_external_audio}>
																<div class="clsExternalAudioContainer">
																	<a id="external_audio_add" href="{$myobj->blogsEditBlock.manageBlogs_arr.external_audio_upload_url}" onClick="{$myobj->getBrowser('external_audio_add')}">{$LANG.add_external_audio}</a>
										        					{$myobj->getFormFieldErrorTip('audio')}
																</div>
															</div>
															<div class="clsAudioUpload" id="external_audio_add2" {if $myobj->blogsEditBlock.manageBlogs_arr.style_add_external_audio==''} style="display:none;" {/if}>
																<div class="clsAudioDetails clsAudioOptions">
																	<div >
																		<p class="clsAVDelete"><a {$myobj->blogsEditBlock.manageBlogs_arr.style_delete_external_audio} id="external_audio_delete" href="{$myobj->getCurrentUrl()}" onClick="return confrimRemove('external_audio', 'external_audio_delete', '{$LANG.are_you_sure_to_delete}');">{$LANG.delete_external_audio}</a></p>
																		<p class="clsAVPreview"><a {$myobj->blogsEditBlock.manageBlogs_arr.style_preview_external_audio} id="external_audio_preview" href="{$myobj->blogsEditBlock.manageBlogs_arr.external_audio_preview_url}"  onClick="{$myobj->blogsEditBlock.manageBlogs_arr.external_audio_onclick}">{$LANG.preview_external_audio}</a></p>
																	</div>
																</div>
															</div>
														</div>
													{/if}
												</td>
												{/if}
											</tr>
										</table>
											<table>
	                                            <tr><td class="clsBlogPostCommentCell">
	                                               <div class="clsPostCommentLeftBtn">
	                                                    <div class="clsPostCommentRightBtn">
	                                                  		  <input type="submit" class="clsSubmitButton clsMediumSubmitButton" name="post_comment" id="post_valuess" tabindex="{smartyTabIndex}" value="{$LANG.blog_cmd_post_comment}" />
	                                                   </div>
	                                               </div>
	                                                <div class="clsPostCommentCancelLeftBtn">
	                                                    <div class="clsPostCommentCancelRightBtn">
	                                            		       <input type="button" class="clsCancelButton" onClick="return addBlogCommentCancel({$CFG.admin.comment.limit});" name="post_comment_cancel" id="post_comment_cancel" tabindex="{smartyTabIndex}" value="{$LANG.blog_cmd_post_comment_cancel}" />
	                                                    </div>
	                                                </div>
	                                            </td></tr>
	                                        </table>
										{else}
											<table>
	                                            <tr><td class="clsBlogPostCommentCell">
	                                               <div class="clsPostCommentLeftBtn">
	                                                    <div class="clsPostCommentRightBtn">
	                                                  		  <input type="button" class="clsSubmitButton clsMediumSubmitButton" onClick="return addBlogComment('{$myobj->selCommentListBlock.url}', '{$myobj->selCommentListBlock.pars}', '{$LANG.blog_cmd_enter_blog_comment}');" name="post_comment" id="post_valuess" tabindex="{smartyTabIndex}" value="{$LANG.blog_cmd_post_comment}" />
	                                                   </div>
	                                               </div>
	                                                <div class="clsPostCommentCancelLeftBtn">
	                                                    <div class="clsPostCommentCancelRightBtn">
	                                            		       <input type="button" class="clsCancelButton" onClick="return addBlogCommentCancel({$CFG.admin.comment.limit});" name="post_comment_cancel" id="post_comment_cancel" tabindex="{smartyTabIndex}" value="{$LANG.blog_cmd_post_comment_cancel}" />
	                                                    </div>
	                                                </div>
	                                            </td></tr>
	                                        </table>
										{/if}
										{$myobj->populateHidden($myobj->blogsEditBlock.populateHidden)}
                                    </form>
                                </div>
                            {/if}
                            </div>
                        </div>
                        <!-- Div enclosed with rating and comments  start -->
                    {/if}
                </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    </div>
 <!-- end -->
  </div>
</div>
<!--end of rounded corners-->