var swidth = screen.width; var sheight = screen.height; var x_cd,y_cd,x_sw,y_sw,x_scrl,y_scrl; x_cd = (swidth - 220)/2; y_cd = (sheight/500) * 300; x_sw = (swidth - 800)/2; y_sw = (sheight - 500)/2; if( swidth >= 900 ){ y_sw = (sheight - 500)/2 -50; } x_scrl = 11 + x_sw; y_scrl = y_sw;
Make your own free website on Tripod.com