
var GnxEditor_MovActiveX = NxScriptClass.create();

GnxEditor_MovActiveX.prototype = {
	
	initialize : function () {
	
		this.n4Width				= 0;		 	 		
		this.n4Height				= 0;	
		this.strClientID			= "NexonMovieUp";
		this.n4Version				= 35;
		this.strModuleVersion		= "2006-01-16 00:00:00";
		this.strInterfaceVersion	= "2006-07-17 15:00:00";
		this.strClassID				= "7760A44F-C0DE-4E79-996C-4EF8FDD3E113";
		this.strDownURL				= "http://platform.nx.com/ActiveX/MovieEditor/ENJ/";
		this.strUpdateInfoFile		= "http://platform.nx.com/ActiveX/MovieEditor/ENJ/SelfMV.txt";
	}

,	Write : function ( width, height ) {
		
		this.n4Width	= width;
		this.n4Height	= height;
		
		document.write ( '<object id="' + this.strClientID + '" width="' + this.n4Width + '" height="' + this.n4Height + '" CLASSID="CLSID:' + this.strClassID + '" CODEBASE="' + this.strDownURL + this.strClientID + '.cab#version=1,0,0,' + this.n4Version + '">' );
		document.write ( '<param name="ContinueUpload"		value="0">' );
		document.write ( '<param name="UpdateInfoFile"		value="' + this.strUpdateInfoFile + '">' );
		document.write ( '</object>' );
	}
};

