function ie6or7() {
	if (parseInt(navigator.userAgent.substring(navigator.userAgent.indexOf("MSIE")+5)) == 6 || parseInt(navigator.userAgent.substring(navigator.userAgent.indexOf("MSIE")+5)) == 7) {
		return true;
	} else {
		return false;
	}
	
}

function initializeAvatar()
{                       
    //$('avatarLoading').hide();
    $('avatarContainter').show();
    $('avatarBack').hide();
    // FRONT
    $('headFront').hide();
    $('neckFront').hide();
    $('shoulderLeftFront').hide();
    $('shoulderRightFront').hide();
    $('chest').hide();
    $('abdomen').hide();
    $('leftArmFront').hide();
    $('rightArmFront').hide();
    $('leftHandFront').hide();
    $('rightHandFront').hide();
    $('leftHipFront').hide();
    $('rightHipFront').hide();
    $('pelvisFront').hide();
    $('leftLegFront').hide();
    $('rightLegFront').hide();
    $('leftFootFront').hide();
    $('rightFootFront').hide();
    // BACK
    $('headBack').hide();
    $('neckBack').hide();
    $('shoulderLeftBack').hide();
    $('shoulderRightBack').hide();
    $('back').hide();
    $('lowerBack').hide();
    $('leftArmBack').hide();
    $('rightArmBack').hide();
    $('leftHandBack').hide();
    $('rightHandBack').hide();
    $('leftHipBack').hide();
    $('rightHipBack').hide();
    $('buttocks').hide();
    $('leftLegBack').hide();
    $('rightLegBack').hide();
    $('leftFootBack').hide();
    $('rightFootBack').hide();
}

// FRONT HEAD
function frontHeadOn() {
	showFront();
	if (ie6or7()) { //IE6
		$('headFront').setStyle({marginLeft:'0px', marginTop:'2px'})
	}
	$('symptom_title').update('Symptoms related to the head');
	
	$('headFront').show();
    $('neckFront').hide();
    $('shoulderLeftFront').hide();
    $('shoulderRightFront').hide();
    $('chest').hide();
    $('abdomen').hide();
    $('leftArmFront').hide();
    $('rightArmFront').hide();
    $('leftHandFront').hide();
    $('rightHandFront').hide();
    $('leftHipFront').hide();
    $('rightHipFront').hide();
    $('pelvisFront').hide();
    $('leftLegFront').hide();
    $('rightLegFront').hide();
    $('leftFootFront').hide();
    $('rightFootFront').hide();
	
    new Ajax.Request('/chief_complaints/update_symptoms/1', { method:'get' });
}

function frontHeadOff() {
    $('headFront').hide();
}

// FRONT NECK
function frontNeckOn() {
	showFront();
    if (ie6or7()) { //IE6
		$('neckFront').setStyle({marginLeft:'-143px', marginTop:'2px'})
	}
	$('symptom_title').update('Symptoms related to the neck');
	
	$('neckFront').show();
    $('headFront').hide();
    $('shoulderLeftFront').hide();
    $('shoulderRightFront').hide();
    $('chest').hide();
    $('abdomen').hide();
    $('leftArmFront').hide();
    $('rightArmFront').hide();
    $('leftHandFront').hide();
    $('rightHandFront').hide();
    $('leftHipFront').hide();
    $('rightHipFront').hide();
    $('pelvisFront').hide();
    $('leftLegFront').hide();
    $('rightLegFront').hide();
    $('leftFootFront').hide();
    $('rightFootFront').hide();
	
    new Ajax.Request('/chief_complaints/update_symptoms/2', { method:'get' });
}

function frontNeckOff() {
    $('neckFront').hide();
}

