<%@ page language="C#" masterpagefile="~/MasterPage.master" autoeventwireup="true" inherits="ContactUs, App_Web_contactus.aspx.cdcab7d2" title="Untitled Page" %>

<asp:Content ContentPlaceHolderID="ContentMain" runat="server" ID="as">

    <script language="javascript" type="text/javascript">
function validate()
{
      if (document.getElementById("<%=txtName.ClientID%>").value=="")
      {
                 alert("Enter Your Name");
                 document.getElementById("<%=txtName.ClientID%>").focus();
                 return false;
             }
             if (document.getElementById("<%=txtName.ClientID%>").value != "") 
             {

                 var emailRegEx = /^[a-zA-Z]+(-_ [a-zA-Z]+)*/;
                 if (document.getElementById("<%=txtName.ClientID %>").value.search(emailRegEx) == -1) {
                     alert('Special Characters Not Allowed ');
                     document.getElementById("<%=txtName.ClientID%>").focus();
                     return false;
                 }

             }
      if(document.getElementById("<%=txtEmail.ClientID %>").value=="")
      {
      var x=document.getElementById("<%=txtEmail.ClientID %>").value.length;
        alert("Enter Your Email");
              document.getElementById("<%=txtEmail.ClientID %>").focus();
                return false;
      
               
      }
      if(document.getElementById("<%=txtEmail.ClientID%>").value!="")
      {
      var reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
      var email =document.getElementById("<%=txtEmail.ClientID%>").value;
      if(reg.test(email) == false) {
 
      alert('Invalid Email Address');
      return false;
      }
      }
      if (document.getElementById("<%=txtCountry.ClientID%>").value=="")
      {
                 alert("Enter Country Name");
                 document.getElementById("<%=txtCountry.ClientID%>").focus();
                 return false;
             }
             if (document.getElementById("<%=txtCountry.ClientID%>").value != "") {

                 var emailRegEx = /^[a-zA-Z]+(-_ [a-zA-Z]+)*/;
                 if (document.getElementById("<%=txtCountry.ClientID %>").value.search(emailRegEx) == -1) {
                     alert('Special Characters Not Allowed ');
                     document.getElementById("<%=txtCountry.ClientID%>").focus();
                     return false;
                 }

             }
      
      if (document.getElementById("<%=txtQuery.ClientID%>").value=="")
      {
                 alert("Enter Your Query");
                 document.getElementById("<%=txtQuery.ClientID%>").focus();
                 return false;
      }
      if(document.getElementById("<%=txtQuery.ClientID %>").value.length>100)
      {
       alert("Query Field Word Length Exceed (Advise:Not More Than 100 Characters.)");
              document.getElementById("<%=txtQuery.ClientID %>").focus();
               return false;
      }
      return true;
      }

    function isAlphabet(evt) {

        var regex = new RegExp("^[0-9]+$");
        var key = String.fromCharCode(!evt.charCode ? evt.which : evt.charCode);
        if (!regex.test(key)) {

            return false;
        }
    }

    </script>
     <a href="http://blogs.assignmentsweb.com" target="_blank" class="blog">
        Blog
    </a>
    <div class="shamsul">
        <div class="shams">
            <div class="right_part" style="width: 45%; float: left; margin-left: 20px">
                <div class="right_title">
                    <h2>
                        Contact Us</h2>
                </div>
                <div class="right_text" style="width: 100%;">
                    <p>
                        <strong>Email&nbsp;&nbsp;:</strong><span style="color: #000; font-size: 15px;"> Info@assignmentsweb.com</span></p>
                    <div class="contact_text" style="width: 100%">
                        <img src="images/usa-flag.jpg" width="15">
                        US :+1-585-535-1023 ,
                        <img src="images/uk-flag.jpg" width="15">
                        UK :+44- 208-133 -5697
                        <br>
                        <img src="images/australia-flag.jpg" width="15">
                        AUS +61- 280-07- 5697</div>
                    <%--<span class="grn-num"><strong><br /> Skype :</strong></span><span style="color:#000; font-size:15px;"> 347-732-1082</span>--%>
                    <p style="color: #F00">
                        Please feel free to contact us for any query. Our team will get back to you soon.
                    </p>
                    <form>
                    <fieldset>
                        <legend>Please fill the form below:</legend>
                        <p>
                            <div class="name_cont">
                                Name</div>
                            <asp:TextBox ID="txtName" runat="server" CssClass="txtbox" MaxLength="50"></asp:TextBox>
                        </p>
                        <p>
                            <div class="name_cont">
                                Email</div>
                            <asp:TextBox ID="txtEmail" runat="server" CssClass="txtbox" MaxLength="50"></asp:TextBox>
                        </p>
                        <p>
                            <div class="name_cont">
                                Country</div>
                            <asp:TextBox ID="txtCountry" runat="server" CssClass="txtbox" MaxLength="50"></asp:TextBox>
                        </p>
                        <p>
                            <div class="name_cont">
                                Phone no.</div>
                            <asp:TextBox ID="txtPhone" runat="server" CssClass="txtbox" onkeypress="javascript:return isAlphabet(event);"
                                MaxLength="12"> </asp:TextBox>
                        </p>
                        <p>
                            <div class="name_cont">
                                Query</div>
                            <%--<input name="textfield" type="text" class="txtbox" id="textfield" />--%>
                            <asp:TextBox ID="txtQuery" runat="server" CssClass="txtbox" TextMode="MultiLine"></asp:TextBox>
                        </p>
                        <p>
                            <div class="name_cont">
                                Attach</div>
                            <%--<input name="textfield" type="file" class="txtbox" id="textfield" />--%>
                            <asp:FileUpload ID="flUload" runat="server" class="txtbox" />
                        </p>
                        <p>
                            <center style="width: 71%">
                                <%--<a href="#"><img  src="images/submit.png" width="85" height="28" border="0" ></a>--%>
                                <asp:ImageButton ID="btnSubmit" runat="server" ImageUrl="images/submit.png" Width="85"
                                    Height="28" Style="margin-left: 50px;" border="0" OnClick="btnSubmit_Click" />
                            </center>
                        </p>
                    </fieldset>
                    </form>
                    To chat live with our customer service, <a href="https://messenger.providesupport.com/messenger/06n66r2bdjqwv1g6jvzd3usnu2.html"
                        style="color: #F00" target="_blank"><strong>click here </strong></a>
                </div>
            </div>
            <div class="right_part" style="width: 48%">
                <img src="images/contact_us.jpg" width="360" border="0" align="right" style="padding-right: 20px;"></div>
            <div class="clr">
            </div>
        </div>
       </div>

</asp:Content>