function Client() {
}

Client.prototype.mobileClients = [
	"midp",
	"240x320",
	"blackberry",
	"netfront",
	"nokia",
	"panasonic",
	"portalmmm",
	"sharp",
	"sie-",
	"sonyericsson",
	"symbian",
	"windows ce",
	"benq",
	"mda",
	"mot-",
	"opera mini",
	"philips",
	"pocket pc",
	"sagem",
	"samsung",
	"sda",
	"sgh-",
	"vodafone",
	"xda",
	"iphone",
    "ipad",
	"android"
];

Client.prototype.isMobileClient = function(userAgent)
{
	userAgent=userAgent.toLowerCase();
	for (var i in this.mobileClients) {
		if (userAgent.indexOf(this.mobileClients[i]) != -1) {
			return true;
		}
	}
    return false;
}

var client = new Client();
client.isMobileClient(navigator.userAgent);

$(document).ready(function(){  
    //only load tooltips for desktop clients
    if(!client.isMobileClient(navigator.userAgent)){
      $('#recent a,#projects a,#lastfm a').tooltip({ 
          track: true, 
          delay: 0, 
          showURL: false, 
          showBody: " - ", 
          fade: 0 
      });
}
/*
function setEqualHeight(columns)
 {
 var tallestcolumn = 0;
 columns.each(
 function()
 {
 currentHeight = $(this).height();
 if(currentHeight > tallestcolumn)
 {
 tallestcolumn  = currentHeight;
 }
 }
 );
 columns.height(tallestcolumn);
 }
$(document).ready(function() {
//setEqualHeight($(".column_content"));
});
*/

});

