function call_viewed(pCommunityID) {
	 call('viewed',pCommunityID);
}

function call_voted(pCommunityID) {
	 call('voted',pCommunityID);
}

function call_typeviewed(pCommunityID) {
	 call('type-viewed',pCommunityID);
}


function call(pMode,pCommunityID) {
	 $.ajax({
	     url: 'topmost'
	    ,type: 'get'
	    ,data: {mode:pMode,communityID:pCommunityID}
	    ,datatype: 'html'
	    ,success: function(data, textStatus, XMLHttpRequest) { populate(pMode, data, textStatus, XMLHttpRequest); }
	      /*
	       * error(XMLHttpRequest, textStatus, errorThrown)Function
	       * A function to be called if the request fails. The function is passed three arguments: 
	       * The XMLHttpRequest object, a string describing the type of error that occurred and an optional exception object, if one occurred. 
	       * Possible values for the second argument (besides null) are "timeout", "error", "notmodified" and "parsererror". This is an Ajax Event.
	       */
	      //, error: function(XMLHttpRequest, textStatus, errorThrown) { alert(textStatus); alert(errorThrown); }
	 });
}

function populate(pMode, data, textStatus, XMLHttpRequest) {
	$("div[id$='external-TopMostBrowser']").html($("div[id$='external-TopMostBrowser']", data).html());
	applyCornersInTo("aspect_artifactbrowser_TopMostBrowser_div_roundbox");
}
