
String.prototype.getId=function getIdFunction()
{
  return this.slice((this.indexOf("_")) + 1);
}

String.prototype.getURI=function getURIFunction()
{
	sliced=this.split("/")
	return sliced[(sliced.length -1)];	
}


function log(msg){
	
	if (typeof console == "object")
		console.log(msg)
	
}
