To change horizontal position of floatie, change value of winWidth in definition for
floatobj.style.left=dsocx+winWidth-floatWidth-5+"px".
To keep position fluid, divide by a number, e.g., ...