// blink_eye()
// make_copy_n
// make_copy_h
// make_copy_o
// make_copy_s
// make_copy_a

//var callback1
//var callback2
// n_to_o()
// n_to_h()
// n_to_a()
// n_to_s()

// s_to_n()
// h_to_n()
// o_to_n()
// a_to_n()

// h_to_s()
// o_to_s()
// a_to_s()

// h_to_o()
// a_to_o()
// s_to_o()

// a_to_h()
// s_to_h()
// o_to_h()

// h_to_a()
// s_to_a()
// o_to_a()

//=========================================


function make_copy_normal()
{

    $(normal_right_eyebrow).clone().prop({ id: "first_right_eyebrow" }).appendTo('.face');
    $(normal_left_eyebrow).clone().prop({ id: "first_left_eyebrow" }).appendTo('.face');
    $(normal_mouth).clone().prop({ id: "first_mouth"  }).appendTo('.face');
	
    $(normal_left_eye_p1).clone().prop({ id: "first_left_eye_p1" }).appendTo('.face');
	$(normal_left_eye_p2).clone().prop({ id: "first_left_eye_p2" }).appendTo('.face');
    $(normal_left_eye_p3).clone().prop({ id: "first_left_eye_p3" }).appendTo('.face');
	$(normal_left_eye_p4).clone().prop({ id: "first_left_eye_p4" }).appendTo('.face');	
    $(normal_left_eye_p5).clone().prop({ id: "first_left_eye_p5" }).appendTo('.face');
	$(normal_left_eye_p6).clone().prop({ id: "first_left_eye_p6" }).appendTo('.face');	

    $(normal_right_eye_p1).clone().prop({ id: "first_right_eye_p1" }).appendTo('.face');
	$(normal_right_eye_p2).clone().prop({ id: "first_right_eye_p2" }).appendTo('.face');
    $(normal_right_eye_p3).clone().prop({ id: "first_right_eye_p3" }).appendTo('.face');
	$(normal_right_eye_p4).clone().prop({ id: "first_right_eye_p4" }).appendTo('.face');	
    $(normal_right_eye_p5).clone().prop({ id: "first_right_eye_p5" }).appendTo('.face');
	$(normal_right_eye_p6).clone().prop({ id: "first_right_eye_p6" }).appendTo('.face');	

	$(normal_teeth_up).clone().prop({ id: "first_teeth_up"  }).appendTo('.face');

    first_right_eyebrow.style.visibility='visible';
    first_left_eyebrow.style.visibility='visible';
    first_mouth.style.visibility='visible';
	
    first_left_eye_p1.style.visibility='visible';
    first_left_eye_p2.style.visibility='visible';
    first_left_eye_p3.style.visibility='visible';	
    first_left_eye_p4.style.visibility='visible';
    first_left_eye_p5.style.visibility='visible';
    first_left_eye_p6.style.visibility='visible';	

    first_right_eye_p1.style.visibility='visible';
    first_right_eye_p2.style.visibility='visible';
    first_right_eye_p3.style.visibility='visible';	
    first_right_eye_p4.style.visibility='visible';
    first_right_eye_p5.style.visibility='visible';
    first_right_eye_p6.style.visibility='visible';		
	
    first_teeth_up.style.visibility='visible';

    normal_right_eyebrow.style.visibility='hidden';
    normal_left_eyebrow.style.visibility='hidden';
    normal_mouth.style.visibility='hidden';
	
    normal_left_eye_p1.style.visibility='hidden';
    normal_left_eye_p2.style.visibility='hidden';
    normal_left_eye_p3.style.visibility='hidden';	
    normal_left_eye_p4.style.visibility='hidden';
    normal_left_eye_p5.style.visibility='hidden';
    normal_left_eye_p6.style.visibility='hidden';	

    normal_right_eye_p1.style.visibility='hidden';
    normal_right_eye_p2.style.visibility='hidden';
    normal_right_eye_p3.style.visibility='hidden';	
    normal_right_eye_p4.style.visibility='hidden';
    normal_right_eye_p5.style.visibility='hidden';
    normal_right_eye_p6.style.visibility='hidden';		
	
    normal_teeth_up.style.visibility='hidden';


}
//=================================================================

function make_copy_angry()
{
    $(angry_right_eyebrow).clone().prop({ id: "first_right_eyebrow" }).appendTo('.face');
    $(angry_left_eyebrow).clone().prop({ id: "first_left_eyebrow" }).appendTo('.face');
    $(angry_mouth).clone().prop({ id: "first_mouth"  }).appendTo('.face');
	
    $(angry_left_eye_p1).clone().prop({ id: "first_left_eye_p1" }).appendTo('.face');
	$(angry_left_eye_p2).clone().prop({ id: "first_left_eye_p2" }).appendTo('.face');
    $(angry_left_eye_p3).clone().prop({ id: "first_left_eye_p3" }).appendTo('.face');
	$(angry_left_eye_p4).clone().prop({ id: "first_left_eye_p4" }).appendTo('.face');		
	$(angry_left_eye_p5).clone().prop({ id: "first_left_eye_p5" }).appendTo('.face');		
	$(angry_left_eye_p6).clone().prop({ id: "first_left_eye_p6" }).appendTo('.face');		

    $(angry_right_eye_p1).clone().prop({ id: "first_right_eye_p1" }).appendTo('.face');
	$(angry_right_eye_p2).clone().prop({ id: "first_right_eye_p2" }).appendTo('.face');
    $(angry_right_eye_p3).clone().prop({ id: "first_right_eye_p3" }).appendTo('.face');
	$(angry_right_eye_p4).clone().prop({ id: "first_right_eye_p4" }).appendTo('.face');	
	$(angry_right_eye_p5).clone().prop({ id: "first_right_eye_p5" }).appendTo('.face');	
	$(angry_right_eye_p6).clone().prop({ id: "first_right_eye_p6" }).appendTo('.face');	

	$(angry_teeth_up).clone().prop({ id: "first_teeth_up"  }).appendTo('.face');
	
	$(angry_left_cheek).clone().prop({ id: "first_left_cheek"  }).appendTo('.face');
	$(angry_right_cheek).clone().prop({ id: "first_right_cheek"  }).appendTo('.face');

    first_right_eyebrow.style.visibility='visible';
    first_left_eyebrow.style.visibility='visible';
    first_mouth.style.visibility='visible';
	
    first_left_eye_p1.style.visibility='visible';
    first_left_eye_p2.style.visibility='visible';
    first_left_eye_p3.style.visibility='visible';	
    first_left_eye_p4.style.visibility='visible';	
    first_left_eye_p5.style.visibility='visible';	
    first_left_eye_p6.style.visibility='visible';	

    first_right_eye_p1.style.visibility='visible';
    first_right_eye_p2.style.visibility='visible';
    first_right_eye_p3.style.visibility='visible';	
    first_right_eye_p4.style.visibility='visible';
	first_right_eye_p5.style.visibility='visible';
	first_right_eye_p6.style.visibility='visible';
	
    first_teeth_up.style.visibility='visible';

    first_left_cheek.style.visibility='visible';	
    first_right_cheek.style.visibility='visible';
	
    angry_right_eyebrow.style.visibility='hidden';
    angry_left_eyebrow.style.visibility='hidden';
    angry_mouth.style.visibility='hidden';
	
    angry_left_eye_p1.style.visibility='hidden';
    angry_left_eye_p2.style.visibility='hidden';
    angry_left_eye_p3.style.visibility='hidden';	
    angry_left_eye_p4.style.visibility='hidden';
	angry_left_eye_p5.style.visibility='hidden';
	angry_left_eye_p6.style.visibility='hidden';
	
    angry_right_eye_p1.style.visibility='hidden';
    angry_right_eye_p2.style.visibility='hidden';
    angry_right_eye_p3.style.visibility='hidden';	
    angry_right_eye_p4.style.visibility='hidden';
	angry_right_eye_p5.style.visibility='hidden';
	angry_right_eye_p6.style.visibility='hidden';
		
    angry_teeth_up.style.visibility='hidden';

    angry_left_cheek.style.visibility='hidden';
	angry_right_cheek.style.visibility='hidden';
}
//=================================================================

function make_copy_heart()
{
    $(heart_right_eyebrow).clone().prop({ id: "first_right_eyebrow" }).appendTo('.face');
    $(heart_left_eyebrow).clone().prop({ id: "first_left_eyebrow" }).appendTo('.face');
    $(heart_mouth).clone().prop({ id: "first_mouth"  }).appendTo('.face');
	
    $(heart_left_eye_p1).clone().prop({ id: "first_left_eye_p1" }).appendTo('.face');
	$(heart_left_eye_p2).clone().prop({ id: "first_left_eye_p2" }).appendTo('.face');
    $(heart_left_eye_p3).clone().prop({ id: "first_left_eye_p3" }).appendTo('.face');
	$(heart_left_eye_p4).clone().prop({ id: "first_left_eye_p4" }).appendTo('.face');	
	$(heart_left_eye_p5).clone().prop({ id: "first_left_eye_p5" }).appendTo('.face');
	$(heart_left_eye_p6).clone().prop({ id: "first_left_eye_p6" }).appendTo('.face');
	

    $(heart_right_eye_p1).clone().prop({ id: "first_right_eye_p1" }).appendTo('.face');
	$(heart_right_eye_p2).clone().prop({ id: "first_right_eye_p2" }).appendTo('.face');
    $(heart_right_eye_p3).clone().prop({ id: "first_right_eye_p3" }).appendTo('.face');
	$(heart_right_eye_p4).clone().prop({ id: "first_right_eye_p4" }).appendTo('.face');	
	$(heart_right_eye_p5).clone().prop({ id: "first_right_eye_p5" }).appendTo('.face');	
	$(heart_right_eye_p6).clone().prop({ id: "first_right_eye_p6" }).appendTo('.face');	
	

	$(heart_chin).clone().prop({ id: "first_chin"  }).appendTo('.face');
	
	$(heart_left_cheek).clone().prop({ id: "first_left_cheek"  }).appendTo('.face');
	$(heart_right_cheek).clone().prop({ id: "first_right_cheek"  }).appendTo('.face');
	$(heart_right_p1).clone().prop({ id: "first_right_p1"  }).appendTo('.face');
	$(heart_right_p2).clone().prop({ id: "first_right_p2"  }).appendTo('.face');
	$(heart_left_p1).clone().prop({ id: "first_left_p1"  }).appendTo('.face');
	$(heart_left_p2).clone().prop({ id: "first_left_p2"  }).appendTo('.face');

    first_right_eyebrow.style.visibility='visible';
    first_left_eyebrow.style.visibility='visible';
    first_mouth.style.visibility='visible';
	
    first_left_eye_p1.style.visibility='visible';
    first_left_eye_p2.style.visibility='visible';
    first_left_eye_p3.style.visibility='visible';	
    first_left_eye_p4.style.visibility='visible';
	first_left_eye_p5.style.visibility='visible';
	first_left_eye_p6.style.visibility='visible';
	
    first_right_eye_p1.style.visibility='visible';
    first_right_eye_p2.style.visibility='visible';
    first_right_eye_p3.style.visibility='visible';	
    first_right_eye_p4.style.visibility='visible';
	first_right_eye_p5.style.visibility='visible';
	first_right_eye_p6.style.visibility='visible';
	
    first_chin.style.visibility='visible';

    first_left_cheek.style.visibility='visible';	
    first_right_cheek.style.visibility='visible';	
    heart_right_p1.style.visibility='visible';	
    heart_right_p2.style.visibility='visible';	
    heart_left_p1.style.visibility='visible';	
    heart_left_p2.style.visibility='visible';
	
    heart_right_eyebrow.style.visibility='hidden';
    heart_left_eyebrow.style.visibility='hidden';
    heart_mouth.style.visibility='hidden';
	
    heart_left_eye_p1.style.visibility='hidden';
    heart_left_eye_p2.style.visibility='hidden';
    heart_left_eye_p3.style.visibility='hidden';	
    heart_left_eye_p4.style.visibility='hidden';
	heart_left_eye_p5.style.visibility='hidden';
	heart_left_eye_p6.style.visibility='hidden';	

    heart_right_eye_p1.style.visibility='hidden';
    heart_right_eye_p2.style.visibility='hidden';
    heart_right_eye_p3.style.visibility='hidden';	
    heart_right_eye_p4.style.visibility='hidden';
	heart_right_eye_p5.style.visibility='hidden';
	heart_right_eye_p6.style.visibility='hidden';	
	
    heart_chin.style.visibility='hidden';

    heart_left_cheek.style.visibility='hidden';  
	heart_right_cheek.style.visibility='hidden';
    heart_right_p1.style.visibility='hidden';  
	heart_right_p2.style.visibility='hidden';		
    heart_left_p1.style.visibility='hidden';   
	heart_left_p2.style.visibility='hidden';
}
//=================================================================

