Is the following what you want (I'm still not sure I understant what you are trying to do)?
1) You have some data in the form of lists of text/url pairs (in php arrays on the server).
2) You have the javascript code to display the dropdowns that will run on the client.
3) You need to get the text/url data into the javascript objects after the page loads at the client?
If that's what you want, I usually just echo a bunch of javascript function calls from php. Write then into the doeument <HEAD> so they are run before the page displays. You'll need some kind of a loop in the php here to write out the contents of the arrays as the parameters in the javascript function calls.
<SCRIPT LANGUAGE="JAVASCRIPT"
<?php
echo "OO ('" . arr[theText] . "', '" . arr2[theURL] . "');";
?>
</SCRIPT>