// FRONT SHOULDERS
function frontShouldersOn() {
	showFront();
	if (ie6or7()) { //IE6
		$('shoulderLeftFront').setStyle({marginLeft:'-189px', marginTop:'1px'})
		$('shoulderRightFront').setStyle({marginLeft:'-188px', marginTop:'1px'})
	}
	$('symptom_title').update('Symptoms related to the shoulder');
	
    
    $('shoulderLeftFront').show();
    $('shoulderRightFront').show();
    $('headFront').hide();
    $('neckFront').hide();
    $('chest').hide();
    $('abdomen').hide();
    $('leftArmFront').hide();
    $('rightArmFront').hide();
    $('leftHandFront').hide();
    $('rightHandFront').hide();
    $('leftHipFront').hide();
    $('rightHipFront').hide();
    $('pelvisFront').hide();
    $('leftLegFront').hide();
    $('rightLegFront').hide();
    $('leftFootFront').hide();
    $('rightFootFront').hide();
	
    new Ajax.Request('/chief_complaints/update_symptoms/10', { method:'get' });
}
function frontShouldersOff() {
    $('shoulderLeftFront').hide();
    $('shoulderRightFront').hide();
}

// CHEST
function chestOn() {
	showFront();
	if (ie6or7()) { //IE6
		$('chest').setStyle({marginLeft:'-129px', marginTop:'2px'})
	}
	$('symptom_title').update('Symptoms related to the chest');
	
    $('chest').show();
    $('headFront').hide();
    $('neckFront').hide();
    $('shoulderLeftFront').hide();
    $('shoulderRightFront').hide();
    $('abdomen').hide();
    $('leftArmFront').hide();
    $('rightArmFront').hide();
    $('leftHandFront').hide();
    $('rightHandFront').hide();
    $('leftHipFront').hide();
    $('rightHipFront').hide();
    $('pelvisFront').hide();
    $('leftLegFront').hide();
    $('rightLegFront').hide();
    $('leftFootFront').hide();
    $('rightFootFront').hide();
	
    new Ajax.Request('/chief_complaints/update_symptoms/7', { method:'get' });
}
function chestOff() {
    $('chest').hide();
}

// FRONT ABDOMEN
function abdomenOn() {
	showFront();
	if (ie6or7()) { //IE6
		$('abdomen').setStyle({marginLeft:'-146px', marginTop:'0px'});
	}
	$('symptom_title').update('Symptoms related to the abdomen and stomach');
    $('abdomen').show();
    $('headFront').hide();
    $('neckFront').hide();
    $('shoulderLeftFront').hide();
    $('shoulderRightFront').hide();
    $('chest').hide();
    $('leftArmFront').hide();
    $('rightArmFront').hide();
    $('leftHandFront').hide();
    $('rightHandFront').hide();
    $('leftHipFront').hide();
    $('rightHipFront').hide();
    $('pelvisFront').hide();
    $('leftLegFront').hide();
    $('rightLegFront').hide();
    $('leftFootFront').hide();
    $('rightFootFront').hide();
	
    new Ajax.Request('/chief_complaints/update_symptoms/13', { method:'get' });
}
function abdomenOff() {
    $('abdomen').hide();
}

// FRONT ARMS
function frontArmsOn() {
	showFront();
	if (ie6or7()) { //IE6
		$('leftArmFront').setStyle({marginLeft:'-180px', marginTop:'2px'});
		$('rightArmFront').setStyle({marginLeft:'-180px', marginTop:'2px'});
	}
	$('symptom_title').update('Symptoms related to the arm');
	
    $('leftArmFront').show();
    $('rightArmFront').show();
    $('headFront').hide();
    $('neckFront').hide();
    $('shoulderLeftFront').hide();
    $('shoulderRightFront').hide();
    $('chest').hide();
    $('abdomen').hide();
    $('leftHandFront').hide();
    $('rightHandFront').hide();
    $('leftHipFront').hide();
    $('rightHipFront').hide();
    $('pelvisFront').hide();
    $('leftLegFront').hide();
    $('rightLegFront').hide();
    $('leftFootFront').hide();
    $('rightFootFront').hide();
	
    new Ajax.Request('/chief_complaints/update_symptoms/11', { method:'get' });
}
function frontArmsOff() {
    $('leftArmFront').hide();
    $('rightArmFront').hide();
}