function make_copy_disgust()
{
    $(disgust_right_eyebrow).clone().prop({ id: "first_right_eyebrow" }).appendTo('.face');
    $(disgust_left_eyebrow).clone().prop({ id: "first_left_eyebrow" }).appendTo('.face');
    $(disgust_mouth).clone().prop({ id: "first_mouth"  }).appendTo('.face');
	
    $(disgust_left_eye_p1).clone().prop({ id: "first_left_eye_p1" }).appendTo('.face');
	$(disgust_left_eye_p2).clone().prop({ id: "first_left_eye_p2" }).appendTo('.face');
    $(disgust_left_eye_p3).clone().prop({ id: "first_left_eye_p3" }).appendTo('.face');
	$(disgust_left_eye_p4).clone().prop({ id: "first_left_eye_p4" }).appendTo('.face');	
	$(disgust_left_eye_p5).clone().prop({ id: "first_left_eye_p5" }).appendTo('.face');	
	$(disgust_left_eye_p6).clone().prop({ id: "first_left_eye_p6" }).appendTo('.face');	

    $(disgust_right_eye_p1).clone().prop({ id: "first_right_eye_p1" }).appendTo('.face');
	$(disgust_right_eye_p2).clone().prop({ id: "first_right_eye_p2" }).appendTo('.face');
    $(disgust_right_eye_p3).clone().prop({ id: "first_right_eye_p3" }).appendTo('.face');
	$(disgust_right_eye_p4).clone().prop({ id: "first_right_eye_p4" }).appendTo('.face');	
	$(disgust_right_eye_p5).clone().prop({ id: "first_right_eye_p5" }).appendTo('.face');
	$(disgust_right_eye_p6).clone().prop({ id: "first_right_eye_p6" }).appendTo('.face');

	$(disgust_teeth_up).clone().prop({ id: "first_teeth_up"  }).appendTo('.face');
	
	$(disgust_left_cheek).clone().prop({ id: "first_left_cheek"  }).appendTo('.face');
	$(disgust_right_cheek).clone().prop({ id: "first_right_cheek"  }).appendTo('.face');
    $(disgust_tongue).clone().prop({ id: "first_tongue"  }).appendTo('.face');

    first_right_eyebrow.style.visibility='visible';
    first_left_eyebrow.style.visibility='visible';
    first_mouth.style.visibility='visible';
	
    first_left_eye_p1.style.visibility='visible';
    first_left_eye_p2.style.visibility='visible';
    first_left_eye_p3.style.visibility='visible';	
    first_left_eye_p4.style.visibility='visible';
	first_left_eye_p5.style.visibility='visible';
	first_left_eye_p6.style.visibility='visible';
 
    first_right_eye_p1.style.visibility='visible';
    first_right_eye_p2.style.visibility='visible';
    first_right_eye_p3.style.visibility='visible';	
    first_right_eye_p4.style.visibility='visible';
	first_right_eye_p5.style.visibility='visible';
	first_right_eye_p6.style.visibility='visible';
 	
    first_teeth_up.style.visibility='visible';
    first_left_cheek.style.visibility='visible';	
    first_right_cheek.style.visibility='visible';
    first_tongue.style.visibility='visible';
	
    disgust_right_eyebrow.style.visibility='hidden';
    disgust_left_eyebrow.style.visibility='hidden';
    disgust_mouth.style.visibility='hidden';
	
    disgust_left_eye_p1.style.visibility='hidden';
    disgust_left_eye_p2.style.visibility='hidden';
    disgust_left_eye_p3.style.visibility='hidden';	
    disgust_left_eye_p4.style.visibility='hidden';
	disgust_left_eye_p5.style.visibility='hidden';
	disgust_left_eye_p6.style.visibility='hidden';

    disgust_right_eye_p1.style.visibility='hidden';
    disgust_right_eye_p2.style.visibility='hidden';
    disgust_right_eye_p3.style.visibility='hidden';	
    disgust_right_eye_p4.style.visibility='hidden';
	disgust_right_eye_p5.style.visibility='hidden';
	disgust_right_eye_p6.style.visibility='hidden';
	
    disgust_teeth_up.style.visibility='hidden';

    disgust_left_cheek.style.visibility='hidden';  
	disgust_right_cheek.style.visibility='hidden';
	
	disgust_tongue.style.visibility='hidden';	

}
//=================================================================
function make_copy_fear()
{

    $(fear_right_eyebrow).clone().prop({ id: "first_right_eyebrow" }).appendTo('.face');
    $(fear_left_eyebrow).clone().prop({ id: "first_left_eyebrow" }).appendTo('.face');
    $(fear_mouth).clone().prop({ id: "first_mouth"  }).appendTo('.face');
	
    $(fear_left_eye_p1).clone().prop({ id: "first_left_eye_p1" }).appendTo('.face');
	$(fear_left_eye_p2).clone().prop({ id: "first_left_eye_p2" }).appendTo('.face');
    $(fear_left_eye_p3).clone().prop({ id: "first_left_eye_p3" }).appendTo('.face');
	$(fear_left_eye_p4).clone().prop({ id: "first_left_eye_p4" }).appendTo('.face');	
	$(fear_left_eye_p5).clone().prop({ id: "first_left_eye_p5" }).appendTo('.face');	
	$(fear_left_eye_p6).clone().prop({ id: "first_left_eye_p6" }).appendTo('.face');	

    $(fear_right_eye_p1).clone().prop({ id: "first_right_eye_p1" }).appendTo('.face');
	$(fear_right_eye_p2).clone().prop({ id: "first_right_eye_p2" }).appendTo('.face');
    $(fear_right_eye_p3).clone().prop({ id: "first_right_eye_p3" }).appendTo('.face');
	$(fear_right_eye_p4).clone().prop({ id: "first_right_eye_p4" }).appendTo('.face');	
	$(fear_right_eye_p5).clone().prop({ id: "first_right_eye_p5" }).appendTo('.face');
	$(fear_right_eye_p6).clone().prop({ id: "first_right_eye_p6" }).appendTo('.face');

	$(fear_teeth_up).clone().prop({ id: "first_teeth_up"  }).appendTo('.face');
	
	$(fear_left_cheek).clone().prop({ id: "first_left_cheek"  }).appendTo('.face');
	$(fear_right_cheek).clone().prop({ id: "first_right_cheek"  }).appendTo('.face');

    first_right_eyebrow.style.visibility='visible';
    first_left_eyebrow.style.visibility='visible';
    first_mouth.style.visibility='visible';
	
    first_left_eye_p1.style.visibility='visible';
    first_left_eye_p2.style.visibility='visible';
    first_left_eye_p3.style.visibility='visible';	
    first_left_eye_p4.style.visibility='visible';
	first_left_eye_p5.style.visibility='visible';
	first_left_eye_p6.style.visibility='visible';

    first_right_eye_p1.style.visibility='visible';
    first_right_eye_p2.style.visibility='visible';
    first_right_eye_p3.style.visibility='visible';	
    first_right_eye_p4.style.visibility='visible';
	first_right_eye_p5.style.visibility='visible';
	first_right_eye_p6.style.visibility='visible';
	
    first_teeth_up.style.visibility='visible';

    first_left_cheek.style.visibility='visible';	
    first_right_cheek.style.visibility='visible';

    fear_right_eyebrow.style.visibility='hidden';
    fear_left_eyebrow.style.visibility='hidden';
    fear_mouth.style.visibility='hidden';
	
    fear_left_eye_p1.style.visibility='hidden';
    fear_left_eye_p2.style.visibility='hidden';
    fear_left_eye_p3.style.visibility='hidden';	
    fear_left_eye_p4.style.visibility='hidden';
	fear_left_eye_p5.style.visibility='hidden';
	fear_left_eye_p6.style.visibility='hidden';

    fear_right_eye_p1.style.visibility='hidden';
    fear_right_eye_p2.style.visibility='hidden';
    fear_right_eye_p3.style.visibility='hidden';	
    fear_right_eye_p4.style.visibility='hidden';
	fear_right_eye_p5.style.visibility='hidden';
	fear_right_eye_p6.style.visibility='hidden';
	
    fear_teeth_up.style.visibility='hidden';

    fear_left_cheek.style.visibility='hidden';  
	fear_right_cheek.style.visibility='hidden';
}

function make_copy_happy()
{
    $(happy_right_eyebrow).clone().prop({ id: "first_right_eyebrow" }).appendTo('.face');
    $(happy_left_eyebrow).clone().prop({ id: "first_left_eyebrow" }).appendTo('.face');
    $(happy_mouth).clone().prop({ id: "first_mouth"  }).appendTo('.face');
	
    $(happy_left_eye_p1).clone().prop({ id: "first_left_eye_p1" }).appendTo('.face');
	$(happy_left_eye_p2).clone().prop({ id: "first_left_eye_p2" }).appendTo('.face');
    $(happy_left_eye_p3).clone().prop({ id: "first_left_eye_p3" }).appendTo('.face');
	$(happy_left_eye_p4).clone().prop({ id: "first_left_eye_p4" }).appendTo('.face');	
	$(happy_left_eye_p5).clone().prop({ id: "first_left_eye_p5" }).appendTo('.face');
	$(happy_left_eye_p6).clone().prop({ id: "first_left_eye_p6" }).appendTo('.face');

    $(happy_right_eye_p1).clone().prop({ id: "first_right_eye_p1" }).appendTo('.face');
	$(happy_right_eye_p2).clone().prop({ id: "first_right_eye_p2" }).appendTo('.face');
    $(happy_right_eye_p3).clone().prop({ id: "first_right_eye_p3" }).appendTo('.face');
	$(happy_right_eye_p4).clone().prop({ id: "first_right_eye_p4" }).appendTo('.face');	
	$(happy_right_eye_p5).clone().prop({ id: "first_right_eye_p5" }).appendTo('.face');	
	$(happy_right_eye_p6).clone().prop({ id: "first_right_eye_p6" }).appendTo('.face');	

	$(happy_teeth_up).clone().prop({ id: "first_teeth_up"  }).appendTo('.face');
	
	$(happy_left_cheek).clone().prop({ id: "first_left_cheek"  }).appendTo('.face');
	$(happy_right_cheek).clone().prop({ id: "first_right_cheek"  }).appendTo('.face');

    first_right_eyebrow.style.visibility='visible';
    first_left_eyebrow.style.visibility='visible';
    first_mouth.style.visibility='visible';
	
    first_left_eye_p1.style.visibility='visible';
    first_left_eye_p2.style.visibility='visible';
    first_left_eye_p3.style.visibility='visible';	
    first_left_eye_p4.style.visibility='visible';
	first_left_eye_p5.style.visibility='visible';
	first_left_eye_p6.style.visibility='visible';

    first_right_eye_p1.style.visibility='visible';
    first_right_eye_p2.style.visibility='visible';
    first_right_eye_p3.style.visibility='visible';	
    first_right_eye_p4.style.visibility='visible';
	first_right_eye_p5.style.visibility='visible';
	first_right_eye_p6.style.visibility='visible';
	
    first_teeth_up.style.visibility='visible';

    first_left_cheek.style.visibility='visible';	
    first_right_cheek.style.visibility='visible';	

	happy_right_eyebrow.style.visibility='hidden';
    happy_left_eyebrow.style.visibility='hidden';
    happy_mouth.style.visibility='hidden';
	
    happy_left_eye_p1.style.visibility='hidden';
    happy_left_eye_p2.style.visibility='hidden';
    happy_left_eye_p3.style.visibility='hidden';	
    happy_left_eye_p4.style.visibility='hidden';
	happy_left_eye_p5.style.visibility='hidden';
	happy_left_eye_p6.style.visibility='hidden';

    happy_right_eye_p1.style.visibility='hidden';
    happy_right_eye_p2.style.visibility='hidden';
    happy_right_eye_p3.style.visibility='hidden';	
    happy_right_eye_p4.style.visibility='hidden';
	happy_right_eye_p5.style.visibility='hidden';
	happy_right_eye_p6.style.visibility='hidden';
			
    happy_teeth_up.style.visibility='hidden';

    happy_left_cheek.style.visibility='hidden';   
	happy_right_cheek.style.visibility='hidden';
}

function make_copy_cry1()
{
    $(cry_right_eyebrow).clone().prop({ id: "first_right_eyebrow" }).appendTo('.face');
    $(cry_left_eyebrow).clone().prop({ id: "first_left_eyebrow" }).appendTo('.face');
    $(cry_mouth1).clone().prop({ id: "first_mouth"  }).appendTo('.face');
	
    $(cry_left_eye_p1).clone().prop({ id: "first_left_eye_p1" }).appendTo('.face');
	$(cry_left_eye_p2).clone().prop({ id: "first_left_eye_p2" }).appendTo('.face');
    $(cry_left_eye_p3).clone().prop({ id: "first_left_eye_p3" }).appendTo('.face');
	$(cry_left_eye_p4).clone().prop({ id: "first_left_eye_p4" }).appendTo('.face');	
	$(cry_left_eye_p5).clone().prop({ id: "first_left_eye_p5" }).appendTo('.face');	
	$(cry_left_eye_p6).clone().prop({ id: "first_left_eye_p6" }).appendTo('.face');	
  
 
    $(cry_right_eye_p1).clone().prop({ id: "first_right_eye_p1" }).appendTo('.face');
	$(cry_right_eye_p2).clone().prop({ id: "first_right_eye_p2" }).appendTo('.face');
    $(cry_right_eye_p3).clone().prop({ id: "first_right_eye_p3" }).appendTo('.face');
	$(cry_right_eye_p4).clone().prop({ id: "first_right_eye_p4" }).appendTo('.face');	
	$(cry_right_eye_p5).clone().prop({ id: "first_right_eye_p5" }).appendTo('.face');
	$(cry_right_eye_p6).clone().prop({ id: "first_right_eye_p6" }).appendTo('.face');
	
	$(cry_left_cheek).clone().prop({ id: "first_left_cheek"  }).appendTo('.face');
	$(cry_right_cheek).clone().prop({ id: "first_right_cheek"  }).appendTo('.face');

    first_right_eyebrow.style.visibility='visible';
    first_left_eyebrow.style.visibility='visible';
    first_mouth.style.visibility='visible';
	
    first_left_eye_p1.style.visibility='visible';
    first_left_eye_p2.style.visibility='visible';
    first_left_eye_p3.style.visibility='visible';	
    first_left_eye_p4.style.visibility='visible';
	first_left_eye_p5.style.visibility='visible';
	first_left_eye_p6.style.visibility='visible';
 
    first_right_eye_p1.style.visibility='visible';
    first_right_eye_p2.style.visibility='visible';
    first_right_eye_p3.style.visibility='visible';	
    first_right_eye_p4.style.visibility='visible';
	first_right_eye_p5.style.visibility='visible';
	first_right_eye_p6.style.visibility='visible';
	
    first_left_cheek.style.visibility='visible';	
    first_right_cheek.style.visibility='visible';
	
    cry_right_eyebrow.style.visibility='hidden';
    cry_left_eyebrow.style.visibility='hidden';
    cry_mouth1.style.visibility='hidden';
	
    cry_left_eye_p1.style.visibility='hidden';
    cry_left_eye_p2.style.visibility='hidden';
    cry_left_eye_p3.style.visibility='hidden';	
    cry_left_eye_p4.style.visibility='hidden';
	cry_left_eye_p5.style.visibility='hidden';
	cry_left_eye_p6.style.visibility='hidden';

    cry_right_eye_p1.style.visibility='hidden';
    cry_right_eye_p2.style.visibility='hidden';
    cry_right_eye_p3.style.visibility='hidden';	
    cry_right_eye_p4.style.visibility='hidden';
	cry_right_eye_p5.style.visibility='hidden';
	cry_right_eye_p6.style.visibility='hidden';
 	
    cry_left_cheek.style.visibility='hidden';  
	cry_right_cheek.style.visibility='hidden';
}

function make_copy_cry2()
{
    $(cry_right_eyebrow).clone().prop({ id: "first_right_eyebrow" }).appendTo('.face');
    $(cry_left_eyebrow).clone().prop({ id: "first_left_eyebrow" }).appendTo('.face');
    $(cry_mouth2).clone().prop({ id: "first_mouth"  }).appendTo('.face');
	
    $(cry_left_eye_p1).clone().prop({ id: "first_left_eye_p1" }).appendTo('.face');
	$(cry_left_eye_p2).clone().prop({ id: "first_left_eye_p2" }).appendTo('.face');
    $(cry_left_eye_p3).clone().prop({ id: "first_left_eye_p3" }).appendTo('.face');
	$(cry_left_eye_p4).clone().prop({ id: "first_left_eye_p4" }).appendTo('.face');	
    $(cry_left_eye_p5).clone().prop({ id: "first_left_eye_p5" }).appendTo('.face');
	$(cry_left_eye_p6).clone().prop({ id: "first_left_eye_p6" }).appendTo('.face');	

    $(cry_right_eye_p1).clone().prop({ id: "first_right_eye_p1" }).appendTo('.face');
	$(cry_right_eye_p2).clone().prop({ id: "first_right_eye_p2" }).appendTo('.face');
    $(cry_right_eye_p3).clone().prop({ id: "first_right_eye_p3" }).appendTo('.face');
	$(cry_right_eye_p4).clone().prop({ id: "first_right_eye_p4" }).appendTo('.face');	
    $(cry_right_eye_p5).clone().prop({ id: "first_right_eye_p5" }).appendTo('.face');
	$(cry_right_eye_p6).clone().prop({ id: "first_right_eye_p6" }).appendTo('.face');	

	$(cry_right_tear1).clone().prop({ id: "first_right_tear1"  }).appendTo('.face');
	$(cry_left_tear1).clone().prop({ id: "first_left_tear1"  }).appendTo('.face');
	
	$(cry_left_cheek).clone().prop({ id: "first_left_cheek"  }).appendTo('.face');
	$(cry_right_cheek).clone().prop({ id: "first_right_cheek"  }).appendTo('.face');

    first_right_eyebrow.style.visibility='visible';
    first_left_eyebrow.style.visibility='visible';
    first_mouth2.style.visibility='visible';
	
    first_left_eye_p1.style.visibility='visible';
    first_left_eye_p2.style.visibility='visible';
    first_left_eye_p3.style.visibility='visible';	
    first_left_eye_p4.style.visibility='visible';
    first_left_eye_p5.style.visibility='visible';
    first_left_eye_p6.style.visibility='visible';	

    first_right_eye_p1.style.visibility='visible';
    first_right_eye_p2.style.visibility='visible';
    first_right_eye_p3.style.visibility='visible';	
    first_right_eye_p4.style.visibility='visible';
    first_right_eye_p5.style.visibility='visible';
    first_right_eye_p6.style.visibility='visible';		
	
    first_teeth_up.style.visibility='visible';

    first_left_cheek.style.visibility='visible';	
    first_right_cheek.style.visibility='visible';

    first_right_tear1.style.visibility='visible';	
    first_right_tear1.style.visibility='visible';

    cry_right_eyebrow.style.visibility='hidden';
    cry_left_eyebrow.style.visibility='hidden';
    cry_mouth2.style.visibility='hidden';
	
    cry_left_eye_p1.style.visibility='hidden';
    cry_left_eye_p2.style.visibility='hidden';
    cry_left_eye_p3.style.visibility='hidden';	
    cry_left_eye_p4.style.visibility='hidden';
    cry_left_eye_p5.style.visibility='hidden';
    cry_left_eye_p6.style.visibility='hidden';	

    cry_right_eye_p1.style.visibility='hidden';
    cry_right_eye_p2.style.visibility='hidden';
    cry_right_eye_p3.style.visibility='hidden';	
    cry_right_eye_p4.style.visibility='hidden';
    cry_right_eye_p5.style.visibility='hidden';
    cry_right_eye_p6.style.visibility='hidden';		
	
    cry_teeth_up.style.visibility='hidden';

    cry_left_cheek.style.visibility='hidden'; 
	cry_right_cheek.style.visibility='hidden';	
	
    cry_right_tear1.style.visibility='hidden';   
	cry_left_tear1.style.visibility='hidden';	

}
function make_copy_cry3()
{
    $(cry_right_eyebrow).clone().prop({ id: "first_right_eyebrow" }).appendTo('.face');
    $(cry_left_eyebrow).clone().prop({ id: "first_left_eyebrow" }).appendTo('.face');
    $(cry_mouth2).clone().prop({ id: "first_mouth"  }).appendTo('.face');
	
    $(cry_left_eye_p1).clone().prop({ id: "first_left_eye_p1" }).appendTo('.face');
	$(cry_left_eye_p2).clone().prop({ id: "first_left_eye_p2" }).appendTo('.face');
    $(cry_left_eye_p3).clone().prop({ id: "first_left_eye_p3" }).appendTo('.face');
	$(cry_left_eye_p4).clone().prop({ id: "first_left_eye_p4" }).appendTo('.face');	
    $(cry_left_eye_p5).clone().prop({ id: "first_left_eye_p5" }).appendTo('.face');
	$(cry_left_eye_p6).clone().prop({ id: "first_left_eye_p6" }).appendTo('.face');	

    $(cry_right_eye_p1).clone().prop({ id: "first_right_eye_p1" }).appendTo('.face');
	$(cry_right_eye_p2).clone().prop({ id: "first_right_eye_p2" }).appendTo('.face');
    $(cry_right_eye_p3).clone().prop({ id: "first_right_eye_p3" }).appendTo('.face');
	$(cry_right_eye_p4).clone().prop({ id: "first_right_eye_p4" }).appendTo('.face');	
    $(cry_right_eye_p5).clone().prop({ id: "first_right_eye_p5" }).appendTo('.face');
	$(cry_right_eye_p6).clone().prop({ id: "first_right_eye_p6" }).appendTo('.face');	

	$(cry_right_tear2).clone().prop({ id: "first_right_tear2"  }).appendTo('.face');

	$(cry_left_tear2).clone().prop({ id: "first_left_tear2"  }).appendTo('.face');
	
	$(cry_left_cheek).clone().prop({ id: "first_left_cheek"  }).appendTo('.face');
	$(cry_right_cheek).clone().prop({ id: "first_right_cheek"  }).appendTo('.face');


    first_right_eyebrow.style.visibility='visible';
    first_left_eyebrow.style.visibility='visible';
    first_mouth2.style.visibility='visible';
	
    first_left_eye_p1.style.visibility='visible';
    first_left_eye_p2.style.visibility='visible';
    first_left_eye_p3.style.visibility='visible';	
    first_left_eye_p4.style.visibility='visible';
    first_left_eye_p5.style.visibility='visible';
    first_left_eye_p6.style.visibility='visible';	

    first_right_eye_p1.style.visibility='visible';
    first_right_eye_p2.style.visibility='visible';
    first_right_eye_p3.style.visibility='visible';	
    first_right_eye_p4.style.visibility='visible';
    first_right_eye_p5.style.visibility='visible';
    first_right_eye_p6.style.visibility='visible';		
	
    first_teeth_up.style.visibility='visible';

    first_left_cheek.style.visibility='visible';	
    first_right_cheek.style.visibility='visible';

    first_right_tear2.style.visibility='visible';	
    first_right_tear2.style.visibility='visible';

    cry_right_eyebrow.style.visibility='hidden';
    cry_left_eyebrow.style.visibility='hidden';
    cry_mouth2.style.visibility='hidden';
	
    cry_left_eye_p1.style.visibility='hidden';
    cry_left_eye_p2.style.visibility='hidden';
    cry_left_eye_p3.style.visibility='hidden';	
    cry_left_eye_p4.style.visibility='hidden';
    cry_left_eye_p5.style.visibility='hidden';
    cry_left_eye_p6.style.visibility='hidden';	

    cry_right_eye_p1.style.visibility='hidden';
    cry_right_eye_p2.style.visibility='hidden';
    cry_right_eye_p3.style.visibility='hidden';	
    cry_right_eye_p4.style.visibility='hidden';
    cry_right_eye_p5.style.visibility='hidden';
    cry_right_eye_p6.style.visibility='hidden';		
	
    cry_teeth_up.style.visibility='hidden';

    cry_left_cheek.style.visibility='hidden';   
	cry_right_cheek.style.visibility='hidden';	
	
    cry_right_tear2.style.visibility='hidden';   
	cry_left_tear2.style.visibility='hidden';

}

