// namespace
var MPLAY = MPLAY || {};

(function() {
	"use_strict";

	/**
	 *
	 * @class Page7_0
	 * @augments MPlay.MPlayPage
	 */
	var Page7_0 = function() {
		MPLAY.MPlayPage.call(this);
	};

	Page7_0.prototype = Object.create(MPLAY.MPlayPage.prototype);
	Page7_0.prototype.constructor = Page7_0;

	/**
	 * @override
	 */
	Page7_0.prototype._onLoad = function() {
		MPLAY.MPlayPage.prototype._onLoad.call(this);

		this.setupClassBackground();
	};

	Page7_0.prototype._createFlowElements = function() {

		var professor = "%" + this._professor;	
		var player = this._player;

		var o = null;

		o = [
			{type: "show", img: professor, position: "center", waitUntilShown: false},
			{type: "dialog", speaker: "Your phone", text: "I want to remind everyone about our final coming up next week. Please visit me during office hours, I am here to help..."},			
			
			{type: "goto", page: "scene 8.b"},
		];

		return o;
	};

	MPLAY.Page7_0 = Page7_0;
}());

@@ -439,16 +439,247 @@
 round();
+%0A%0A%09%09this._closephoneImg = this.createImage(%22/static/gnovel/res/textures/phone.png%22, new THREE.Vector3(0, 60, 160), 519, 950);%0A%09%09this._closephoneImg.material.opacity = 0;%0A%0A%09%09this._setObjectTag(this._closephone, this._closephoneImg);
 %0A%09%7D;%0A%0A%09P
@@ -801,16 +801,59 @@
 _player;
+%0A%09%09var closephone = %22%25%22 + this._closephone;
 %0A%0A%09%09var 
@@ -870,24 +870,26 @@
 %0A%09%09o = %5B%0A%09%09%09
+//
 %7Btype: %22show
@@ -950,24 +950,26 @@
  false%7D,%0A%09%09%09
+//
 %7Btype: %22dial
@@ -1133,16 +1133,531 @@
 ,%09%09%09%0A%09%09%09
+// %7Btype: %22show_phone_notif%22%7D,%09%0A%0A%09%09%09// phone email exchange begins%0A%09%09%09%7Btype: %22show%22, img: closephone%7D,%0A%09%09%09%7Btype: %22phone_textbox%22,%0A%09%09%09%09label: %22email_box%22,%0A%09%09%09%09bgOffsetY: -80,%0A%09%09%09%09bgHeight: 300,%0A%09%09%09%09bgWidth: 400,%0A%09%09%09%09y: 250,%0A%09%09%09%09charLine: 37,%0A%09%09%09%09text: %22I want to remind everyone about our final coming up next week. Please visit me during office hours, I am here to help... - Prof. Sweeney%22%7D,%0A%09%09%09%7Btype: %22hide_phone_textbox%22, dialog: %22$email_box%22%7D,%0A%09%09%09%7Btype: %22hide%22, img: closephone%7D,%0A%09%09%09// phone email exchange ends%0A
 %0A%09%09%09%7Btyp

Fix scene 8.a phone interaction