

        function doshowcontact()
        {

//                document.getElementById(img_container).src="images/" + newimgsrc + ".jpg";

                document.getElementById('navigation').innerHTML="<img src=\"images/menu_blank.jpg\" width=\"180\" height=\"344\" alt=\"\">";
                document.getElementById('main_image').src="images/main_image.jpg";


        }


        function doswapimage(img_container,newimgsrc)
        {

                        var newimagetmp = newimgsrc;

                document.getElementById(img_container).src="images/" + newimgsrc + ".jpg";

        }



        function doswapimage2(img_container,newimgsrc,linen_name)
        {

                var newimagetmp = newimgsrc;
                var newimg = newimgsrc.substr(newimgsrc.indexOf("linens_") + 7);
                if (!linen_name)
                {
                        linen_name = "";
                }
                document.getElementById(img_container).src=newimgsrc.substr(0,newimgsrc.indexOf("linens_")) + newimgsrc.substr(newimgsrc.indexOf("linens_") + 7);
                document.getElementById('linen_name').innerHTML = "<b>" + linen_name + "</b>";
                document.getElementById('linen_resize').href = "images/" + newimg.substr(0,newimg.indexOf(".jp")) + "_b.jpg";



        }



        function doswapnavigation(category_name)
        {


        if (category_name == 'home')
        {
                document.getElementById('main_body').style.backgroundImage = "";
                var home_content = '';
                //document.getElementById('main_body').innerHTML='<table border="0" cellpadding="0" cellspacing="0">\n        <tr>\n                <td colspan="3">\n                        <img src="images/ta_gallery_instruct_top.jpg" width="747" height="31" alt=""></td>\n        </tr>\n        <tr>\n                <td>\n                        <img src="images/small_gallery_left.jpg" onclick="document.getElementById(\'front_gallery\').src=\'images/front_gallery_1.jpg\';document.getElementById(\'front_gallery\').usemap=\'#front_gallery_map_1\'" width="19" height="177" alt=""></td>\n                <td>\n                        <img src="images/front_gallery_1.jpg" id="front_gallery" width="710" height="177" alt="" usemap="#front_gallery_map_1" border="0"></td>\n                <td>\n                        <img src="images/small_gallery_right.jpg" onclick="document.getElementById(\'front_gallery\').src=\'images/front_gallery_2.jpg\';document.getElementById(\'front_gallery\').usemap=\'#front_gallery_map_2\'" width="18" height="177" alt=""></td>\n        </tr>\n        <tr>\n                <td colspan="3">\n                        <img src="images/ta_gallery_instruct_bottom.jpg" width="747" height="31" alt=""></td>\n        </tr>\n        <tr>\n                <td colspan="3">\n                        <img src="images/tableattire_main_desc.jpg" width="747" height="209" alt=""></td>\n        </tr>\n</table>\n';
                home_content = home_content + '                        <table border="0" cellpadding="0" cellspacing="0" height="513">';
                home_content = home_content + '                                <tr>';
                home_content = home_content + '                                        <td colspan="7">';
                home_content = home_content + '                                                <img src="images/main_gallery_header.jpg" width="765" height="30" alt="">';
                home_content = home_content + '                                        </td>';
                home_content = home_content + '                                </tr>';
                home_content = home_content + '                                <tr>';
                home_content = home_content + '                                        <td>';
                home_content = home_content + '                                                <img src="images/main_gallery_left_border.jpg" width="10" height="332" alt=""></td>';
                home_content = home_content + '                                        <td>';
                home_content = home_content + '                                                <img src="images/main_gallery_left_arrow.jpg" onclick="document.getElementById(\'front_gallery_1\').src=\'images/main_gallery_1.jpg\';document.getElementById(\'front_gallery_2\').src=\'images/main_gallery_2.jpg\';document.getElementById(\'front_gallery_3\').src=\'images/main_gallery_3.jpg\';document.getElementById(\'gal1\').href=\'photos/front_gal_img_1.jpg\';document.getElementById(\'gal2\').href=\'photos/front_gal_img_2.jpg\';document.getElementById(\'gal3\').href=\'photos/front_gal_img_3.jpg\'" width="20" height="332" alt=""></td>';
                home_content = home_content + '                                        <td>';
                home_content = home_content + '                                                <a id="gal1" href="photos/front_gal_img_1.jpg" class="highslide" onclick="return hs.expand(this, {captionId: \'caption1\'})"><img id="front_gallery_1" border="0" src="images/main_gallery_1.jpg" width="229" height="332" alt=""></a></td>';
                home_content = home_content + '                                        <td>';
                home_content = home_content + '                                                <a id="gal2" href="photos/front_gal_img_2.jpg" class="highslide" onclick="return hs.expand(this, {captionId: \'caption1\'})"><img id="front_gallery_2"  border="0" src="images/main_gallery_2.jpg" width="247" height="332" alt=""></a></td>';
                home_content = home_content + '                                        <td>';
                home_content = home_content + '                                                <a id="gal3" href="photos/front_gal_img_3.jpg" class="highslide" onclick="return hs.expand(this, {captionId: \'caption1\'})"><img id="front_gallery_3"  border="0" src="images/main_gallery_3.jpg" width="229" height="332" alt=""></a></td>';
                home_content = home_content + '                                        <td>';
                home_content = home_content + '                                                <img src="images/main_gallery_right_arrow.jpg"  onclick="document.getElementById(\'front_gallery_1\').src=\'images/main_gallery_4.jpg\';document.getElementById(\'front_gallery_2\').src=\'images/main_gallery_5.jpg\';document.getElementById(\'front_gallery_3\').src=\'images/main_gallery_6.jpg\';document.getElementById(\'gal1\').href=\'photos/front_gal_img_4.jpg\';document.getElementById(\'gal2\').href=\'photos/front_gal_img_5.jpg\';document.getElementById(\'gal3\').href=\'photos/front_gal_img_6.jpg\'" width="20" height="332" alt=""></td>';
                home_content = home_content + '                                        <td>';
                home_content = home_content + '                                                <img src="images/main_gallery_right_border.jpg" width="10" height="332" alt=""></td>';
                home_content = home_content + '                                </tr>';
                home_content = home_content + '                                <tr>';
                home_content = home_content + '                                        <td colspan="7">';
                home_content = home_content + '                                                <img src="images/main_gallery_footer.jpg" width="765" height="38" alt=""></td>';
                home_content = home_content + '                                </tr>';
                home_content = home_content + '                                <tr>';
                home_content = home_content + '                                        <td colspan="7">';
                home_content = home_content + '                                                <img src="images/main_description.jpg" width="765" height="113" alt=""></td>';
                home_content = home_content + '                                </tr>';
                home_content = home_content + '';
                home_content = home_content + '                        </table>';
                document.getElementById('main_body').innerHTML = home_content;
        }
        else if (category_name == 'products')
        {
        document.getElementById('main_body').style.backgroundImage = "";
        document.getElementById('main_body').style.verticalAlign = "middle";
//        document.getElementById('main_body').innerHTML = '<img src="images/ta_products_content.jpg" width="765" height="512" alt="">';
        document.getElementById('main_body').innerHTML = '<h3 align="center">Products page coming soon</h3>';

        }
        else if (category_name == 'chair')
        {
        document.getElementById('main_body').style.backgroundImage = "";
        document.getElementById('main_body').style.verticalAlign = "middle";
//        document.getElementById('main_body').innerHTML = '<img src="images/ta_chair_content.jpg" width="765" height="512" alt="">';
        document.getElementById('main_body').innerHTML = '<h3 align="center">Chair Cover page coming soon</h3>';

        }
        else if (category_name == 'gallery')
        {
        document.getElementById('main_body').style.backgroundImage = "";
        document.getElementById('main_body').innerHTML = '<img border="0" src="images/ta_gallery_content.jpg" width="765" height="512" alt="" usemap="#gallery_map">';


        }
        else if (category_name == 'inquire')
        {


        document.getElementById('main_body').style.backgroundImage = "url(images/ta_inquire_content.jpg)";
        document.getElementById('main_body').style.backgroundRepeat = "no-repeat";
        document.getElementById('main_body').style.verticalAlign = "top";
        //x=236  y=154
        var inquire_table = '';
        inquire_table += '<table width="100%" height="100%" border="0">';
        inquire_table += '      <tr>';
        inquire_table += '              <td width="236">';
        inquire_table += '                      &nbsp;';
        inquire_table += '              </td>';
        inquire_table += '              <td valign="top">';
        inquire_table += '              <br>';
        inquire_table += '              <br><br><form method="post" action="inquire_submit.php">';
        inquire_table += '                      <table width="100%" border="0" cellpadding="0" cellspacing="0">';
        inquire_table += '                              <tr height="40">';
        inquire_table += '                                      <td width="120">';
        inquire_table += '                                              Name:';
        inquire_table += '                                      </td>';
        inquire_table += '                                      <td>';
        inquire_table += '                                              <input type="text" name="name" id="name">';
        inquire_table += '                                      </td>';
        inquire_table += '                              </tr>';
        inquire_table += '                              <tr height="40">';
        inquire_table += '                                      <td>';
        inquire_table += '                                              Event Location:';
        inquire_table += '                                      </td>';
        inquire_table += '                                      <td>';
        inquire_table += '                                              <input type="text" name="event_location" id="event_location">';
        inquire_table += '                                      </td>';
        inquire_table += '                              </tr>';
        inquire_table += '                              <tr height="40">';
        inquire_table += '                                      <td>';
        inquire_table += '                                              Event Date:';
        inquire_table += '                                      </td>';
        inquire_table += '                                      <td>';
        
        //inquire_table += '                                              <input type="text" name="event_date" id="event_date">';


        inquire_table += CalenDar;


        inquire_table += '                                      </td>';
        inquire_table += '                              </tr>';
        inquire_table += '                              <tr height="40">';
        inquire_table += '                                      <td>';
        inquire_table += '                                              Linen Option:';
        inquire_table += '                                      </td>';
        inquire_table += '                                      <td>';
        inquire_table += '                                              <input type="text" name="linen_option" id="linen_option">';
        inquire_table += '                                      </td>';
        inquire_table += '                              </tr>';
        inquire_table += '                              <tr height="40">';
        inquire_table += '                                      <td>';
        inquire_table += '                                              Comments / Questions:';
        inquire_table += '                                      </td>';
        inquire_table += '                                      <td>';
        inquire_table += '                                              <textarea rows="4" cols="20" name="comments" id="comments"></textarea>';
        inquire_table += '                                      </td>';
        inquire_table += '                              </tr>';
        inquire_table += '                              <tr height="40">';
        inquire_table += '                                      <td>';
        inquire_table += '                                              Additional Items:';
        inquire_table += '                                      </td>';
        inquire_table += '                                      <td>';
        inquire_table += '                                              <input type="text" name="additional_items" id="additional_items">';
        inquire_table += '                                      </td>';
        inquire_table += '                              </tr>';
        inquire_table += '                              <tr height="40">';
        inquire_table += '                                      <td>';
        inquire_table += '                                              Overlay Sheer:';
        inquire_table += '                                      </td>';
        inquire_table += '                                      <td>';
        inquire_table += '                                              <input type="text" name="overlay_sheer" id="overlay_sheer">';
        inquire_table += '                                      </td>';
        inquire_table += '                              </tr>';
        inquire_table += '                              <tr height="40" valign="top">';
        inquire_table += '                                      <td>';
        inquire_table += '                                              Chair Covers:';
        inquire_table += '                                      </td>';
        inquire_table += '                                      <td>';
        inquire_table += '                                              <input type="text" name="chair_covers" id="chair_covers"><br><label><a href="/photos/traditional.jpg" class="highslide" onclick="return hs.expand(this, {captionId: \'Traditional Chair Cover\'})">Traditional</a>: </label><input type="radio" name="chair_covers_type" value="traditional" id="chair_covers_traditional" checked><br><label><a href="/photos/self.jpg" class="highslide" onclick="return hs.expand(this, {captionId: \'Self-Tie Chair Cover\'})">Self-Tie</a>:  &nbsp;&nbsp;  </label></a><input type="radio" name="chair_covers_type" value="self" id="chair_covers_self">';
        inquire_table += '                                      </td>';
        inquire_table += '                              </tr>';
        inquire_table += '                              <tr height="40">';
        inquire_table += '                                      <td>';
        inquire_table += '                                              <input type="submit" name="submit" id="submit" value="Submit">';
        inquire_table += '                                      </td>';
        inquire_table += '                                      <td>';
        inquire_table += '                                              ';
        inquire_table += '                                      </td>';
        inquire_table += '                              </tr>';
        inquire_table += '                      </table>';
        inquire_table += '              </form>';
        inquire_table += '              </td>';
        inquire_table += '      </tr>';
        inquire_table += '</table>';

        
        
        document.getElementById('main_body').innerHTML = inquire_table;
        //document.getElementById('main_body').innerHTML = '<center><input type="text" id="name"><br><input type="text" id="event_location"></center>';


//        document.getElementById('main_body').innerHTML = '<img src="images/ta_inquire_content.jpg" width="765" height="512" alt="">';

        }
        else if (category_name == 'contact')
        {
        document.getElementById('main_body').style.backgroundImage = "";

        document.getElementById('main_body').innerHTML = '<img src="images/ta_contact_content.jpg" width="765" height="512" alt="">';


//        document.getElementById('main_image').src="images/" + category_name + "_image_1.jpg";

        }

        }



