function init(width,height)
{

var w=(screen.width-width)/2,h=(screen.height-height)/2;
self.moveTo(w,h);
self.resizeTo(width,height); 
}