function getTherapistDashboard(paneElements){
var therapistDashboard='';
var therapistViewArea="<div id='therapistViewAreaScreen' style='display:none'><div style='width:92%;height:40px;position:absolute;top:20px;left:50%;-moz-border-radius:2vh;-webkit-border-radius:2vh;border-radius:2vh;background-image:linear-gradient(to bottom,#d0cfcb,#ebe8e1,#d0cfcb);overflow:hidden;box-shadow: 0px 1vh 8vh 1vh rgba(0,0,0,.3);transform:translateX(-50%)'></div><div style='width:85%;height:80%;position:absolute;-moz-border-bottom-left-radius:2vh;-webkit-bottom-left-radius:2vh;border-bottom-left-radius:2vh;-moz-border-bottom-right-radius:2vh;-webkit-bottom-right-radius:2vh;border-bottom-right-radius:2vh;overflow:hidden;background-color:rgba(255,255,255,.95);box-shadow: 0px 4vh 8vh 2vh rgba(0,0,0,.5);position:absolute;z-index:1;left:50%;top:60px;transform:translateX(-50%)';overflow:hidden'><div style='position:absolute;z-index:1;left:50%;transform:translateX(-50%)'>"+paneElements+"</div></div></div>";
therapistDashboard="<div style='background-attachment:fixed;background-image:url('typing.jpg');height:100%;background-size:cover;'>"+getHamburgerMenu()+"</div><div id='therapistDashboardMenu' style='display:none;position:absolute;top:0px;left:0px;background-image:linear-gradient(to right, #ffccd1,rgba(0,0,0,0),rgba(0,0,0,0),rgba(0,0,0,0),rgba(0,0,0,0),rgba(0,0,0,0));width:100vw;height:100%;'>"+getMyProfileButton()+getPartnersProfileButton()+getPatientsProfileButton()+getMyContactsButton()+getResourcesButton()+getVideoConferenceButton()+getTherapistChatButton()+getTherapistLogo()+"<div id='therapistDisplay'></div></div>"+therapistViewArea;
var dynamicStyleSheet=document.createElement('link');
dynamicStyleSheet.rel = 'stylesheet';
dynamicStyleSheet.type = 'text/css';
dynamicStyleSheet.href = 'helpWebsite.css';
document.getElementsByTagName('head')[0].appendChild(dynamicStyleSheet);
return therapistDashboard;
}
function getMyProfileButton(){
return "<div style='position:absolute;left:5vh;top:5vh;background-image:linear-gradient(to bottom, #00b5f0,#01bffd,#00b5f0);color:white;box-shadow: 0px 4px 6px 1px rgba(0,0,0,0.3);width:150px;padding:10px;-moz-border-radius:20px;-webkit-border-radius:20px;border-radius:20px;cursor:pointer;height:5vh;' onclick='javascript:getTherapistDisplayPanel('My Profile'),selectOnlyOne('myProfile'),toggle('therapistDashboardMenu');' ><div style='text-align:right;position:relative;top:50%;transform:translateY(-50%);padding:0px 1vw;'>My Profile</div></div>";}
function getPartnersProfileButton(){
return "<div style='position:absolute;left:5vh;top:12vh;background-image:linear-gradient(to bottom, #00b5f0,#01bffd,#00b5f0);color:white;box-shadow: 0px 4px 6px 1px rgba(0,0,0,0.3);width:150px;padding:10px;-moz-border-radius:20px;-webkit-border-radius:20px;border-radius:20px;cursor:pointer;height:5vh;' onclick='javascript:getTherapistDisplayPanel('Partner Profile'),selectOnlyOne('partnerProfile'),toggle('therapistDashboardMenu');' ><div style='text-align:right;position:relative;top:50%;transform:translateY(-50%);padding:0px 1vw;'>Partner's Profile</div></div>";}
function getPatientsProfileButton(){
return "<div style='position:absolute;left:5vh;top:19vh;background-image:linear-gradient(to bottom, #00b5f0,#01bffd,#00b5f0);color:white;box-shadow: 0px 4px 6px 1px rgba(0,0,0,0.3);width:150px;padding:10px;-moz-border-radius:20px;-webkit-border-radius:20px;border-radius:20px;cursor:pointer;height:5vh;' onclick='javascript:getTherapistDisplayPanel('Patient Profile'),selectOnlyOne('patientsProfile'),toggle('therapistDashboardMenu');'><div style='text-align:right;position:relative;top:50%;transform:translateY(-50%);padding:0px 1vw;'>Patient's Profile</div></div>";}
function getMyContactsButton(){
return "<div style='position:absolute;left:5vh;top:26vh;background-image:linear-gradient(to bottom, #00b5f0,#01bffd,#00b5f0);color:white;box-shadow: 0px 4px 6px 1px rgba(0,0,0,0.3);width:150px;padding:10px;-moz-border-radius:20px;-webkit-border-radius:20px;border-radius:20px;cursor:pointer;height:5vh;' onclick='javascript:getTherapistDisplayPanel('My Contacts'),selectOnlyOne('contacts'),toggle('therapistDashboardMenu');' ><div style='text-align:right;position:relative;top:50%;transform:translateY(-50%);padding:0px 1vw;'>My Contacts</div></div>";}
function getResourcesButton(){
return "<div style='position:absolute;left:5vh;top:33vh;background-image:linear-gradient(to bottom, #00b5f0,#01bffd,#00b5f0);color:white;box-shadow: 0px 4px 6px 1px rgba(0,0,0,0.3);width:150px;padding:10px;-moz-border-radius:20px;-webkit-border-radius:20px;border-radius:20px;cursor:pointer;height:5vh;' onclick='javascript:getTherapistDisplayPanel('Resources'),selectOnlyOne('resources'),toggle('therapistDashboardMenu');'><div style='text-align:right;position:relative;top:50%;transform:translateY(-50%);padding:0px 1vw;'>Resources</div></div>";}
function getVideoConferenceButton(){
return "<div style='position:absolute;left:5vh;top:40vh;background-image:linear-gradient(to bottom, #00b5f0,#01bffd,#00b5f0);color:white;box-shadow: 0px 4px 6px 1px rgba(0,0,0,0.3);width:150px;padding:10px;-moz-border-radius:20px;-webkit-border-radius:20px;border-radius:20px;cursor:pointer;height:5vh;' onclick='javascript:getTherapistDisplayPanel('Video Conference'),selectOnlyOne('live'),toggle('therapistDashboardMenu');' ><div style='text-align:right;position:relative;top:50%;transform:translateY(-50%);padding:0px 1vw;'>Video Conference</div></div>";}
function getTherapistChatButton(){
return "<div style='position:absolute;left:5vh;top:47vh;background-image:linear-gradient(to bottom, #00b5f0,#01bffd,#00b5f0);color:white;box-shadow: 0px 4px 6px 1px rgba(0,0,0,0.3);width:150px;padding:10px;-moz-border-radius:20px;-webkit-border-radius:20px;border-radius:20px;cursor:pointer;height:5vh;' onclick='javascript:getTherapistDisplayPanel('Chat'),selectOnlyOne('chatWindow'),toggle('therapistDashboardMenu');' ><div style='text-align:right;position:relative;top:50%;transform:translateY(-50%);padding:0px 1vw;'>Chat</div></div>";}
function getTherapistLogo(){
return "<img onclick='javascript:{document.location='https://advancedfunctions.co/safespacehelp/mobile.html'}' src='homeLogo.png' style='cursor:pointer;position:absolute;bottom:20px;left:20px;height:100px;'>";}
function getTherapistDisplayPanel(therapistDisplayPanel){
var therapistDisplayHeading="<div style='position:absolute;left:47.5vw;top:5vh;background-image:linear-gradient(to bottom, #00b5f0,#01bffd,#00b5f0);color:white;box-shadow: 0px 4px 6px 1px rgba(0,0,0,0.3);width:25vw;-moz-border-radius:20px;-webkit-border-radius:20px;border-radius:20px;font:1.5vw Calibri;cursor:pointer;height:5vh;' ><div style='text-align:center;position:relative;top:50%;transform:translateY(-50%);padding:0px 1vw;'>"+therapistDisplayPanel+"</div></div>";
//document.getElementById('therapistDisplay').innerHTML=therapistDisplayHeading;
document.getElementById('therapistViewAreaScreen').style.display='block';
}
function getHamburgerMenu(){
return "<div onclick='javascript:closeAllOpenedDialogs();if(document.getElementById('therapistDashboardMenu').style.display=='none'){fadeIn('therapistDashboardMenu');}else{toggle('therapistDashboardMenu');}' style='z-index:2;background-image:linear-gradient(to bottom, #00b5f0,#01bffd,#00b5f0);-moz-border-radius:20px;-webkit-border-radius:20px;border-radius:20px;position:fixed;right:10px;top:10px;padding:10px;'><i style='color:white;' class='fa fa-bars'></i></div>";}