// FRONT HANDS
function frontHandsOn() {
	showFront();
	if (ie6or7()) { //IE6
		$('leftHandFront').setStyle({marginLeft:'-196px', marginTop:'0px'});
		$('rightHandFront').setStyle({marginLeft:'-198px', marginTop:'2px'});
	}
	$('symptom_title').update('Symptoms related to the hand');
    $('leftHandFront').show();
    $('rightHandFront').show();
    $('headFront').hide();
    $('neckFront').hide();
    $('shoulderLeftFront').hide();
    $('shoulderRightFront').hide();
    $('chest').hide();
    $('abdomen').hide();
    $('leftArmFront').hide();
    $('rightArmFront').hide();
    $('leftHipFront').hide();
    $('rightHipFront').hide();
    $('pelvisFront').hide();
    $('leftLegFront').hide();
    $('rightLegFront').hide();
    $('leftFootFront').hide();
    $('rightFootFront').hide();
	
    new Ajax.Request('/chief_complaints/update_symptoms/12', { method:'get' });
}

function frontHandsOff() {
    $('leftHandFront').hide();
    $('rightHandFront').hide();
}

// FRONT HIPS
function frontHipsOn() {
	showFront();
	if (ie6or7()) { //IE6
		$('leftHipFront').setStyle({marginLeft:'-210px', marginTop:'-182px'});
		$('rightHipFront').setStyle({marginLeft:'-210px', marginTop:'185px'});
	}
	$('symptom_title').update('Symptoms related to the hips');
	
    $('leftHipFront').show();
    $('rightHipFront').show();
    $('headFront').hide();
    $('neckFront').hide();
    $('shoulderLeftFront').hide();
    $('shoulderRightFront').hide();
    $('chest').hide();
    $('abdomen').hide();
    $('leftArmFront').hide();
    $('rightArmFront').hide();
    $('leftHandFront').hide();
    $('rightHandFront').hide();
    $('pelvisFront').hide();
    $('leftLegFront').hide();
    $('rightLegFront').hide();
    $('leftFootFront').hide();
    $('rightFootFront').hide();
	
    new Ajax.Request('/chief_complaints/update_symptoms/15', { method:'get' });
}
function frontHipsOff() {
    $('leftHipFront').hide();
    $('rightHipFront').hide();
}

// FRONT PELVIS
function frontPelvisOn() {
	showFront();
	if (ie6or7()) { //IE6
		$('pelvisFront').setStyle({marginLeft:'-182px', marginTop:'0px'});
	}
	$('symptom_title').update('Symptoms related to the pelvis');
	
    $('pelvisFront').show();
    $('headFront').hide();
    $('neckFront').hide();
    $('shoulderLeftFront').hide();
    $('shoulderRightFront').hide();
    $('chest').hide();
    $('abdomen').hide();
    $('leftArmFront').hide();
    $('rightArmFront').hide();
    $('leftHandFront').hide();
    $('rightHandFront').hide();
    $('leftHipFront').hide();
    $('rightHipFront').hide();
    $('leftLegFront').hide();
    $('rightLegFront').hide();
    $('leftFootFront').hide();
    $('rightFootFront').hide();
	
    new Ajax.Request('/chief_complaints/update_symptoms/14', { method:'get' });
}

function  frontPelvisOff() {
    $('pelvisFront').hide();
}

