<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div>Hi,</div><div><br></div><div>due to the amount of layers which i'm currently putting into a script I would like to define the layers in a separate script outside my app.js script which contains the viewport ext windows etc.</div><div><br></div><div>I have tried simply putting the layer definitions into layers.js and loading them before the app.js in the html page, but the layers are loading.</div><div><br></div><div>How would I do this? Do they have to be declared somewhere are global variables?</div><div><br></div><div><br></div><div>yours,</div><div><br></div><div>Rob </div></div></body></html>