	<?php
	$cancleButtonLabel = "Cancle";
	$q_pos =  $GLOBALS['qVar']['q_pos'];
	$isFinal =  $GLOBALS['qVar']['isFinal'];
	
	
	?>
	<div id="showMenuButton" style="display:block"></div>
	<script>
	$(document).ready(function(){
		$('.button').css('height','70px');	   				
		$('#cancelProjectButton').css('height','70px');
		$('#logoutButtonSurvey').css('height','70px');
		$('#hideMenu').css('height','70px');
	});
	
	</script>
	<div class="menuLeft" style="display:none">
		<table >
			<tr>
				<td class="button" id="hideMenu">Hide</td>
			</tr>
			<tr>
				<tr class="logoutRow">
					<td class="button" id="logoutButtonSurvey">Logout</td>
				</tr>				
					
					<?php
					if($q_pos < 0 && $q_pos != -6 || $isFinal){
					?>
						<tr>
							<td class="button" id="newProjectButtonSurvey">Done<img class="buttonIcon" src="<?php echo PATH_TO_ROOT;?>capi_html/_img/inter.png" /></td>
						</tr>
					<?php }
						else
						{?>
						<tr>
							<td class="button" id="cancelProjectButton"><?php echo $cancleButtonLabel; ?><img class="buttonIcon" src="<?php echo PATH_TO_ROOT;?>capi_html/_img/interrupt.png" /></td>
						</tr>								
							
					<?php	}
					?>
										
					
					<?php /*				
					<tr>
						<td class="button" id="appointmentButton">Appoint<img class="buttonIcon" src="<?php echo PATH_TO_ROOT;?>capi_html/_img/appointment-button.png" />							
						</td>						
					</tr>
					
					<tr>
						<td class="button" id="liveUpdateButtonSurvey">Live U<img class="buttonIcon" src="<?php echo PATH_TO_ROOT;?>capi_html/_img/live-update.png" /></td>
					</tr>	
						*/ ?>					
				</td>			
			</tr>
		</table>		
	</div>
	<div id="closeLUIframe">X</div>	
	<iframe id="liveUpdateIframe" src="" width="100%" height="100%"></iframe>
	
	<div id="closeQuotaIframe">X</div>
	<iframe id="quotaIframe" src="" width="100%" height="100%"></iframe>
	