I have a site that uses nested tabs. From time to time, I need to load a page so that it opens with a tab other than the first one on top. For example, on this page, click on the Add Clients button (the "+" icon after the word "Clients"). It naturally opens with the Demographics tab on top, but what if I wanted to open it with the Insurance tab on top?

The URL for the original page (before you open the popup) is:

http://shrink-art.com/docTypes/worki...ients.php#tab1

#tab1 refers to the outer level of tabs (Clients/Sessions/Payments, Schedule, etc.).

The code to access it is like this:

HTML Code:
<ul class="tabsetTabsMain">
			   <li class="mainTabs"><a href="
			   clients.php#tab1" class="active">Clients/Sessions/Payments</a></li>
				
			   <li class="mainTabs"><a href="
			   ../schedule/schedule.php#tab2">Schedule</a></li>
				
				<li class="mainTabs"><a href="
			   ../reports/reports.php#tab4">Reports/Statements/HCFA</a></li>
				
				<li class="mainTabs"><a href="
			   ../libraries/libraries.php#tab5">Libraries</a></li>

				
				<li class="mainTabs"><a href="
			   ../help/help.php#tab6">Help</a></li>
			</ul>

<div id="tab1" class="tabsetContent">
<h2 class="alignRightSmall">Client Information for</h2>
	<h2 class="tabset_label">Clients/Sessions/Payments</h2>
		
		<ul class="tabsetTabs">
		   <li><a href="#tabC1" class="active" onclick="return false">Active</a></li>

		   <li><a href="#tabC2" onclick="return false">Archived</a></li>
		</ul>	

		<div id="tabC1" class="tabsetContentNested">
etc.

The nested tabs (Active and Archived) are #tabC1 and #tabC2 so on the page above, what we're actually viewing is #tabC1. On the popup, the tabs are named like this:

HTML Code:
	<ul class="tabsetTabs">
	   <li><a href="#tabAddClient1" class="active" onclick="return false">Demographics</a></li>
	   <li><a href="#tabAddClient2" onclick="return false">Insurance</a></li>
	   <li><a href="#tabAddClient3" onclick="return false">Family Info</a></li>
	   <li><a href="#tabAddClient4" onclick="return false">Medications</a></li>
	</ul>
So how do I target #tabAddClient2 from the original page (http://shrink-art.com/docTypes/worki...nts.php#tab1)?