OT

var xposition = (screen.width – width);
var yposition = (screen.height – height);