/**
 * Defines global variable: <code>AttachmentPlaceConfig</code>
 */

/**
 * This jsclass creates common values constants for attachment place.
 *
 * @constructor
 * @version
 * @lastmodified
 * @extends ComponentConfig
 */
function JSAttachmentPlaceConfig() {
	
	/**
   * attachment manager popup name<br>
   * default: <code>"attachmentManager"</code>
   * @type String
   */
	this.attachmentManagerWindowName = "attachmentManager";
	
	/**
   * attachment manager popup url
   * @type String
   */
	this.attachmentManagerURL = "/scripts/attachment-manager.html";
	
	/**
   * attachment manager popup params, window propertie<br>
   * default: <code>"width=400, height=400"</code>
   * @type String
   * @link http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/open_0.asp
   * @link http://www.mozilla.org/docs/dom/domref/dom_window_ref76.html
   */
	this.attachmentManagerOpenParams = "width=400,height=400,center=true,modal=true";
	
	/**
	 * attachment manager default width
	 * @type int
	 */
	this.defaultWidth = 400;
	
	/**
	 * attachment manager default height
	 * @type int
	 */
  	this.defaultHeight = 300;
	
	/**
	 * append:<br>
	 * <code>true</code>  - inserts new item before first item <br>
	 * <code>false</code> - inserts new item after last item<br>
	 * @type boolean
	 */
	this.append = false;
	
	/**
	 * HTML template file name, should be located in ComponentConfig.scriptPath
	 * @type String
	 * @see ComponentConfig.scriptPath
	 */
	this.htmlFile = "componence-attachment-place-template.html";
}
if(window.JSComponentConfig) JSAttachmentPlaceConfig.prototype = new JSComponentConfig();
var AttachmentPlaceConfig = new JSAttachmentPlaceConfig();

/*
* Value of follow variables is a template block name
* See componence-attachment-place-template.html
*/
var COMPONENCE_DEFAULT_ATTACHMENT_PLACE = "Place";
var COMPONENCE_CUSTOM_ATTACHMENT_PLACE  = "CustomPlace";
var COMPONENCE_ANOTHER_ONE_PLACE        = "AnotherOnePlace";




