Script to copy values not working

I have the script below, it copies values from one field of the form to another (addresses) when a checkbox is checked, then if unchecked the previous values are restored.

For some reason its simply not working:


<SCRIPT LANGUAGE="JavaScript">
var ResCareOf = "";
var ResStr = "";
var ResApt = "";
var ResCity = "";
var ResState = "";
var ResZip = "";
var ResCntry = "";
var ResCntryIndex = 0;

function InitSaveVariables(form) {
ResCareOf = form.ResCareOf.value;
ResStr = form.ResStr.value;
ResApt = form.ResApt.value;
ResCity = form.ResCity.value;
ResState = form.ResState.value;
ResZip = form.ResZip.value;
ResCntryIndex = form.ResCntry.selectedIndex;
ResCntry = form.ResCntry[ResCntryIndex].value;

}

function MailingtoResidenceAddress(form) {
if (form.copy.checked) {
InitSaveVariables(form);
form.ResCareOf.value = form.MailCareOf.value;
form.ResStr.value = form.MailStr.value;
form.ResApt.value = form.MailApt.value;
form.ResCity.value = form.MailCity.value;
form.ResState.value = form.MailState.value;
form.ResZip.value = form.MailZip.value;
form.ResCntry.selectedIndex = form.MailCntry.selectedIndex;

}
else {
form.ResCareOf.value = ResCareOf;
form.ResStr.value = ResStr;
form.ResApt.value = ResApt;
form.ResCity.value = ResCity;
form.ResState.value = ResState;
form.ResZip.value = ResZip;      
form.ResCntry.selectedIndex = ResCntry;
   }
}
//  End -->
</script>

The checkbox code is:

<input name="copy" type="checkbox" id="copy" value=""/>

The form name is 'form1'  and the field names are correct in the script.
I am not sure what I may be missing.
LVL 1
AleksAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Julian HansenCommented:
I had to guess what you were doing but I did a mockup of your page here - full listing below. Seems to work fine.

I am guessing that your page is submitting and clearing the values but without seeing the full code I cannot say for sure. In the sample you will see there are two buttons that fire off the two different functions with an onlick. Notice that the onclick is defined as
onclick="return InitSaveVariables(this.form);

Open in new window

- note the return - and in the two functions there is a return false. This is to prevent the default behaviour of the form from firing and submitting the form
Full source here
<!doctype html>
<html>
<head>
<title>Test</title>
<link href="css/bootstrap.css" rel="stylesheet" />
<link href="css/custom.css" rel="stylesheet" />
<style type="text/css">
</style>
</head>
<body>
<div class="wrapper">
  <header>
    <div class="container">
    <h1 class="col-lg-9">Testing copy script (Javascript)</h1>
    </div>
  </header>
  <div class="container">
    <h5>Author: Julian Hansen</h5>
    <form name="form1">
      <div class="row">
        <div class="col-lg-6">
          <div class="form-group">
            <input name="copy" type="checkbox" id="copy" value=""/>
          </div>
        </div>
      </div>
      <div class="row">
        <div class="col-lg-6">
          <div class="form-group">
            <input name="ResCareOf" value="1" placeholder="ResCarOf" />
          </div>
          <div class="form-group">
            <input name="ResStr" value="2" placeholder="ResStr" />
          </div>
          <div class="form-group">
            <input name="ResApt" value="3" placeholder="ResApt" />
          </div>
          <div class="form-group">
            <input name="ResCity" value="4" placeholder="ResCity" />
          </div>
          <div class="form-group">
            <input name="ResState" value="5" placeholder="ResState" />
          </div>
          <div class="form-group">
            <input name="ResZip" value="6" placeholder="ResZip" />
          </div>
          <div class="form-group">
            <select name="ResCntry">
              <option value="1">Country 1</option>
              <option value="2">Country 2</option>
              <option value="3">Country 3</option>
              <option value="4">Country 4</option>
              <option value="5">Country 5</option>
              <option value="6">Country 6</option>
              <option value="7">Country 7</option>
              <option value="8">Country 8</option>
            </select>
          </div>
          <div class="form-group">
            <input name="ResCntryIndex" value="8" placeholder="ResCntryIndex" />
          </div>
        </div>
        <div class="col-lg-6">
          <div class="form-group">
            <input name="MailCareOf" value="1" placeholder="MailCarOf" />
          </div>
          <div class="form-group">
            <input name="MailStr" value="2" placeholder="MailStr" />
          </div>
          <div class="form-group">
            <input name="MailApt" value="3" placeholder="MailApt" />
          </div>
          <div class="form-group">
            <input name="MailCity" value="4" placeholder="MailCity" />
          </div>
          <div class="form-group">
            <input name="MailState" value="5" placeholder="MailState" />
          </div>
          <div class="form-group">
            <input name="MailZip" value="6" placeholder="MailZip" />
          </div>
          <div class="form-group">
            <select name="MailCntry">
              <option value="1">Country 1</option>
              <option value="2">Country 2</option>
              <option value="3">Country 3</option>
              <option value="4">Country 4</option>
              <option value="5">Country 5</option>
              <option value="6">Country 6</option>
              <option value="7">Country 7</option>
              <option value="8">Country 8</option>
            </select>
          </div>
          <div class="form-group">
            <input name="MailCntryIndex" value="8" placeholder=MailCntryIndex" />
          </div>
        </div>
      </div>
      <div class="row text-right">
        <button class="btn btn-default" onclick="return InitSaveVariables(this.form);">Save</button>
        <button class="btn btn-default" onclick="return MailingtoResidenceAddress(this.form);">MailingtoResidenceAddress</button>
      </div>
    </form>
  </div>
</div>
<footer>
  <div class="container">
    Copyright Julian Hansen &copy; 2015
  </div>
</footer>

<script src="http://code.jquery.com/jquery.js"></script>

<!-- Latest compiled and minified JavaScript -->
<script src="js/bootstrap.js"></script>
<script>
var ResCareOf = "";
var ResStr = "";
var ResApt = "";
var ResCity = "";
var ResState = "";
var ResZip = "";
var ResCntry = "";
var ResCntryIndex = 0;

function InitSaveVariables(form) {
  ResCareOf = form.ResCareOf.value;
  ResStr = form.ResStr.value;
  ResApt = form.ResApt.value;
  ResCity = form.ResCity.value;
  ResState = form.ResState.value;
  ResZip = form.ResZip.value;
  ResCntryIndex = form.ResCntry.selectedIndex;
  ResCntry = form.ResCntry[ResCntryIndex].value;
  return false;

}

function MailingtoResidenceAddress(form) {
  if (form.copy.checked) {
    InitSaveVariables(form);
    form.ResCareOf.value = form.MailCareOf.value;
    form.ResStr.value = form.MailStr.value;
    form.ResApt.value = form.MailApt.value;
    form.ResCity.value = form.MailCity.value;
    form.ResState.value = form.MailState.value;
    form.ResZip.value = form.MailZip.value;
    form.ResCntry.selectedIndex = form.MailCntry.selectedIndex;

  }
  else {
    form.ResCareOf.value = ResCareOf;
    form.ResStr.value = ResStr;
    form.ResApt.value = ResApt;
    form.ResCity.value = ResCity;
    form.ResState.value = ResState;
    form.ResZip.value = ResZip;      
    form.ResCntry.selectedIndex = ResCntry;
   }
   return false;
}
//  End -->
</script>
</body>
</html>

Open in new window

0
AleksAuthor Commented:
Ummmm ... I tried using the example you did but nothing happens. I changed the values from the left column and checked the box and nothing happened.
The script I posted should copy the values from column 1 on the left to column a to the right.

Example

The value of 1 on the left is nothing
The value of 1 on the right is '3'

I type '5' on the left, check the box, the value on the right should change to '5', if I uncheck it then it goes back to '3'
0
AleksAuthor Commented:
I see what your does is that if the checkbox is checked you have to press another button to copy them. In this scenario it automatically changes them when user clicks the checkbox. also changes back if unchecked as explained above.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Julian HansenCommented:
Unfortunately I did not have much to go on and had to guess what you were doing.

My sample works like this.

Change values on the left.
Click Save
Click Check box
Click MailingToResidence - right is copied to the left.