function make_copy_surprise()
{
    $(surprise_right_eyebrow).clone().prop({ id: "first_right_eyebrow" }).appendTo('.face');
    $(surprise_left_eyebrow).clone().prop({ id: "first_left_eyebrow" }).appendTo('.face');
    $(surprise_mouth).clone().prop({ id: "first_mouth"  }).appendTo('.face');
	
    $(surprise_left_eye_p1).clone().prop({ id: "first_left_eye_p1" }).appendTo('.face');
	$(surprise_left_eye_p2).clone().prop({ id: "first_left_eye_p2" }).appendTo('.face');
    $(surprise_left_eye_p3).clone().prop({ id: "first_left_eye_p3" }).appendTo('.face');
	$(surprise_left_eye_p4).clone().prop({ id: "first_left_eye_p4" }).appendTo('.face');	
	$(surprise_left_eye_p5).clone().prop({ id: "first_left_eye_p5" }).appendTo('.face');	
	$(surprise_left_eye_p6).clone().prop({ id: "first_left_eye_p6" }).appendTo('.face');	

    $(surprise_right_eye_p1).clone().prop({ id: "first_right_eye_p1" }).appendTo('.face');
	$(surprise_right_eye_p2).clone().prop({ id: "first_right_eye_p2" }).appendTo('.face');
    $(surprise_right_eye_p3).clone().prop({ id: "first_right_eye_p3" }).appendTo('.face');
	$(surprise_right_eye_p4).clone().prop({ id: "first_right_eye_p4" }).appendTo('.face');	
	$(surprise_right_eye_p5).clone().prop({ id: "first_right_eye_p5" }).appendTo('.face');	
	$(surprise_right_eye_p6).clone().prop({ id: "first_right_eye_p6" }).appendTo('.face');	
	
	$(surprise_teeth_up).clone().prop({ id: "first_teeth_up"  }).appendTo('.face');

    first_right_eyebrow.style.visibility='visible';
    first_left_eyebrow.style.visibility='visible';
    first_mouth.style.visibility='visible';
	
    first_left_eye_p1.style.visibility='visible';
    first_left_eye_p2.style.visibility='visible';
    first_left_eye_p3.style.visibility='visible';	
    first_left_eye_p4.style.visibility='visible';
	first_left_eye_p5.style.visibility='visible';
	first_left_eye_p6.style.visibility='visible';	

    first_right_eye_p1.style.visibility='visible';
    first_right_eye_p2.style.visibility='visible';
    first_right_eye_p3.style.visibility='visible';	
    first_right_eye_p4.style.visibility='visible';
	first_right_eye_p5.style.visibility='visible';
	first_right_eye_p6.style.visibility='visible';	
	
    first_teeth_up.style.visibility='visible';
	
    surprise_right_eyebrow.style.visibility='hidden';
    surprise_left_eyebrow.style.visibility='hidden';
    surprise_mouth.style.visibility='hidden';
	
    surprise_left_eye_p1.style.visibility='hidden';
    surprise_left_eye_p2.style.visibility='hidden';
    surprise_left_eye_p3.style.visibility='hidden';	
    surprise_left_eye_p4.style.visibility='hidden';
	surprise_left_eye_p5.style.visibility='hidden';
	surprise_left_eye_p6.style.visibility='hidden';

    surprise_right_eye_p1.style.visibility='hidden';
    surprise_right_eye_p2.style.visibility='hidden';
    surprise_right_eye_p3.style.visibility='hidden';	
    surprise_right_eye_p4.style.visibility='hidden';
	surprise_right_eye_p5.style.visibility='hidden';
	surprise_right_eye_p6.style.visibility='hidden';
	
    surprise_teeth_up.style.visibility='hidden';
}

//===emotions

