function conn_icon() {

this.ajax = new ajaxtester();
this.ajax.test();


	if ( typeof conn_icon._initialized == "undefined" ) {

		/*
		  Connected Popup
	 */
		conn_icon.prototype.con = function (UID) {
			if (typeof(this.send_call) == "undefined") 
			this.send_call = new send_call(this, "servicesearch");
			this.send_call.set_call("search_connections_popup");
			var pass_vars = new Array();
			pass_vars["UID"] = UID;             
			this.send_call.set_url_vars(pass_vars);
			this.send_call.send(this.ajax.ajax_support);
		}

			
		conn_icon.prototype.return_call = function( response_text, call ) {
			switch( call ) {
			case "search_connections_popup":
			  this.popup = new dialog(); this.popup.width = "300px"; this.popup.build();
				this.popup.obj.setHeader('<span>Connected</span>');        
				this.popup.obj.setBody('<span>'+response_text+'</span>');
				this.popup.obj.render(document.body);   
				this.popup.obj.show();
				this.popup.obj.center();
				break;
			}
		}
		
		
		conn_icon._initialized = true;
	} 
} 