Topic: I'm having a strange problem using form fields on my site

I am currently using the image_upload mod on my site but I just noticed something really weird. In my main.tpl I have a search form in there but I can't select the amount of images from the dropdown box in the image upload mod. The only time I can use it is if I remove the </form> which of course I can't do for obvious reasons. Anyway If I use the main.tpl that displays just the left side blocks then the problem goes away. The problem is present when I use both left/right sides. Here is my main.tpl file. Maybe someone can tell me what to do.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
<html dir="<pun_content_direction>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<pun_char_encoding>" />
<pun_head>
    <style type="text/css">
  
#left {
    float:left;
    width: 150px;
    overflow: hidden;
}

#right {
    float:right;
    width: 150px;
    overflow: hidden;
}

#main { 
    display: block; 
    overflow: hidden; 
    width: auto; 
    padding-left: 5px; 
    padding-right: 5px; 
    margin-left: 1px; 
    margin-right: 1px;
}

    </style>
</head>

<body>
<a id="top" name="top"><!-- --></a>

<div id="punwrap">
    <div id="pun<pun_page>" class="pun">
        <div id="brdheader" class="block">
            <div class="box">
                <div id="brdtitle" class="inbox">
<pun_title>
<pun_desc>
            </div>
<pun_navlinks>
<pun_status>
            </div>
            </div>

<div id="left">
    <div class="block">
        <h2><span>Menu</span></h2>
            <div id="menu" class="box">
<pun_sidelinks>            
            </div>
            </div>


<div class="block">
    <h2 class="block2"><span>punBB Support</span></h2>
        <div id="morelinks" class="box">
            <div class="inbox">
        <ul>
            <li><a target="_blank" href="http://punbb.org/">punBB</a></li>
            <li><a target="_blank" href="http://www.punres.org/">punBB Resource</a></li>
            <li><a target="_blank" href="http://blog.punbb.org/">punBB Dev. Blog</a></li>
            <li><a target="_blank" href="http://dev.punbb.org/">punBB Development</a></li>

        </ul>        
            </div>
        </div>
    </div>


    <div class="block">
        <h2><span>Search</span></h2>
            <div class="box">
                <div class="inbox">
                    <form id="search" method="get" action="search.php">
    <fieldset>
    <legend>Search Criteria!</legend>
    <input type="hidden" name="action" value="search" />
    <label class="conl">Keyword search<br /><input class="textbox" type="text" name="keywords" size="15" maxlength="100" />
    <br />
    </label>

    <label class="conl">Author search<br /><input class="textbox" id="author" type="text" name="author" size="15" maxlength="25" />
    <br />
    </label>
        <p class="clearb"></p>
    </fieldset>
        <div style="text-align: center;"><input type="submit" class="button" name="search" value="Submit" accesskey="s" /></div>
                    </form>
            </div>
        </div>
    </div>

    <div class="block">
        <h2 class="block2"><span>Affiliates</span></h2>
            <div class="box">
                <div class="inbox">
<pun_include "affiliates.php">   
            </div>
        </div>
    </div>
</div>
    
    <div id="right">
        <div class="block">
            <h2 class="block2"><span>Whos Online?</span></h2>
                <div class="box">
<pun_online>
            </div>
        </div>

<pun_toppost>


    <div align="center" class="block">
        <h2 class="block2"><span>Advertise Here</span></h2>
            <div class="box">
                <div class="inbox">
<script type="text/javascript"><!--
google_ad_client = "pub-9565429648226067";
google_ad_width = 120;
google_ad_height = 240;
google_ad_format = "120x240_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "496690";
google_color_text = "000000";
google_color_url = "496690";
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<script type="text/javascript"><!--
google_ad_client = "pub-9565429648226067";
google_ad_width = 125;
google_ad_height = 125;
google_ad_format = "125x125_as_rimg";
google_cpa_choice = "CAAQsPa39gEaCMO_5Z8K4PVHKJDD4IEB";
google_ad_channel = "";
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>        
            </div>
        </div>
    </div>
</div>
    
    <div id="more">
        <div id="main">
            <div class="block">
                <h2 class="block2"><span>Advertise Here</span></h2>
                    <div class="box">
                        <div class="inbox">
                            <div align="center"><script type="text/javascript"><!--
google_ad_client = "pub-9565429648226067";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "496690";
google_color_text = "000000";
google_color_url = "496690";
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
                </div>
            </div>
        </div>
    </div>
      
<pun_announcement>
<pun_advertisement>
<pun_information>
<pun_guest_information>
<pun_main>
<!--<pun_status>-->
            </div>
        </div>
   
    <div class="clearer"></div>
        <pun_footer>
            </div>
        </div>
</body>
</html>

Thanks
Bingiman