// FRONT LEGS
function frontLegsOn() {
	showFront();
	if (ie6or7()) { //IE6
		$('leftLegFront').setStyle({marginLeft:'-185px', marginTop:'2px'});
		$('rightLegFront').setStyle({marginLeft:'-185px', marginTop:'0px'});
	}
	$('symptom_title').update('Symptoms related to the leg');
	
    $('leftLegFront').show();
    $('rightLegFront').show();
    $('headFront').hide();
    $('neckFront').hide();
    $('shoulderLeftFront').hide();
    $('shoulderRightFront').hide();
    $('chest').hide();
    $('abdomen').hide();
    $('leftArmFront').hide();
    $('rightArmFront').hide();
    $('leftHandFront').hide();
    $('rightHandFront').hide();
    $('leftHipFront').hide();
    $('rightHipFront').hide();
    $('pelvisFront').hide();
    $('leftFootFront').hide();
    $('rightFootFront').hide();
	
    new Ajax.Request('/chief_complaints/update_symptoms/17', { method:'get' });
}

function frontLegsOff() {
    $('leftLegFront').hide();
    $('rightLegFront').hide();
}

// FRONT FEET
function frontFeetOn() {
	showFront();
	if (ie6or7()) { //IE6
		$('leftFootFront').setStyle({marginLeft:'-202px', marginTop:'2px'});
		$('rightFootFront').setStyle({marginLeft:'-202px', marginTop:'0px'});
	}
	$('symptom_title').update('Symptoms related to the feet');
	
    $('leftFootFront').show();
    $('rightFootFront').show();
    $('headFront').hide();
    $('neckFront').hide();
    $('shoulderLeftFront').hide();
    $('shoulderRightFront').hide();
    $('chest').hide();
    $('abdomen').hide();
    $('leftArmFront').hide();
    $('rightArmFront').hide();
    $('leftHandFront').hide();
    $('rightHandFront').hide();
    $('leftHipFront').hide();
    $('rightHipFront').hide();
    $('pelvisFront').hide();
    $('leftLegFront').hide();
    $('rightLegFront').hide();
	
    new Ajax.Request('/chief_complaints/update_symptoms/18', { method:'get' });
}
function frontFeetOff() {
    $('leftFootFront').hide();
    $('rightFootFront').hide();
}

// BACK HEAD
function backHeadOn() {
	showBack();
	if (ie6or7()) { //IE6
		$('headBack').setStyle({marginLeft:'-185px', marginTop:'2px'});
	}
	$('symptom_title').update('Symptoms related to the head');
    $('headBack').show();
    $('neckBack').hide();
    $('shoulderLeftBack').hide();
    $('shoulderRightBack').hide();
    $('back').hide();
    $('lowerBack').hide();
    $('leftArmBack').hide();
    $('rightArmBack').hide();
    $('leftHandBack').hide();
    $('rightHandBack').hide();
    $('leftHipBack').hide();
    $('rightHipBack').hide();
    $('buttocks').hide();
    $('leftLegBack').hide();
    $('rightLegBack').hide();
    $('leftFootBack').hide();
    $('rightFootBack').hide();
    new Ajax.Request('/chief_complaints/update_symptoms/1', { method:'get' });
}
function backHeadOff() {
    $('headBack').hide();
}

// BACK NECK
function backNeckOn() {
	showBack();
	if (ie6or7()) { //IE6
		$('neckBack').setStyle({marginLeft:'-162px', marginTop:'2px'});
	}
	$('symptom_title').update('Symptoms related to the neck');
	
    $('neckBack').show();
    $('headBack').hide();
    $('shoulderLeftBack').hide();
    $('shoulderRightBack').hide();
    $('back').hide();
    $('lowerBack').hide();
    $('leftArmBack').hide();
    $('rightArmBack').hide();
    $('leftHandBack').hide();
    $('rightHandBack').hide();
    $('leftHipBack').hide();
    $('rightHipBack').hide();
    $('buttocks').hide();
    $('leftLegBack').hide();
    $('rightLegBack').hide();
    $('leftFootBack').hide();
    $('rightFootBack').hide();
    new Ajax.Request('/chief_complaints/update_symptoms/2', { method:'get' });
}

