Changing Frame source with javascript

Hi everyone,

I have a page which from a select box you can swap pages in the second frame. in works fine in my localhost but as soon as i put it online the swapping of pages does not work. it does not even go check. Belowe is my index and the page which hold the address of the other pages

INDEX



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

    <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    </head>

    <frameset border="0" frameborder="0" rows="65,*">
        
        <frame src="index display on top">
        
        <frame src="pages i wanna display" name="base_frame">
    
    </frameset>
    
</html>


THE SWITCHER



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

    <head>
        <title></title>
        
        <script type="text/javascript">
            function showTemplate(options) {
                parent.base_frame.location.href = options;
            }
        </script>
    </head>

    <body style="background:#000; color:#fff; font-size:12px; font-family: arial; ">
    
        <div style="color:#fff; margin:0px auto 0px auto; width:900px; overflow:hidden;">
            
            <div style="float:left; margin: 0px 40px 0px 0px;">
                <img src="images/logo.jpg" width="172px" height="40px" alt="" />
            </div>
            
            <div style="float:left;">
                <span><b>Select a template:</b></span><br/>
                <select name="template" onChange="showTemplate(this.value)">
                    <option value="address of the page 1">Page 1</option>
                    <option value="address of the page 2">Page 2</option>
                </select>
            </div>
            
        </div>
    
    </body>
    
</html>


Thanks for any help.

Regards,

Jerome