Hi all, I have a layer that I would like to control it's .LEFT value depending on resolutions...something like:

if (window.screen.width < 1024) {
LEFT=110;
}
if (window.screen.width > 1020) {
LEFT=230 ;
}
if (window.screen.width > 1200) {
LEFT=360;
}

Anyone have an idea on how to do this?