var topoff = (this.height - height)/2;\r
var leftoff = (this.width - width)/2;\r
/* alert('dim: '+width+'x'+height+'+'+leftoff+'+'+topoff); */\r
var topoff = (this.height - height)/2;\r
var leftoff = (this.width - width)/2;\r
/* alert('dim: '+width+'x'+height+'+'+leftoff+'+'+topoff); */\r