function backNeckOff() {
    $('neckBack').hide();
}

// BACK SHOULDERS
function backShouldersOn() {
	showBack();
	if (ie6or7()) { //IE6
		$('shoulderLeftBack').setStyle({marginLeft:'-190px', marginTop:'2px'});
		$('shoulderRightBack').setStyle({marginLeft:'-190px', marginTop:'0px'});
	}
	$('symptom_title').update('Symptoms related to the shoulder');
	
    $('shoulderLeftBack').show();
    $('shoulderRightBack').show();
    $('headBack').hide();
    $('neckBack').hide();
    $('back').hide();
    $('lowerBack').hide();
    $('leftArmBack').hide();
    $('rightArmBack').hide();
    $('leftHandBack').hide();
    $('rightHandBack').hide();
    $('leftHipBack').hide();
    $('rightHipBack').hide();
    $('buttocks').hide();
    $('leftLegBack').hide();
    $('rightLegBack').hide();
    $('leftFootBack').hide();
    $('rightFootBack').hide();
    new Ajax.Request('/chief_complaints/update_symptoms/10', { method:'get' });
}
function backShouldersOff() {
    $('shoulderLeftBack').hide();
    $('shoulderRightBack').hide();
}

// BACK BACK
function backOn() {
	if (ie6or7()) { //IE6
		$('back').setStyle({marginLeft:'-142px', marginTop:'2px'});
	}
	$('symptom_title').update('Symptoms related to the back');
	
	showBack();
    $('back').show();
    $('headBack').hide();
    $('neckBack').hide();
    $('shoulderLeftBack').hide();
    $('shoulderRightBack').hide();
    $('lowerBack').hide();
    $('leftArmBack').hide();
    $('rightArmBack').hide();
    $('leftHandBack').hide();
    $('rightHandBack').hide();
    $('leftHipBack').hide();
    $('rightHipBack').hide();
    $('buttocks').hide();
    $('leftLegBack').hide();
    $('rightLegBack').hide();
    $('leftFootBack').hide();
    $('rightFootBack').hide();
    new Ajax.Request('/chief_complaints/update_symptoms/8', { method:'get' });
}

function backOff() {
    $('back').hide();
}

// LOWER BACK
function lowerBackOn() {
	showBack();
	if (ie6or7()) { //IE6
		$('lowerBack').setStyle({marginLeft:'-158px', marginTop:'4px'});
	}
	$('symptom_title').update('Symptoms related to the lower back');
	
    $('lowerBack').show();
    $('headBack').hide();
    $('neckBack').hide();
    $('shoulderLeftBack').hide();
    $('shoulderRightBack').hide();
    $('back').hide();
    $('leftArmBack').hide();
    $('rightArmBack').hide();
    $('leftHandBack').hide();
    $('rightHandBack').hide();
    $('leftHipBack').hide();
    $('rightHipBack').hide();
    $('buttocks').hide();
    $('leftLegBack').hide();
    $('rightLegBack').hide();
    $('leftFootBack').hide();
    $('rightFootBack').hide();
    new Ajax.Request('/chief_complaints/update_symptoms/9', { method:'get' });
}

function lowerBackOff() {
    $('lowerBack').hide();
}

// BACK ARMS
function backArmsOn() {
	showBack();
	if (ie6or7()) { //IE6
		$('leftArmBack').setStyle({marginLeft:'-176px', marginTop:'2px'});
		$('rightArmBack').setStyle({marginLeft:'-176px', marginTop:'0px'});
	}
	$('symptom_title').update('Symptoms related to the arm');
	
    $('leftArmBack').show();
    $('rightArmBack').show();
    $('headBack').hide();
    $('neckBack').hide();
    $('shoulderLeftBack').hide();
    $('shoulderRightBack').hide();
    $('back').hide();
    $('lowerBack').hide();
    $('leftHandBack').hide();
    $('rightHandBack').hide();
    $('leftHipBack').hide();
    $('rightHipBack').hide();
    $('buttocks').hide();
    $('leftLegBack').hide();
    $('rightLegBack').hide();
    $('leftFootBack').hide();
    $('rightFootBack').hide();
    new Ajax.Request('/chief_complaints/update_symptoms/11', { method:'get' });
}

