
function eventParameters(name,doc,win,eventid,sessionid,eventObj,sessionObj,paramObj,interval,player) {
	//Constructor Variables
	this.name=name;
	this.doc=doc;
	this.win=win;
	this.eventid=eventid;
	this.sessionid=sessionid;
	this.eventObj=eventObj;
	this.sessionObj=sessionObj;
	this.paramObj=paramObj;
	this.interval=interval;
	this.player=player;
	
	//Event Text File Parameters
	this.wwwurl=null;
	this.wwwtimestamp=null;
	this.wwwheight=null;
	this.wwwwidth=null;
	this.wwwpopup=null;
	this.wwwname=null;
	this.wwwid=null;
	this.pollurl=null;
	this.polltimestamp=null;
	this.pollheight=null;
	this.pollwidth=null;
	this.pollpopup=null;
	this.pollname=null;
	this.pollid=null;
	this.questionurl=null;
	this.questiontimestamp=null;
	this.questionheight=null;
	this.questionwidth=null;
	this.questionpopup=null;
	this.questionname=null;
	this.questionid=null;
	this.slideurl=null;
	this.slidetimestamp=null;
	this.slideheight=null;
	this.slidewidth=null;
	this.slidepopup=null;
	this.slidename=null;
	this.slideid=null;
	this.startlive=null;
	this.endlive=null;
	this.startpractice=null;
	this.endpractice=null;
	this.slidesyncurl=null;
	this.questionsynctimestamp=null;
	this.presentersynctimestamp=null;
	this.scriptCommandURL="";
	
	this.toid=null;
	this.brequest=null;
	this.firstrequest=true;
	this.childwin=null;
	this.eventtextfile = "http://www.on24.com/event/eventid"+this.eventid+"sessionid"+this.sessionid+".txt";
	if(window["ECLiveEventControllerTarget"]+""=="db")
		this.eventtextfile = "http://www.on24.com/eventRegistration/liveeventcontroller.jsp?eventid="+this.eventid+"&sessionid="+this.sessionid;
	if(this.paramObj.eventuserid!=null){
		this.eventuserid=this.paramObj.eventuserid;
	}
	else {
		this.eventuserid=getUserID();
	}
	this.eventuserkey=this.paramObj.key;
	this.formname="event"+this.eventid+"_form";
	this.onEndLive = "close";

	//flags
	this.validrequest = false;
	this.wwwchange=false;
	this.pollchange=false;
	this.questionchange=false;
	this.slidechange=false;
	this.slideadded=false;
	this.questionadded=false;
	this.statuschange=false;
	this.servletupdate=false;
	this.boolSyncFlashDemo=false;
	
	//debug properties and methods	
	this.debugwin=null;
	this.debug=false;
	this.debugdump=debugdump;
	
	//mediaurl 
	this.eventdescription=this.eventObj.description;
	this.eventabstract=this.eventObj.name;
	this.formattedeventdate=this.eventObj.formattedeventdate;
	this.eventlocation=this.eventObj.location;
	this.sessiondescription=this.sessionObj.description;
	this.sessionspeaker=this.sessionObj.speaker;
	this.sessiontrack=this.sessionObj.track;
	this.mediaurl=this.sessionObj.mediaurl;
	this.offsetlog=this.sessionObj.offsetlog;
	this.streamoffsetlog=this.sessionObj.streamoffsetlog;
	this.eventinfo=this.eventObj.eventinfo;
	this.timestamplog=this.sessionObj.timestamplog;
	this.formattedsessionstartdate=this.sessionObj.formattedsessionstartdate;
	this.mediaurlId=null;
	this.mediaurlObj=null;
	this.currIndex=0; 
	this.revtimestamplog=this.timestamplog.slice();
	this.revtimestamplog.reverse();
	this.audioClipPlaylistChecked=false;
	
	//various properties	
	this.toid=null;
	this.childwin=null;
	this.consoleWidth=null;
	this.consoleHeight=null;
	this.boolPollInSlideFrame=false;
	this.arrPopupPolls = new Array();
	this.altPortraitImg=null;
	this.agendaPageHtml=null;
	this.currentAgendaSlide = null;
	
	//various methods
	this.startOnDemand=startOnDemand;
	this.startLiveStreaming=startLiveStreaming;
	this.getAppletRequest=getAppletRequest;
	this.getMsxmlResponse=getMsxmlResponse;
	this.startLiveNonStreaming=startLiveNonStreaming;
	this.enlarge=enlarge;
	this.closeEnlargeWin=closeEnlargeWin;
	this.showSlide=showSlide;
	this.slideTranscriptPageHtml=null;
	this.currentTranscriptSlide1=null;
	this.currentTranscriptSlide2=null;
	this.currentTranscriptSlide3=null;
	this.slideTranscriptStyle1=null;
	this.slideTranscriptStyle2=null;
	this.slideTranscriptStyle3=null;
	this.slideTranscriptsProperties1=null;
	this.slideTranscriptsProperties2=null;
	this.slideTranscriptsProperties3=null;
	this.writeSlideTranscriptArea=writeSlideTranscriptArea;
	this.showSlideTranscript=showSlideTranscript;
	this.showAgendaSlide=showAgendaSlide;
	this.showPoll=showPoll;
	this.showURL=showURL;
	this.showQuestion=showQuestion;
	this.refreshQuestions=refreshQuestions;
	this.refreshSlides=refreshSlides;
	this.updateStatus=updateStatus;
	this.refreshAll=refreshAll;
	this.everyRequest=everyRequest;
	this.checkForAudioClipPlaylist=checkForAudioClipPlaylist;
	this.everyRequestForFlashDemo=everyRequestForFlashDemo;
	this.getFirstSlide=getFirstSlide;
	this.getUserID=getUserID;
	this.sendUserQuestion=sendUserQuestion;
	this.refreshAnswerBlock=refreshAnswerBlock;
	this.getLastPushedSlide=getLastPushedSlide;
	this.getDisplayDate=getDisplayDate;
	this.getDisplayTime=getDisplayTime;
	this.writeQandA=writeQandA;
	this.writeQandA2=writeQandA2;
	this.writeQandA3=writeQandA3;
	this.writeAnswer=writeAnswer;
	this.writeQandAbutton=writeQandAbutton;
	this.writeSlideFrame=writeSlideFrame;
	this.switchMedia=switchMedia;
	this.writeSwitchMedia=writeSwitchMedia;
	this.writeFormTag=writeFormTag;
	this.writeChapters=writeChapters;
	this.chapterTextLength=30;
	this.sortByOffset=sortByOffset;
	this.getMediaUrlSubArray=getMediaUrlSubArray;
	this.addAudioClipsToOffsets=addAudioClipsToOffsets;
	this.writeChapterLinks=writeChapterLinks;
	this.findNamedParam=findNamedParam;
	this.getSlideSourceFile=getSlideSourceFile;
	this.QandArequired=QandArequired;
	this.pollingRequired=pollingRequired;
	this.slidesRequired=slidesRequired;
	this.pcviewRequired=pcviewRequired;
	this.writePCViewbutton=writePCViewbutton;
	this.showPCViewLinkinEnlargedArea=showPCViewLinkinEnlargedArea;
	this.showPCViewLinkinSlideArea=showPCViewLinkinSlideArea;
	this.getChapterArray=getChapterArray;
	this.findMediaURL=findMediaURL;
	this.findMediaURLobject=findMediaURLobject;
	this.findDefaultStream=findDefaultStream;
	this.findDefaultLocalStream=findDefaultLocalStream;
	this.findEventInfo=findEventInfo;
	this.findActiveMediaURL=findActiveMediaURL;
	this.findActiveMediaURLobject=findActiveMediaURLobject;
	this.getMediaURLObject=getMediaURLObject;
	this.getLastPushedElement=getLastPushedElement;
	this.getFirstMediaURL=getFirstMediaURL;
	this.getLastPushedMediaURL=getLastPushedMediaURL;
	this.getDisplayDate2=getDisplayDate2;
	this.getDisplayTime2=getDisplayTime2;
	this.isEventInfoRequired=isEventInfoRequired;
	this.handleEndLive=handleEndLive;
	this.findStreamOffsetObject=findStreamOffsetObject;
	this.checkStreamOffset=checkStreamOffset;
	this.stopMediaMetric=stopMediaMetric;
	this.getEventInfoObj=getEventInfoObj;
	this.getPCViewURL=getPCViewURL;
	this.launchDelayedPCView=launchDelayedPCView;
	this.launchPCView=launchPCView;
	this.escapeASCIIOnly=escapeASCIIOnly;
	this.clientTimeOffset=window["servertimeoffset"]; //time diff bet. webserver and client broswer, in milliseconds
	this.mutestatus=false;
	this.curVolume=100;
	this.getTimeToStart=getTimeToStart;
	this.getTimeElasped=getTimeElasped;
	this.getPresentationLength=getPresentationLength;
	this.simuLivePlay=simuLivePlay;
	this.playMusic=playMusic;
	this.playPresentation=playPresentation;
	this.setSimuLivePlayerPosition=setSimuLivePlayerPosition;
	this.ondemandPresentationLength=0;
	this.getOndemandPresentationLength=getOndemandPresentationLength;
	this.raiseVolume=raiseVolume;
	this.dropVolume=dropVolume;
	this.setmute=setmute;
	this.getElementFromDoc=getElementFromDoc;
	this.formatseconds=formatseconds;
	this.setTimer=setTimer
	this.getObjByName=getObjByName;
	this.getObjNN4=getObjNN4;
	this.showLobby=showLobby;
	this.chattoid=null;
	this.sendChatMessage=sendChatMessage;
	this.userRefreshed=false;
	this.startChat=startChat;
	this.addChatUser=addChatUser;
	this.addChatMessage=addChatMessage;
	this.writeChatBlock=writeChatBlock;
	this.agendaStyle="";
	this.writeAgenda=writeAgenda;
	this.getAgendaScrollButton=getAgendaScrollButton;
	this.loadAgendaPage=loadAgendaPage;
	this.launchEmailtoFriend=launchEmailtoFriend;
	this.logEvent=logEvent;
	this.getBrowserInfo=getBrowserInfo;
	
	this.pollPopupWidth=380;
	this.pollPopupHeight=520;
	this.pollPopupScreenLeft=null;
	this.pollPopupScreenTop=null;
	
	this.consoleWidth=findNamedParam(this.eventObj.lobbyurl,'width');
	this.consoleHeight=findNamedParam(this.eventObj.lobbyurl,'height');
	if(!this.consoleWidth) this.consoleWidth=748;
	if(!this.consoleHeight) this.consoleHeight=526;
	this.changeChapterDropdown=changeChapterDropdown;
	this.startRewindForward=startRewindForward;
	this.stopRewindForward=stopRewindForward;
	this.frtoid=null;
	
	this.currentTranscriptLine=-1;
	this.transcriptEnabled=true;
	this.processTranscript=processTranscript;
	this.startSearch=startSearch;
	this.clearSearch=clearSearch;
	this.writeTranscriptBlock=writeTranscriptBlock;
	this.transcriptLoaded=false;
	
	this.hasBookMark=false;
	this.getBookMark=getBookMark;
	this.addBookMark=addBookMark;
	this.bookmarkoffset=0;
	
	this.setPlayerPosition=setPlayerPosition;
	this.getMediaURLObjectByUrl=getMediaURLObjectByUrl;
	this.getTimestampByMediaUrlId=getTimestampByMediaUrlId;
	this.getMsTimestampByMediaUrlId=getMsTimestampByMediaUrlId;
	this.getOffsetByMediaUrlId=getOffsetByMediaUrlId;
	this.getFlashDemoBaseUrl=getFlashDemoBaseUrl;
	this.showFlashDemo=showFlashDemo;
	this.setSlideFrameSrc=setSlideFrameSrc;
	this.getNonStreamingServerTimestamp=getNonStreamingServerTimestamp;
	this.setServerTimestampOffset=setServerTimestampOffset;
	this.convertTimestampLogValueToSeconds=convertTimestampLogValueToSeconds;
	this.intServerTimestampOffset=0;
	this.intServerTimestamp=0;
	this.playedForChapterChange=false;
	
	this.getLastPushedSlideAreaObjectForLive=getLastPushedSlideAreaObjectForLive;
	this.showLastPushedElements=showLastPushedElements;
	this.getLastPushedMediaURLObject=getLastPushedMediaURLObject;
	
	this.streamStartOffsetObject=this.findStreamOffsetObject(this.paramObj.format,"start");
	
	this.playStateCounter=0;
	this.currentPlayerStatus="undefined";
	this.lastLivePlayerPosition=0;
	this.startPlayerStatusLogging=false;
	this.intPlayerLastPositionMs = null;
	this.intPlayerCurrentPositionMs = null;
	this.strPlayerStatus = null;
	
	this.transcriptCounter=0;
	this.replaceTokensFromURL=replaceTokensFromURL;
	
	this.pushedElementCounter=0;
	this.processPushedElementCounter=processPushedElementCounter;
	this.callMediaMetricServlet=callMediaMetricServlet;
	
	this.slideThumbnailStyle=null;
	this.slideSearchStyle=null;
	this.slideThumbnailsProperties=null;
	this.slideSearchProperties=null;
	this.showSlideNotes=true;
	this.thumbnailPreviewMode=false;
	this.activeThumbnailName="";
	this.writeSlideThumbnailArea=writeSlideThumbnailArea;
	this.writeSlideSearchTextbox=writeSlideSearchTextbox;
	this.startSlideSearch=startSlideSearch;
	this.submitXMLHTTPPost=submitXMLHTTPPost;
	this.submitXMLHTTPGet=submitXMLHTTPGet;
	
	//Applet String
	this.appletString='<APPLET	ID="requester" NAME="requester" MAYSCRIPT HEIGHT=2 WIDTH=2 codebase="http://www.on24.com/utils/" CODE="com.on24.requestApplet.Requester" ARCHIVE="requestApplet.jar"></APPLET>';

	//uses either the applet or msxml, based on querystring parameters. use applet when other than IE6+ or NS6+
	var objBI = getBrowserInfo();
	if (this.paramObj.useapplet && this.paramObj.useapplet=="n" && (objBI.is_nav6up || objBI.is_ie6up || objBI.is_firefox)) {
		this.appletString="";
	}
	
}