As I said, I did not have much to go on and had to fill in the blanks. The point is the function works. Your problem is somewhere else in your code - so if it is not the form submit that is the problem you are going to have to either post a link (preferred or post your page source (from view source in the browser)
0
AleksAuthor Commented:
Sure. Let me post it.
0
AleksAuthor Commented:
<!DOCTYPE html>

<!--#BlueDot Include files-->

 
<script type="text/JavaScript">
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
</script>

		


<script type="text/JavaScript">
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
</script>



<script type="text/javascript">
function WAAddError(formElement,errorMsg,focusIt,stopIt)  {
  if (document.WAFV_Error)  {
	  document.WAFV_Error += "\n" + errorMsg;
  }
  else  {
    document.WAFV_Error = errorMsg;
  }
  if (!document.WAFV_InvalidArray)  {
    document.WAFV_InvalidArray = new Array();
  }
  document.WAFV_InvalidArray[document.WAFV_InvalidArray.length] = formElement;
  if (focusIt && !document.WAFV_Focus)  {
	document.WAFV_Focus = focusIt;
  }

  if (stopIt == 1)  {
	document.WAFV_Stop = true;
  }
  else if (stopIt == 2)  {
	formElement.WAFV_Continue = true;
  }
  else if (stopIt == 3)  {
	formElement.WAFV_Stop = true;
	formElement.WAFV_Continue = false;
  }
}
</script>

<script type="text/javascript">

function makeLowercase() {
document.form1.outstring.value = document.form1.instring.value.toLowerCase();
}


//-->
</script>


<!--#BeginBlock-->




<!--#Recordsets include-->
<!--#Current user logged in-->



<!--#Total Admin alert-->


<!--#Total Alerts count-->


<!--#Reminders overdue count-->



<!--#Repeat steps overdue count-->



<!--#Questionnaire view-->


<!--#Questionnaire ALL count-->


<!--#Questionnaire mine count-->


<!--#Questionnaire Questionnairegroupusers-->

<!--#head includes-->
<head>
<!--#Bootstrap -->
<link href="../includes/css/bootstrap.min.css" rel="stylesheet">
<link href="../includes/font-awesome/css/font-awesome.css" rel="stylesheet">

<!-- Morris -->
<link href="../includes/css/plugins/morris/morris-0.4.3.min.css" rel="stylesheet">

<!-- Gritter -->
<link href="../includes/js/plugins/gritter/jquery.gritter.css" rel="stylesheet">
<link href="../includes/css/animate.css" rel="stylesheet">
<link href="../includes/css/style.css" rel="stylesheet"> 

<link href="../includes/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
<link href="../includes/css/plugins/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css" rel="stylesheet">
 <link href="../includes/css/plugins/iCheck/custom.css" rel="stylesheet">
 
<SCRIPT LANGUAGE="JavaScript">
var ResCareOf = "";
var ResStr = "";
var ResApt = "";
var ResCity = "";
var ResState = "";
var ResZip = "";
var ResCntry = "";
var ResCntryIndex = 0;

function InitSaveVariables(form) {
ResCareOf = form.ResCareOf.value;
ResStr = form.ResStr.value;
ResApt = form.ResApt.value;
ResCity = form.ResCity.value;
ResState = form.ResState.value;
ResZip = form.ResZip.value;
ResCntryIndex = form.ResCntry.selectedIndex;
ResCntry = form.ResCntry[ResCntryIndex].value;

}

function MailingtoResidenceAddress(form) {
if (form.copy.checked) {
InitSaveVariables(form);
form.ResCareOf.value = form.MailCareOf.value;
form.ResStr.value = form.MailStr.value;
form.ResApt.value = form.MailApt.value;
form.ResCity.value = form.MailCity.value;
form.ResState.value = form.MailState.value;
form.ResZip.value = form.MailZip.value;
form.ResCntry.selectedIndex = form.MailCntry.selectedIndex;

}
else {
form.ResCareOf.value = ResCareOf;
form.ResStr.value = ResStr;
form.ResApt.value = ResApt;
form.ResCity.value = ResCity;
form.ResState.value = ResState;
form.ResZip.value = ResZip;       
form.ResCntry.selectedIndex = ResCntry;
   }
}
//  End -->
</script>
</head>

<!--#Body-->
<body onLoad="document.forms.form1.MailCareOf.focus()">
<div id="wrapper">
<nav class="navbar-default navbar-static-side" role="navigation">
<div class="sidebar-collapse">
<!--#Left menu-->        
<nav class="navbar-default navbar-static-side" role="navigation">
<div class="sidebar-collapse">
          <ul class="nav metismenu" id="side-menu">
                <li class="nav-header">
                  <div class="dropdown profile-element"><img src="../../imgs/BlueDot_logo_transp.png" class="img-responsive" alt="Placeholder image"></div>
                  <div class="logo-element">
                      BlueDot
                  </div>
                </li>
                <li >
                    <a href="../default.asp"><i class="fa fa-dashboard"></i> <span class="nav-label">Dashboard</span></a>
                    
                </li>
                
                             <li class="active">
                        <a href="#"><i class="fa fa-bar-chart-o"></i> <span class="nav-label">Files</span><span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level collapse">
                            <li>
                                <a href="#">Questionnaire<span class="fa arrow"></span></a>
                                <ul class="nav nav-third-level">
                                    <li>
                                        <a href="../qnr/IndexNewcontact.asp">New contact</a>
                                    </li>
                                    <li>
                                        <a href="../qnr/EmailQnrexistingsearch.asp">Existing contact</a>
                                    </li>
								</ul>
                            </li>
						<li class="active"><a href="../contacts/searchviewsearchcontacts.asp">Contacts</a></li>
                        <li><a href="../cases/searchviewsearchcases.asp">Cases</a></li>
                        <li><a href="../employers/searchviewsearchemployers.asp">Employers</a></li>
                        <li><a href="../billing/index.asp">Billing</a></li>
                        <li><a href="../RegionalCenters/Index.asp">Regional Centers</a></li>
                        <li><a href="../Agents/Index.asp">Agents</a></li>
                        </ul>
                    </li>
                    
                    <li>
                        <a href="#"><i class="fa fa-envelope"></i> <span class="nav-label">Messages</span><span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level collapse">
   						<li><a href="../inbox/index.asp">Inbox</a></li>
                        <li><a href="../inbox/outbox.asp">Outbox</a></li>
                        </ul>
                    </li>
				 <li>
                        <a href="#"><i class="fa fa-bar-chart-o"></i> <span class="nav-label">Reports</span><span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level collapse">
                            <li>
                                <a href="#">Basic<span class="fa arrow"></span></a>
                                <ul class="nav nav-third-level">
                                    <li>
                                        <a href="../reports/basic_contacts_index.asp">Contacts</a>
                                    </li>
                                    <li>
                                        <a href="../reports/basic_cases_index.asp">Cases</a>
                                    </li>
                                    <li>
                                        <a href="../reports/basic_employers_index.asp">Employers</a>
                                    </li>
                                    <li>
                                        <a href="../reports/basic_billing_index.asp">Billing</a>
                                    </li>

                                </ul>
                            </li>
							<li><a href="../reports/Indexbyuser.asp">Advanced</a></li>
                        </ul>
                    </li>
                    
                    
                
                   <li>
                    <a href="#"><i class="fa fa-wrench"></i> <span class="nav-label">Tools</span><span class="fa arrow"></span></a>
                    <ul class="nav nav-second-level collapse">
                        <li><a href="../Tools/blankforms.asp">Blank forms</a></li>
                        <li><a href="../Tools/relatedlinks.asp">Useful links</a></li>
                        <li><a href="../Calendar/index.asp">Calendar</a></li>
                        <li><a href="../RCContent/IndexRC.asp">Resource Center</a></li>
                    </ul>
                </li>
               
                <li>
                    <a href="#"><i class="fa fa-male"></i> <span class="nav-label">User Settings</span><span class="fa arrow"></span></a>
                    <ul class="nav nav-second-level collapse">
                    
                        <li ><a href="../Tools/index.asp">User preferences</a></li>
                        <li><a href="../updatepassword.asp">Change password</a></li>
                    </ul>
                </li>
                
                 <li>
                    <a href="#"><i class="fa fa-support"></i> <span class="nav-label">Support</span><span class="fa arrow"></span></a>
                    <ul class="nav nav-second-level collapse">
                        <li><a href="javascript:;" onClick="MM_openBrWindow('https://bluedotcloud.zendesk.com/hc/en-us','HelpCenter','scrollbars=yes,resizable=yes,width=1280,height=768')">Help center</a></li>
                        <li><a href="javascript:;" onClick="MM_openBrWindow('https://www.bluedotcloud.com/BDotBT/index.html','Training','scrollbars=yes,resizable=yes,width=1300,height=800')">Basic Training</a></li>
					</ul>
                </li>
              

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

<div id="page-wrapper" class="gray-bg">
	<div class="row border-bottom">
<!--#Navigation bar-->
<nav class="navbar navbar-static-top white-bg" role="navigation" style="margin-bottom: 0">
        <div class="navbar-header">
            <a class="navbar-minimalize minimalize-styl-2 btn btn-primary " href="#"><i class="fa fa-bars"></i> </a>
         
        </div>
            <ul class="nav navbar-top-links navbar-right">
               
                <li>
                  <span class="m-r-sm text-muted welcome-message">Welcome Ann&nbsp;Jones</span>
                </li>
                
<!--#Modal window code-->                 
                
                <div class="modal inmodal" id="myModal" tabindex="-1" role="dialog" aria-hidden="true">
                                <div class="modal-dialog">
                                <div class="modal-content animated bounceInRight">
                                        <div class="modal-header">
                                            <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                                            <i class="fa fa-laptop modal-icon"></i>
                                            <h4 class="modal-title">BlueDot Major Upgrade</h4>
                                            <small class="font-bold">Posted on: 6/29/2015</small>
                                        </div>
                                        <div class="modal-body">
                                            <p>Dynamic content goes here: This is the message about BlueDot's major upgradeDynamic content goes here: This is the message about BlueDot's major upgradeDynamic content goes here: This is the message about BlueDot's major upgradeDynamic content goes here: This is the message about BlueDot's major upgradeDynamic content goes here: This is the message about BlueDot's major upgradeDynamic content goes here: This is the message about BlueDot's major upgradeDynamic content goes here: This is the message about BlueDot's major upgrade</p>
                                                    <div class="form-group"></div>
                                        </div>
                                        <div class="modal-footer">
                                            <button type="button" class="btn btn-white" data-dismiss="modal">Close</button>
                                            
                                        </div>
                                    </div>
                                </div>
                            </div>
   <!--#Modal window code end-->                          
   <!--#BlueDot announcement icon code-->
                            
					 <li class="dropdown">
                    <a class="dropdown-toggle count-info" data-toggle="dropdown" href="#">
                        <i class="fa fa-rss"></i>  
                        <span class="label label-warning">
                      1
                      </span>
                    </a>
                    <ul class="dropdown-menu dropdown-alerts">
                        <li>
                            <a href="#">
                                <div>
                                    <i class="fa fa-envelope" data-toggle="modal" data-target="#myModal" >&nbsp;&nbsp;BlueDot Major Upgrade</i>  
                                </div>
                            </a>
                        </li>
                    </ul>
                </li>
                
   <!--#Inbox icon code-->
                
                <li class="dropdown">
                    <a class="dropdown-toggle count-info" data-toggle="dropdown" href="#">
                        <i class="fa fa-envelope"></i> 
						<span class="label label-warning">
							1<br/>
                     		
                        </span>
                   </a>
                    <ul class="dropdown-menu dropdown-alerts">
                        <li>
                            <a href="../inbox/index.asp">
  							<div>
                                    <i class="fa fa-envelope fa-fw"></i> You have 
									1<br/>
                     			    items in your inbox
                                </div>
                            </a>
                        </li>
                    </ul>
                </li>
                
 <!--#Alerts icon code-->

                <li class="dropdown">
                    <a class="dropdown-toggle count-info" data-toggle="dropdown" href="#">
                       <i class="fa fa-bell"></i>  <span class="label label-danger">108</span>
                    </a>
                    <ul class="dropdown-menu dropdown-alerts">
                       
                        <li>
                            <a href="../remindersoverdue.asp">
                                <div>
                                    <i class="fa fa-bell fa-fw"></i> You have 20 overdue reminders
                                </div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="../stepsoverdue.asp">
                                <div>
                                    <i class="fa fa-bell fa-fw"></i> You have 88 overdue process steps
                                </div>
                            </a>
                        </li>
                            
                    </ul>
                </li>


                <li>
                    <a href="../../signout.asp">
                        <i class="fa fa-sign-out"></i> Log out
                    </a>
                </li>
                <li>
                    <a class="right-sidebar-toggle">
                        <i class="fa fa-tasks"></i>
                    </a>
                </li>
            </ul>

        </nav>
	
	</div>

<!-- Breadcrumbs navigation -->       
<div class="row wrapper border-bottom white-bg page-heading">
	<div class="col-lg-10">
		<h2>Contacts</h2>
			<ol class="breadcrumb">
				<li><a href="../default.asp">Home</a></li>
				<li >Files</li>
                <li class="active"><strong><a href="SearchViewsearchcontacts.asp">Contacts</a></strong></li>
                <li >Alejandro&nbsp;Carlos&nbsp;Mucino</li>
			</ol>
	</div>
</div>
<!-- Breadcrumbs navigation end -->

<!-- Navigation bar -->

<nav class="navbar navbar-default">
        <div class="container-fluid">
          <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
              <span class="sr-only">Toggle navigation</span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
            </button>
       
          </div>
          <div id="navbar" class="navbar-collapse collapse">
            <ul class="nav navbar-nav">
              <li class="dropdown active">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Personal Information <span class="caret"></span></a>
                <ul class="dropdown-menu">
                  <li><a href="personal_general.asp?NewUserId=30638">General information</a></li>
                  <li role="separator" class="divider"></li>
                  <li><a href="personal_dates.asp?NewUserId=30638">Personal documents</a></li>
                  <li role="separator" class="divider"></li>
                  <li><a href="personal_adddates.asp?NewUserId=30638">Additional documents</a></li>
                  <li role="separator" class="divider"></li>
                  <li class="active"><a href="personal_addresses.asp?NewUserId=30638">Current addresses</a></li>
                  <li role="separator" class="divider"></li>
				  <li><a href="personal_customflds.asp?NewUserId=30638">Custom fields</a></li>
                  <li role="separator" class="divider"></li>
				  <li><a href="personal_addinfo.asp?NewUserId=30638">Additional information</a></li>
                </ul>
              </li>
              <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">History <span class="caret"></span></a>
                <ul class="dropdown-menu">
                  <li><a href="history_addresses.asp?NewUserId=30638">Addresses</a></li>
                  <li role="separator" class="divider"></li>
                  <li><a href="history_marriages.asp?NewUserId=30638">Marriages</a></li>
                  <li role="separator" class="divider"></li>
                  <li><a href="history_employment.asp?NewUserId=30638">Employment</a></li>
                  <li role="separator" class="divider"></li>
                  <li><a href="history_education.asp?NewUserId=30638">Education</a></li>
                </ul>
              </li>
              <li><a href="parties.asp?NewUserId=30638">Family Members</a></li>
              <li><a href="attachments.asp?NewUserId=30638">Attachments</a></li>
              <li><a href="notes.asp?NewUserId=30638">Notes</a></li>
              <li><a href="webaccess.asp?NewUserId=30638">Web-access</a></li>
              <li><a href="links.asp?NewUserId=30638">Links</a></li>
              <li><a href="cases.asp?NewUserId=30638">Cases</a></li>
            </ul>

          </div><!--/.nav-collapse -->
        </div><!--/.container-fluid -->
    </nav>
    
 <!-- Navigation bar end-->   
<!-- Main content left-->

	<div class="wrapper wrapper-content animated fadeIn" style="animation-delay: 0.4s;">
    	<div class="row">
        <form name="form1" action="/bluedot/Intranet/Contacts/personal_addresses.asp?NewUserId=30638" method="POST" class="form-horizontal" id="form1">
       
   <div class="col-lg-12">
  <div class="tabs-container">
    <ul class="nav nav-tabs">
      <li class="active"><a data-toggle="tab" href="#tab-1">Mailing address</a></li>
      <li class=""><a data-toggle="tab" href="#tab-2">Residence address</a></li>
      <li class=""><a data-toggle="tab" href="#tab-3">Foreign address</a></li>
      <li class=""><a data-toggle="tab" href="#tab-4">Consulate where visa was issued</a></li>
    </ul>
    
    
    <div class="tab-content">
    
    
      <div id="tab-1" class="tab-pane active">
        <div class="panel-body"> 
        
  <!-- Tab 1 start-->       
          <div class="col-lg-12" >
            <div class="ibox float-e-margins">

              <div class="ibox-content">
                <div class="form-group">
                  <label class="col-sm-2 control-label">Care of</label>
                 <div class="col-sm-10"><input name="MailCareOf" type="text" class="form-control" id="MailCareOf" value="Alejandro Mucino" maxlength="50"></div>
                </div>
                <div class="hr-line-dashed"></div>
                <div class="form-group">
                  <label class="col-sm-2 control-label">Street</label>
                  <div class="col-sm-10"><input name="MailStr" type="text" class="form-control" id="MailStr" value="9048 lakechase" maxlength="200"></div>
                </div>
                <div class="hr-line-dashed"></div>
                                <div class="form-group">
                  <label class="col-sm-2 control-label">Apartment</label>
                  <div class="col-sm-10"><input name="MailApt" type="text" class="form-control" id="MailApt" value="9048" maxlength="10"></div>
                </div>
                <div class="hr-line-dashed"></div>
                                <div class="form-group">
                  <label class="col-sm-2 control-label">City</label>
                  <div class="col-sm-10"><input name="MailCity" type="text" class="form-control" id="MailCity" value="Tampa" maxlength="40"></div>
                </div>
                <div class="hr-line-dashed"></div>
                                <div class="form-group">
                  <label class="col-sm-2 control-label">State</label>
                  <div class="col-sm-10"><input name="MailState" type="text" class="form-control" id="MailState" value="FL" maxlength="20"></div>
                </div>
                <div class="hr-line-dashed"></div>
                                <div class="form-group">
                  <label class="col-sm-2 control-label">Zip code</label>
                  <div class="col-sm-10"><input name="MailZip" type="text" class="form-control" id="MailZip" value="33626" maxlength="10"></div>
                </div>
                <div class="hr-line-dashed"></div>
                                <div class="form-group">
                  <label class="col-sm-2 control-label">Country</label>
                  <div class="col-sm-10">
                    <select name="MailCntry" class="form-control m-b" id="MailCntry">
                      <option value="" >Please select a country</option>
                      
                      <option value="Afghanistan"  >Afghanistan</option>
                      
                      <option value="Albania"  >Albania</option>
                      
                      <option value="Algeria"  >Algeria</option>
                      
                      <option value="American Samoa"  >American Samoa</option>
                      
                      <option value="Andorra"  >Andorra</option>
                      
                      <option value="Angola"  >Angola</option>
                      
                      <option value="Anguilla"  >Anguilla</option>
                      
                      <option value="Antarctica"  >Antarctica</option>
                      
                      <option value="Antigua and Barbuda"  >Antigua and Barbuda</option>
                      
                      <option value="Argentina"  >Argentina</option>
                      
                      <option value="Armenia"  >Armenia</option>
                      
                      <option value="Aruba"  >Aruba</option>
                      
                      <option value="Australia"  >Australia</option>
                      
                      <option value="Austria"  >Austria</option>
                      
                      <option value="Azerbaijan"  >Azerbaijan</option>
                      
                      <option value="Bahamas"  >Bahamas</option>
                      
                      <option value="Bahrain"  >Bahrain</option>
                      
                      <option value="Bangladesh"  >Bangladesh</option>
                      
                      <option value="Barbados"  >Barbados</option>
                      
                      <option value="Belarus"  >Belarus</option>
                      
                      <option value="Belgium"  >Belgium</option>
                      
                      <option value="Belize"  >Belize</option>
                      
                      <option value="Benin"  >Benin</option>
                      
                      <option value="Bermuda"  >Bermuda</option>
                      
                      <option value="Bhutan"  >Bhutan</option>
                      
                      <option value="Bolivia"  >Bolivia</option>
                      
                      <option value="Bosnia and Herzegovina"  >Bosnia and Herzegovina</option>
                      
                      <option value="Botswana"  >Botswana</option>
                      
                      <option value="Bouvet Island"  >Bouvet Island</option>
                      
                      <option value="Brazil"  >Brazil</option>
                      
                      <option value="Brunei"  >Brunei</option>
                      
                      <option value="Bulgaria"  >Bulgaria</option>
                      
                      <option value="Burkina Faso"  >Burkina Faso</option>
                      
                      <option value="Burundi"  >Burundi</option>
                      
                      <option value="Cambodia"  >Cambodia</option>
                      
                      <option value="Cameroon"  >Cameroon</option>
                      
                      <option value="Canada"  >Canada</option>
                      
                      <option value="Cape Verde"  >Cape Verde</option>
                      
                      <option value="Cayman Islands"  >Cayman Islands</option>
                      
                      <option value="Central African Republic"  >Central African Republic</option>
                      
                      <option value="Chad"  >Chad</option>
                      
                      <option value="Chile"  >Chile</option>
                      
                      <option value="China"  >China</option>
                      
                      <option value="Christmas Island"  >Christmas Island</option>
                      
                      <option value="Colombia"  >Colombia</option>
                      
                      <option value="Comoros"  >Comoros</option>
                      
                      <option value="Congo"  >Congo</option>
                      
                      <option value="Cook Islands"  >Cook Islands</option>
                      
                      <option value="Costa Rica"  >Costa Rica</option>
                      
                      <option value="Croatia (Hrvatska)"  >Croatia (Hrvatska)</option>
                      
                      <option value="Cuba"  >Cuba</option>
                      
                      <option value="Cyprus"  >Cyprus</option>
                      
                      <option value="Czech Republic"  >Czech Republic</option>
                      
                      <option value="D. R. P. Corea"  >D. R. P. Corea</option>
                      
                      <option value="D.R.P. Korea"  >D.R.P. Korea</option>
                      
                      <option value="Dem. Rep. of Congo (Zaire)"  >Dem. Rep. of Congo (Zaire)</option>
                      
                      <option value="Denmark"  >Denmark</option>
                      
                      <option value="Djibouti"  >Djibouti</option>
                      
                      <option value="Dominica"  >Dominica</option>
                      
                      <option value="Dominican Republic"  >Dominican Republic</option>
                      
                      <option value="East Timor"  >East Timor</option>
                      
                      <option value="Ecuador"  >Ecuador</option>
                      
                      <option value="Egypt"  >Egypt</option>
                      
                      <option value="El Salvador"  >El Salvador</option>
                      
                      <option value="Equatorial Guinea"  >Equatorial Guinea</option>
                      
                      <option value="Eritrea"  >Eritrea</option>
                      
                      <option value="Estados Federados de Micronesia"  >Estados Federados de Micronesia</option>
                      
                      <option value="Estonia"  >Estonia</option>
                      
                      <option value="Ethiopia"  >Ethiopia</option>
                      
                      <option value="Falkland Islands (Malvinas)"  >Falkland Islands (Malvinas)</option>
                      
                      <option value="Faroe Islands"  >Faroe Islands</option>
                      
                      <option value="Fiji"  >Fiji</option>
                      
                      <option value="Finland"  >Finland</option>
                      
                      <option value="France"  >France</option>
                      
                      <option value="French Guiana"  >French Guiana</option>
                      
                      <option value="French Polynesia"  >French Polynesia</option>
                      
                      <option value="Gabon"  >Gabon</option>
                      
                      <option value="Gambia"  >Gambia</option>
                      
                      <option value="Georgia"  >Georgia</option>
                      
                      <option value="Germany"  >Germany</option>
                      
                      <option value="Ghana"  >Ghana</option>
                      
                      <option value="Gibraltar"  >Gibraltar</option>
                      
                      <option value="Greece"  >Greece</option>
                      
                      <option value="Greenland"  >Greenland</option>
                      
                      <option value="Grenada"  >Grenada</option>
                      
                      <option value="Guadeloupe"  >Guadeloupe</option>
                      
                      <option value="Guam"  >Guam</option>
                      
                      <option value="Guatemala"  >Guatemala</option>
                      
                      <option value="Guinea"  >Guinea</option>
                      
                      <option value="Guinea - Bissao"  >Guinea - Bissao</option>
                      
                      <option value="Guyana"  >Guyana</option>
                      
                      <option value="Haiti"  >Haiti</option>
                      
                      <option value="Honduras"  >Honduras</option>
                      
                      <option value="Hong Kong SAR, PRC"  >Hong Kong SAR, PRC</option>
                      
                      <option value="Hungary"  >Hungary</option>
                      
                      <option value="Iceland"  >Iceland</option>
                      
                      <option value="India"  >India</option>
                      
                      <option value="Indonesia"  >Indonesia</option>
                      
                      <option value="Iran"  >Iran</option>
                      
                      <option value="Iraq"  >Iraq</option>
                      
                      <option value="Ireland"  >Ireland</option>
                      
                      <option value="Israel"  >Israel</option>
                      
                      <option value="Italy"  >Italy</option>
                      
                      <option value="Ivory Coast"  >Ivory Coast</option>
                      
                      <option value="Jamaica"  >Jamaica</option>
                      
                      <option value="Japan"  >Japan</option>
                      
                      <option value="Jordan"  >Jordan</option>
                      
                      <option value="Kazakhstan"  >Kazakhstan</option>
                      
                      <option value="Kenya"  >Kenya</option>
                      
                      <option value="Kiribati"  >Kiribati</option>
                      
                      <option value="Kuwait"  >Kuwait</option>
                      
                      <option value="Kyrgystan"  >Kyrgystan</option>
                      
                      <option value="Lao"  >Lao</option>
                      
                      <option value="Latvia"  >Latvia</option>
                      
                      <option value="Lebanon"  >Lebanon</option>
                      
                      <option value="Lesotho"  >Lesotho</option>
                      
                      <option value="Letonia"  >Letonia</option>
                      
                      <option value="Liberia"  >Liberia</option>
                      
                      <option value="Libya"  >Libya</option>
                      
                      <option value="Liechtenstein"  >Liechtenstein</option>
                      
                      <option value="Lithuania"  >Lithuania</option>
                      
                      <option value="Luxemburg"  >Luxemburg</option>
                      
                      <option value="Macao"  >Macao</option>
                      
                      <option value="Macedonia"  >Macedonia</option>
                      
                      <option value="Macronesia"  >Macronesia</option>
                      
                      <option value="Madagascar"  >Madagascar</option>
                      
                      <option value="Malawi"  >Malawi</option>
                      
                      <option value="Malaysia"  >Malaysia</option>
                      
                      <option value="Maldives"  >Maldives</option>
                      
                      <option value="Mali"  >Mali</option>
                      
                      <option value="Malta"  >Malta</option>
                      
                      <option value="Martinique"  >Martinique</option>
                      
                      <option value="Mauritania"  >Mauritania</option>
                      
                      <option value="Mauritius"  >Mauritius</option>
                      
                      <option value="Mexico"  >Mexico</option>
                      
                      <option value="Moldova"  >Moldova</option>
                      
                      <option value="Monaco"  >Monaco</option>
                      
                      <option value="Mongolia"  >Mongolia</option>
                      
                      <option value="Montenegro"  >Montenegro</option>
                      
                      <option value="Montserrat"  >Montserrat</option>
                      
                      <option value="Morocco"  >Morocco</option>
                      
                      <option value="Mozambique"  >Mozambique</option>
                      
                      <option value="Myanmar"  >Myanmar</option>
                      
                      <option value="Namibia"  >Namibia</option>
                      
                      <option value="Nauru"  >Nauru</option>
                      
                      <option value="Nepal"  >Nepal</option>
                      
                      <option value="Netherlands"  >Netherlands</option>
                      
                      <option value="Netherlands Antilles"  >Netherlands Antilles</option>
                      
                      <option value="New Caledonia"  >New Caledonia</option>
                      
                      <option value="New Zealand"  >New Zealand</option>
                      
                      <option value="Nicaragua"  >Nicaragua</option>
                      
                      <option value="Niger"  >Niger</option>
                      
                      <option value="Nigeria"  >Nigeria</option>
                      
                      <option value="Niue"  >Niue</option>
                      
                      <option value="Norfolk Island"  >Norfolk Island</option>
                      
                      <option value="Northern Mariana Islands"  >Northern Mariana Islands</option>
                      
                      <option value="Norway"  >Norway</option>
                      
                      <option value="Oman"  >Oman</option>
                      
                      <option value="Pakistan"  >Pakistan</option>
                      
                      <option value="Palau"  >Palau</option>
                      
                      <option value="Panama"  >Panama</option>
                      
                      <option value="Papua New Guinea"  >Papua New Guinea</option>
                      
                      <option value="Paraguay"  >Paraguay</option>
                      
                      <option value="Peru"  >Peru</option>
                      
                      <option value="Philippines"  >Philippines</option>
                      
                      <option value="Poland"  >Poland</option>
                      
                      <option value="Portugal"  >Portugal</option>
                      
                      <option value="Puerto Rico"  >Puerto Rico</option>
                      
                      <option value="Qatar"  >Qatar</option>
                      
                      <option value="República de las Islas Marshall"  >República de las Islas Marshall</option>
                      
                      <option value="Romania"  >Romania</option>
                      
                      <option value="Russia"  >Russia</option>
                      
                      <option value="Rwanda"  >Rwanda</option>
                      
                      <option value="Saint Kitts and Nevis"  >Saint Kitts and Nevis</option>
                      
                      <option value="Saint Lucia"  >Saint Lucia</option>
                      
                      <option value="Saint Vincent and the Grenadines"  >Saint Vincent and the Grenadines</option>
                      
                      <option value="Samoa"  >Samoa</option>
                      
                      <option value="San Marino"  >San Marino</option>
                      
                      <option value="Sao Tome and Principe"  >Sao Tome and Principe</option>
                      
                      <option value="Saudi Arabia"  >Saudi Arabia</option>
                      
                      <option value="Scotland"  >Scotland</option>
                      
                      <option value="Senegal"  >Senegal</option>
                      
                      <option value="Serbia"  >Serbia</option>
                      
                      <option value="Serbia and Montenegro"  >Serbia and Montenegro</option>
                      
                      <option value="Seychelles"  >Seychelles</option>
                      
                      <option value="Sierra Leone"  >Sierra Leone</option>
                      
                      <option value="Singapore"  >Singapore</option>
                      
                      <option value="Slovak Republic"  >Slovak Republic</option>
                      
                      <option value="Slovenia"  >Slovenia</option>
                      
                      <option value="Solomon Islands"  >Solomon Islands</option>
                      
                      <option value="Somalia"  >Somalia</option>
                      
                      <option value="South Africa"  >South Africa</option>
                      
                      <option value="South Korea"  >South Korea</option>
                      
                      <option value="Spain"  >Spain</option>
                      
                      <option value="Sri Lanka"  >Sri Lanka</option>
                      
                      <option value="St Pierre and Miquelon"  >St Pierre and Miquelon</option>
                      
                      <option value="Sudan"  >Sudan</option>
                      
                      <option value="Suriname"  >Suriname</option>
                      
                      <option value="Swaziland"  >Swaziland</option>
                      
                      <option value="Sweden"  >Sweden</option>
                      
                      <option value="Switzerland"  >Switzerland</option>
                      
                      <option value="Syria"  >Syria</option>
                      
                      <option value="Taiwan"  >Taiwan</option>
                      
                      <option value="Tajikistan"  >Tajikistan</option>
                      
                      <option value="Tanzania"  >Tanzania</option>
                      
                      <option value="Thailand"  >Thailand</option>
                      
                      <option value="Togo"  >Togo</option>
                      
                      <option value="Tonga"  >Tonga</option>
                      
                      <option value="Trinidad and Tobago"  >Trinidad and Tobago</option>
                      
                      <option value="Tunisia"  >Tunisia</option>
                      
                      <option value="Turkey"  >Turkey</option>
                      
                      <option value="Turkmeninstan"  >Turkmeninstan</option>
                      
                      <option value="Turks and Caicos Islands"  >Turks and Caicos Islands</option>
                      
                      <option value="Tuvalu"  >Tuvalu</option>
                      
                      <option value="Uganda"  >Uganda</option>
                      
                      <option value="Ukraine"  >Ukraine</option>
                      
                      <option value="United Arab Emirates"  >United Arab Emirates</option>
                      
                      <option value="United Kingdom"  >United Kingdom</option>
                      
                      <option value="United States" selected="selected" >United States</option>
                      
                      <option value="Uruguay"  >Uruguay</option>
                      
                      <option value="Uzbekistan"  >Uzbekistan</option>
                      
                      <option value="Vanuatu"  >Vanuatu</option>
                      
                      <option value="Vatican City State (Holy See)"  >Vatican City State (Holy See)</option>
                      
                      <option value="Venezuela"  >Venezuela</option>
                      
                      <option value="Vietnam"  >Vietnam</option>
                      
                      <option value="Virgin Islands (British)"  >Virgin Islands (British)</option>
                      
                      <option value="Virgin Islands (US)"  >Virgin Islands (US)</option>
                      
                      <option value="Western Sahara"  >Western Sahara</option>
                      
                      <option value="Yemen"  >Yemen</option>
                      
                      <option value="Zambia"  >Zambia</option>
                      
                      <option value="Zimbawe"  >Zimbawe</option>
                      
                    </select>
</div>
                </div>
                <div class="hr-line-dashed"></div>
                                   <div class="form-group">
                  <label class="col-sm-2 control-label">Archive</label>
                  <div class="col-sm-10"><a href="personal_addressesSParchivemailing.asp?NewUserID=30638" class="btn btn-white btn-sm"><i class="fa fa-archive" ></i></a></div>
                </div>
                <div class="hr-line-dashed"></div>
                <div class="form-group">
                  <div class="col-sm-4 col-sm-offset-2">
                     <button type="submit" class="btn btn-primary btn-sm1" >Save changes</button>
                  </div>
                </div>
              </div>
            </div>
          </div>
   <!-- Tab 1 end--> 
        
        
        </div>
      </div>
      
      
      <div id="tab-2" class="tab-pane">
        <div class="panel-body"> 
        
        
 <!-- Tab 2 start-->       
          <div class="col-lg-12" >
            <div class="ibox float-e-margins">

              <div class="ibox-content">
                                 <div class="form-group">
                  <label class="col-sm-2 control-label">Same as Mailing</label>
                  <div class="col-sm-10"><div class="i-checks"><input name="copy" type="checkbox" id="copy" value=""/></div></div>
                </div>
                <div class="hr-line-dashed"></div>
                <div class="form-group">
                  <label class="col-sm-2 control-label">Care of</label>
                 <div class="col-sm-10"><input name="ResCareOf" type="text" class="form-control" id="ResCareOf" value="" maxlength="50"></div>
                </div>
                <div class="hr-line-dashed"></div>
                <div class="form-group">
                  <label class="col-sm-2 control-label">Street</label>
                  <div class="col-sm-10"><input name="ResStr" type="text" class="form-control" id="ResStr" value="" maxlength="200"></div>
                </div>
                <div class="hr-line-dashed"></div>
                                <div class="form-group">
                  <label class="col-sm-2 control-label">Apartment</label>
                  <div class="col-sm-10"><input name="ResApt" type="text" class="form-control" id="ResApt" value="" maxlength="10"></div>
                </div>
                <div class="hr-line-dashed"></div>
                                <div class="form-group">
                  <label class="col-sm-2 control-label">City</label>
                  <div class="col-sm-10"><input name="ResCity" type="text" class="form-control" id="ResCity" value="" maxlength="40"></div>
                </div>
                <div class="hr-line-dashed"></div>
                                <div class="form-group">
                  <label class="col-sm-2 control-label">State</label>
                  <div class="col-sm-10"><input name="ResState" type="text" class="form-control" id="ResState" value="" maxlength="20"></div>
                </div>
                <div class="hr-line-dashed"></div>
                                <div class="form-group">
                  <label class="col-sm-2 control-label">Zip code</label>
                  <div class="col-sm-10"><input name="ResZip" type="text" class="form-control" id="ResZip" value="" maxlength="10"></div>
                </div>
                <div class="hr-line-dashed"></div>
                                <div class="form-group">
                  <label class="col-sm-2 control-label">Country</label>
                  <div class="col-sm-10">
                    <select name="ResCntry" class="form-control m-b" id="ResCntry">
                      <option value="" >Please select a country</option>
                      
                      <option value="Afghanistan"  >Afghanistan</option>
                      
                      <option value="Albania"  >Albania</option>
                      
                      <option value="Algeria"  >Algeria</option>
                      
                      <option value="American Samoa"  >American Samoa</option>
                      
                      <option value="Andorra"  >Andorra</option>
                      
                      <option value="Angola"  >Angola</option>
                      
                      <option value="Anguilla"  >Anguilla</option>
                      
                      <option value="Antarctica"  >Antarctica</option>
                      
                      <option value="Antigua and Barbuda"  >Antigua and Barbuda</option>
                      
                      <option value="Argentina"  >Argentina</option>
                      
                      <option value="Armenia"  >Armenia</option>
                      
                      <option value="Aruba"  >Aruba</option>
                      
                      <option value="Australia"  >Australia</option>
                      
                      <option value="Austria"  >Austria</option>
                      
                      <option value="Azerbaijan"  >Azerbaijan</option>
                      
                      <option value="Bahamas"  >Bahamas</option>
                      
                      <option value="Bahrain"  >Bahrain</option>
                      
                      <option value="Bangladesh"  >Bangladesh</option>
                      
                      <option value="Barbados"  >Barbados</option>
                      
                      <option value="Belarus"  >Belarus</option>
                      
                      <option value="Belgium"  >Belgium</option>
                      
                      <option value="Belize"  >Belize</option>
                      
                      <option value="Benin"  >Benin</option>
                      
                      <option value="Bermuda"  >Bermuda</option>
                      
                      <option value="Bhutan"  >Bhutan</option>
                      
                      <option value="Bolivia"  >Bolivia</option>
                      
                      <option value="Bosnia and Herzegovina"  >Bosnia and Herzegovina</option>
                      
                      <option value="Botswana"  >Botswana</option>
                      
                      <option value="Bouvet Island"  >Bouvet Island</option>
                      
                      <option value="Brazil"  >Brazil</option>
                      
                      <option value="Brunei"  >Brunei</option>
                      
                      <option value="Bulgaria"  >Bulgaria</option>
                      
                      <option value="Burkina Faso"  >Burkina Faso</option>
                      
                      <option value="Burundi"  >Burundi</option>
                      
                      <option value="Cambodia"  >Cambodia</option>
                      
                      <option value="Cameroon"  >Cameroon</option>
                      
                      <option value="Canada"  >Canada</option>
                      
                      <option value="Cape Verde"  >Cape Verde</option>
                      
                      <option value="Cayman Islands"  >Cayman Islands</option>
                      
                      <option value="Central African Republic"  >Central African Republic</option>
                      
                      <option value="Chad"  >Chad</option>
                      
                      <option value="Chile"  >Chile</option>
                      
                      <option value="China"  >China</option>
                      
                      <option value="Christmas Island"  >Christmas Island</option>
                      
                      <option value="Colombia"  >Colombia</option>
                      
                      <option value="Comoros"  >Comoros</option>
                      
                      <option value="Congo"  >Congo</option>
                      
                      <option value="Cook Islands"  >Cook Islands</option>
                      
                      <option value="Costa Rica"  >Costa Rica</option>
                      
                      <option value="Croatia (Hrvatska)"  >Croatia (Hrvatska)</option>
                      
                      <option value="Cuba"  >Cuba</option>
                      
                      <option value="Cyprus"  >Cyprus</option>
                      
                      <option value="Czech Republic"  >Czech Republic</option>
                      
                      <option value="D. R. P. Corea"  >D. R. P. Corea</option>
                      
                      <option value="D.R.P. Korea"  >D.R.P. Korea</option>
                      
                      <option value="Dem. Rep. of Congo (Zaire)"  >Dem. Rep. of Congo (Zaire)</option>
                      
                      <option value="Denmark"  >Denmark</option>
                      
                      <option value="Djibouti"  >Djibouti</option>
                      
                      <option value="Dominica"  >Dominica</option>
                      
                      <option value="Dominican Republic"  >Dominican Republic</option>
                      
                      <option value="East Timor"  >East Timor</option>
                      
                      <option value="Ecuador"  >Ecuador</option>
                      
                      <option value="Egypt"  >Egypt</option>
                      
                      <option value="El Salvador"  >El Salvador</option>
                      
                      <option value="Equatorial Guinea"  >Equatorial Guinea</option>
                      
                      <option value="Eritrea"  >Eritrea</option>
                      
                      <option value="Estados Federados de Micronesia"  >Estados Federados de Micronesia</option>
                      
                      <option value="Estonia"  >Estonia</option>
                      
                      <option value="Ethiopia"  >Ethiopia</option>
                      
                      <option value="Falkland Islands (Malvinas)"  >Falkland Islands (Malvinas)</option>
                      
                      <option value="Faroe Islands"  >Faroe Islands</option>
                      
                      <option value="Fiji"  >Fiji</option>
                      
                      <option value="Finland"  >Finland</option>
                      
                      <option value="France"  >France</option>
                      
                      <option value="French Guiana"  >French Guiana</option>
                      
                      <option value="French Polynesia"  >French Polynesia</option>
                      
                      <option value="Gabon"  >Gabon</option>
                      
                      <option value="Gambia"  >Gambia</option>
                      
                      <option value="Georgia"  >Georgia</option>
                      
                      <option value="Germany"  >Germany</option>
                      
                      <option value="Ghana"  >Ghana</option>
                      
                      <option value="Gibraltar"  >Gibraltar</option>
                      
                      <option value="Greece"  >Greece</option>
                      
                      <option value="Greenland"  >Greenland</option>
                      
                      <option value="Grenada"  >Grenada</option>
                      
                      <option value="Guadeloupe"  >Guadeloupe</option>
                      
                      <option value="Guam"  >Guam</option>
                      
                      <option value="Guatemala"  >Guatemala</option>
                      
                      <option value="Guinea"  >Guinea</option>
                      
                      <option value="Guinea - Bissao"  >Guinea - Bissao</option>
                      
                      <option value="Guyana"  >Guyana</option>
                      
                      <option value="Haiti"  >Haiti</option>
                      
                      <option value="Honduras"  >Honduras</option>
                      
                      <option value="Hong Kong SAR, PRC"  >Hong Kong SAR, PRC</option>
                      
                      <option value="Hungary"  >Hungary</option>
                      
                      <option value="Iceland"  >Iceland</option>
                      
                      <option value="India"  >India</option>
                      
                      <option value="Indonesia"  >Indonesia</option>
                      
                      <option value="Iran"  >Iran</option>
                      
                      <option value="Iraq"  >Iraq</option>
                      
                      <option value="Ireland"  >Ireland</option>
                      
                      <option value="Israel"  >Israel</option>
                      
                      <option value="Italy"  >Italy</option>
                      
                      <option value="Ivory Coast"  >Ivory Coast</option>
                      
                      <option value="Jamaica"  >Jamaica</option>
                      
                      <option value="Japan"  >Japan</option>
                      
                      <option value="Jordan"  >Jordan</option>
                      
                      <option value="Kazakhstan"  >Kazakhstan</option>
                      
                      <option value="Kenya"  >Kenya</option>
                      
                      <option value="Kiribati"  >Kiribati</option>
                      
                      <option value="Kuwait"  >Kuwait</option>
                      
                      <option value="Kyrgystan"  >Kyrgystan</option>
                      
                      <option value="Lao"  >Lao</option>
                      
                      <option value="Latvia"  >Latvia</option>
                      
                      <option value="Lebanon"  >Lebanon</option>
                      
                      <option value="Lesotho"  >Lesotho</option>
                      
                      <option value="Letonia"  >Letonia</option>
                      
                      <option value="Liberia"  >Liberia</option>
                      
                      <option value="Libya"  >Libya</option>
                      
                      <option value="Liechtenstein"  >Liechtenstein</option>
                      
                      <option value="Lithuania"  >Lithuania</option>
                      
                      <option value="Luxemburg"  >Luxemburg</option>
                      
                      <option value="Macao"  >Macao</option>
                      
                      <option value="Macedonia"  >Macedonia</option>
                      
                      <option value="Macronesia"  >Macronesia</option>
                      
                      <option value="Madagascar"  >Madagascar</option>
                      
                      <option value="Malawi"  >Malawi</option>
                      
                      <option value="Malaysia"  >Malaysia</option>
                      
                      <option value="Maldives"  >Maldives</option>
                      
                      <option value="Mali"  >Mali</option>
                      
                      <option value="Malta"  >Malta</option>
                      
                      <option value="Martinique"  >Martinique</option>
                      
                      <option value="Mauritania"  >Mauritania</option>
                      
                      <option value="Mauritius"  >Mauritius</option>
                      
                      <option value="Mexico"  >Mexico</option>
                      
                      <option value="Moldova"  >Moldova</option>
                      
                      <option value="Monaco"  >Monaco</option>
                      
                      <option value="Mongolia"  >Mongolia</option>
                      
                      <option value="Montenegro"  >Montenegro</option>
                      
                      <option value="Montserrat"  >Montserrat</option>
                      
                      <option value="Morocco"  >Morocco</option>
                      
                      <option value="Mozambique"  >Mozambique</option>
                      
                      <option value="Myanmar"  >Myanmar</option>
                      
                      <option value="Namibia"  >Namibia</option>
                      
                      <option value="Nauru"  >Nauru</option>
                      
                      <option value="Nepal"  >Nepal</option>
                      
                      <option value="Netherlands"  >Netherlands</option>
                      
                      <option value="Netherlands Antilles"  >Netherlands Antilles</option>
                      
                      <option value="New Caledonia"  >New Caledonia</option>
                      
                      <option value="New Zealand"  >New Zealand</option>
                      
                      <option value="Nicaragua"  >Nicaragua</option>
                      
                      <option value="Niger"  >Niger</option>
                      
                      <option value="Nigeria"  >Nigeria</option>
                      
                      <option value="Niue"  >Niue</option>
                      
                      <option value="Norfolk Island"  >Norfolk Island</option>
                      
                      <option value="Northern Mariana Islands"  >Northern Mariana Islands</option>
                      
                      <option value="Norway"  >Norway</option>
                      
                      <option value="Oman"  >Oman</option>
                      
                      <option value="Pakistan"  >Pakistan</option>
                      
                      <option value="Palau"  >Palau</option>
                      
                      <option value="Panama"  >Panama</option>
                      
                      <option value="Papua New Guinea"  >Papua New Guinea</option>
                      
                      <option value="Paraguay"  >Paraguay</option>
                      
                      <option value="Peru"  >Peru</option>
                      
                      <option value="Philippines"  >Philippines</option>
                      
                      <option value="Poland"  >Poland</option>
                      
                      <option value="Portugal"  >Portugal</option>
                      
                      <option value="Puerto Rico"  >Puerto Rico</option>
                      
                      <option value="Qatar"  >Qatar</option>
                      
                      <option value="República de las Islas Marshall"  >República de las Islas Marshall</option>
                      
                      <option value="Romania"  >Romania</option>
                      
                      <option value="Russia"  >Russia</option>
                      
                      <option value="Rwanda"  >Rwanda</option>
                      
                      <option value="Saint Kitts and Nevis"  >Saint Kitts and Nevis</option>
                      
                      <option value="Saint Lucia"  >Saint Lucia</option>
                      
                      <option value="Saint Vincent and the Grenadines"  >Saint Vincent and the Grenadines</option>
                      
                      <option value="Samoa"  >Samoa</option>
                      
                      <option value="San Marino"  >San Marino</option>
                      
                      <option value="Sao Tome and Principe"  >Sao Tome and Principe</option>
                      
                      <option value="Saudi Arabia"  >Saudi Arabia</option>
                      
                      <option value="Scotland"  >Scotland</option>
                      
                      <option value="Senegal"  >Senegal</option>
                      
                      <option value="Serbia"  >Serbia</option>
                      
                      <option value="Serbia and Montenegro"  >Serbia and Montenegro</option>
                      
                      <option value="Seychelles"  >Seychelles</option>
                      
                      <option value="Sierra Leone"  >Sierra Leone</option>
                      
                      <option value="Singapore"  >Singapore</option>
                      
                      <option value="Slovak Republic"  >Slovak Republic</option>
                      
                      <option value="Slovenia"  >Slovenia</option>
                      
                      <option value="Solomon Islands"  >Solomon Islands</option>
                      
                      <option value="Somalia"  >Somalia</option>
                      
                      <option value="South Africa"  >South Africa</option>
                      
                      <option value="South Korea"  >South Korea</option>
                      
                      <option value="Spain"  >Spain</option>
                      
                      <option value="Sri Lanka"  >Sri Lanka</option>
                      
                      <option value="St Pierre and Miquelon"  >St Pierre and Miquelon</option>
                      
                      <option value="Sudan"  >Sudan</option>
                      
                      <option value="Suriname"  >Suriname</option>
                      
                      <option value="Swaziland"  >Swaziland</option>
                      
                      <option value="Sweden"  >Sweden</option>
                      
                      <option value="Switzerland"  >Switzerland</option>
                      
                      <option value="Syria"  >Syria</option>
                      
                      <option value="Taiwan"  >Taiwan</option>
                      
                      <option value="Tajikistan"  >Tajikistan</option>
                      
                      <option value="Tanzania"  >Tanzania</option>
                      
                      <option value="Thailand"  >Thailand</option>
                      
                      <option value="Togo"  >Togo</option>
                      
                      <option value="Tonga"  >Tonga</option>
                      
                      <option value="Trinidad and Tobago"  >Trinidad and Tobago</option>
                      
                      <option value="Tunisia"  >Tunisia</option>
                      
                      <option value="Turkey"  >Turkey</option>
                      
                      <option value="Turkmeninstan"  >Turkmeninstan</option>
                      
                      <option value="Turks and Caicos Islands"  >Turks and Caicos Islands</option>
                      
                      <option value="Tuvalu"  >Tuvalu</option>
                      
                      <option value="Uganda"  >Uganda</option>
                      
                      <option value="Ukraine"  >Ukraine</option>
                      
                      <option value="United Arab Emirates"  >United Arab Emirates</option>
                      
                      <option value="United Kingdom"  >United Kingdom</option>
                      
                      <option value="United States"  >United States</option>
                      
                      <option value="Uruguay"  >Uruguay</option>
                      
                      <option value="Uzbekistan"  >Uzbekistan</option>
                      
                      <option value="Vanuatu"  >Vanuatu</option>
                      
                      <option value="Vatican City State (Holy See)"  >Vatican City State (Holy See)</option>
                      
                      <option value="Venezuela"  >Venezuela</option>
                      
                      <option value="Vietnam"  >Vietnam</option>
                      
                      <option value="Virgin Islands (British)"  >Virgin Islands (British)</option>
                      
                      <option value="Virgin Islands (US)"  >Virgin Islands (US)</option>
                      
                      <option value="Western Sahara"  >Western Sahara</option>
                      
                      <option value="Yemen"  >Yemen</option>
                      
                      <option value="Zambia"  >Zambia</option>
                      
                      <option value="Zimbawe"  >Zimbawe</option>
                      
                    </select>
</div>
                </div>
                <div class="hr-line-dashed"></div>
                   <div class="form-group">
                  <label class="col-sm-2 control-label">Archive</label>
                  <div class="col-sm-10"><a href="personal_addressesSParchiveresidence.asp?NewUserID=30638" class="btn btn-white btn-sm"><i class="fa fa-archive" ></i></a></div>
                </div>
                <div class="hr-line-dashed"></div>
                <div class="form-group">
                  <div class="col-sm-4 col-sm-offset-2">
                    <button type="submit" class="btn btn-primary btn-sm1" >Save changes</button>
                  </div>
                </div>
              </div>
            </div>
          </div>
   <!-- Tab 2 end--> 
        
        </div>
      </div>
      
      
            <div id="tab-3" class="tab-pane">
        <div class="panel-body"> 
        
        
<!-- Tab 3 start-->       
          <div class="col-lg-12" >
            <div class="ibox float-e-margins">

              <div class="ibox-content">
                <div class="form-group">
                  <label class="col-sm-2 control-label">Care of</label>
                 <div class="col-sm-10"><input name="AbrdCareOf" type="text" class="form-control" id="AbrdCareOf" value="Sergio3" maxlength="50"></div>
                </div>
                <div class="hr-line-dashed"></div>
                <div class="form-group">
                  <label class="col-sm-2 control-label">Street</label>
                  <div class="col-sm-10"><input name="AbrdStr" type="text" class="form-control" id="AbrdStr" value="1030 Revolucion3" maxlength="200"></div>
                </div>
                <div class="hr-line-dashed"></div>
                                <div class="form-group">
                  <label class="col-sm-2 control-label">Apartment</label>
                  <div class="col-sm-10"><input name="AbrdApt" type="text" class="form-control" id="AbrdApt" value="3323" maxlength="10"></div>
                </div>
                <div class="hr-line-dashed"></div>
                                <div class="form-group">
                  <label class="col-sm-2 control-label">City</label>
                  <div class="col-sm-10"><input name="AbrdCity" type="text" class="form-control" id="AbrdCity" value="Mexico3" maxlength="40"></div>
                </div>
                <div class="hr-line-dashed"></div>
                                <div class="form-group">
                  <label class="col-sm-2 control-label">State</label>
                  <div class="col-sm-10"><input name="AbrdState" type="text" class="form-control" id="AbrdState" value="DF3" maxlength="20"></div>
                </div>
                <div class="hr-line-dashed"></div>
                                <div class="form-group">
                  <label class="col-sm-2 control-label">Zip code</label>
                  <div class="col-sm-10"><input name="AbrdZip" type="text" class="form-control" id="AbrdZip" value="11102333" maxlength="12"></div>
                </div>
                <div class="hr-line-dashed"></div>
                                <div class="form-group">
                  <label class="col-sm-2 control-label">Country</label>
                  <div class="col-sm-10">
                    <select name="AbrdCntry" class="form-control m-b" id="AbrdCntry">
                      <option value="" >Please select a country</option>
                      
                      <option value="Afghanistan"  >Afghanistan</option>
                      
                      <option value="Albania"  >Albania</option>
                      
                      <option value="Algeria"  >Algeria</option>
                      
                      <option value="American Samoa"  >American Samoa</option>
                      
                      <option value="Andorra"  >Andorra</option>
                      
                      <option value="Angola"  >Angola</option>
                      
                      <option value="Anguilla"  >Anguilla</option>
                      
                      <option value="Antarctica"  >Antarctica</option>
                      
                      <option value="Antigua and Barbuda"  >Antigua and Barbuda</option>
                      
                      <option value="Argentina"  >Argentina</option>
                      
                      <option value="Armenia"  >Armenia</option>
                      
                      <option value="Aruba"  >Aruba</option>
                      
                      <option value="Australia"  >Australia</option>
                      
                      <option value="Austria"  >Austria</option>
                      
                      <option value="Azerbaijan"  >Azerbaijan</option>
                      
                      <option value="Bahamas"  >Bahamas</option>
                      
                      <option value="Bahrain"  >Bahrain</option>
                      
                      <option value="Bangladesh"  >Bangladesh</option>
                      
                      <option value="Barbados"  >Barbados</option>
                      
                      <option value="Belarus"  >Belarus</option>
                      
                      <option value="Belgium"  >Belgium</option>
                      
                      <option value="Belize"  >Belize</option>
                      
                      <option value="Benin"  >Benin</option>
                      
                      <option value="Bermuda"  >Bermuda</option>
                      
                      <option value="Bhutan"  >Bhutan</option>
                      
                      <option value="Bolivia"  >Bolivia</option>
                      
                      <option value="Bosnia and Herzegovina"  >Bosnia and Herzegovina</option>
                      
                      <option value="Botswana"  >Botswana</option>
                      
                      <option value="Bouvet Island"  >Bouvet Island</option>
                      
                      <option value="Brazil"  >Brazil</option>
                      
                      <option value="Brunei"  >Brunei</option>
                      
                      <option value="Bulgaria"  >Bulgaria</option>
                      
                      <option value="Burkina Faso"  >Burkina Faso</option>
                      
                      <option value="Burundi"  >Burundi</option>
                      
                      <option value="Cambodia"  >Cambodia</option>
                      
                      <option value="Cameroon"  >Cameroon</option>
                      
                      <option value="Canada"  >Canada</option>
                      
                      <option value="Cape Verde"  >Cape Verde</option>
                      
                      <option value="Cayman Islands"  >Cayman Islands</option>
                      
                      <option value="Central African Republic"  >Central African Republic</option>
                      
                      <option value="Chad"  >Chad</option>
                      
                      <option value="Chile"  >Chile</option>
                      
                      <option value="China"  >China</option>
                      
                      <option value="Christmas Island"  >Christmas Island</option>
                      
                      <option value="Colombia"  >Colombia</option>
                      
                      <option value="Comoros"  >Comoros</option>
                      
                      <option value="Congo"  >Congo</option>
                      
                      <option value="Cook Islands"  >Cook Islands</option>
                      
                      <option value="Costa Rica"  >Costa Rica</option>
                      
                      <option value="Croatia (Hrvatska)"  >Croatia (Hrvatska)</option>
                      
                      <option value="Cuba"  >Cuba</option>
                      
                      <option value="Cyprus"  >Cyprus</option>
                      
                      <option value="Czech Republic"  >Czech Republic</option>
                      
                      <option value="D. R. P. Corea"  >D. R. P. Corea</option>
                      
                      <option value="D.R.P. Korea"  >D.R.P. Korea</option>
                      
                      <option value="Dem. Rep. of Congo (Zaire)"  >Dem. Rep. of Congo (Zaire)</option>
                      
                      <option value="Denmark"  >Denmark</option>
                      
                      <option value="Djibouti"  >Djibouti</option>
                      
                      <option value="Dominica"  >Dominica</option>
                      
                      <option value="Dominican Republic"  >Dominican Republic</option>
                      
                      <option value="East Timor"  >East Timor</option>
                      
                      <option value="Ecuador"  >Ecuador</option>
                      
                      <option value="Egypt"  >Egypt</option>
                      
                      <option value="El Salvador"  >El Salvador</option>
                      
                      <option value="Equatorial Guinea"  >Equatorial Guinea</option>
                      
                      <option value="Eritrea"  >Eritrea</option>
                      
                      <option value="Estados Federados de Micronesia"  >Estados Federados de Micronesia</option>
                      
                      <option value="Estonia"  >Estonia</option>
                      
                      <option value="Ethiopia"  >Ethiopia</option>
                      
                      <option value="Falkland Islands (Malvinas)"  >Falkland Islands (Malvinas)</option>
                      
                      <option value="Faroe Islands"  >Faroe Islands</option>
                      
                      <option value="Fiji"  >Fiji</option>
                      
                      <option value="Finland"  >Finland</option>
                      
                      <option value="France"  >France</option>
                      
                      <option value="French Guiana"  >French Guiana</option>
                      
                      <option value="French Polynesia"  >French Polynesia</option>
                      
                      <option value="Gabon"  >Gabon</option>
                      
                      <option value="Gambia"  >Gambia</option>
                      
                      <option value="Georgia"  >Georgia</option>
                      
                      <option value="Germany"  >Germany</option>
                      
                      <option value="Ghana"  >Ghana</option>
                      
                      <option value="Gibraltar"  >Gibraltar</option>
                      
                      <option value="Greece"  >Greece</option>
                      
                      <option value="Greenland"  >Greenland</option>
                      
                      <option value="Grenada"  >Grenada</option>
                      
                      <option value="Guadeloupe"  >Guadeloupe</option>
                      
                      <option value="Guam"  >Guam</option>
                      
                      <option value="Guatemala"  >Guatemala</option>
                      
                      <option value="Guinea"  >Guinea</option>
                      
                      <option value="Guinea - Bissao"  >Guinea - Bissao</option>
                      
                      <option value="Guyana"  >Guyana</option>
                      
                      <option value="Haiti"  >Haiti</option>
                      
                      <option value="Honduras"  >Honduras</option>
                      
                      <option value="Hong Kong SAR, PRC"  >Hong Kong SAR, PRC</option>
                      
                      <option value="Hungary"  >Hungary</option>
                      
                      <option value="Iceland"  >Iceland</option>
                      
                      <option value="India"  >India</option>
                      
                      <option value="Indonesia"  >Indonesia</option>
                      
                      <option value="Iran"  >Iran</option>
                      
                      <option value="Iraq"  >Iraq</option>
                      
                      <option value="Ireland"  >Ireland</option>
                      
                      <option value="Israel"  >Israel</option>
                      
                      <option value="Italy"  >Italy</option>
                      
                      <option value="Ivory Coast"  >Ivory Coast</option>
                      
                      <option value="Jamaica"  >Jamaica</option>
                      
                      <option value="Japan"  >Japan</option>
                      
                      <option value="Jordan"  >Jordan</option>
                      
                      <option value="Kazakhstan"  >Kazakhstan</option>
                      
                      <option value="Kenya"  >Kenya</option>
                      
                      <option value="Kiribati"  >Kiribati</option>
                      
                      <option value="Kuwait"  >Kuwait</option>
                      
                      <option value="Kyrgystan"  >Kyrgystan</option>
                      
                      <option value="Lao"  >Lao</option>
                      
                      <option value="Latvia"  >Latvia</option>
                      
                      <option value="Lebanon"  >Lebanon</option>
                      
                      <option value="Lesotho"  >Lesotho</option>
                      
                      <option value="Letonia"  >Letonia</option>
                      
                      <option value="Liberia"  >Liberia</option>
                      
                      <option value="Libya"  >Libya</option>
                      
                      <option value="Liechtenstein"  >Liechtenstein</option>
                      
                      <option value="Lithuania"  >Lithuania</option>
                      
                      <option value="Luxemburg"  >Luxemburg</option>
                      
                      <option value="Macao"  >Macao</option>
                      
                      <option value="Macedonia"  >Macedonia</option>
                      
                      <option value="Macronesia"  >Macronesia</option>
                      
                      <option value="Madagascar"  >Madagascar</option>
                      
                      <option value="Malawi"  >Malawi</option>
                      
                      <option value="Malaysia"  >Malaysia</option>
                      
                      <option value="Maldives"  >Maldives</option>
                      
                      <option value="Mali"  >Mali</option>
                      
                      <option value="Malta"  >Malta</option>
                      
                      <option value="Martinique"  >Martinique</option>
                      
                      <option value="Mauritania"  >Mauritania</option>
                      
                      <option value="Mauritius"  >Mauritius</option>
                      
                      <option value="Mexico"  >Mexico</option>
                      
                      <option value="Moldova" selected="selected" >Moldova</option>
                      
                      <option value="Monaco"  >Monaco</option>
                      
                      <option value="Mongolia"  >Mongolia</option>
                      
                      <option value="Montenegro"  >Montenegro</option>
                      
                      <option value="Montserrat"  >Montserrat</option>
                      
                      <option value="Morocco"  >Morocco</option>
                      
                      <option value="Mozambique"  >Mozambique</option>
                      
                      <option value="Myanmar"  >Myanmar</option>
                      
                      <option value="Namibia"  >Namibia</option>
                      
                      <option value="Nauru"  >Nauru</option>
                      
                      <option value="Nepal"  >Nepal</option>
                      
                      <option value="Netherlands"  >Netherlands</option>
                      
                      <option value="Netherlands Antilles"  >Netherlands Antilles</option>
                      
                      <option value="New Caledonia"  >New Caledonia</option>
                      
                      <option value="New Zealand"  >New Zealand</option>
                      
                      <option value="Nicaragua"  >Nicaragua</option>
                      
                      <option value="Niger"  >Niger</option>
                      
                      <option value="Nigeria"  >Nigeria</option>
                      
                      <option value="Niue"  >Niue</option>
                      
                      <option value="Norfolk Island"  >Norfolk Island</option>
                      
                      <option value="Northern Mariana Islands"  >Northern Mariana Islands</option>
                      
                      <option value="Norway"  >Norway</option>
                      
                      <option value="Oman"  >Oman</option>
                      
                      <option value="Pakistan"  >Pakistan</option>
                      
                      <option value="Palau"  >Palau</option>
                      
                      <option value="Panama"  >Panama</option>
                      
                      <option value="Papua New Guinea"  >Papua New Guinea</option>
                      
                      <option value="Paraguay"  >Paraguay</option>
                      
                      <option value="Peru"  >Peru</option>
                      
                      <option value="Philippines"  >Philippines</option>
                      
                      <option value="Poland"  >Poland</option>
                      
                      <option value="Portugal"  >Portugal</option>
                      
                      <option value="Puerto Rico"  >Puerto Rico</option>
                      
                      <option value="Qatar"  >Qatar</option>
                      
                      <option value="República de las Islas Marshall"  >República de las Islas Marshall</option>
                      
                      <option value="Romania"  >Romania</option>
                      
                      <option value="Russia"  >Russia</option>
                      
                      <option value="Rwanda"  >Rwanda</option>
                      
                      <option value="Saint Kitts and Nevis"  >Saint Kitts and Nevis</option>
                      
                      <option value="Saint Lucia"  >Saint Lucia</option>
                      
                      <option value="Saint Vincent and the Grenadines"  >Saint Vincent and the Grenadines</option>
                      
                      <option value="Samoa"  >Samoa</option>
                      
                      <option value="San Marino"  >San Marino</option>
                      
                      <option value="Sao Tome and Principe"  >Sao Tome and Principe</option>
                      
                      <option value="Saudi Arabia"  >Saudi Arabia</option>
                      
                      <option value="Scotland"  >Scotland</option>
                      
                      <option value="Senegal"  >Senegal</option>
                      
                      <option value="Serbia"  >Serbia</option>
                      
                      <option value="Serbia and Montenegro"  >Serbia and Montenegro</option>
                      
                      <option value="Seychelles"  >Seychelles</option>
                      
                      <option value="Sierra Leone"  >Sierra Leone</option>
                      
                      <option value="Singapore"  >Singapore</option>
                      
                      <option value="Slovak Republic"  >Slovak Republic</option>
                      
                      <option value="Slovenia"  >Slovenia</option>
                      
                      <option value="Solomon Islands"  >Solomon Islands</option>
                      
                      <option value="Somalia"  >Somalia</option>
                      
                      <option value="South Africa"  >South Africa</option>
                      
                      <option value="South Korea"  >South Korea</option>
                      
                      <option value="Spain"  >Spain</option>
                      
                      <option value="Sri Lanka"  >Sri Lanka</option>
                      
                      <option value="St Pierre and Miquelon"  >St Pierre and Miquelon</option>
                      
                      <option value="Sudan"  >Sudan</option>
                      
                      <option value="Suriname"  >Suriname</option>
                      
                      <option value="Swaziland"  >Swaziland</option>
                      
                      <option value="Sweden"  >Sweden</option>
                      
                      <option value="Switzerland"  >Switzerland</option>
                      
                      <option value="Syria"  >Syria</option>
                      
                      <option value="Taiwan"  >Taiwan</option>
                      
                      <option value="Tajikistan"  >Tajikistan</option>
                      
                      <option value="Tanzania"  >Tanzania</option>
                      
                      <option value="Thailand"  >Thailand</option>
                      
                      <option value="Togo"  >Togo</option>
                      
                      <option value="Tonga"  >Tonga</option>
                      
                      <option value="Trinidad and Tobago"  >Trinidad and Tobago</option>
                      
                      <option value="Tunisia"  >Tunisia</option>
                      
                      <option value="Turkey"  >Turkey</option>
                      
                      <option value="Turkmeninstan"  >Turkmeninstan</option>
                      
                      <option value="Turks and Caicos Islands"  >Turks and Caicos Islands</option>
                      
                      <option value="Tuvalu"  >Tuvalu</option>
                      
                      <option value="Uganda"  >Uganda</option>
                      
                      <option value="Ukraine"  >Ukraine</option>
                      
                      <option value="United Arab Emirates"  >United Arab Emirates</option>
                      
                      <option value="United Kingdom"  >United Kingdom</option>
                      
                      <option value="United States"  >United States</option>
                      
                      <option value="Uruguay"  >Uruguay</option>
                      
                      <option value="Uzbekistan"  >Uzbekistan</option>
                      
                      <option value="Vanuatu"  >Vanuatu</option>
                      
                      <option value="Vatican City State (Holy See)"  >Vatican City State (Holy See)</option>
                      
                      <option value="Venezuela"  >Venezuela</option>
                      
                      <option value="Vietnam"  >Vietnam</option>
                      
                      <option value="Virgin Islands (British)"  >Virgin Islands (British)</option>
                      
                      <option value="Virgin Islands (US)"  >Virgin Islands (US)</option>
                      
                      <option value="Western Sahara"  >Western Sahara</option>
                      
                      <option value="Yemen"  >Yemen</option>
                      
                      <option value="Zambia"  >Zambia</option>
                      
                      <option value="Zimbawe"  >Zimbawe</option>
                      
                    </select>
</div>
                </div>
                <div class="hr-line-dashed"></div>

                <div class="form-group">
                  <div class="col-sm-4 col-sm-offset-2">
                    <button type="submit" class="btn btn-primary btn-sm1" >Save changes</button>
                  </div>
                </div>
              </div>
            </div>
          </div>
   <!-- Tab 3 end-->    
        
        </div>
      </div>
      
      
                  <div id="tab-4" class="tab-pane">
        <div class="panel-body"> 
        
        
<!-- Tab 4 start-->       
          <div class="col-lg-12" >
            <div class="ibox float-e-margins">

              <div class="ibox-content">
                <div class="form-group">
                  <label class="col-sm-2 control-label">Name</label>
                 <div class="col-sm-10"><input name="ConsulateName" type="text" class="form-control" id="ConsulateName" value="Mexican Consulate4" maxlength="100"></div>
                </div>
                <div class="hr-line-dashed"></div>
                <div class="form-group">
                  <label class="col-sm-2 control-label">Address</label>
                  <div class="col-sm-10"><input name="ConsulateAddr" type="text" class="form-control" id="ConsulateAddr" value="1000 Independencia4" maxlength="200"></div>
                </div>
<div class="hr-line-dashed"></div>
                                <div class="form-group">
                  <label class="col-sm-2 control-label">City</label>
                  <div class="col-sm-10"><input name="ConsulateCity" type="text" class="form-control" id="ConsulateCity" value="Mexico4" maxlength="50"></div>
                </div>
                <div class="hr-line-dashed"></div>

                                <div class="form-group">
                  <label class="col-sm-2 control-label">Zip code</label>
                  <div class="col-sm-10"><input name="ConsulateZip" type="text" class="form-control" id="ConsulateZip" value="233224" maxlength="20"></div>
                </div>
                <div class="hr-line-dashed"></div>
                                <div class="form-group">
                  <label class="col-sm-2 control-label">Country</label>
                  <div class="col-sm-10">
                    <select class="form-control m-b" name="account">
                      <option value="" >Please select a country</option>
                      
                      <option value="Afghanistan"  >Afghanistan</option>
                      
                      <option value="Albania"  >Albania</option>
                      
                      <option value="Algeria"  >Algeria</option>
                      
                      <option value="American Samoa"  >American Samoa</option>
                      
                      <option value="Andorra"  >Andorra</option>
                      
                      <option value="Angola"  >Angola</option>
                      
                      <option value="Anguilla"  >Anguilla</option>
                      
                      <option value="Antarctica"  >Antarctica</option>
                      
                      <option value="Antigua and Barbuda"  >Antigua and Barbuda</option>
                      
                      <option value="Argentina"  >Argentina</option>
                      
                      <option value="Armenia"  >Armenia</option>
                      
                      <option value="Aruba"  >Aruba</option>
                      
                      <option value="Australia"  >Australia</option>
                      
                      <option value="Austria"  >Austria</option>
                      
                      <option value="Azerbaijan"  >Azerbaijan</option>
                      
                      <option value="Bahamas"  >Bahamas</option>
                      
                      <option value="Bahrain"  >Bahrain</option>
                      
                      <option value="Bangladesh"  >Bangladesh</option>
                      
                      <option value="Barbados"  >Barbados</option>
                      
                      <option value="Belarus"  >Belarus</option>
                      
                      <option value="Belgium"  >Belgium</option>
                      
                      <option value="Belize"  >Belize</option>
                      
                      <option value="Benin"  >Benin</option>
                      
                      <option value="Bermuda"  >Bermuda</option>
                      
                      <option value="Bhutan"  >Bhutan</option>
                      
                      <option value="Bolivia"  >Bolivia</option>
                      
                      <option value="Bosnia and Herzegovina"  >Bosnia and Herzegovina</option>
                      
                      <option value="Botswana"  >Botswana</option>
                      
                      <option value="Bouvet Island"  >Bouvet Island</option>
                      
                      <option value="Brazil"  >Brazil</option>
                      
                      <option value="Brunei"  >Brunei</option>
                      
                      <option value="Bulgaria"  >Bulgaria</option>
                      
                      <option value="Burkina Faso"  >Burkina Faso</option>
                      
                      <option value="Burundi"  >Burundi</option>
                      
                      <option value="Cambodia"  >Cambodia</option>
                      
                      <option value="Cameroon"  >Cameroon</option>
                      
                      <option value="Canada"  >Canada</option>
                      
                      <option value="Cape Verde"  >Cape Verde</option>
                      
                      <option value="Cayman Islands"  >Cayman Islands</option>
                      
                      <option value="Central African Republic"  >Central African Republic</option>
                      
                      <option value="Chad"  >Chad</option>
                      
                      <option value="Chile"  >Chile</option>
                      
                      <option value="China"  >China</option>
                      
                      <option value="Christmas Island"  >Christmas Island</option>
                      
                      <option value="Colombia"  >Colombia</option>
                      
                      <option value="Comoros"  >Comoros</option>
                      
                      <option value="Congo"  >Congo</option>
                      
                      <option value="Cook Islands"  >Cook Islands</option>
                      
                      <option value="Costa Rica"  >Costa Rica</option>
                      
                      <option value="Croatia (Hrvatska)"  >Croatia (Hrvatska)</option>
                      
                      <option value="Cuba"  >Cuba</option>
                      
                      <option value="Cyprus"  >Cyprus</option>
                      
                      <option value="Czech Republic"  >Czech Republic</option>
                      
                      <option value="D. R. P. Corea"  >D. R. P. Corea</option>
                      
                      <option value="D.R.P. Korea"  >D.R.P. Korea</option>
                      
                      <option value="Dem. Rep. of Congo (Zaire)"  >Dem. Rep. of Congo (Zaire)</option>
                      
                      <option value="Denmark"  >Denmark</option>
                      
                      <option value="Djibouti"  >Djibouti</option>
                      
                      <option value="Dominica"  >Dominica</option>
                      
                      <option value="Dominican Republic"  >Dominican Republic</option>
                      
                      <option value="East Timor"  >East Timor</option>
                      
                      <option value="Ecuador"  >Ecuador</option>
                      
                      <option value="Egypt"  >Egypt</option>
                      
                      <option value="El Salvador"  >El Salvador</option>
                      
                      <option value="Equatorial Guinea"  >Equatorial Guinea</option>
                      
                      <option value="Eritrea"  >Eritrea</option>
                      
                      <option value="Estados Federados de Micronesia"  >Estados Federados de Micronesia</option>
                      
                      <option value="Estonia"  >Estonia</option>
                      
                      <option value="Ethiopia"  >Ethiopia</option>
                      
                      <option value="Falkland Islands (Malvinas)"  >Falkland Islands (Malvinas)</option>
                      
                      <option value="Faroe Islands"  >Faroe Islands</option>
                      
                      <option value="Fiji"  >Fiji</option>
                      
                      <option value="Finland"  >Finland</option>
                      
                      <option value="France"  >France</option>
                      
                      <option value="French Guiana"  >French Guiana</option>
                      
                      <option value="French Polynesia"  >French Polynesia</option>
                      
                      <option value="Gabon"  >Gabon</option>
                      
                      <option value="Gambia"  >Gambia</option>
                      
                      <option value="Georgia"  >Georgia</option>
                      
                      <option value="Germany"  >Germany</option>
                      
                      <option value="Ghana"  >Ghana</option>
                      
                      <option value="Gibraltar"  >Gibraltar</option>
                      
                      <option value="Greece"  >Greece</option>
                      
                      <option value="Greenland"  >Greenland</option>
                      
                      <option value="Grenada"  >Grenada</option>
                      
                      <option value="Guadeloupe"  >Guadeloupe</option>
                      
                      <option value="Guam"  >Guam</option>
                      
                      <option value="Guatemala"  >Guatemala</option>
                      
                      <option value="Guinea"  >Guinea</option>
                      
                      <option value="Guinea - Bissao"  >Guinea - Bissao</option>
                      
                      <option value="Guyana"  >Guyana</option>
                      
                      <option value="Haiti"  >Haiti</option>
                      
                      <option value="Honduras"  >Honduras</option>
                      
                      <option value="Hong Kong SAR, PRC"  >Hong Kong SAR, PRC</option>
                      
                      <option value="Hungary"  >Hungary</option>
                      
                      <option value="Iceland"  >Iceland</option>
                      
                      <option value="India"  >India</option>
                      
                      <option value="Indonesia"  >Indonesia</option>
                      
                      <option value="Iran"  >Iran</option>
                      
                      <option value="Iraq"  >Iraq</option>
                      
                      <option value="Ireland"  >Ireland</option>
                      
                      <option value="Israel"  >Israel</option>
                      
                      <option value="Italy"  >Italy</option>
                      
                      <option value="Ivory Coast"  >Ivory Coast</option>
                      
                      <option value="Jamaica"  >Jamaica</option>
                      
                      <option value="Japan"  >Japan</option>
                      
                      <option value="Jordan"  >Jordan</option>
                      
                      <option value="Kazakhstan"  >Kazakhstan</option>
                      
                      <option value="Kenya"  >Kenya</option>
                      
                      <option value="Kiribati"  >Kiribati</option>
                      
                      <option value="Kuwait"  >Kuwait</option>
                      
                      <option value="Kyrgystan"  >Kyrgystan</option>
                      
                      <option value="Lao"  >Lao</option>
                      
                      <option value="Latvia"  >Latvia</option>
                      
                      <option value="Lebanon"  >Lebanon</option>
                      
                      <option value="Lesotho"  >Lesotho</option>
                      
                      <option value="Letonia"  >Letonia</option>
                      
                      <option value="Liberia"  >Liberia</option>
                      
                      <option value="Libya"  >Libya</option>
                      
                      <option value="Liechtenstein"  >Liechtenstein</option>
                      
                      <option value="Lithuania"  >Lithuania</option>
                      
                      <option value="Luxemburg"  >Luxemburg</option>
                      
                      <option value="Macao"  >Macao</option>
                      
                      <option value="Macedonia"  >Macedonia</option>
                      
                      <option value="Macronesia"  >Macronesia</option>
                      
                      <option value="Madagascar"  >Madagascar</option>
                      
                      <option value="Malawi"  >Malawi</option>
                      
                      <option value="Malaysia"  >Malaysia</option>
                      
                      <option value="Maldives"  >Maldives</option>
                      
                      <option value="Mali"  >Mali</option>
                      
                      <option value="Malta"  >Malta</option>
                      
                      <option value="Martinique"  >Martinique</option>
                      
                      <option value="Mauritania"  >Mauritania</option>
                      
                      <option value="Mauritius"  >Mauritius</option>
                      
                      <option value="Mexico"  >Mexico</option>
                      
                      <option value="Moldova"  >Moldova</option>
                      
                      <option value="Monaco" selected="selected" >Monaco</option>
                      
                      <option value="Mongolia"  >Mongolia</option>
                      
                      <option value="Montenegro"  >Montenegro</option>
                      
                      <option value="Montserrat"  >Montserrat</option>
                      
                      <option value="Morocco"  >Morocco</option>
                      
                      <option value="Mozambique"  >Mozambique</option>
                      
                      <option value="Myanmar"  >Myanmar</option>
                      
                      <option value="Namibia"  >Namibia</option>
                      
                      <option value="Nauru"  >Nauru</option>
                      
                      <option value="Nepal"  >Nepal</option>
                      
                      <option value="Netherlands"  >Netherlands</option>
                      
                      <option value="Netherlands Antilles"  >Netherlands Antilles</option>
                      
                      <option value="New Caledonia"  >New Caledonia</option>
                      
                      <option value="New Zealand"  >New Zealand</option>
                      
                      <option value="Nicaragua"  >Nicaragua</option>
                      
                      <option value="Niger"  >Niger</option>
                      
                      <option value="Nigeria"  >Nigeria</option>
                      
                      <option value="Niue"  >Niue</option>
                      
                      <option value="Norfolk Island"  >Norfolk Island</option>
                      
                      <option value="Northern Mariana Islands"  >Northern Mariana Islands</option>
                      
                      <option value="Norway"  >Norway</option>
                      
                      <option value="Oman"  >Oman</option>
                      
                      <option value="Pakistan"  >Pakistan</option>
                      
                      <option value="Palau"  >Palau</option>
                      
                      <option value="Panama"  >Panama</option>
                      
                      <option value="Papua New Guinea"  >Papua New Guinea</option>
                      
                      <option value="Paraguay"  >Paraguay</option>
                      
                      <option value="Peru"  >Peru</option>
                      
                      <option value="Philippines"  >Philippines</option>
                      
                      <option value="Poland"  >Poland</option>
                      
                      <option value="Portugal"  >Portugal</option>
                      
                      <option value="Puerto Rico"  >Puerto Rico</option>
                      
                      <option value="Qatar"  >Qatar</option>
                      
                      <option value="República de las Islas Marshall"  >República de las Islas Marshall</option>
                      
                      <option value="Romania"  >Romania</option>
                      
                      <option value="Russia"  >Russia</option>
                      
                      <option value="Rwanda"  >Rwanda</option>
                      
                      <option value="Saint Kitts and Nevis"  >Saint Kitts and Nevis</option>
                      
                      <option value="Saint Lucia"  >Saint Lucia</option>
                      
                      <option value="Saint Vincent and the Grenadines"  >Saint Vincent and the Grenadines</option>
                      
                      <option value="Samoa"  >Samoa</option>
                      
                      <option value="San Marino"  >San Marino</option>
                      
                      <option value="Sao Tome and Principe"  >Sao Tome and Principe</option>
                      
                      <option value="Saudi Arabia"  >Saudi Arabia</option>
                      
                      <option value="Scotland"  >Scotland</option>
                      
                      <option value="Senegal"  >Senegal</option>
                      
                      <option value="Serbia"  >Serbia</option>
                      
                      <option value="Serbia and Montenegro"  >Serbia and Montenegro</option>
                      
                      <option value="Seychelles"  >Seychelles</option>
                      
                      <option value="Sierra Leone"  >Sierra Leone</option>
                      
                      <option value="Singapore"  >Singapore</option>
                      
                      <option value="Slovak Republic"  >Slovak Republic</option>
                      
                      <option value="Slovenia"  >Slovenia</option>
                      
                      <option value="Solomon Islands"  >Solomon Islands</option>
                      
                      <option value="Somalia"  >Somalia</option>
                      
                      <option value="South Africa"  >South Africa</option>
                      
                      <option value="South Korea"  >South Korea</option>
                      
                      <option value="Spain"  >Spain</option>
                      
                      <option value="Sri Lanka"  >Sri Lanka</option>
                      
                      <option value="St Pierre and Miquelon"  >St Pierre and Miquelon</option>
                      
                      <option value="Sudan"  >Sudan</option>
                      
                      <option value="Suriname"  >Suriname</option>
                      
                      <option value="Swaziland"  >Swaziland</option>
                      
                      <option value="Sweden"  >Sweden</option>
                      
                      <option value="Switzerland"  >Switzerland</option>
                      
                      <option value="Syria"  >Syria</option>
                      
                      <option value="Taiwan"  >Taiwan</option>
                      
                      <option value="Tajikistan"  >Tajikistan</option>
                      
                      <option value="Tanzania"  >Tanzania</option>
                      
                      <option value="Thailand"  >Thailand</option>
                      
                      <option value="Togo"  >Togo</option>
                      
                      <option value="Tonga"  >Tonga</option>
                      
                      <option value="Trinidad and Tobago"  >Trinidad and Tobago</option>
                      
                      <option value="Tunisia"  >Tunisia</option>
                      
                      <option value="Turkey"  >Turkey</option>
                      
                      <option value="Turkmeninstan"  >Turkmeninstan</option>
                      
                      <option value="Turks and Caicos Islands"  >Turks and Caicos Islands</option>
                      
                      <option value="Tuvalu"  >Tuvalu</option>
                      
                      <option value="Uganda"  >Uganda</option>
                      
                      <option value="Ukraine"  >Ukraine</option>
                      
                      <option value="United Arab Emirates"  >United Arab Emirates</option>
                      
                      <option value="United Kingdom"  >United Kingdom</option>
                      
                      <option value="United States"  >United States</option>
                      
                      <option value="Uruguay"  >Uruguay</option>
                      
                      <option value="Uzbekistan"  >Uzbekistan</option>
                      
                      <option value="Vanuatu"  >Vanuatu</option>
                      
                      <option value="Vatican City State (Holy See)"  >Vatican City State (Holy See)</option>
                      
                      <option value="Venezuela"  >Venezuela</option>
                      
                      <option value="Vietnam"  >Vietnam</option>
                      
                      <option value="Virgin Islands (British)"  >Virgin Islands (British)</option>
                      
                      <option value="Virgin Islands (US)"  >Virgin Islands (US)</option>
                      
                      <option value="Western Sahara"  >Western Sahara</option>
                      
                      <option value="Yemen"  >Yemen</option>
                      
                      <option value="Zambia"  >Zambia</option>
                      
                      <option value="Zimbawe"  >Zimbawe</option>
                      
                    </select>
</div>
                </div>
                <div class="hr-line-dashed"></div>
                <div class="form-group">
                  <div class="col-sm-4 col-sm-offset-2">
                     <button type="submit" class="btn btn-primary btn-sm1" >Save changes</button>
                  </div>
                </div>
              </div>
            </div>
          </div>
   <!-- Tab 4 end-->
        
        </div>
      </div>
      
      
    </div>
  </div>
</div>
       <input type="hidden" name="MM_update" value="form1">
   <input type="hidden" name="MM_recordId" value="30638">
        </form>
</div>
</div>

<!-- footer -->
<div class="footer">
	<div class="pull-right"><a href="../../TermsofService.asp" target="new">Terms and Conditions</a> | <a href="../../PrivacyPolicy.asp" target="_blank">Privacy Policy</a></div>
    <div><strong>Copyright</strong> BlueDot &copy; 2015</div>
</div>


</div>
            
<!-- sidebar -->
<div id="right-sidebar">
<div class="sidebar-container">
<div class="tab-content">
	<div id="tab-1" class="tab-pane active">
		<div>
			<div class="sidebar-message">
				<div class="pull-left text-center"></div>
				<div class="media-body">This panel will be used in the near future and will include shotcuts to your favorite actions.</div>
			</div>
		</div>
	</div>
</div>
</div>
</div>


<!-- Bootstrap scripts -->
<!-- Mainly scripts -->
    <script src="../includes/js/jquery-2.1.1.js"></script>
    <script src="../includes/js/bootstrap.min.js"></script>
    <script src="../includes/js/plugins/metisMenu/jquery.metisMenu.js"></script>
    <script src="../includes/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
    
  <!-- Custom and plugin javascript -->
    <script src="../includes/js/inspinia.js"></script>
    <script src="../includes/js/plugins/pace/pace.min.js"></script>  
<script src="../includes/js/plugins/sweetalert/sweetalert.min.js"></script>
<script>
$(document).ready(function () {
             $('.btn-sm1').click(function () {                
                 swal("Sucess!", "Information saved!", "success") 
             });
       }); 
</script>
 <!-- iCheck -->
    <script src="../includes/js/plugins/iCheck/icheck.min.js"></script>
        <script>
            $(document).ready(function () {
                $('.i-checks').iCheck({
                    checkboxClass: 'icheckbox_square-green',
                    radioClass: 'iradio_square-green',
                });
            });
        </script> 
 </body>
</html>

<!-- Recordset include close -->

Open in new window

0
Julian HansenCommented:
Where in that code are you calling MailingtoResidenceAddress or InitSaveVariables.

The first calls the second but nothing calls the first?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AleksAuthor Commented:
I will double check my script and my page .. thanks for the help.
0
Julian HansenCommented:
You are welcome.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VB Script

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.