function getTherapistDashboard(paneElements){
var therapistDashboard='';
var therapistViewArea="<div id='therapistViewAreaScreen' style='display:none'><div style='width:72vw;height:7vh;position:absolute;top:11vh;left:24vw;-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);'></div><div style='width:70vw;height:76vh;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:25vw;top:18vh;overflow:hidden'><div style='position:absolute;z-index:1;left:12.5vw;top:2vh;width:45vw;height:76vh;'>"+paneElements+"</div></div></div>";
therapistDashboard="<div style='background-attachment:fixed;background-image:url('typing.jpg');height:100%;background-size:cover;'></div><div style='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:100vh;'>"+getMyProfileButton()+getPartnersProfileButton()+getPatientsProfileButton()+getMyContactsButton()+getResourcesButton()+getVideoConferenceButton()+getTherapistChatButton()+getTherapistLogo()+therapistViewArea+"<div id='therapistDisplay'></div><div>";
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:15vw;-moz-border-radius:20px;-webkit-border-radius:20px;border-radius:20px;cursor:pointer;height:5vh;' class='onHoverEnlargeFont' onclick='javascript:getTherapistDisplayPanel('My Profile'),selectOnlyOne('myProfile')' ><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:15vw;-moz-border-radius:20px;-webkit-border-radius:20px;border-radius:20px;cursor:pointer;height:5vh;' class='onHoverEnlargeFont' onclick='javascript:getTherapistDisplayPanel('Partner Profile'),selectOnlyOne('partnerProfile')' ><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:15vw;-moz-border-radius:20px;-webkit-border-radius:20px;border-radius:20px;cursor:pointer;height:5vh;' class='onHoverEnlargeFont' onclick='javascript:getTherapistDisplayPanel('Patient Profile'),selectOnlyOne('patientsProfile')'><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:15vw;-moz-border-radius:20px;-webkit-border-radius:20px;border-radius:20px;cursor:pointer;height:5vh;' class='onHoverEnlargeFont' onclick='javascript:getTherapistDisplayPanel('My Contacts'),selectOnlyOne('contacts')' ><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:15vw;-moz-border-radius:20px;-webkit-border-radius:20px;border-radius:20px;cursor:pointer;height:5vh;' class='onHoverEnlargeFont' onclick='javascript:getTherapistDisplayPanel('Resources'),selectOnlyOne('resources')'><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:15vw;-moz-border-radius:20px;-webkit-border-radius:20px;border-radius:20px;cursor:pointer;height:5vh;' class='onHoverEnlargeFont' onclick='javascript:getTherapistDisplayPanel('Video Conference'),selectOnlyOne('live')' ><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:15vw;-moz-border-radius:20px;-webkit-border-radius:20px;border-radius:20px;cursor:pointer;height:5vh;' class='onHoverEnlargeFont' onclick='javascript:getTherapistDisplayPanel('Chat'),selectOnlyOne('chatWindow')' ><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'}' src='homeLogo.png' style='cursor:pointer;position:absolute;bottom:5vh;left:5vh;height:25vh;'>";}
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';
}