function backArmsOff() {
    $('leftArmBack').hide();
    $('rightArmBack').hide();
}

// BACK HANDS
function backHandsOn() {
	showBack();
	if (ie6or7()) { //IE6
		$('leftHandBack').setStyle({marginLeft:'-198px', marginTop:'2px'});
		$('rightHandBack').setStyle({marginLeft:'-197px', marginTop:'-40px'});
	}
	$('symptom_title').update('Symptoms related to the hand');
    $('leftHandBack').show();
    $('rightHandBack').show();
    $('headBack').hide();
    $('neckBack').hide();
    $('shoulderLeftBack').hide();
    $('shoulderRightBack').hide();
    $('back').hide();
    $('lowerBack').hide();
    $('leftArmBack').hide();
    $('rightArmBack').hide();
    $('leftHipBack').hide();
    $('rightHipBack').hide();
    $('buttocks').hide();
    $('leftLegBack').hide();
    $('rightLegBack').hide();
    $('leftFootBack').hide();
    $('rightFootBack').hide();
    new Ajax.Request('/chief_complaints/update_symptoms/12', { method:'get' });
}

function backHandsOff() {
    $('leftHandBack').hide();
    $('rightHandBack').hide();
}

// BACK HIPS
function backHipsOn() {
	showBack();
	if (ie6or7()) { //IE6
		$('leftHipBack').setStyle({marginLeft:'-216px', marginTop:'2px'});
		$('rightHipBack').setStyle({marginLeft:'-216px', marginTop:'0px'});
	}
	$('symptom_title').update('Symptoms related to the hips');
	
    $('leftHipBack').show();
    $('rightHipBack').show();
    $('headBack').hide();
    $('neckBack').hide();
    $('shoulderLeftBack').hide();
    $('shoulderRightBack').hide();
    $('back').hide();
    $('lowerBack').hide();
    $('leftArmBack').hide();
    $('rightArmBack').hide();
    $('leftHandBack').hide();
    $('rightHandBack').hide();
    $('buttocks').hide();
    $('leftLegBack').hide();
    $('rightLegBack').hide();
    $('leftFootBack').hide();
    $('rightFootBack').hide();
    new Ajax.Request('/chief_complaints/update_symptoms/15', { method:'get' });
}
function backHipsOff() {
    $('leftHipBack').hide();
    $('rightHipBack').hide();
}

// BUTTOCKS
function buttocksOn() {
	showBack();
	if (ie6or7()) { //IE6
		$('buttocks').setStyle({marginLeft:'-146px', marginTop:'2px'});
	}
	$('symptom_title').update('Symptoms related to the buttock');
    $('buttocks').show();
    $('headBack').hide();
    $('neckBack').hide();
    $('shoulderLeftBack').hide();
    $('shoulderRightBack').hide();
    $('back').hide();
    $('lowerBack').hide();
    $('leftArmBack').hide();
    $('rightArmBack').hide();
    $('leftHandBack').hide();
    $('rightHandBack').hide();
    $('leftHipBack').hide();
    $('rightHipBack').hide();
    $('leftLegBack').hide();
    $('rightLegBack').hide();
    $('leftFootBack').hide();
    $('rightFootBack').hide();
    new Ajax.Request('/chief_complaints/update_symptoms/16', { method:'get' });
}
function buttocksOff() {
    $('buttocks').hide();
}

