Ok I have a test page here http://www.lgwebproduction.com/tmp/weather.php . What I am trying to do is setup local weather based on a users zipcode. Now I setup this test page to show that my code does work in FireFox but does not work in IE7. I have tried this about 3 other ways than what is present here with the same outcome. Now The weather just gets stuck at "Loading..." in IE7. If I was to load the weather on initial page load, it will show up. But it won't load dynamically. Any body got any ideas? I have also pasted the source of my test file.

HTML Code:
<title>Weather Test</title>
<script type="text/javascript">
    /***********************************  ORIGINAL CODE  **************************************/
    /* Locations can be edited manually by updating 'wx_locID' below.  Please also update */
    /* the location name and link in the above div (wx_module) to reflect any changes made. */
    //var wx_locID = '36861';

    /* If you are editing locations manually and are adding multiple modules to one page, each */
    /* module must have a unique div id.  Please append a unique # to the div above, as well */
    /* as the one referenced just below.  If you use the builder to create individual modules  */
    /* you will not need to edit these parameters. */
    //var wx_targetDiv = 'wx_module_4585';

    /* Please do not change the configuration value [wx_config] manually - your module */
    /* will no longer function if you do.  If at any time you wish to modify this */
    /* configuration please use the graphical configuration tool found at */
    /* https://registration.weather.com/ursa/wow/step2 */
    //var wx_config='SZ=300x250*WX=FHW*LNK=SSNL*UNT=F*BGI=spring*MAP=null|null*DN=lgwebproduction.com*TIER=0*PID=1034638734*MD5=0cb4394ede15a6007278e2f44e9d0a07';

    //document.write('<scr'+'ipt src="'+document.location.protocol+'//wow.weather.com/weather/wow/module/'+wx_locID+'?config='+wx_config+'&proto='+document.location.protocol+'&target='+wx_targetDiv+'"></scr'+'ipt>');  
    /**********************************  END ORIGINAL CODE  ************************************/

    function change_weather(zip) {
        var weather = document.getElementById('weather_wrapper');
        weather.innerHTML = "";
        var wx_locID = zip;
        var wx_targetDiv = 'weather';
        var wx_config='SZ=300x250*WX=FHW*LNK=SSNL*UNT=F*BGI=spring*MAP=null|null*DN=lgwebproduction.com*TIER=0*PID=1034638734*MD5=0cb4394ede15a6007278e2f44e9d0a07';
        var newdiv = document.createElement('div');
        newdiv.id = "weather_script";
        var weatherdiv = document.createElement('div');
        weatherdiv.id = "weather";
        loadJSFile('weather_script', 'http://wow.weather.com/weather/wow/module/'+wx_locID+'?config='+wx_config+'&proto=http:&target='+wx_targetDiv);
    function loadJSFile(div, link)
        var newScript = document.createElement('script');
        newScript.type = "text/javascript";
        newScript.src = link;


    <div id="weather_wrapper"></div>

        <input type="button" name="weather1" value="36861" onclick="change_weather('36861')" />
        <input type="button" name="weather2" value="99701" onclick="change_weather('99701')" />