rem: location.href = "http: 
add: location.href = this.getWrappedURL() + "func=manageAssets"; 
context: function Asset() {		//properties        this.url = "";        this.rank = 1;        this.labels = new Array();        this.assetId = "";		this.type = "";        this.title = "";        this.size = 0;        this.lastUpdate = "";        this.icon = "";        this.div = null;        this.dragEnabled = true;        this.allowMultiSelect = true;        this.isParent=false;		//---------Method Implementations -------------this.registerEvents = function() {			this.div.ondblclick=Asset_doubleClick;		this.div.onmousedown=Asset_mouseDown;		this.div.oncontextmenu=Asset_rightClick;	}//Moving to a new parent (move)//----------------------//url + ?||& + func=setParent&assetId= + assetId 		this.setParent = function(asset) {	//parentURL	location.href = "http://" + manager.tools.getHostName(location.href) + manager.tools.addParamDelimiter(this.url) + "func=setParent&assetId="+ asset.assetId;		}				//Set the rank of an asset amongst its siblings (move)//---------------------------------------------//url + ?||& + func=setRank&rank= + newRankthis.setRank = function(rank) {	//to child	location.href = "http://" + manager.tools.getHostName(location.href) + manager.tools.addParamDelimiter(this.url) + "func=setRank&rank="+ rank;		}//url + ?||& + func=editTree 				this.editTree = function() {		//parentURL	location.href = "http://" + manager.tools.getHostName(location.href) + manager.tools.addParamDelimiter(this.url) + "func=editTree";		}//Edit the properties of an asset (edit)//-------------------------------//url + ?||& + func=editthis.edit = function() {	location.href = "http://" + manager.tools.getHostName(location.href) + manager.tools.addParamDelimiter(this.url) + "func=edit&proceed=manageAssets";		}//Edit the properties of an asset (edit)//-------------------------------//url + ?||& + func=editthis.go = function() {	location.href = "http://" + manager.tools.getHostName(location.href) + manager.tools.addParamDelimiter(this.url) + "func=manageAssets";		}//View an asset (view)//-------------//url + ?||& + func=viewthis.view = function() {	location.href = "http://" + manager.tools.getHostName(location.href) + this.url;		}//displays the right click context menuthis.getContextMenu = function () {    var arr = new Array();        if (AssetManager_getManager().display.overObjects.length == 1) {    	arr[arr.length] = new ContextMenuItem(this.labels["go"],"javascript:manager.display.contextMenu.owner.go()");   	 	arr[arr.length] = new ContextMenuItem("<img src='/extras/assetManager/breakerLine.gif'>","");	    arr[arr.length] = new ContextMenuItem(this.labels["view"],"javascript:manager.display.contextMenu.owner.view()");    	arr[arr.length] = new ContextMenuItem(this.labels["edit"],"javascript:manager.display.contextMenu.owner.edit()");    }    	arr[arr.length] = new ContextMenuItem(this.labels["delete"],"javascript:manager.remove()");         	arr[arr.length] = new ContextMenuItem("<img src='/extras/assetManager/breakerLine.gif'>","");  	arr[arr.length] = new ContextMenuItem(this.labels["cut"],"javascript:AssetManager_getManager().cut()");           	arr[arr.length] = new ContextMenuItem(this.labels["copy"],"javascript:manager.copy()");       	if (AssetManager_getManager().display.overObjects.length ==1) {    	arr[arr.length] = new ContextMenuItem("<img src='/extras/assetManager/breakerLine.gif'>","");    	arr[arr.length] = new ContextMenuItem(this.labels["editTree"],"javascript:manager.display.contextMenu.owner.editTree()");        	}    	return arr;    }this.select= function() {	this.div.className="am-grid-row-over";				}this.deselect = function() {	this.div.className="am-grid-row";				}}//end object		
meta: 5314	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5314/349703173ecca3dde6079fc87ec12d2c96c28ac1/Asset.js/clean/www/extras/assetManager/Asset.js