// BACK LEGS
function backLegsOn() {
	showBack();
	if (ie6or7()) { //IE6
		$('leftLegBack').setStyle({marginLeft:'-186px', marginTop:'2px'});
		$('rightLegBack').setStyle({marginLeft:'-186px', marginTop:'0px'});
	}
	$('symptom_title').update('Symptoms related to the leg');
	
    $('leftLegBack').show();
    $('rightLegBack').show();
    $('headBack').hide();
    $('neckBack').hide();
    $('shoulderLeftBack').hide();
    $('shoulderRightBack').hide();
    $('back').hide();
    $('lowerBack').hide();
    $('leftArmBack').hide();
    $('rightArmBack').hide();
    $('leftHandBack').hide();
    $('rightHandBack').hide();
    $('leftHipBack').hide();
    $('rightHipBack').hide();
    $('buttocks').hide();
    $('leftFootBack').hide();
    $('rightFootBack').hide();
    new Ajax.Request('/chief_complaints/update_symptoms/17', { method:'get' });
}
function backLegsOff() {
    $('leftLegBack').hide();
    $('rightLegBack').hide();
}

// BACK FEET
function backFeetOn() {
	showBack();
	
	if (ie6or7()) { //IE6
		$('leftFootBack').setStyle({marginLeft:'-200px', marginTop:'45px'});
		$('rightFootBack').setStyle({marginLeft:'-200px', marginTop:'1px'});
	}
	
	$('symptom_title').update('Symptoms related to the feet');
    $('leftFootBack').show();
    $('rightFootBack').show();
    $('headBack').hide();
    $('neckBack').hide();
    $('shoulderLeftBack').hide();
    $('shoulderRightBack').hide();
    $('back').hide();
    $('lowerBack').hide();
    $('leftArmBack').hide();
    $('rightArmBack').hide();
    $('leftHandBack').hide();
    $('rightHandBack').hide();
    $('leftHipBack').hide();
    $('rightHipBack').hide();
    $('buttocks').hide();
    $('leftLegBack').hide();
    $('rightLegBack').hide();
    new Ajax.Request('/chief_complaints/update_symptoms/18', { method:'get' });
}

function backFeetOff() {
    $('leftFootBack').hide();
    $('rightFootBack').hide();
}

// FRONT BACK BUTTONS
function showFront() {
    $('avatarBack').hide();
    $('leftFootBack').hide();
    $('rightFootBack').hide();
    $('headBack').show();
    $('neckBack').hide();
    $('shoulderLeftBack').hide();
    $('shoulderRightBack').hide();
    $('back').hide();
    $('lowerBack').hide();
    $('leftArmBack').hide();
    $('rightArmBack').hide();
    $('leftHandBack').hide();
    $('rightHandBack').hide();
    $('leftHipBack').hide();
    $('rightHipBack').hide();
    $('buttocks').hide();
    $('leftLegBack').hide();
    $('rightLegBack').hide();
    $('avatarFront').show();
}

function showBack() {
    $('avatarBack').hide();
    $('headFront').hide();
    $('neckFront').hide();
    $('shoulderLeftFront').hide();
    $('shoulderRightFront').hide();
    $('chest').hide();
    $('abdomen').hide();
    $('leftArmFront').hide();
    $('rightArmFront').hide();
    $('leftHandFront').hide();
    $('rightHandFront').hide();
    $('leftHipFront').hide();
    $('rightHipFront').hide();
    $('pelvisFront').hide();
    $('leftLegFront').hide();
    $('rightLegFront').hide();
    $('leftFootFront').hide();
    $('rightFootFront').hide();
    $('avatarFront').hide();
    $('headBack').hide();
    $('avatarBack').show();
}

function showBackHomepage() {
	$('avatarFront').hide();
    $('avatarBack').show();
}

function showFrontHomepage() {
    $('avatarBack').hide();
	$('avatarFront').show();
}


function showOther() {
    new Ajax.Request('/chief_complaints/update_symptoms/20', { method:'get' });
}