
    function showHideDivBrochure()
    {
        var divstyle = new String();
        divstyle = document.getElementById("clickbrochure").style.visibility;
        if(divstyle.toLowerCase()=="visible" || divstyle == "")
        {
            if(document.getElementById('recaptcha_contact'))
            {
               document.getElementById('recaptcha_contact').innerHTML = 
                  '<div id="recaptcha_image" style="float: left; padding: 0px;></div>' + 
                  '<div class="recaptcha_only_if_incorrect_sol" style="color:red">' +
                  'Incorrect please try again ' + 
                  '</div>' + 
   
                   '     <div style="float: right; padding: 0 3px 0 3px;">' + 
                   '        <a href="javascript:Recaptcha.reload()"><img src="images/rCAPTCHA-refresh.gif" border="0" alt="refresh" /></a>' + 
                   '     </div>' + 
                        
                   '     <div class="recaptcha_only_if_image" style="float: right; padding: 0 3px 0 3px;">' + 
                   '        <a href="javascript:Recaptcha.switch_type(\'audio\')"><img src="images/rCAPTCHA-audio.gif" border="0" alt="audio" /></a>' + 
                   '     </div>' + 
                        
                   '     <div class="recaptcha_only_if_audio" style="float: right; padding: 0 3px 0 3px;">' + 
                   '        <a href="javascript:Recaptcha.switch_type(\'image\')"><img src="images/rCAPTCHA-image.gif" border="0" alt="image" /></a>' + 
                   '     </div>' + 
                        
                   '     <div style="float: right; padding: 0 3px 0 3px;">' + 
                   '        <a href="javascript:Recaptcha.showhelp()"><img src="images/rCAPTCHA-help.gif" border="0" alt="help" /></a>' + 
                   '     </div>' + 
                        
                   '     <span class="recaptcha_only_if_image">Enter the words above:</span>' + 
                   '     <span class="recaptcha_only_if_audio">Enter the numbers you hear:</span>' + 
                        
                   '     <div style="padding: 0px;">' + 
                   '        <input type="text" id="recaptcha_response_field" name="recaptcha_response_field" />' + 
                   '     </div>';
                  }
            
            if(document.getElementById('recaptcha_downloadbrochure'))
            {
               document.getElementById('recaptcha_downloadbrochure').innerHTML = '';
            }
            setTimeout("showRecaptcha('recaptcha_contact')",1000);            
            document.getElementById("clickbrochure").style.visibility = "hidden";
            animatedcollapse.toggle("ContactInfo");            
        }
        else
        {
            document.getElementById("clickbrochure").style.visibility = "visible";
            animatedcollapse.toggle("ContactInfo");            
        }
    }

 

    function showHideDivContact()
    {
        var divstyle = new String();
        divstyle = document.getElementById("clickcontact").style.visibility;
        if(divstyle.toLowerCase()=="visible" || divstyle == "")
        {
            if(document.getElementById('recaptcha_downloadbrochure'))
            {
               document.getElementById('recaptcha_downloadbrochure').innerHTML = 
                  '<div id="recaptcha_image" style="float: left; padding: 0px;></div>' + 
                  '<div class="recaptcha_only_if_incorrect_sol" style="color:red">' +
                  'Incorrect please try again ' + 
                  '</div>' + 
   
                   '     <div style="float: right; padding: 0 3px 0 3px;">' + 
                   '        <a href="javascript:Recaptcha.reload()"><img src="images/rCAPTCHA-refresh.gif" border="0" alt="refresh" /></a>' + 
                   '     </div>' + 
                        
                   '     <div class="recaptcha_only_if_image" style="float: right; padding: 0 3px 0 3px;">' + 
                   '        <a href="javascript:Recaptcha.switch_type(\'audio\')"><img src="images/rCAPTCHA-audio.gif" border="0" alt="audio" /></a>' + 
                   '     </div>' + 
                        
                   '     <div class="recaptcha_only_if_audio" style="float: right; padding: 0 3px 0 3px;">' + 
                   '        <a href="javascript:Recaptcha.switch_type(\'image\')"><img src="images/rCAPTCHA-image.gif" border="0" alt="image" /></a>' + 
                   '     </div>' + 
                        
                   '     <div style="float: right; padding: 0 3px 0 3px;">' + 
                   '        <a href="javascript:Recaptcha.showhelp()"><img src="images/rCAPTCHA-help.gif" border="0" alt="help" /></a>' + 
                   '     </div>' + 
                        
                   '     <span class="recaptcha_only_if_image">Enter the words above:</span>' + 
                   '     <span class="recaptcha_only_if_audio">Enter the numbers you hear:</span>' + 
                        
                   '     <div style="padding: 0px;">' + 
                   '        <input type="text" id="recaptcha_response_field" name="recaptcha_response_field" />' + 
                   '     </div>';
            }
            
            if(document.getElementById('recaptcha_contact'))
            {
               document.getElementById('recaptcha_contact').innerHTML = '';
            }
            setTimeout("showRecaptcha('recaptcha_downloadbrochure')",1000);            
            document.getElementById("clickcontact").style.visibility = "hidden";
            animatedcollapse.toggle("BrochureInfo");
        }
        else
        {
            document.getElementById("clickcontact").style.visibility = "visible";
            animatedcollapse.toggle("BrochureInfo");            
        }
    }