function normal_to_angry()
{
var callback_n_1=function(){
	
    angry_right_eyebrow.style.visibility='visible';
    angry_left_eyebrow.style.visibility='visible';

    angry_right_eye_p1.style.visibility='visible';
	angry_right_eye_p2.style.visibility='visible';
	angry_right_eye_p3.style.visibility='visible';
	angry_right_eye_p4.style.visibility='visible';
	angry_right_eye_p5.style.visibility='visible';
	angry_right_eye_p6.style.visibility='visible';
	
    angry_left_eye_p1.style.visibility='visible';
	angry_left_eye_p2.style.visibility='visible';
	angry_left_eye_p3.style.visibility='visible';
	angry_left_eye_p4.style.visibility='visible';
	angry_left_eye_p5.style.visibility='visible';
	angry_left_eye_p6.style.visibility='visible';
	
	angry_right_cheek.style.visibility='visible';
	angry_left_cheek.style.visibility='visible';
	
    angry_teeth_up.style.visibility='visible';	
	angry_mouth.style.visibility='visible';
		
}
//====================================================================
var callback_n_2=function(){
    $("#first_right_eyebrow").remove();
    $("#first_left_eyebrow").remove();
	
    $("#first_right_eye_p1").remove();
	$("#first_right_eye_p2").remove();
	$("#first_right_eye_p3").remove();
	$("#first_right_eye_p4").remove();
	$("#first_right_eye_p5").remove();
	$("#first_right_eye_p6").remove();
	
    $("#first_left_eye_p1").remove();
	$("#first_left_eye_p2").remove();
	$("#first_left_eye_p3").remove();
	$("#first_left_eye_p4").remove();
	$("#first_left_eye_p5").remove();
	$("#first_left_eye_p6").remove();
	
	$("#first_right_cheek").remove();
	$("#first_left_cheek").remove();
	
    $("#first_mouth").remove();
    $("#first_teeth_up").remove();
	
    key_w=1;
}
//===========================================================
	
	first_right_cheek.style.visibility='visible';
	first_left_cheek.style.visibility='visible';
	
	
    KUTE.to('#first_right_eyebrow', {path: '#angry_right_eyebrow' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eyebrow', {path: '#angry_left_eyebrow' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	
	
    KUTE.to('#first_right_eye_p1', {path: '#angry_right_eye_p1' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p2', {path: '#angry_right_eye_p2' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p3', {path: '#angry_right_eye_p3' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p4', {path: '#angry_right_eye_p4' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();

    KUTE.to("#first_right_eye_p5", {path: '#angry_right_eye_p5' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to("#first_right_eye_p6", {path: '#angry_right_eye_p6' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();

    KUTE.to('#first_left_eye_p1', {path: '#angry_left_eye_p1' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p2', {path: '#angry_left_eye_p2' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p3', {path: '#angry_left_eye_p3' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p4', {path: '#angry_left_eye_p4' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();

    KUTE.to("#first_left_eye_p5",  {path: '#angry_left_eye_p5' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to("#first_left_eye_p6", {path: '#angry_left_eye_p6' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();

    KUTE.to('#first_mouth', {path: '#angry_mouth' }, {duration: time, easing: 'easingExponentialOut', morphIndex:20, morphPrecision:1, reverseSecondPath: true, reverseFirstPath: false}).start();
    KUTE.to('#first_teeth_up', {path: '#angry_teeth_up' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1}).start();
		
    KUTE.to("#first_right_cheek", {svgTransform:{scale:1}},{duration: time,complete:callback_n_1}).start();
    KUTE.to("#first_left_cheek", {svgTransform:{scale:1}},{duration: time,complete:callback_n_2}).start();

}


function normal_to_heart()
{
var callback_n_1=function(){
	
    heart_right_eyebrow.style.visibility='visible';
    heart_left_eyebrow.style.visibility='visible';
	
    heart_mouth.style.visibility='visible';
	heart_chin.style.visibility='visible';
	
    heart_right_eye_p1.style.visibility='visible';
	heart_right_eye_p2.style.visibility='visible';
	heart_right_eye_p3.style.visibility='visible';
	heart_right_eye_p4.style.visibility='visible';
	heart_right_eye_p5.style.visibility='visible';
	heart_right_eye_p6.style.visibility='visible';
	
    heart_left_eye_p1.style.visibility='visible';
	heart_left_eye_p2.style.visibility='visible';
	heart_left_eye_p3.style.visibility='visible';
	heart_left_eye_p4.style.visibility='visible';
	heart_left_eye_p5.style.visibility='visible';
	heart_left_eye_p6.style.visibility='visible';
	
	heart_right_cheek.style.visibility='visible';
	heart_left_cheek.style.visibility='visible';
	heart_right_p1.style.visibility='visible';
	heart_right_p2.style.visibility='visible';
	heart_left_p1.style.visibility='visible';
	heart_left_p2.style.visibility='visible';
	
}
//====================================================================
var callback_n_2=function(){
    $("#first_right_eyebrow").remove();
    $("#first_left_eyebrow").remove();
	
    $("#first_right_eye_p1").remove();
	$("#first_right_eye_p2").remove();
	$("#first_right_eye_p3").remove();
	$("#first_right_eye_p4").remove();
	$("#first_right_eye_p5").remove();
	$("#first_right_eye_p6").remove();
	
    $("#first_left_eye_p1").remove();
	$("#first_left_eye_p2").remove();
	$("#first_left_eye_p3").remove();
	$("#first_left_eye_p4").remove();
	$("#first_left_eye_p5").remove();
	$("#first_left_eye_p6").remove();
	
    $("#first_mouth").remove();	
	$("#first_chin").remove();	
    $("#first_teeth_up").remove();
	
	$("#first_right_cheek").remove();	
	$("#first_left_cheek").remove();
	$("#first_right_p1").remove();
	$("#first_right_p2").remove();
	$("#first_left_p1").remove();
	$("#first_left_p2").remove();
	
    key_w=1;
}
//===========================================================	
	first_chin.style.visibility='visible';
	first_right_cheek.style.visibility='visible';
	first_left_cheek.style.visibility='visible';
	first_right_p1.style.visibility='visible';
	first_left_p1.style.visibility='visible';
	first_right_p2.style.visibility='visible';
	first_left_p2.style.visibility='visible';
	
    KUTE.to('#first_right_eyebrow', {path: '#heart_right_eyebrow' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eyebrow', {path: '#heart_left_eyebrow' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
		
    KUTE.to('#first_right_eye_p1', {path: '#heart_right_eye_p1' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p2', {path: '#heart_right_eye_p2' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p3', {path: '#heart_right_eye_p3' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p4', {path: '#heart_right_eye_p4' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_right_eye_p5', {path: '#heart_right_eye_p5' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_right_eye_p6', {path: '#heart_right_eye_p6' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();

    KUTE.to('#first_left_eye_p1', {path: '#heart_left_eye_p1' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p2', {path: '#heart_left_eye_p2' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p3', {path: '#heart_left_eye_p3' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p4', {path: '#heart_left_eye_p4' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_left_eye_p5', {path: '#heart_left_eye_p5' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_left_eye_p6', {path: '#heart_left_eye_p6' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();

    KUTE.to('#first_mouth', {path: '#heart_mouth' }, {duration: time, easing: 'easingExponentialOut', morphIndex:20, morphPrecision:1, reverseSecondPath: true, reverseFirstPath: false}).start();
    KUTE.to('#first_teeth_up', {svgTransform:{scale:0.01}}, {duration: time }).start();
		
    KUTE.to('#first_right_cheek', {svgTransform:{scale:1}}, {duration: time}).start();
    KUTE.to('#first_left_cheek', {svgTransform:{scale:1} }, {duration: time}).start();

    KUTE.to('#first_chin', {svgTransform:{scale:1} }, {duration: time}).start();

    KUTE.to('#first_right_p1', {svgTransform:{scale:1} }, {duration: time}).start();
    KUTE.to('#first_right_p2', {svgTransform:{scale:1} }, {duration: time}).start();
    KUTE.to('#first_left_p1', {svgTransform:{scale:1} }, {duration: time,complete:callback_n_1}).start();
    KUTE.to('#first_left_p2', {svgTransform:{scale:1} }, {duration: time,complete:callback_n_2}).start();

}


function normal_to_disgust()
{
var callback_n_1=function(){
	
    disgust_right_eyebrow.style.visibility='visible';
    disgust_left_eyebrow.style.visibility='visible';
	
    disgust_mouth.style.visibility='visible';
	
    disgust_right_eye_p1.style.visibility='visible';
	disgust_right_eye_p2.style.visibility='visible';
	disgust_right_eye_p3.style.visibility='visible';
	disgust_right_eye_p4.style.visibility='visible';
	disgust_right_eye_p5.style.visibility='visible';
	disgust_right_eye_p6.style.visibility='visible';
	
    disgust_left_eye_p1.style.visibility='visible';
	disgust_left_eye_p2.style.visibility='visible';
	disgust_left_eye_p3.style.visibility='visible';
	disgust_left_eye_p4.style.visibility='visible';
	disgust_left_eye_p5.style.visibility='visible';
	disgust_left_eye_p6.style.visibility='visible';
	
	disgust_teeth_up.style.visibility='visible';
	disgust_tongue.style.visibility='visible';
	disgust_right_cheek.style.visibility='visible';
	disgust_left_cheek.style.visibility='visible';
}
//====================================================================
var callback_n_2=function(){
	
    $("#first_right_eyebrow").remove();
    $("#first_left_eyebrow").remove();
	
    $("#first_right_eye_p1").remove();
	$("#first_right_eye_p2").remove();
	$("#first_right_eye_p3").remove();
	$("#first_right_eye_p4").remove();
	$("#first_right_eye_p5").remove();
	$("#first_right_eye_p6").remove();
	
    $("#first_left_eye_p1").remove();
	$("#first_left_eye_p2").remove();
	$("#first_left_eye_p3").remove();
	$("#first_left_eye_p4").remove();
	$("#first_left_eye_p5").remove();
	$("#first_left_eye_p6").remove();
	
    $("#first_mouth").remove();	
    $("#first_teeth_up").remove();
	$("#first_tongue").remove();
	$("#first_right_cheek").remove();
	$("#first_left_cheek").remove();
	
    key_w=1;
}
//===========================================================
	first_left_cheek.style.visibility='visible';
	first_right_cheek.style.visibility='visible';
	first_tongue.style.visibility='visible';
	
    KUTE.to('#first_right_eyebrow', {path: '#disgust_right_eyebrow' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eyebrow', {path: '#disgust_left_eyebrow' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	
    KUTE.to('#first_right_eye_p1', {path: '#disgust_right_eye_p1' }, {duration: time, easing: 'easingExponentialOut', morphIndex:100, morphPrecision:1}).start();
	KUTE.to('#first_right_eye_p2', {path: '#disgust_right_eye_p2' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_right_eye_p3', {path: '#disgust_right_eye_p3' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();	
    KUTE.to('#first_right_eye_p4', {path: '#disgust_right_eye_p4' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();  
    KUTE.to('#first_right_eye_p5', {path: '#disgust_right_eye_p5' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();  
    KUTE.to('#first_right_eye_p6', {path: '#disgust_right_eye_p6' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();  	

    KUTE.to('#first_left_eye_p1', {path: '#disgust_left_eye_p1' }, {duration: time, easing: 'easingExponentialOut', morphIndex:100, morphPrecision:1 }).start();  
	KUTE.to('#first_left_eye_p2', {path: '#disgust_left_eye_p2' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();  
	KUTE.to('#first_left_eye_p3', {path: '#disgust_left_eye_p3' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p4', {path: '#disgust_left_eye_p4' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_left_eye_p5', {path: '#disgust_left_eye_p5' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_left_eye_p6', {path: '#disgust_left_eye_p6' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	
	KUTE.to('#first_right_cheek', {svgTransform:{scale:1} }, {duration: time}).start();
	KUTE.to('#first_left_cheek', {svgTransform:{scale:1} }, {duration: time}).start();

    KUTE.to('#first_mouth', {path: '#disgust_mouth' }, {duration: time, easing: 'easingExponentialOut', morphIndex:120, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: false}).start();
	KUTE.to('#first_teeth_up', {path: '#disgust_teeth_up' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 , complete:callback_n_1}).start();
    KUTE.to('#first_tongue', {svgTransform:{scale:1} }, {duration: time, complete:callback_n_2}).start();
	
}

function normal_to_fear()
{
var callback_n_1=function(){
	
    fear_right_eyebrow.style.visibility='visible';
    fear_left_eyebrow.style.visibility='visible';
	
    fear_mouth.style.visibility='visible';
    fear_right_eye_p1.style.visibility='visible';
	fear_right_eye_p2.style.visibility='visible';
	fear_right_eye_p3.style.visibility='visible';
	fear_right_eye_p4.style.visibility='visible';
	fear_right_eye_p5.style.visibility='visible';
	fear_right_eye_p6.style.visibility='visible';
	
    fear_left_eye_p1.style.visibility='visible';
	fear_left_eye_p2.style.visibility='visible';
	fear_left_eye_p3.style.visibility='visible';
	fear_left_eye_p4.style.visibility='visible';
	fear_left_eye_p5.style.visibility='visible';
	fear_left_eye_p6.style.visibility='visible';
	
	fear_teeth_up.style.visibility='visible';
	fear_right_cheek.style.visibility='visible';
	fear_left_cheek.style.visibility='visible';
}
//====================================================================
var callback_n_2=function(){
	
    $("#first_right_eyebrow").remove();
    $("#first_left_eyebrow").remove();
	
    $("#first_right_eye_p1").remove();
	$("#first_right_eye_p2").remove();
	$("#first_right_eye_p3").remove();
	$("#first_right_eye_p4").remove();
	$("#first_right_eye_p5").remove();
	$("#first_right_eye_p6").remove();
	
    $("#first_left_eye_p1").remove();
	$("#first_left_eye_p2").remove();
	$("#first_left_eye_p3").remove();
	$("#first_left_eye_p4").remove();
	$("#first_left_eye_p5").remove();
	$("#first_left_eye_p6").remove();
	
    $("#first_mouth").remove();	
    $("#first_teeth_up").remove();
	$("#first_right_cheek").remove();
	$("#first_left_cheek").remove();
    key_w=1;
}
//===========================================================
	first_right_cheek.style.visibility='visible';
	first_left_cheek.style.visibility='visible';
	
	
    KUTE.to('#first_right_eyebrow', {path: '#fear_right_eyebrow' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eyebrow', {path: '#fear_left_eyebrow' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	
    KUTE.to('#first_right_eye_p1', {path: '#fear_right_eye_p1' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p2', {path: '#fear_right_eye_p2' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p3', {path: '#fear_right_eye_p3' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p4', {path: '#fear_right_eye_p4' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_right_eye_p5', {path: '#fear_right_eye_p5' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_right_eye_p6', {path: '#fear_right_eye_p6' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();

    KUTE.to('#first_left_eye_p1', {path: '#fear_left_eye_p1' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p2', {path: '#fear_left_eye_p2' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p3', {path: '#fear_left_eye_p3' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p4', {path: '#fear_left_eye_p4' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_left_eye_p5', {path: '#fear_left_eye_p5' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_left_eye_p6', {path: '#fear_left_eye_p6' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();

    KUTE.to('#first_mouth', {path: '#fear_mouth' }, {duration: time, easing: 'easingExponentialOut', morphIndex:20, morphPrecision:1, reverseSecondPath: true, reverseFirstPath: false}).start();
    KUTE.to('#first_teeth_up', {path: '#fear_teeth_up' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1}).start();
		
    KUTE.to("#first_right_cheek", {svgTransform:{scale:1}},{duration: time,complete:callback_n_1}).start();
    KUTE.to("#first_left_cheek", {svgTransform:{scale:1}},{duration: time,complete:callback_n_2}).start();

}

function normal_to_happy()
{
var callback_n_1=function(){
	
    happy_right_eyebrow.style.visibility='visible';
    happy_left_eyebrow.style.visibility='visible';
	
    happy_mouth.style.visibility='visible';
    happy_right_eye_p1.style.visibility='visible';
	happy_right_eye_p2.style.visibility='visible';
	happy_right_eye_p3.style.visibility='visible';
	happy_right_eye_p4.style.visibility='visible';
	happy_right_eye_p5.style.visibility='visible';
	happy_right_eye_p6.style.visibility='visible';
	
    happy_left_eye_p1.style.visibility='visible';
	happy_left_eye_p2.style.visibility='visible';
	happy_left_eye_p3.style.visibility='visible';
	happy_left_eye_p4.style.visibility='visible';
	happy_left_eye_p5.style.visibility='visible';
	happy_left_eye_p6.style.visibility='visible';
	
	happy_teeth_up.style.visibility='visible';
	happy_right_cheek.style.visibility='visible';
	happy_left_cheek.style.visibility='visible';
}
//====================================================================
var callback_n_2=function(){
	
    $("#first_right_eyebrow").remove();
    $("#first_left_eyebrow").remove();
	
    $("#first_right_eye_p1").remove();
	$("#first_right_eye_p2").remove();
	$("#first_right_eye_p3").remove();
	$("#first_right_eye_p4").remove();
	$("#first_right_eye_p5").remove();
	$("#first_right_eye_p6").remove();
	
    $("#first_left_eye_p1").remove();
	$("#first_left_eye_p2").remove();
	$("#first_left_eye_p3").remove();
	$("#first_left_eye_p4").remove();
	$("#first_left_eye_p5").remove();
	$("#first_left_eye_p6").remove();
	
    $("#first_mouth").remove();	
    $("#first_teeth_up").remove();
	$("#first_right_cheek").remove();
	$("#first_left_cheek").remove();
	
    key_w=1;
}
//===========================================================
	first_right_cheek.style.visibility='visible';
	first_left_cheek.style.visibility='visible';
	
	
    KUTE.to('#first_right_eyebrow', {path: '#happy_right_eyebrow' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eyebrow', {path: '#happy_left_eyebrow' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	
    KUTE.to('#first_right_eye_p1', {path: '#happy_right_eye_p1' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p2', {path: '#happy_right_eye_p2' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p3', {path: '#happy_right_eye_p3' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p4', {path: '#happy_right_eye_p4' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_right_eye_p5', {path: '#happy_right_eye_p5' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_right_eye_p6', {path: '#happy_right_eye_p6' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();

    KUTE.to('#first_left_eye_p1', {path: '#happy_left_eye_p1' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p2', {path: '#happy_left_eye_p2' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p3', {path: '#happy_left_eye_p3' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p4', {path: '#happy_left_eye_p4' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_left_eye_p5', {path: '#happy_left_eye_p5' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_left_eye_p6', {path: '#happy_left_eye_p6' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();

    KUTE.to('#first_mouth', {path: '#happy_mouth' }, {duration: time, easing: 'easingExponentialOut', morphIndex:20, morphPrecision:1, reverseSecondPath: true, reverseFirstPath: false}).start();
    KUTE.to('#first_teeth_up', {path: '#happy_teeth_up' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1}).start();
		
    KUTE.to("#first_right_cheek", {svgTransform:{scale:1}},{duration: time,complete:callback_n_1}).start();
    KUTE.to("#first_left_cheek", {svgTransform:{scale:1}},{duration: time,complete:callback_n_2}).start();
}


function normal_to_cry1()
{
var callback_n_1=function(){
	
    cry_right_eyebrow.style.visibility='visible';
    cry_left_eyebrow.style.visibility='visible';
	
    cry_mouth1.style.visibility='visible';
    cry_right_eye_p1.style.visibility='visible';
	cry_right_eye_p2.style.visibility='visible';
	cry_right_eye_p3.style.visibility='visible';
	cry_right_eye_p4.style.visibility='visible';
	cry_right_eye_p5.style.visibility='visible';
	cry_right_eye_p6.style.visibility='visible';
	
    cry_left_eye_p1.style.visibility='visible';
	cry_left_eye_p2.style.visibility='visible';
	cry_left_eye_p3.style.visibility='visible';
	cry_left_eye_p4.style.visibility='visible';
	cry_left_eye_p5.style.visibility='visible';
	cry_left_eye_p6.style.visibility='visible';
	
	cry_right_cheek.style.visibility='visible';
	cry_left_cheek.style.visibility='visible';
	
}
//====================================================================
var callback_n_2=function(){
	
    $("#first_right_eyebrow").remove();
    $("#first_left_eyebrow").remove();
	
    $("#first_right_eye_p1").remove();
	$("#first_right_eye_p2").remove();
	$("#first_right_eye_p3").remove();
	$("#first_right_eye_p4").remove();
	$("#first_right_eye_p5").remove();
	$("#first_right_eye_p6").remove();
	
    $("#first_left_eye_p1").remove();
	$("#first_left_eye_p2").remove();
	$("#first_left_eye_p3").remove();
	$("#first_left_eye_p4").remove();
	$("#first_left_eye_p5").remove();
	$("#first_left_eye_p6").remove();
	
    $("#first_mouth").remove();	
    $("#first_teeth_up").remove();
	$("#first_right_cheek").remove();
	$("#first_left_cheek").remove();
	
    key_w=1;
}
//===========================================================
	first_right_cheek.style.visibility='visible';
	first_left_cheek.style.visibility='visible';

    KUTE.to('#first_right_eyebrow', {path: '#cry_right_eyebrow' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eyebrow', {path: '#cry_left_eyebrow' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	
    KUTE.to('#first_right_eye_p1', {path: '#cry_right_eye_p1' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p2', {path: '#cry_right_eye_p2' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p3', {path: '#cry_right_eye_p3' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p4', {path: '#cry_right_eye_p4' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_right_eye_p5', {path: '#cry_right_eye_p5' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_right_eye_p6', {path: '#cry_right_eye_p6' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();

    KUTE.to('#first_left_eye_p1', {path: '#cry_left_eye_p1' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p2', {path: '#cry_left_eye_p2' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p3', {path: '#cry_left_eye_p3' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p4', {path: '#cry_left_eye_p4' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_left_eye_p5', {path: '#cry_left_eye_p5' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_left_eye_p6', {path: '#cry_left_eye_p6' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
		
    KUTE.to("#first_right_cheek", {svgTransform:{scale:1}},{duration: time}).start();
    KUTE.to("#first_left_cheek", {svgTransform:{scale:1}},{duration: time}).start();
	
	KUTE.to('#first_teeth_up', {svgTransform:{scale:0.01} }, {duration: time, complete:callback_n_1}).start();
    KUTE.to('#first_mouth', {path: '#cry_mouth1' }, {duration: time, easing: 'easingExponentialOut', morphIndex:120, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: false ,complete:callback_n_2}).start();
	
}



function normal_to_surprise()
{
var callback_n_1=function(){
	
    surprise_right_eyebrow.style.visibility='visible';
    surprise_left_eyebrow.style.visibility='visible';
	
    surprise_mouth.style.visibility='visible';
    surprise_right_eye_p1.style.visibility='visible';
	surprise_right_eye_p2.style.visibility='visible';
	surprise_right_eye_p3.style.visibility='visible';
	surprise_right_eye_p4.style.visibility='visible';
	surprise_right_eye_p5.style.visibility='visible';
	surprise_right_eye_p6.style.visibility='visible';
	
    surprise_left_eye_p1.style.visibility='visible';
	surprise_left_eye_p2.style.visibility='visible';
	surprise_left_eye_p3.style.visibility='visible';
	surprise_left_eye_p4.style.visibility='visible';
	surprise_left_eye_p5.style.visibility='visible';
	surprise_left_eye_p6.style.visibility='visible';
	
	surprise_teeth_up.style.visibility='visible';
}
//====================================================================
var callback_n_2=function(){
	
    $("#first_right_eyebrow").remove();
    $("#first_left_eyebrow").remove();
	
    $("#first_right_eye_p1").remove();
	$("#first_right_eye_p2").remove();
	$("#first_right_eye_p3").remove();
	$("#first_right_eye_p4").remove();
	$("#first_right_eye_p5").remove();
	$("#first_right_eye_p6").remove();
	
    $("#first_left_eye_p1").remove();
	$("#first_left_eye_p2").remove();
	$("#first_left_eye_p3").remove();
	$("#first_left_eye_p4").remove();
	$("#first_left_eye_p5").remove();
	$("#first_left_eye_p6").remove();
	
    $("#first_mouth").remove();	
    $("#first_teeth_up").remove();
	
    key_w=1;
}
//===========================================================

	
    KUTE.to('#first_right_eyebrow', {path: '#surprise_right_eyebrow' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eyebrow', {path: '#surprise_left_eyebrow' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	
    KUTE.to('#first_right_eye_p1', {path: '#surprise_right_eye_p1' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p2', {path: '#surprise_right_eye_p2' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p3', {path: '#surprise_right_eye_p3' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p4', {path: '#surprise_right_eye_p4' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p5', {path: '#surprise_right_eye_p5' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p6', {path: '#surprise_right_eye_p6' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
 
    KUTE.to('#first_left_eye_p1', {path: '#surprise_left_eye_p1' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p2', {path: '#surprise_left_eye_p2' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p3', {path: '#surprise_left_eye_p3' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p4', {path: '#surprise_left_eye_p4' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_left_eye_p5', {path: '#surprise_left_eye_p5' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_left_eye_p6', {path: '#surprise_left_eye_p6' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();

    KUTE.to('#first_mouth', {path: '#surprise_mouth' }, {duration: time,complete:callback_n_1, easing: 'easingExponentialOut', morphIndex:20, morphPrecision:1, reverseSecondPath: true, reverseFirstPath: false}).start();
    KUTE.to('#first_teeth_up', {path: '#surprise_teeth_up' }, {duration: time,complete:callback_n_2, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1}).start();
}



function angry_to_normal()
{
var callback_n_1=function(){
	
    normal_right_eyebrow.style.visibility='visible';
    normal_left_eyebrow.style.visibility='visible';

    normal_right_eye_p1.style.visibility='visible';
	normal_right_eye_p2.style.visibility='visible';
	normal_right_eye_p3.style.visibility='visible';
	normal_right_eye_p4.style.visibility='visible';
	normal_right_eye_p5.style.visibility='visible';
	normal_right_eye_p6.style.visibility='visible';
	
    normal_left_eye_p1.style.visibility='visible';
	normal_left_eye_p2.style.visibility='visible';
	normal_left_eye_p3.style.visibility='visible';
	normal_left_eye_p4.style.visibility='visible';
	normal_left_eye_p5.style.visibility='visible';
	normal_left_eye_p6.style.visibility='visible';
	
    normal_teeth_up.style.visibility='visible';	
	normal_mouth.style.visibility='visible';
		
}
//====================================================================
var callback_n_2=function(){
	
    $("#first_right_eyebrow").remove();
    $("#first_left_eyebrow").remove();
	
    $("#first_right_eye_p1").remove();
	$("#first_right_eye_p2").remove();
	$("#first_right_eye_p3").remove();
	$("#first_right_eye_p4").remove();
	$("#first_right_eye_p5").remove();
	$("#first_right_eye_p6").remove();
	
    $("#first_left_eye_p1").remove();
	$("#first_left_eye_p2").remove();
	$("#first_left_eye_p3").remove();
	$("#first_left_eye_p4").remove();
	$("#first_left_eye_p5").remove();
	$("#first_left_eye_p6").remove();
	
    $("#first_mouth").remove();
    $("#first_teeth_up").remove();
	$("#first_right_cheek").remove();
    $("#first_left_cheek").remove();
	
    key_w=1;
}
//===========================================================
	
	
	
    KUTE.to('#first_right_eyebrow', {path: '#normal_right_eyebrow' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eyebrow', {path: '#normal_left_eyebrow' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	
	
    KUTE.to('#first_right_eye_p1', {path: '#normal_right_eye_p1' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p2', {path: '#normal_right_eye_p2' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p3', {path: '#normal_right_eye_p3' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p4', {path: '#normal_right_eye_p4' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_right_eye_p5', {path: '#normal_right_eye_p5' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_right_eye_p6', {path: '#normal_right_eye_p6' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();

    KUTE.to('#first_left_eye_p1', {path: '#normal_left_eye_p1' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p2', {path: '#normal_left_eye_p2' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p3', {path: '#normal_left_eye_p3' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p4', {path: '#normal_left_eye_p4' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_left_eye_p5', {path: '#normal_left_eye_p5' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_left_eye_p6', {path: '#normal_left_eye_p6' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();

    KUTE.to('#first_mouth', {path: '#normal_mouth' }, {duration: time, easing: 'easingExponentialOut', morphIndex:20, morphPrecision:1, reverseSecondPath: true, reverseFirstPath: false}).start();
    KUTE.to('#first_teeth_up', {path: '#normal_teeth_up' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1}).start();
		
    KUTE.to("#first_right_cheek", {svgTransform:{scale:0.01}},{duration: time,complete:callback_n_1}).start();
    KUTE.to("#first_left_cheek", {svgTransform:{scale:0.01}},{duration: time,complete:callback_n_2}).start();

}



function heart_to_normal()
{
var callback_n_1=function(){
	
    normal_right_eyebrow.style.visibility='visible';
    normal_left_eyebrow.style.visibility='visible';

    normal_right_eye_p1.style.visibility='visible';
	normal_right_eye_p2.style.visibility='visible';
	normal_right_eye_p3.style.visibility='visible';
	normal_right_eye_p4.style.visibility='visible';
	normal_right_eye_p5.style.visibility='visible';
	normal_right_eye_p6.style.visibility='visible';
	
    normal_left_eye_p1.style.visibility='visible';
	normal_left_eye_p2.style.visibility='visible';
	normal_left_eye_p3.style.visibility='visible';
	normal_left_eye_p4.style.visibility='visible';
	normal_left_eye_p5.style.visibility='visible';
	normal_left_eye_p6.style.visibility='visible';
	
    normal_teeth_up.style.visibility='visible';	
	normal_mouth.style.visibility='visible';		
}
//====================================================================
var callback_n_2=function(){
	
    $("#first_right_eyebrow").remove();
    $("#first_left_eyebrow").remove();
	
    $("#first_right_eye_p1").remove();
	$("#first_right_eye_p2").remove();
	$("#first_right_eye_p3").remove();
	$("#first_right_eye_p4").remove();
	$("#first_right_eye_p5").remove();
	$("#first_right_eye_p6").remove();
	
    $("#first_left_eye_p1").remove();
	$("#first_left_eye_p2").remove();
	$("#first_left_eye_p3").remove();
	$("#first_left_eye_p4").remove();
	$("#first_left_eye_p5").remove();
	$("#first_left_eye_p6").remove();
	
    $("#first_mouth").remove();
	$("#first_teeth_up").remove();
	$("#first_chin").remove();
	
	$("#first_right_cheek").remove();
    $("#first_left_cheek").remove();
	
	$("#first_right_p1").remove();
    $("#first_left_p1").remove();
	$("#first_right_p2").remove();
    $("#first_left_p2").remove();
	
    key_w=1;
}
//===========================================================
	first_teeth_up.style.visibility='visible';
	
    KUTE.to('#first_right_eyebrow', {path: '#normal_right_eyebrow' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eyebrow', {path: '#normal_left_eyebrow' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	
    KUTE.to('#first_right_eye_p1', {path: '#normal_right_eye_p1' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p2', {path: '#normal_right_eye_p2' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p3', {path: '#normal_right_eye_p3' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p4', {path: '#normal_right_eye_p4' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_right_eye_p5', {path: '#normal_right_eye_p5' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_right_eye_p6', {path: '#normal_right_eye_p6' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();

    KUTE.to('#first_left_eye_p1', {path: '#normal_left_eye_p1' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p2', {path: '#normal_left_eye_p2' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p3', {path: '#normal_left_eye_p3' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p4', {path: '#normal_left_eye_p4' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_left_eye_p5', {path: '#normal_left_eye_p5' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p6', {path: '#normal_left_eye_p6' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	
    KUTE.to('#first_mouth', {path: '#normal_mouth' }, {duration: time, easing: 'easingExponentialOut', morphIndex:20, morphPrecision:1, reverseSecondPath: true, reverseFirstPath: false}).start();
	
    KUTE.to("#first_right_p1", {svgTransform:{scale:0.01}},{duration: time}).start();
    KUTE.to("#first_right_p2", {svgTransform:{scale:0.01}},{duration: time}).start();
    KUTE.to("#first_left_p1", {svgTransform:{scale:0.01}},{duration: time}).start();
    KUTE.to("#first_left_p2", {svgTransform:{scale:0.01}},{duration: time}).start();
	KUTE.to("#first_teeth_up", {svgTransform:{scale:1}},{duration: time}).start();

	KUTE.to("#first_chin", {svgTransform:{scale:0.01}},{duration: time}).start();

    KUTE.to("#first_right_cheek", {svgTransform:{scale:0.01}},{duration: time,complete:callback_n_1}).start();
    KUTE.to("#first_left_cheek", {svgTransform:{scale:0.01}},{duration: time,complete:callback_n_2}).start();

}


function disgust_to_normal()
{
var callback_n_1=function(){
	
    normal_right_eyebrow.style.visibility='visible';
    normal_left_eyebrow.style.visibility='visible';

    normal_right_eye_p1.style.visibility='visible';
	normal_right_eye_p2.style.visibility='visible';
	normal_right_eye_p3.style.visibility='visible';
	normal_right_eye_p4.style.visibility='visible';
	normal_right_eye_p5.style.visibility='visible';
	normal_right_eye_p6.style.visibility='visible';
	
    normal_left_eye_p1.style.visibility='visible';
	normal_left_eye_p2.style.visibility='visible';
	normal_left_eye_p3.style.visibility='visible';
	normal_left_eye_p4.style.visibility='visible';
	normal_left_eye_p5.style.visibility='visible';
	normal_left_eye_p6.style.visibility='visible';
	
    normal_teeth_up.style.visibility='visible';	
	normal_mouth.style.visibility='visible';		
}
//====================================================================
var callback_n_2=function(){
	
    $("#first_right_eyebrow").remove();
    $("#first_left_eyebrow").remove();
	
    $("#first_right_eye_p1").remove();
	$("#first_right_eye_p2").remove();
	$("#first_right_eye_p3").remove();
	$("#first_right_eye_p4").remove();
	$("#first_right_eye_p5").remove();
	$("#first_right_eye_p6").remove();
	
    $("#first_left_eye_p1").remove();
	$("#first_left_eye_p2").remove();
	$("#first_left_eye_p3").remove();
	$("#first_left_eye_p4").remove();
	$("#first_left_eye_p5").remove();
	$("#first_left_eye_p6").remove();
	
    $("#first_mouth").remove();
    $("#first_teeth_up").remove();
	$("#first_right_cheek").remove();
    $("#first_left_cheek").remove();
	$("#first_tongue").remove();
    key_w=1;
}
//===========================================================
	
	
	
    KUTE.to('#first_right_eyebrow', {path: '#normal_right_eyebrow' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eyebrow', {path: '#normal_left_eyebrow' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	
	
    KUTE.to('#first_right_eye_p1', {path: '#normal_right_eye_p1' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p2', {path: '#normal_right_eye_p2' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p3', {path: '#normal_right_eye_p3' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p4', {path: '#normal_right_eye_p4' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_right_eye_p5', {path: '#normal_right_eye_p5' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_right_eye_p6', {path: '#normal_right_eye_p6' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();

    KUTE.to('#first_left_eye_p1', {path: '#normal_left_eye_p1' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p2', {path: '#normal_left_eye_p2' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p3', {path: '#normal_left_eye_p3' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p4', {path: '#normal_left_eye_p4' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_left_eye_p5', {path: '#normal_left_eye_p5' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_left_eye_p6', {path: '#normal_left_eye_p6' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();

    KUTE.to('#first_mouth', {path: '#normal_mouth' }, {duration: time, easing: 'easingExponentialOut', morphIndex:20, morphPrecision:1, reverseSecondPath: true, reverseFirstPath: false}).start();
    KUTE.to('#first_teeth_up', {path: '#normal_teeth_up' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1}).start();
	
    KUTE.to("#first_tongue", {svgTransform:{scale:0.01}},{duration: time}).start();		
    KUTE.to("#first_right_cheek", {svgTransform:{scale:0.01}},{duration: time,complete:callback_n_1}).start();
    KUTE.to("#first_left_cheek", {svgTransform:{scale:0.01}},{duration: time,complete:callback_n_2}).start();

}

function fear_to_normal()
{
var callback_n_1=function(){
	
    normal_right_eyebrow.style.visibility='visible';
    normal_left_eyebrow.style.visibility='visible';

    normal_right_eye_p1.style.visibility='visible';
	normal_right_eye_p2.style.visibility='visible';
	normal_right_eye_p3.style.visibility='visible';
	normal_right_eye_p4.style.visibility='visible';
	normal_right_eye_p5.style.visibility='visible';
	normal_right_eye_p6.style.visibility='visible';
	
    normal_left_eye_p1.style.visibility='visible';
	normal_left_eye_p2.style.visibility='visible';
	normal_left_eye_p3.style.visibility='visible';
	normal_left_eye_p4.style.visibility='visible';
	normal_left_eye_p5.style.visibility='visible';
	normal_left_eye_p6.style.visibility='visible';
	
    normal_teeth_up.style.visibility='visible';	
	normal_mouth.style.visibility='visible';		
}
//====================================================================
var callback_n_2=function(){
	
    $("#first_right_eyebrow").remove();
    $("#first_left_eyebrow").remove();
	
    $("#first_right_eye_p1").remove();
	$("#first_right_eye_p2").remove();
	$("#first_right_eye_p3").remove();
	$("#first_right_eye_p4").remove();
	$("#first_right_eye_p5").remove();
	$("#first_right_eye_p6").remove();
	
    $("#first_left_eye_p1").remove();
	$("#first_left_eye_p2").remove();
	$("#first_left_eye_p3").remove();
	$("#first_left_eye_p4").remove();
	$("#first_left_eye_p5").remove();
	$("#first_left_eye_p6").remove();
	
    $("#first_mouth").remove();
    $("#first_teeth_up").remove();
	$("#first_right_cheek").remove();
    $("#first_left_cheek").remove();
	
    key_w=1;
}
//===========================================================
	
	
	
    KUTE.to('#first_right_eyebrow', {path: '#normal_right_eyebrow' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eyebrow', {path: '#normal_left_eyebrow' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	
	
    KUTE.to('#first_right_eye_p1', {path: '#normal_right_eye_p1' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p2', {path: '#normal_right_eye_p2' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p3', {path: '#normal_right_eye_p3' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p4', {path: '#normal_right_eye_p4' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_right_eye_p5', {path: '#normal_right_eye_p5' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_right_eye_p6', {path: '#normal_right_eye_p6' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();

    KUTE.to('#first_left_eye_p1', {path: '#normal_left_eye_p1' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p2', {path: '#normal_left_eye_p2' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p3', {path: '#normal_left_eye_p3' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p4', {path: '#normal_left_eye_p4' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_left_eye_p5', {path: '#normal_left_eye_p5' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_left_eye_p6', {path: '#normal_left_eye_p6' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();

    KUTE.to('#first_mouth', {path: '#normal_mouth' }, {duration: time, easing: 'easingExponentialOut', morphIndex:20, morphPrecision:1, reverseSecondPath: true, reverseFirstPath: false}).start();
    KUTE.to('#first_teeth_up', {path: '#normal_teeth_up' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1}).start();
		
    KUTE.to("#first_right_cheek", {svgTransform:{scale:0.01}},{duration: time,complete:callback_n_1}).start();
    KUTE.to("#first_left_cheek", {svgTransform:{scale:0.01}},{duration: time,complete:callback_n_2}).start();

}

function surprise_to_normal()
{
var callback_n_1=function(){
	
    normal_right_eyebrow.style.visibility='visible';
    normal_left_eyebrow.style.visibility='visible';

    normal_right_eye_p1.style.visibility='visible';
	normal_right_eye_p2.style.visibility='visible';
	normal_right_eye_p3.style.visibility='visible';
	normal_right_eye_p4.style.visibility='visible';
	normal_right_eye_p5.style.visibility='visible';
	normal_right_eye_p6.style.visibility='visible';
	
    normal_left_eye_p1.style.visibility='visible';
	normal_left_eye_p2.style.visibility='visible';
	normal_left_eye_p3.style.visibility='visible';
	normal_left_eye_p4.style.visibility='visible';
	normal_left_eye_p5.style.visibility='visible';
	normal_left_eye_p6.style.visibility='visible';
	
    normal_teeth_up.style.visibility='visible';	
	normal_mouth.style.visibility='visible';		
}
//====================================================================
var callback_n_2=function(){
	
    $("#first_right_eyebrow").remove();
    $("#first_left_eyebrow").remove();
	
    $("#first_right_eye_p1").remove();
	$("#first_right_eye_p2").remove();
	$("#first_right_eye_p3").remove();
	$("#first_right_eye_p4").remove();
	$("#first_right_eye_p5").remove();
	$("#first_right_eye_p6").remove();
	
    $("#first_left_eye_p1").remove();
	$("#first_left_eye_p2").remove();
	$("#first_left_eye_p3").remove();
	$("#first_left_eye_p4").remove();
	$("#first_left_eye_p5").remove();
	$("#first_left_eye_p6").remove();
	
    $("#first_mouth").remove();
    $("#first_teeth_up").remove();

	
    key_w=1;
}
//===========================================================
	
	
	
    KUTE.to('#first_right_eyebrow', {path: '#normal_right_eyebrow' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eyebrow', {path: '#normal_left_eyebrow' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	
	
    KUTE.to('#first_right_eye_p1', {path: '#normal_right_eye_p1' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p2', {path: '#normal_right_eye_p2' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p3', {path: '#normal_right_eye_p3' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p4', {path: '#normal_right_eye_p4' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_right_eye_p5', {path: '#normal_right_eye_p5' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_right_eye_p6', {path: '#normal_right_eye_p6' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();

    KUTE.to('#first_left_eye_p1', {path: '#normal_left_eye_p1' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p2', {path: '#normal_left_eye_p2' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p3', {path: '#normal_left_eye_p3' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p4', {path: '#normal_left_eye_p4' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_left_eye_p5', {path: '#normal_left_eye_p5' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_left_eye_p6', {path: '#normal_left_eye_p6' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();

    KUTE.to('#first_mouth', {path: '#normal_mouth' }, {duration: time, easing: 'easingExponentialOut', morphIndex:20, morphPrecision:1, reverseSecondPath: true, reverseFirstPath: false}).start();
    KUTE.to('#first_teeth_up', {path: '#normal_teeth_up' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1}).start();
		

}


function happy_to_normal()
{
var callback_n_1=function(){
	
    normal_right_eyebrow.style.visibility='visible';
    normal_left_eyebrow.style.visibility='visible';

    normal_right_eye_p1.style.visibility='visible';
	normal_right_eye_p2.style.visibility='visible';
	normal_right_eye_p3.style.visibility='visible';
	normal_right_eye_p4.style.visibility='visible';
	normal_right_eye_p5.style.visibility='visible';
	normal_right_eye_p6.style.visibility='visible';
	
    normal_left_eye_p1.style.visibility='visible';
	normal_left_eye_p2.style.visibility='visible';
	normal_left_eye_p3.style.visibility='visible';
	normal_left_eye_p4.style.visibility='visible';
	normal_left_eye_p5.style.visibility='visible';
	normal_left_eye_p6.style.visibility='visible';
	
    normal_teeth_up.style.visibility='visible';	
	normal_mouth.style.visibility='visible';		
}
//====================================================================
var callback_n_2=function(){
	
    $("#first_right_eyebrow").remove();
    $("#first_left_eyebrow").remove();
	
    $("#first_right_eye_p1").remove();
	$("#first_right_eye_p2").remove();
	$("#first_right_eye_p3").remove();
	$("#first_right_eye_p4").remove();
	$("#first_right_eye_p5").remove();
	$("#first_right_eye_p6").remove();
	
    $("#first_left_eye_p1").remove();
	$("#first_left_eye_p2").remove();
	$("#first_left_eye_p3").remove();
	$("#first_left_eye_p4").remove();
	$("#first_left_eye_p5").remove();
	$("#first_left_eye_p6").remove();
	
    $("#first_mouth").remove();
	$("#first_teeth_up").remove();
	$("#first_right_cheek").remove();
    $("#first_left_cheek").remove();
	
    key_w=1;
}
//===========================================================
	
	
	
    KUTE.to('#first_right_eyebrow', {path: '#normal_right_eyebrow' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eyebrow', {path: '#normal_left_eyebrow' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	
	
    KUTE.to('#first_right_eye_p1', {path: '#normal_right_eye_p1' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p2', {path: '#normal_right_eye_p2' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p3', {path: '#normal_right_eye_p3' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p4', {path: '#normal_right_eye_p4' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_right_eye_p5', {path: '#normal_right_eye_p5' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_right_eye_p6', {path: '#normal_right_eye_p6' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();

    KUTE.to('#first_left_eye_p1', {path: '#normal_left_eye_p1' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p2', {path: '#normal_left_eye_p2' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p3', {path: '#normal_left_eye_p3' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p4', {path: '#normal_left_eye_p4' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_left_eye_p5', {path: '#normal_left_eye_p5' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_left_eye_p6', {path: '#normal_left_eye_p6' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	
    KUTE.to('#first_teeth_up', {path: '#normal_teeth_up' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();

    KUTE.to('#first_mouth', {path: '#normal_mouth' }, {duration: time, easing: 'easingExponentialOut', morphIndex:20, morphPrecision:1, reverseSecondPath: true, reverseFirstPath: false}).start();
	
    KUTE.to("#first_right_cheek", {svgTransform:{scale:0.01}},{duration: time,complete:callback_n_1}).start();
    KUTE.to("#first_left_cheek", {svgTransform:{scale:0.01}},{duration: time,complete:callback_n_2}).start();

}


function cry1_to_normal()
{
var callback_n_1=function(){
	
    normal_right_eyebrow.style.visibility='visible';
    normal_left_eyebrow.style.visibility='visible';

    normal_right_eye_p1.style.visibility='visible';
	normal_right_eye_p2.style.visibility='visible';
	normal_right_eye_p3.style.visibility='visible';
	normal_right_eye_p4.style.visibility='visible';
	normal_right_eye_p5.style.visibility='visible';
	normal_right_eye_p6.style.visibility='visible';
	
    normal_left_eye_p1.style.visibility='visible';
	normal_left_eye_p2.style.visibility='visible';
	normal_left_eye_p3.style.visibility='visible';
	normal_left_eye_p4.style.visibility='visible';
	normal_left_eye_p5.style.visibility='visible';
	normal_left_eye_p6.style.visibility='visible';
	
    normal_teeth_up.style.visibility='visible';	
	normal_mouth.style.visibility='visible';		
}
//====================================================================
var callback_n_2=function(){
	
    $("#first_right_eyebrow").remove();
    $("#first_left_eyebrow").remove();
	
    $("#first_right_eye_p1").remove();
	$("#first_right_eye_p2").remove();
	$("#first_right_eye_p3").remove();
	$("#first_right_eye_p4").remove();
	$("#first_right_eye_p5").remove();
	$("#first_right_eye_p6").remove();
	
    $("#first_left_eye_p1").remove();
	$("#first_left_eye_p2").remove();
	$("#first_left_eye_p3").remove();
	$("#first_left_eye_p4").remove();
	$("#first_left_eye_p5").remove();
	$("#first_left_eye_p6").remove();
	
    $("#first_mouth").remove();
	$("#first_teeth_up").remove();
	
	$("#first_right_cheek").remove();
    $("#first_left_cheek").remove();
	
    key_w=1;
}
//===========================================================
	
	first_teeth_up.style.visibility='visible';
	
    KUTE.to('#first_right_eyebrow', {path: '#normal_right_eyebrow' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eyebrow', {path: '#normal_left_eyebrow' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	
	
    KUTE.to('#first_right_eye_p1', {path: '#normal_right_eye_p1' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p2', {path: '#normal_right_eye_p2' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p3', {path: '#normal_right_eye_p3' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p4', {path: '#normal_right_eye_p4' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_right_eye_p5', {path: '#normal_right_eye_p5' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_right_eye_p6', {path: '#normal_right_eye_p6' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
 
    KUTE.to('#first_left_eye_p1', {path: '#normal_left_eye_p1' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p2', {path: '#normal_left_eye_p2' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p3', {path: '#normal_left_eye_p3' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p4', {path: '#normal_left_eye_p4' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_left_eye_p5', {path: '#normal_left_eye_p5' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_left_eye_p6', {path: '#normal_left_eye_p6' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();

    KUTE.to('#first_mouth', {path: '#normal_mouth' }, {duration: time, easing: 'easingExponentialOut', morphIndex:20, morphPrecision:1, reverseSecondPath: true, reverseFirstPath: false}).start();
	KUTE.to("#first_teeth_up", {svgTransform:{scale:1}},{duration: time}).start();
	
    KUTE.to("#first_right_cheek", {svgTransform:{scale:0.01}},{duration: time,complete:callback_n_1}).start();
    KUTE.to("#first_left_cheek", {svgTransform:{scale:0.01}},{duration: time,complete:callback_n_2}).start();

}


function cry1_to_cry2()
{
var callback_n_1=function(){
	
    cry_right_eyebrow.style.visibility='visible';
    cry_left_eyebrow.style.visibility='visible';

    cry_right_eye_p1.style.visibility='visible';
	cry_right_eye_p2.style.visibility='visible';
	cry_right_eye_p3.style.visibility='visible';
	cry_right_eye_p4.style.visibility='visible';
	cry_right_eye_p5.style.visibility='visible';
	cry_right_eye_p6.style.visibility='visible';
	
    cry_left_eye_p1.style.visibility='visible';
	cry_left_eye_p2.style.visibility='visible';
	cry_left_eye_p3.style.visibility='visible';
	cry_left_eye_p4.style.visibility='visible';
	cry_left_eye_p5.style.visibility='visible';
	cry_left_eye_p6.style.visibility='visible';
	
	cry_mouth2.style.visibility='visible';
	cry_teeth_up.style.visibility='visible';
	cry_right_cheek.style.visibility='visible';
	cry_left_cheek.style.visibility='visible';
	cry_right_tear1.style.visibility='visible';
	cry_left_tear1.style.visibility='visible';
		
}
//====================================================================
var callback_n_2=function(){
	
    $("#first_right_eyebrow").remove();
    $("#first_left_eyebrow").remove();
	
    $("#first_right_eye_p1").remove();
	$("#first_right_eye_p2").remove();
	$("#first_right_eye_p3").remove();
	$("#first_right_eye_p4").remove();
	$("#first_right_eye_p5").remove();
	$("#first_right_eye_p6").remove();
	
    $("#first_left_eye_p1").remove();
	$("#first_left_eye_p2").remove();
	$("#first_left_eye_p3").remove();
	$("#first_left_eye_p4").remove();
	$("#first_left_eye_p5").remove();
	$("#first_left_eye_p6").remove();
	
    $("#first_mouth").remove();
	$("#first_teeth_up").remove();
	$("#first_right_tear1").remove();
	$("#first_left_tear1").remove();
	
    key_w=1;
}
//===========================================================
	
	first_teeth_up.style.visibility='visible'
	first_right_tear1.style.visibility='visible'
	first_left_tear1.style.visibility='visible'

	
    KUTE.to('#first_right_eyebrow', {path: '#cry_right_eyebrow' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eyebrow', {path: '#cry_left_eyebrow' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	
    KUTE.to('#first_right_eye_p1', {path: '#cry_right_eye_p1' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p2', {path: '#cry_right_eye_p2' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p3', {path: '#cry_right_eye_p3' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_right_eye_p4', {path: '#cry_right_eye_p4' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_right_eye_p5', {path: '#cry_right_eye_p5' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_right_eye_p6', {path: '#cry_right_eye_p6' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();

    KUTE.to('#first_left_eye_p1', {path: '#cry_left_eye_p1' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p2', {path: '#cry_left_eye_p2' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p3', {path: '#cry_left_eye_p3' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
    KUTE.to('#first_left_eye_p4', {path: '#cry_left_eye_p4' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_left_eye_p5', {path: '#cry_left_eye_p5' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();
	KUTE.to('#first_left_eye_p6', {path: '#cry_left_eye_p6' }, {duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 }).start();

    KUTE.to('#first_mouth', {path: '#cry_mouth2' }, {duration: time, easing: 'easingExponentialOut', morphIndex:20, morphPrecision:1, reverseSecondPath: true, reverseFirstPath: false}).start();
	
	KUTE.to("#first_teeth_up", {svgTransform:{scale:1}},{duration: time}).start();
	KUTE.to("#first_right_tear1", {svgTransform:{scale:1}},{duration: time,complete:callback_n_1}).start();
	KUTE.to("#first_left_tear1", {svgTransform:{scale:1}},{duration: time,complete:callback_n_2}).start(); 

}

//============================================================
function n_to_o()
{
var callback_o_1=function(){
    surprised_right_eyebrow.style.visibility='visible';
    surprised_left_eyebrow.style.visibility='visible';
    surprised_mouth.style.visibility='visible';
    surprised_right_eye_p1.style.visibility='visible';
    surprised_left_eye_p1.style.visibility='visible';
    surprised_teeth_down.style.visibility='visible'; //    surprised_teeth_down.style.visibility='visible';
}
//====================================================================
var callback_n_2=function(){
    $("#first_right_eyebrow").remove();
    $("#first_left_eyebrow").remove();
    $("#first_right_eye").remove();
    $("#first_left_eye").remove();
    $("#first_mouth").remove();
    $("#first_teeth").remove();
    $("#first_s_t").remove(); //***
    key_w=1;
}
//===========================================================

    var right_eyebrow = KUTE.to('#first_right_eyebrow', {path: '#surprised_right_eyebrow' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 });

    var left_eyebrow = KUTE.to('#first_left_eyebrow', {path: '#surprised_left_eyebrow' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 });

    var right_eye = KUTE.to('#first_right_eye', {path: '#surprised_right_eye_p1' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 });

    var left_eye = KUTE.to('#first_left_eye', {path: '#surprised_left_eye_p1' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 });

    var ch_mouth = KUTE.to('#first_mouth', {path: '#surprised_mouth' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:150, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: false, complete:callback_o_1  });

    var ch_teeth = KUTE.to('#first_teeth', {path: '#happy_no_teeth_up' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 , complete:callback_n_2 });

//    surprised_teeth_down.style.visibility='visible';
    $("#surprised_teeth_down").clone().prop({ id: "first_s_t"  }).appendTo('.face');
    first_s_t.style.visibility='visible';
    right_eyebrow.start();
    left_eyebrow.start();
    right_eye.start();
    left_eye.start();
    ch_mouth.start();
    ch_teeth.start();

}
//===================================================
function n_to_h()
{
var callback_h_1=function(){
    happy_right_eyebrow.style.visibility='visible';
    happy_left_eyebrow.style.visibility='visible';
    happy_mouth.style.visibility='visible';
    happy_outside_right_eye.style.visibility='visible';
    happy_outside_left_eye.style.visibility='visible';
    happy_teeth_up.style.visibility='visible';
}
//====================================================================
var callback_n_2=function(){
    $("#first_right_eyebrow").remove();
    $("#first_left_eyebrow").remove();
    $("#first_right_eye").remove();
    $("#first_left_eye").remove();
    $("#first_mouth").remove();
    $("#first_teeth").remove();
    key_w=1;
}
//===========================================================
    var right_eyebrow = KUTE.to('#first_right_eyebrow', {path: '#happy_right_eyebrow' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 });

    var left_eyebrow = KUTE.to('#first_left_eyebrow', {path: '#happy_left_eyebrow' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1, complete:callback_h_1 });

    var ch_mouth = KUTE.to('#first_mouth', {path: '#happy_mouth' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:45, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: false, complete:callback_n_2 });

    right_eyebrow.start();
    left_eyebrow.start();
    ch_mouth.start();

}
//===================================================
function n_to_a()
{
var callback_a_1=function(){
    angry_right_eyebrow.style.visibility='visible';
    angry_left_eyebrow.style.visibility='visible';
    angry_mouth.style.visibility='visible';
    angry_right_eye_p1.style.visibility='visible';
    angry_left_eye_p1.style.visibility='visible';
    angry_chin.style.visibility='visible';
}
//====================================================================
var callback_n_2=function(){
    $("#first_right_eyebrow").remove();
    $("#first_left_eyebrow").remove();
    $("#first_right_eye").remove();
    $("#first_left_eye").remove();
    $("#first_mouth").remove();
    $("#first_teeth").remove();
    $("#first_chin").remove(); // ***
    key_w=1;
}
//===========================================================
    $("#no_chin").clone().prop({ id: "first_chin"  }).appendTo('.face');

    var right_eyebrow = KUTE.to('#first_right_eyebrow', {path: '#angry_right_eyebrow' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:3, morphPrecision:1  , reverseSecondPath: false, reverseFirstPath: true });

    var left_eyebrow = KUTE.to('#first_left_eyebrow', {path: '#angry_left_eyebrow' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:3, morphPrecision:1 , reverseSecondPath: false, reverseFirstPath: true });

    var right_eye = KUTE.to('#first_right_eye', {path: '#angry_right_eye_p1' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:150, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: false });

    var left_eye = KUTE.to('#first_left_eye', {path: '#angry_left_eye_p1' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:150, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: true });

    var ch_mouth = KUTE.to('#first_mouth', {path: '#angry_mouth' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:125, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: false, complete:callback_a_1 });

    var ch_chin = KUTE.to('#first_chin', {path: '#angry_chin' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: true });

    var ch_teeth = KUTE.to('#first_teeth', {path: '#happy_no_teeth_up' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: true, complete:callback_n_2 });

//  no_chin.style.visibility='visible';
    first_chin.style.visibility='visible';
    right_eyebrow.start();
    left_eyebrow.start();
    right_eye.start();
    left_eye.start();
    ch_mouth.start();
    ch_chin.start();
    ch_teeth.start();
}
//============================================================
function n_to_s()
{
var callback_s_1=function(){
    sad_right_eyebrow.style.visibility='visible';
    sad_left_eyebrow.style.visibility='visible';
    sad_mouth.style.visibility='visible';
    sad_right_eye_p1.style.visibility='visible';
    sad_left_eye_p1.style.visibility='visible';
    sad_chin.style.visibility='visible';
}
//====================================================================
var callback_n_2=function(){
    $("#first_right_eyebrow").remove();
    $("#first_left_eyebrow").remove();
    $("#first_right_eye").remove();
    $("#first_left_eye").remove();
    $("#first_mouth").remove();
    $("#first_teeth").remove();
    $("#first_chin").remove(); // ***
    key_w=1;
}
//===========================================================
    $("#no_chin").clone().prop({ id: "first_chin"  }).appendTo('.face');

    var right_eyebrow = KUTE.to('#first_right_eyebrow', {path: '#sad_right_eyebrow' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:10, morphPrecision:1  , reverseSecondPath: false, reverseFirstPath: true });

    var left_eyebrow = KUTE.to('#first_left_eyebrow', {path: '#sad_left_eyebrow' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:10, morphPrecision:1   , reverseSecondPath: false, reverseFirstPath: true });

    var right_eye = KUTE.to('#first_right_eye', {path: '#sad_right_eye_p1' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:50, morphPrecision:1, reverseSecondPath: true, reverseFirstPath: false });

    var left_eye = KUTE.to('#first_left_eye', {path: '#sad_left_eye_p1' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:50, morphPrecision:1, reverseSecondPath: true, reverseFirstPath: true });

    var ch_mouth = KUTE.to('#first_mouth', {path: '#sad_mouth' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:150, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: false });

    var ch_chin = KUTE.to('#first_chin', {path: '#sad_chin' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: true , complete:callback_s_1 });

    var ch_teeth = KUTE.to('#first_teeth', {path: '#happy_no_teeth_up' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: true, complete:callback_n_2  });

//  no_chin.style.visibility='visible';
    first_chin.style.visibility='visible';
    right_eyebrow.start();
    left_eyebrow.start();
    right_eye.start();
    left_eye.start();
    ch_mouth.start();
    ch_chin.start();
    ch_teeth.start();
}
//======================================================
function s_to_n()
{
var callback_n_1=function(){
    normal_right_eyebrow.style.visibility='visible';
    normal_left_eyebrow.style.visibility='visible';
    normal_mouth.style.visibility='visible';
    happy_outside_right_eye.style.visibility='visible';
    happy_outside_left_eye.style.visibility='visible';
    happy_teeth_up.style.visibility='visible';
}
//====================================================================
var callback_s_2=function(){
    $("#first_right_eyebrow").remove();
    $("#first_left_eyebrow").remove();
    $("#first_right_eye").remove();
    $("#first_left_eye").remove();
    $("#first_mouth").remove();
    $("#first_chin").remove();
    $("#first_teeth").remove();//***
    key_w=1;
}

//====================================================================
    $("#happy_no_teeth_up").clone().prop({ id: "first_teeth"  }).appendTo('.face');

    var right_eyebrow = KUTE.to('#first_right_eyebrow', {path: '#normal_right_eyebrow' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:10, morphPrecision:1 , reverseSecondPath: false, reverseFirstPath: true });

    var left_eyebrow = KUTE.to('#first_left_eyebrow', {path: '#normal_left_eyebrow' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:10, morphPrecision:1 , reverseSecondPath: false, reverseFirstPath: true });

    var right_eye = KUTE.to('#first_right_eye', {path: '#happy_outside_right_eye' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:50, morphPrecision:1, reverseSecondPath: true, reverseFirstPath: false });

    var left_eye = KUTE.to('#first_left_eye', {path: '#happy_outside_left_eye' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:50, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: false });

    var ch_mouth = KUTE.to('#first_mouth', {path: '#normal_mouth' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:40, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: false });

    var ch_chin = KUTE.to('#first_chin', {path: '#no_chin' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: true , complete:callback_n_1 });

    var ch_teeth = KUTE.to('#first_teeth', {path: '#happy_teeth_up' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: true, complete:callback_s_2 });

    //  happy_no_teeth_up.style.visibility='visible';
    first_teeth.style.visibility='visible';
    right_eyebrow.start();
    left_eyebrow.start();
    right_eye.start();
    left_eye.start();
    ch_mouth.start();
    ch_chin.start();
    ch_teeth.start();
}
//================================================
function h_to_n()
{
 var callback_n_1=function(){
    normal_right_eyebrow.style.visibility='visible';
    normal_left_eyebrow.style.visibility='visible';
    normal_mouth.style.visibility='visible';
    happy_outside_right_eye.style.visibility='visible';
    happy_outside_left_eye.style.visibility='visible';
    happy_teeth_up.style.visibility='visible';
}
//====================================================================
var callback_h_2=function(){
    $("#first_right_eyebrow").remove();
    $("#first_left_eyebrow").remove();
    $("#first_right_eye").remove();
    $("#first_left_eye").remove();
    $("#first_mouth").remove();
    $("#first_teeth").remove();
    key_w=1;
}
//===================================================================
    var ch_mouth = KUTE.to('#first_mouth', {path: '#normal_mouth' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:45, morphPrecision:1, reverseFirstPath:true, reverseSecondPath: true });

    var right_eyebrow = KUTE.to('#first_right_eyebrow', {path: '#normal_right_eyebrow' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 , complete:callback_n_1 });

    var  left_eyebrow= KUTE.to('#first_left_eyebrow', {path: '#normal_left_eyebrow'}, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 , complete:callback_h_2});

    right_eyebrow.start();
    left_eyebrow.start();
    ch_mouth.start();
}
//====================================
function o_to_n()
{
 var callback_n_1=function(){
    normal_right_eyebrow.style.visibility='visible';
    normal_left_eyebrow.style.visibility='visible';
    normal_mouth.style.visibility='visible';
    happy_outside_right_eye.style.visibility='visible';
    happy_outside_left_eye.style.visibility='visible';
    happy_teeth_up.style.visibility='visible';
}
//====================================================================
var callback_o_2=function(){
    $("#first_right_eyebrow").remove();
    $("#first_left_eyebrow").remove();
    $("#first_right_eye").remove();
    $("#first_left_eye").remove();
    $("#first_mouth").remove();
    $("#first_s_t").remove();
    $("#first_teeth").remove();//***
    key_w=1;
}
//===================================================================
    $("#happy_no_teeth_up").clone().prop({ id: "first_teeth"  }).appendTo('.face');

    var right_eyebrow = KUTE.to('#first_right_eyebrow', {path: '#normal_right_eyebrow' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1  });

    var left_eyebrow = KUTE.to('#first_left_eyebrow', {path: '#normal_left_eyebrow' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 });

    var right_eye = KUTE.to('#first_right_eye', {path: '#happy_outside_right_eye' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 });

    var left_eye = KUTE.to('#first_left_eye', {path: '#happy_outside_left_eye' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 });

    var ch_mouth = KUTE.to('#first_mouth', {path: '#normal_mouth' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:150, morphPrecision:1, reverseSecondPath: true, reverseFirstPath: true });

    var ch_down_teeth = KUTE.to('#first_s_t', {path: '#surprised_no_teeth_down' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1, complete:callback_n_1 });

    var ch_teeth = KUTE.to('#first_teeth', {path: '#happy_teeth_up' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1, complete:callback_o_2 });

    first_teeth.style.visibility='visible';
    right_eyebrow.start();
    left_eyebrow.start();
    right_eye.start();
    left_eye.start();
    ch_mouth.start();
    ch_down_teeth.start();
    ch_teeth.start();

}
//=========================================================================
function a_to_n()
{
 var callback_n_1=function(){
    normal_right_eyebrow.style.visibility='visible';
    normal_left_eyebrow.style.visibility='visible';
    normal_mouth.style.visibility='visible';
    happy_outside_right_eye.style.visibility='visible';
    happy_outside_left_eye.style.visibility='visible';
    happy_teeth_up.style.visibility='visible';
}
//====================================================================
var callback_a_2=function(){
    $("#first_right_eyebrow").remove();
    $("#first_left_eyebrow").remove();
    $("#first_right_eye").remove();
    $("#first_left_eye").remove();
    $("#first_mouth").remove();
    $("#first_chin").remove();
    $("#first_teeth").remove();//***
    key_w=1;
}
//===================================================================
    $("#happy_no_teeth_up").clone().prop({ id: "first_teeth"  }).appendTo('.face');

    var right_eyebrow = KUTE.to('#first_right_eyebrow', {path: '#normal_right_eyebrow' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:10, morphPrecision:1 , reverseSecondPath: false, reverseFirstPath: true });

    var left_eyebrow = KUTE.to('#first_left_eyebrow', {path: '#normal_left_eyebrow' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:10, morphPrecision:1  , reverseSecondPath: false, reverseFirstPath: true });

    var right_eye = KUTE.to('#first_right_eye', {path: '#happy_outside_right_eye' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:50, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: false });

    var left_eye = KUTE.to('#first_left_eye', {path: '#happy_outside_left_eye' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:50, morphPrecision:1, reverseSecondPath: true, reverseFirstPath: false });

    var ch_mouth = KUTE.to('#first_mouth', {path: '#normal_mouth' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:50, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: false });

    var ch_chin = KUTE.to('#first_chin', {path: '#no_chin' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: true, complete:callback_n_1 });

    var ch_teeth = KUTE.to('#first_teeth', {path: '#happy_teeth_up' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: true, complete:callback_a_2 });

    first_teeth.style.visibility='visible';
    right_eyebrow.start();
    left_eyebrow.start();
    right_eye.start();
    left_eye.start();
    ch_mouth.start();
    ch_chin.start();
    ch_teeth.start();
}
//================================================
function h_to_s()
{
 var callback_s_1=function(){
    sad_right_eyebrow.style.visibility='visible';
    sad_left_eyebrow.style.visibility='visible';
    sad_mouth.style.visibility='visible';
    sad_right_eye_p1.style.visibility='visible';
    sad_left_eye_p1.style.visibility='visible';
    sad_chin.style.visibility='visible';
}
//====================================================================
var callback_h_2=function(){
    $("#first_right_eyebrow").remove();
    $("#first_left_eyebrow").remove();
    $("#first_right_eye").remove();
    $("#first_left_eye").remove();
    $("#first_mouth").remove();
    $("#first_teeth").remove();
    $("#first_chin").remove(); //***
    key_w=1;
}
//===========================================================
    $("#no_chin").clone().prop({ id: "first_chin"  }).appendTo('.face');

    var right_eyebrow = KUTE.to('#first_right_eyebrow', {path: '#sad_right_eyebrow' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:10, morphPrecision:1  , reverseSecondPath: false, reverseFirstPath: true });

    var left_eyebrow = KUTE.to('#first_left_eyebrow', {path: '#sad_left_eyebrow' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:10, morphPrecision:1  , reverseSecondPath: false, reverseFirstPath: true  });

    var right_eye = KUTE.to('#first_right_eye', {path: '#sad_right_eye_p1' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:50, morphPrecision:1, reverseSecondPath: true, reverseFirstPath: false });

    var left_eye = KUTE.to('#first_left_eye', {path: '#sad_left_eye_p1' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:50, morphPrecision:1, reverseSecondPath: true, reverseFirstPath: true });

    var ch_mouth = KUTE.to('#first_mouth', {path: '#sad_mouth' }, {
    duration: time, easing: 'easingExponentialOut',  morphIndex:140, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: false });

    var ch_chin = KUTE.to('#first_chin', {path: '#sad_chin' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: true , complete:callback_s_1});

    var ch_teeth = KUTE.to('#first_teeth', {path: '#happy_no_teeth_up' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: true , complete:callback_h_2});

    //    no_chin.style.visibility='visible';
    first_chin.style.visibility='visible';
    right_eyebrow.start();
    left_eyebrow.start();
    right_eye.start();
    left_eye.start();
    ch_mouth.start();
    ch_chin.start();
    ch_teeth.start();

}
//================================================
function o_to_s()
{
 var callback_s_1=function(){
    sad_right_eyebrow.style.visibility='visible';
    sad_left_eyebrow.style.visibility='visible';
    sad_mouth.style.visibility='visible';
    sad_right_eye_p1.style.visibility='visible';
    sad_left_eye_p1.style.visibility='visible';
    sad_chin.style.visibility='visible';
}
//====================================================================
var callback_o_2=function(){
    $("#first_right_eyebrow").remove();
    $("#first_left_eyebrow").remove();
    $("#first_right_eye").remove();
    $("#first_left_eye").remove();
    $("#first_mouth").remove();
    $("#first_s_t").remove();
    $("#first_chin").remove();//***
    key_w=1;
}
//===========================================================
    $("#no_chin").clone().prop({ id: "first_chin"  }).appendTo('.face');

    var right_eyebrow = KUTE.to('#first_right_eyebrow', {path: '#sad_right_eyebrow' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:3, morphPrecision:1  , reverseSecondPath: false, reverseFirstPath: true });

    var left_eyebrow = KUTE.to('#first_left_eyebrow', {path: '#sad_left_eyebrow' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:3, morphPrecision:1   , reverseSecondPath: false, reverseFirstPath: true });

    var right_eye = KUTE.to('#first_right_eye', {path: '#sad_right_eye_p1' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:50, morphPrecision:1, reverseSecondPath: true, reverseFirstPath: false });

    var left_eye = KUTE.to('#first_left_eye', {path: '#sad_left_eye_p1' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:50, morphPrecision:1, reverseSecondPath: true, reverseFirstPath: true });

    var ch_mouth = KUTE.to('#first_mouth', {path: '#sad_mouth' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:10, morphPrecision:1, reverseSecondPath: true, reverseFirstPath: true , complete:callback_o_2});

    var ch_chin = KUTE.to('#first_chin', {path: '#sad_chin' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: true , complete:callback_s_1 });



    first_chin.style.visibility='visible';
    right_eyebrow.start();
    left_eyebrow.start();
    right_eye.start();
    left_eye.start();
    ch_mouth.start();
    ch_chin.start();
//  surprised_no_teeth_down.style.visibility='hidden';

}
//================================================**********************
function a_to_s()
{
 var callback_s_1=function(){
    sad_right_eyebrow.style.visibility='visible';
    sad_left_eyebrow.style.visibility='visible';
    sad_mouth.style.visibility='visible';
    sad_right_eye_p1.style.visibility='visible';
    sad_left_eye_p1.style.visibility='visible';
    sad_chin.style.visibility='visible';
}
//====================================================================
var callback_a_2=function(){
    $("#first_right_eyebrow").remove();
    $("#first_left_eyebrow").remove();
    $("#first_right_eye").remove();
    $("#first_left_eye").remove();
    $("#first_mouth").remove();
    $("#first_chin").remove();
    key_w=1;
}
//===========================================================

    var right_eyebrow = KUTE.to('#first_right_eyebrow', {path: '#sad_right_eyebrow' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:13, morphPrecision:1});

    var left_eyebrow = KUTE.to('#first_left_eyebrow', {path: '#sad_left_eyebrow' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:13, morphPrecision:1 });

    var right_eye = KUTE.to('#first_right_eye', {path: '#sad_right_eye_p1' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:110, morphPrecision:1, reverseSecondPath: true, reverseFirstPath: false });

    var left_eye = KUTE.to('#first_left_eye', {path: '#sad_left_eye_p1' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:110, morphPrecision:1, reverseSecondPath: true, reverseFirstPath: false ,complete:callback_s_1  });

    var ch_mouth = KUTE.to('#first_mouth', {path: '#sad_mouth' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:10, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: false ,complete:callback_a_2 });

    var ch_chin = KUTE.to('#first_chin', {path: '#sad_chin' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: false });


    right_eyebrow.start();
    left_eyebrow.start();
    right_eye.start();
    left_eye.start();
    ch_mouth.start();
    ch_chin.start();

}
//================================================
function h_to_o()
{
var callback_o_1=function(){
    surprised_right_eyebrow.style.visibility='visible';
    surprised_left_eyebrow.style.visibility='visible';
    surprised_mouth.style.visibility='visible';
    surprised_right_eye_p1.style.visibility='visible';
    surprised_left_eye_p1.style.visibility='visible';
    surprised_teeth_down.style.visibility='visible';
}
//====================================================================
var callback_h_2=function(){
    $("#first_right_eyebrow").remove();
    $("#first_left_eyebrow").remove();
    $("#first_right_eye").remove();
    $("#first_left_eye").remove();
    $("#first_mouth").remove();
    $("#first_teeth").remove();
    $("#first_steeth").remove(); //***
    key_w=1;
}
//===========================================================
    $("#surprised_teeth_down").clone().prop({ id: "first_steeth"  }).appendTo('.face');

    var right_eyebrow = KUTE.to('#first_right_eyebrow', {path: '#surprised_right_eyebrow' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 });

    var left_eyebrow = KUTE.to('#first_left_eyebrow', {path: '#surprised_left_eyebrow' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 });

    var right_eye = KUTE.to('#first_right_eye', {path: '#surprised_right_eye_p1' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 });

    var left_eye = KUTE.to('#first_left_eye', {path: '#surprised_left_eye_p1' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 });

    var ch_mouth = KUTE.to('#first_mouth', {path: '#surprised_mouth' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:150, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: false , complete:callback_o_1 });

    var ch_teeth = KUTE.to('#first_teeth', {path: '#happy_no_teeth_up' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1, complete:callback_h_2  });

    first_steeth.style.visibility='visible';
    right_eyebrow.start();
    left_eyebrow.start();
    right_eye.start();
    left_eye.start();
    ch_mouth.start();
    ch_teeth.start();

}
//================================================
function a_to_o()
{
var callback_o_1=function(){
    surprised_right_eyebrow.style.visibility='visible';
    surprised_left_eyebrow.style.visibility='visible';
    surprised_mouth.style.visibility='visible';
    surprised_right_eye_p1.style.visibility='visible';
    surprised_left_eye_p1.style.visibility='visible';
    surprised_teeth_down.style.visibility='visible';
}
//====================================================================
var callback_a_2=function(){
    $("#first_right_eyebrow").remove();
    $("#first_left_eyebrow").remove();
    $("#first_right_eye").remove();
    $("#first_left_eye").remove();
    $("#first_mouth").remove();
    $("#first_chin").remove();
    $("#first_steeth").remove(); //***
    key_w=1;
}
//===========================================================
    $("#surprised_teeth_down").clone().prop({ id: "first_steeth"  }).appendTo('.face');

    var right_eyebrow = KUTE.to('#first_right_eyebrow', {path: '#surprised_right_eyebrow' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1   , reverseSecondPath: false, reverseFirstPath: true  });

    var left_eyebrow = KUTE.to('#first_left_eyebrow', {path: '#surprised_left_eyebrow' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1  , reverseSecondPath: false, reverseFirstPath: true  });

    var right_eye = KUTE.to('#first_right_eye', {path: '#surprised_right_eye_p1' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:160, morphPrecision:1   , reverseSecondPath: true, reverseFirstPath: true  });

    var left_eye = KUTE.to('#first_left_eye', {path: '#surprised_left_eye_p1' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:160, morphPrecision:1   , reverseSecondPath: false, reverseFirstPath: true   });

    var ch_mouth = KUTE.to('#first_mouth', {path: '#surprised_mouth' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:50, morphPrecision:1, reverseSecondPath: true, reverseFirstPath: false , complete:callback_o_1  });

    var ch_chin = KUTE.to('#first_chin', {path: '#no_chin' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 , complete:callback_a_2  });

    first_steeth.style.visibility='visible';
    right_eyebrow.start();
    left_eyebrow.start();
    right_eye.start();
    left_eye.start();
    ch_mouth.start();
    ch_chin.start();

}
//================================================
function s_to_o()
{
var callback_o_1=function(){
    surprised_right_eyebrow.style.visibility='visible';
    surprised_left_eyebrow.style.visibility='visible';
    surprised_mouth.style.visibility='visible';
    surprised_right_eye_p1.style.visibility='visible';
    surprised_left_eye_p1.style.visibility='visible';
    surprised_teeth_down.style.visibility='visible';
}
//====================================================================
var callback_s_2=function(){
    $("#first_right_eyebrow").remove();
    $("#first_left_eyebrow").remove();
    $("#first_right_eye").remove();
    $("#first_left_eye").remove();
    $("#first_mouth").remove();
    $("#first_chin").remove();
    $("#first_steeth").remove(); //***
    key_w=1;
}
first_chin.style.visibility='hidden';
//===========================================================
    $("#surprised_teeth_down").clone().prop({ id: "first_steeth"  }).appendTo('.face');

    var right_eyebrow = KUTE.to('#first_right_eyebrow', {path: '#surprised_right_eyebrow' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1  , reverseSecondPath: false, reverseFirstPath: true });

    var left_eyebrow = KUTE.to('#first_left_eyebrow', {path: '#surprised_left_eyebrow' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1  , reverseSecondPath: false, reverseFirstPath: true });

    var right_eye = KUTE.to('#first_right_eye', {path: '#surprised_right_eye_p1' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:160, morphPrecision:1   , reverseSecondPath: false, reverseFirstPath: true });

    var left_eye = KUTE.to('#first_left_eye', {path: '#surprised_left_eye_p1' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:160, morphPrecision:1   , reverseSecondPath: true, reverseFirstPath: true });

    var ch_mouth = KUTE.to('#first_mouth', {path: '#surprised_mouth' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:50, morphPrecision:1, reverseSecondPath: true, reverseFirstPath: false, complete:callback_o_1 });

    var ch_chin = KUTE.to('#first_chin', {path: '#no_chin' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 , complete:callback_s_2 });

    first_steeth.style.visibility='visible';
    right_eyebrow.start();
    left_eyebrow.start();
    right_eye.start();
    left_eye.start();
    ch_mouth.start();
    ch_chin.start();

}
//================================================
function a_to_h()
{
var callback_h_1=function(){
    happy_right_eyebrow.style.visibility='visible';
    happy_left_eyebrow.style.visibility='visible';
    happy_mouth.style.visibility='visible';
    happy_outside_right_eye.style.visibility='visible';
    happy_outside_left_eye.style.visibility='visible';
    happy_teeth_up.style.visibility='visible';
}
//====================================================================
var callback_a_2=function(){
    $("#first_right_eyebrow").remove();
    $("#first_left_eyebrow").remove();
    $("#first_right_eye").remove();
    $("#first_left_eye").remove();
    $("#first_mouth").remove();
    $("#first_chin").remove();
    $("#first_teeth").remove();//***
    key_w=1;
}
//===========================================================
    $("#happy_no_teeth_up").clone().prop({ id: "first_teeth"  }).appendTo('.face');

    var right_eyebrow = KUTE.to('#first_right_eyebrow', {path: '#happy_right_eyebrow' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:10, morphPrecision:1 , reverseSecondPath: false, reverseFirstPath: true });

    var left_eyebrow = KUTE.to('#first_left_eyebrow', {path: '#happy_left_eyebrow' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:10, morphPrecision:1 , reverseSecondPath: false, reverseFirstPath: true });

    var right_eye = KUTE.to('#first_right_eye', {path: '#happy_outside_right_eye' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:50, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: false  });

    var left_eye = KUTE.to('#first_left_eye', {path: '#happy_outside_left_eye' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:50, morphPrecision:1, reverseSecondPath: true, reverseFirstPath: false });

    var ch_mouth = KUTE.to('#first_mouth', {path: '#happy_mouth' }, {                                                                         //////////moshkl dare
    duration: time, easing: 'easingExponentialOut', morphIndex:125, morphPrecision:1, reverseSecondPath: true, reverseFirstPath: true , complete:callback_h_1});

    //var ch_chin = KUTE.to('#first_chin', {path: '#no_chin' }, {
    //duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: true  });

    var ch_teeth = KUTE.to('#first_teeth', {path: '#happy_teeth_up' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: true , complete:callback_a_2 });

    first_teeth.style.visibility='visible';
    first_chin.style.visibility='hidden';

    right_eyebrow.start();
    left_eyebrow.start();
    right_eye.start();
    left_eye.start();
    ch_mouth.start();
    //ch_chin.start();
    ch_teeth.start();

}
//================================================
function s_to_h()
{
var callback_h_1=function(){
    happy_right_eyebrow.style.visibility='visible';
    happy_left_eyebrow.style.visibility='visible';
    happy_mouth.style.visibility='visible';
    happy_outside_right_eye.style.visibility='visible';
    happy_outside_left_eye.style.visibility='visible';
    happy_teeth_up.style.visibility='visible';
}
//====================================================================
var callback_s_2=function(){
    $("#first_right_eyebrow").remove();
    $("#first_left_eyebrow").remove();
    $("#first_right_eye").remove();
    $("#first_left_eye").remove();
    $("#first_mouth").remove();
    $("#first_chin").remove();
    $("#first_teeth").remove();//***
    key_w=1;
}
//===========================================================
    $("#happy_no_teeth_up").clone().prop({ id: "first_teeth"  }).appendTo('.face');

    var right_eyebrow = KUTE.to('#first_right_eyebrow', {path: '#happy_right_eyebrow' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:10, morphPrecision:1 , reverseSecondPath: false, reverseFirstPath: true });

    var left_eyebrow = KUTE.to('#first_left_eyebrow', {path: '#happy_left_eyebrow' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:10, morphPrecision:1  , reverseSecondPath: false, reverseFirstPath: true });

    var right_eye = KUTE.to('#first_right_eye', {path: '#happy_outside_right_eye' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:50, morphPrecision:1, reverseSecondPath: true, reverseFirstPath: false  });

    var left_eye = KUTE.to('#first_left_eye', {path: '#happy_outside_left_eye' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:50, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: false  });

    var ch_mouth = KUTE.to('#first_mouth', {path: '#happy_mouth' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:125, morphPrecision:1, reverseSecondPath: true, reverseFirstPath: true });

    var ch_chin = KUTE.to('#first_chin', {path: '#no_chin' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: true, complete:callback_h_1 });

    var ch_teeth = KUTE.to('#first_teeth', {path: '#happy_teeth_up' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: true, complete:callback_s_2 });

    first_teeth.style.visibility='visible';
    first_chin.style.visibility='hidden';

    right_eyebrow.start();
    left_eyebrow.start();
    right_eye.start();
    left_eye.start();
    ch_mouth.start();
    ch_chin.start();
    ch_teeth.start();

}
//================================================
function o_to_h()
{
var callback_h_1=function(){
    happy_right_eyebrow.style.visibility='visible';
    happy_left_eyebrow.style.visibility='visible';
    happy_mouth.style.visibility='visible';
    happy_outside_right_eye.style.visibility='visible';
    happy_outside_left_eye.style.visibility='visible';
    happy_teeth_up.style.visibility='visible';
}
//====================================================================
var callback_o_2=function(){
    $("#first_right_eyebrow").remove();
    $("#first_left_eyebrow").remove();
    $("#first_right_eye").remove();
    $("#first_left_eye").remove();
    $("#first_mouth").remove();
    $("#first_s_t").remove();
    $("#first_teeth").remove();//***
    key_w=1;
}
//===========================================================
    $("#happy_no_teeth_up").clone().prop({ id: "first_teeth"  }).appendTo('.face');

    //var ch_mouth = KUTE.to('#first_mouth', {path: '#normal_mouth' }, {
   // duration: time, easing: 'easingExponentialOut', morphIndex:150, morphPrecision:1, reverseSecondPath: true, reverseFirstPath: true });


    var right_eyebrow = KUTE.to('#first_right_eyebrow', {path: '#happy_right_eyebrow' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 });

    var left_eyebrow = KUTE.to('#first_left_eyebrow', {path: '#happy_left_eyebrow' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 });

    var right_eye = KUTE.to('#first_right_eye', {path: '#happy_outside_right_eye' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 });

    var left_eye = KUTE.to('#first_left_eye', {path: '#happy_outside_left_eye' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 });

    var ch_mouth = KUTE.to('#first_mouth', {path: '#happy_mouth' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:145, morphPrecision:1, reverseSecondPath: true, reverseFirstPath: true  });

    var ch_down_teeth = KUTE.to('#first_s_t', {path: '#surprised_no_teeth_down' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1, complete:callback_h_1  });

    var ch_teeth = KUTE.to('#first_teeth', {path: '#happy_teeth_up' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1 , complete:callback_o_2 });

    first_teeth.style.visibility='visible';
    right_eyebrow.start();
    left_eyebrow.start();
    right_eye.start();
    left_eye.start();
    ch_mouth.start();
    ch_down_teeth.start();
    ch_teeth.start();

}
//================================================
function h_to_a()
{
var callback_a_1=function(){
    angry_right_eyebrow.style.visibility='visible';
    angry_left_eyebrow.style.visibility='visible';
    angry_mouth.style.visibility='visible';
    angry_right_eye_p1.style.visibility='visible';
    angry_left_eye_p1.style.visibility='visible';
    angry_chin.style.visibility='visible';
}
//====================================================================
var callback_h_2=function(){
    $("#first_right_eyebrow").remove();
    $("#first_left_eyebrow").remove();
    $("#first_right_eye").remove();
    $("#first_left_eye").remove();
    $("#first_mouth").remove();
    $("#first_teeth").remove();
    $("#first_chin").remove();//***
    key_w=1;
}
//===========================================================
    $("#no_chin").clone().prop({ id: "first_chin"  }).appendTo('.face');

    var right_eyebrow = KUTE.to('#first_right_eyebrow', {path: '#angry_right_eyebrow' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:3, morphPrecision:1 , reverseSecondPath: false, reverseFirstPath: true });

    var left_eyebrow = KUTE.to('#first_left_eyebrow', {path: '#angry_left_eyebrow' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:3, morphPrecision:1  , reverseSecondPath: false, reverseFirstPath: true  });

    var right_eye = KUTE.to('#first_right_eye', {path: '#angry_right_eye_p1' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:150, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: false  });

    var left_eye = KUTE.to('#first_left_eye', {path: '#angry_left_eye_p1' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:150, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: true  });

    var ch_mouth = KUTE.to('#first_mouth', {path: '#angry_mouth' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:120, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: false });

    var ch_chin = KUTE.to('#first_chin', {path: '#angry_chin' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: true  , complete:callback_a_1  });

    var ch_teeth = KUTE.to('#first_teeth', {path: '#happy_no_teeth_up' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: true , complete:callback_h_2  });

    first_chin.style.visibility='visible';
    right_eyebrow.start();
    left_eyebrow.start();
    right_eye.start();
    left_eye.start();
    ch_mouth.start();
    ch_chin.start();
    ch_teeth.start();

}
//================================================
function s_to_a()
{
var callback_a_1=function(){
    angry_right_eyebrow.style.visibility='visible';
    angry_left_eyebrow.style.visibility='visible';
    angry_mouth.style.visibility='visible';
    angry_right_eye_p1.style.visibility='visible';
    angry_left_eye_p1.style.visibility='visible';
    angry_chin.style.visibility='visible';
}
//====================================================================
var callback_s_2=function(){
    $("#first_right_eyebrow").remove();
    $("#first_left_eyebrow").remove();
    $("#first_right_eye").remove();
    $("#first_left_eye").remove();
    $("#first_mouth").remove();
    $("#first_chin").remove();
    key_w=1;
}
//===========================================================

    var right_eyebrow = KUTE.to('#first_right_eyebrow', {path: '#angry_right_eyebrow' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:150, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: false  });

    var left_eyebrow = KUTE.to('#first_left_eyebrow', {path: '#angry_left_eyebrow' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:150, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: false  });

    var right_eye = KUTE.to('#first_right_eye', {path: '#angry_right_eye_p1' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:110, morphPrecision:1, reverseSecondPath: true, reverseFirstPath: false });

    var left_eye = KUTE.to('#first_left_eye', {path: '#angry_left_eye_p1' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:110, morphPrecision:1, reverseSecondPath: true, reverseFirstPath: false });

    var ch_mouth = KUTE.to('#first_mouth', {path: '#angry_mouth' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:10, morphPrecision:1, reverseSecondPath: true, reverseFirstPath: true , complete:callback_a_1 });

    var ch_chin = KUTE.to('#first_chin', {path: '#angry_chin' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: false , complete:callback_s_2  });

    right_eyebrow.start();
    left_eyebrow.start();
    right_eye.start();
    left_eye.start();
    ch_mouth.start();
    ch_chin.start();

}
//================================================
function o_to_a()
{
var callback_a_1=function(){
    angry_right_eyebrow.style.visibility='visible';
    angry_left_eyebrow.style.visibility='visible';
    angry_mouth.style.visibility='visible';
    angry_right_eye_p1.style.visibility='visible';
    angry_left_eye_p1.style.visibility='visible';
    angry_chin.style.visibility='visible';
}
//====================================================================
var callback_o_2=function(){
    $("#first_right_eyebrow").remove();
    $("#first_left_eyebrow").remove();
    $("#first_right_eye").remove();
    $("#first_left_eye").remove();
    $("#first_mouth").remove();
    $("#first_s_t").remove();
    $("#first_chin").remove(); //***
    key_w=1;
}
//===========================================================
    $("#no_chin").clone().prop({ id: "first_chin"  }).appendTo('.face');

    var right_eyebrow = KUTE.to('#first_right_eyebrow', {path: '#angry_right_eyebrow' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:3, morphPrecision:1  , reverseSecondPath: false, reverseFirstPath: true  });

    var left_eyebrow = KUTE.to('#first_left_eyebrow', {path: '#angry_left_eyebrow' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:3, morphPrecision:1  , reverseSecondPath: false, reverseFirstPath: true  });

    var right_eye = KUTE.to('#first_right_eye', {path: '#angry_right_eye_p1' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:150, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: false });

    var left_eye = KUTE.to('#first_left_eye', {path: '#angry_left_eye_p1' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:150, morphPrecision:1, reverseSecondPath: false, reverseFirstPath: true  });

    var ch_mouth = KUTE.to('#first_mouth', {path: '#angry_mouth' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:10, morphPrecision:1, reverseSecondPath: true, reverseFirstPath: true , complete:callback_a_1});

    var ch_chin = KUTE.to('#first_chin', {path: '#angry_chin' }, {
    duration: time, easing: 'easingExponentialOut', morphIndex:300, morphPrecision:1, reverseSecondPath: true, reverseFirstPath: true , complete:callback_o_2 });


    first_chin.style.visibility='visible';
    right_eyebrow.start();
    left_eyebrow.start();
    right_eye.start();
    left_eye.start();
    ch_mouth.start();
    ch_chin.start();

}
//================================================

