Subversion Repositories SmartDukaan

Rev

Rev 6971 | Rev 7377 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3830 chandransh 1
	#set($Integer = 0)
2
	#if($defaultAddressId)
3
		#set($defaultid = $Integer.parseInt($defaultAddressId))
4
	#else
5
		#set($defaultid = 0)
6
	#end
7
 
6903 anupam.sin 8
	#if($defaultStoreAddressId)
5716 anupam.sin 9
		#set($defaultStoreId = $Integer.parseInt($defaultStoreAddressId))
10
	#else
5746 anupam.sin 11
		#set($defaultStoreId = 0)
5716 anupam.sin 12
	#end
13
 
3830 chandransh 14
	#if(!$errorMsg.isEmpty())
15
		<div id="messageError">
16
			<span></span>
17
			<p>$errorMsg <br/></p>
18
		</div>
19
	#end
5920 anupam.sin 20
	<div id="proceedToPayContainer" style="float:left; width:100%">
3830 chandransh 21
		<div class="free-shipping left">
22
			<div class="label">Shipping to your area is <span class="orange">FREE</span>.</div>
23
			<div class="payment-modes-msg">
24
				We accept all <b>credit / debit cards</b> and <b>netbanking facilities</b>. You can also pay <b>Cash on Delivery</b>.
25
			</div>
5920 anupam.sin 26
			#if($selectedTab == "HotSpot")
27
				#set($visibility = "")
28
			#else
29
				#set($visibility = "invisibleDiv")
30
			#end
31
			<div id="inStoreLocationMsg" style="color:red; font-size:15px" class="$visibility">
32
				Pickup in store is currently available only for Delhi/NCR
33
			</div>
3830 chandransh 34
		</div>
35
		<form id="formProceedToPay" action="/proceed-to-pay" method="post">
36
			<input type="hidden" value="$defaultid" name="addressid" id="addressid">
5716 anupam.sin 37
			<input type="hidden" name="deliveryLocation" value="$selectedTab" id="tabSelector">
38
			<input type="hidden" name="hotSpotAddressId" value="$defaultStoreId" id="hotSpotAddressId">
3830 chandransh 39
		</form>
3903 varun.gupt 40
		<div id="proceedToPay" class="cartflow-main-action-button right">PROCEED TO PAYMENT &gt;</div>
5920 anupam.sin 41
	</div>	
3830 chandransh 42
		#if($items)
43
		<div class="cart-container left">
44
			<table id="cartDetail" cellpadding="0" cellspacing="0" class="left">
45
				<thead>
46
					<tr>
47
						<th width="212" class="first">Item &amp; Color</th>
48
						<th width="117">Delivery Time</th>
49
						<th width="99">Total Price </th>
50
                    </tr>
51
                </thead>
52
				<tbody>
53
				#foreach($item in $items)
54
					#if($item.get("SHIPPING_TIME") == -1)
55
						#set($locationServiceable = 0)
56
						#set($messageShippingTime = "Location not serviceable")
57
					#else
58
						#set($locationServiceable = 1)
59
						#set($messageShippingTime = $item.get("SHIPPING_TIME") + " Bus. Days")
60
					#end
61
					<tr>
6903 anupam.sin 62
						#set($style='')
63
						#if(!$item.get("INSURER").equals("0"))
64
							#set($style = 'background: white url("/images/insuredStamp.png") no-repeat right;background-size: 76px;')
65
						#end
66
						<td style='$style'>
3830 chandransh 67
							<div class="cart-item-name-div padding5">
4217 varun.gupt 68
                                <span class="cart-item-name">$item.get("ITEM_NAME")</span><br/>
3830 chandransh 69
								<span class="cart-item-color">$item.get("ITEM_COLOR")</span>
4225 varun.gupt 70
						#if($item.get("BEST_DEAL_TEXT"))
71
								<div class="cart-item-best-deal-text">$item.get("BEST_DEAL_TEXT")</div>
4217 varun.gupt 72
						#end
3830 chandransh 73
                            </div>
74
                        </td>
75
						<td id="shipping_time_$item.get("ITEM_ID")">$messageShippingTime</td>
76
						<td>
77
							<img src="/images/rupee-symbol.png" alt="Rs." /> 
78
							$item.get("TOTAL_PRICE")<br />(for $item.get("ITEM_QUANTITY") pcs)
79
						</td>
80
                    </tr>
81
				#end
82
				#if($couponcode != "")
83
					#set($cssClass = "")
84
				#else
85
					#set($cssClass = "payable")
86
				#end
6903 anupam.sin 87
				#if($totalInsurance != "0.00")
88
					<tr>
89
						<td colspan ='2' class='label' style='border:none;'>1 Year WorldWide Theft Insurance</td>
90
						<td style='border:none;'><img src="/images/rupee-symbol.png" alt="Rs." /> $totalInsurance</td>
91
					</tr>
92
				#end
93
				#if($couponcode == "")
94
				<tr>
95
					<td colspan='2' class="label">SHIPPING</td>
96
					<td class="orange">FREE</td>
97
				</tr>
98
				<tr class="total-amount payable" style='background-color:#FFFFCC;font-size:14px;font-weight:bold;'>
99
					<td colspan='2' class="label">Total Amount</td>
3830 chandransh 100
					<td><img src="/images/rupee-symbol.png" alt="Rs." /> $totalamount</td>
101
				</tr>
6903 anupam.sin 102
				#else
103
				<tr class="total-amount">
104
    				<td colspan='2' class="label" style='border:none;'>Coupon <span style='font-weight:bold;color:#2789C1;font-size:14px;'>$couponcode</span></td>
105
    				<td style='border:none;'><img src="/images/rupee-symbol.png" alt="Rs." /> $discount</td>
3830 chandransh 106
				</tr>
6903 anupam.sin 107
				<tr>
108
					<td colspan='2' class="label">SHIPPING</td>
109
					<td class="orange">FREE</td>
110
				</tr>
111
				<tr class="discounted-amount payable" style='background-color:#FFFFCC;font-size:14px;font-weight:bold;'>
112
					<td colspan='2' class="label">Total Amount</td>
113
					<td id="discountedAmount"><img src="/images/rupee-symbol.png" alt="Rs." /> $discountedamount</td>
114
				</tr>
3830 chandransh 115
				#end
6903 anupam.sin 116
                </tbody>
117
            </table>
3830 chandransh 118
        </div>
119
		#end
6903 anupam.sin 120
		#if($insuranceDetailsRequired.equals("standAlone"))
121
    		<div id="insuranceDetailDiv" style="margin-bottom:10px;box-shadow: 0 0 5px 0px #AAA inset;padding:10px;border: 1px solid #AAA;float:right;width: 472px;">
122
    			<div id='thanks' style='display:none;color:#2789c1;font-size:14px;text-align:center;'>Thank you!</div>
123
            	<h3>Please enter the following details</h3>
124
            	<form id="insuranceDetailsForm" style="padding:7px 7px 0 7px;">
125
            		   <div style="margin-bottom:7px;">
126
            			<span style="font-size:13px;color:#444;display:inline-block;width: 42%;text-align: right;padding-right: 5px;">Father's/Husband's Name : </span>
127
            			<span style="display:inline-block;width:55%;">
128
            				<input id='guardianName' class='insuranceDetailField' name="guardianName" type="text">
129
            			</span>
130
            		</div>
131
            		<div style="margin-bottom:7px;">
132
            		   	<span style="font-size:13px;color:#444;display:inline-block;width: 42%;text-align: right;padding-right: 5px;">Date of Birth (dd/mm/yyyy) : </span>
133
            			<span style="display:inline-block;width:55%;">
134
            				<input id='dob' name="dob" class='insuranceDetailField' type="text" style='color:#999;' value='Example: 18/08/1986'>
135
            			</span>
136
            			<input id="insuranceType" type="hidden" name="insuranceType" value="">
137
            		</div>
6971 anupam.sin 138
					<div id='insDetErr' style="display:none;border: 1px solid red;padding: 7px;text-align: center;color: red;font-size: 14px;margin: 0 -5px 0 -5px;background-color: lightyellow;box-shadow: 0 0 3px 0 red inset;">
139
					</div>
6903 anupam.sin 140
            		<div style="margin:13px 5px 13px 0;text-align: right;">
141
            			<input id='submitInsuranceDetails' type="button" value="Submit" style="height: 25px;width: 125px;background-color: skyblue;color: black;font-weight: bold;">
142
            		</div>
143
            		<div id="insuranceHelpInfo" style="border-top:1px solid #999;color:#777;font-size:13px;padding:5px;">
144
            				We need these details for the purpose of insurance.<br>
145
            				If you do not wish to take insurance <a id="cancelInsurance" style="cursor:pointer">click here</a><br>
146
            				If this product is being billed in the name of an institution <a id="companyInsurance" style="cursor:pointer">click here</a>
147
            		</div>
148
            	</form>
149
            </div>
150
		#end
5716 anupam.sin 151
		<div id="main-right-container">
7376 amit.gupta 152
			#set($myLocation-checked = 'style="cursor:default;font-weight:bold"')
153
			#set($mylocation-checked = 'checked')
154
			#set($hotSpot-checked = 'style="cursor:default"')
155
			#set($hotspot-checked = '')
156
			#set($shipping-div-status = "not-hidden-div")
5716 anupam.sin 157
			#set($billing-and-store-div-status = "hidden-div")
158
			#if($selectedTab == "HotSpot")
7376 amit.gupta 159
				#set($myLocation-checked = 'style="cursor:default"')
160
				#set($mylocation-checked = '')
161
				#set($hotSpot-checked = 'style="cursor:default"')
162
				#set($hotspot-checked = 'checked')
5716 anupam.sin 163
				#set($shipping-div-status = "hidden-div")
7376 amit.gupta 164
				#set($billing-and-store-div-status = "not-hidden-div")
5716 anupam.sin 165
			#end
166
			<div id="tab-container">
7376 amit.gupta 167
    			<div class="deliveryopts">
168
    					<div $myLocation-checked><input type="radio" name="deliveryLocation" value="myLocation" style="vertical-align:sub;" $mylocation-checked/>&nbsp;DELIVER TO MY ADDRESS</div>
5765 anupam.sin 169
				</div>
7376 amit.gupta 170
    			<div class="deliveryopts">
171
    				<div $hotSpot-checked><input name="deliveryLocation" type="radio" $hotspot-checked value="HotSpot" style="vertical-align:sub;"/>&nbsp;PICKUP IN STORE
172
            	         <a style="padding-left:2px" href="javascript:void(0)" id="pickupstoreInfo">
173
			 				<img id="whats-this" style="vertical-align:middle" src="/images/quesmark.png">
174
			 			</a>
175
					</div>
176
				</div>
5716 anupam.sin 177
			</div>
5614 rajveer 178
 
5716 anupam.sin 179
			<div id="store-address-div" class=$billing-and-store-div-status>
180
    			<div id="hotspot-address-heading" class="label">
5765 anupam.sin 181
					<div id="store-address-header-text" class="address-header-text">&nbsp;Select a pickup point (<b>$storeAddresses.size()</b> stores available)</div>
5746 anupam.sin 182
					<div id="zone-selector-div">
183
						<select id="zone-selector">
184
							#foreach($zone in $allZones)
5751 anupam.sin 185
								#if($zone == "All")
186
									<option id="$zone" value="$zone" >Select Zone</option>
187
								#else
188
    								#set($stringWithoutSpace = $zone.replace(" ", "_"))
189
    								<option id="$stringWithoutSpace" value="$stringWithoutSpace" >$zone</option>
190
								#end
5746 anupam.sin 191
							#end
192
						</select>
193
					</div>
5716 anupam.sin 194
				</div>
195
    			<div id="store-address-container">
196
            		<table id="store-addresses" class="shipping-page-addresses right">
197
            			<tbody>
198
                    		#foreach($storeAddress in $storeAddresses)
199
                    			#set($storeAddressId = $storeAddress.getId())
200
 
201
                    			#if($defaultStoreId == $storeAddressId)
202
                    				#set($cssClassDefault = "default-address")
203
                    			#else
204
                    				#set($cssClassDefault = "")
205
                    			#end
5746 anupam.sin 206
                    				<tr id="tr_$storeAddress.getId()" class="address $cssClassDefault" zone="$storeAddress.getZone().replace(" ", "_")">
5716 anupam.sin 207
                    					<td align="center" valign="top" class="radio">
208
                    			#if($defaultStoreId == $storeAddressId)
209
            						<img src="/images/RadioButton_Selected.png" />
210
            						<input type="hidden" id="selectedPincode" value="$storeAddress.getPin()" />
211
        						#else
212
                    				<img id="selectStoreAddress_$storeAddressId" class="store-address-selector-button" src="/images/RadioButton_Unselected.png" title="Select this Store for Shipment" />
213
                    						<form id="formChangeStoreAddressTo_$storeAddressId" method="post" action="/shipping">
214
												<input type="hidden" name="selectedTab" value="HotSpot" />
215
												<input type="hidden" name="addressid" value="$storeAddressId" />
216
												<input type="hidden" name="action" value="change" />
217
        									</form>
218
                    			#end
219
                                        </td>
220
                    					<td class="detail">
221
                    						#if($storeAddress.getName())
222
                    							<b>$storeAddress.getName()</b><br />
223
                            				#end
224
                            				#if($storeAddress.getLine1())
225
                    							<label>$storeAddress.getLine1() </label><br />
226
                            				#end	
227
                            				#if($storeAddress.getLine2() != "")
228
                    							<label>$storeAddress.getLine2()</label><br />
229
                            				#end
230
                            				#if($storeAddress.getCity())	
231
                    							<label>$storeAddress.getCity()</label><br />
232
                            				#end
233
                            				#if($storeAddress.getState())
234
                    							<label>$storeAddress.getState()</label><br />
235
                            				#end
236
                            				#if($storeAddress.getPin())	
237
                    							<label>Pin: $storeAddress.getPin()</label>
238
                    						#end
239
                                            </p>
240
                            				#if($storeAddress.getPhone())
241
                                            <b>Phone: $storeAddress.getPhone() </b>
242
                            				#end
243
                                        </td>
244
                                    </tr>
245
                    		#end
246
                        </tbody>
247
                    </table>
248
    			</div><!--End of store address container-->
249
			</div>
250
			<div id="billing-address-div" class=$billing-and-store-div-status>
251
    			<div id="billing-address-header" class="address-header label left">
252
    				<div id="billing-address-header-text" class="address-header-text">Select Billing Address</div>
253
    				<button id="addAddress" class="right">+ Add New Address</button>
254
    			</div>
255
    			<div id="billing-address-container">
256
    				<table id="billing-addresses" class="shipping-page-addresses right">
257
            			<thead></thead>
258
            			<tbody>
259
            		#set($shipAddressEmpty = 1)
260
            		#foreach($address in $addresses)
261
            			#set($shipAddressEmpty = 0)
262
            			#set($addressId = $address.getId())
263
 
264
            			#if($defaultid == $addressId)
265
            				#set($cssClassDefault = "default-address")
266
            			#else
267
            				#set($cssClassDefault = "")
268
            			#end
269
            				<tr id="tr_$address.getId()" class="address $cssClassDefault">
270
            					<td align="center" valign="top" class="radio">
271
            			#if($defaultid == $addressId)
272
            				#set($shipAddressEmpty = 0)
273
							<img id="selectAddress_$addressId" class="dummy-class" src="/images/RadioButton_Selected.png" title="Select this Address for Shipment" />
274
            						<!--<input type="hidden" id="selectedPincode" value="$address.getPin()" />-->
275
            			#else
276
            					    <img id="selectAddress_$addressId" class="billing-address-selector-button" src="/images/RadioButton_Unselected.png" title="Select this Address for Shipment" />
277
            						<!--<form id="formChangeAddressTo_$addressId" method="post" action="/shipping?action=change&selectedTab=HotSpot&addressid=$addressId">
278
									</form>-->
279
            			#end
280
                                </td>
281
            					<td class="detail">
282
            						#if($address.getName())
283
            							<b>$address.getName()</b><br />
284
                    				#end
285
                    				#if($address.getLine1())
286
            							<label>$address.getLine1() </label><br />
287
                    				#end	
288
                    				#if($address.getLine2() != "")
289
            							<label>$address.getLine2()</label><br />
290
                    				#end
291
                    				#if($address.getCity())	
292
            							<label>$address.getCity()</label><br />
293
                    				#end
294
                    				#if($address.getState())
295
            							<label>$address.getState()</label><br />
296
                    				#end
297
                    				#if($address.getPin())	
298
            							<label>Pin: $address.getPin()</label>
299
            						#end
300
                                    </p>
301
                    				#if($address.getPhone())
302
                                    <b>Phone: $address.getPhone() </b>
303
                    				#end
304
                                </td>
305
            					<!--<td class="delete">
306
            						<img id="delete_$addressId" class="delete-address" src="/images/Cross_DeleteRow_DEF.png" title="Delete this Address"/>
307
								</td>-->
308
                            </tr>
309
            		#end
310
            		#if($shipAddressEmpty!=0)
311
                            <tr><td colspan="2">You do not have an address linked to your profile. Please add one.</td></tr>
312
            		#end
313
            			<input type="hidden" id="addressEmpty" value="$shipAddressEmpty">
314
                        </tbody>
315
                    </table>
316
    			</div>
317
			</div>
318
			<div id="shipping-address-div" class=$shipping-div-status>
319
    			<div id="shipping-address-header" class="address-header label left">
320
    				<div id="shipping-address-header-text" class="address-header-text">Select Shipping Address</div>
321
    				<button id="addAddress" class="right">+ Add New Address</button>
322
    			</div>
323
    			<div id="shipping-address-container">
324
    				<table id="shipping-addresses" class="shipping-page-addresses right">
325
            			<thead></thead>
326
            			<tbody>
327
            		#set($shipAddressEmpty = 1)
328
            		#foreach($address in $addresses)
329
            			#set($shipAddressEmpty = 0)
330
            			#set($addressId = $address.getId())
331
 
332
            			#if($defaultid == $addressId)
333
            				#set($cssClassDefault = "default-address")
334
            			#else
335
            				#set($cssClassDefault = "")
336
            			#end
337
            				<tr id="tr_$address.getId()" class="address $cssClassDefault">
338
            					<td align="center" valign="top" class="radio">
339
            			#if($defaultid == $addressId)
340
            				#set($shipAddressEmpty = 0)
341
            						<img src="/images/RadioButton_Selected.png" />
342
            						<input type="hidden" id="selectedPincode" value="$address.getPin()" />
343
            			#else
344
            					    <img id="selectAddress_$addressId" class="button-address-select" src="/images/RadioButton_Unselected.png" title="Select this Address for Shipment" />
345
            						<form id="formChangeAddressTo_$addressId" method="post" action="/shipping?action=change&selectedTab=myLocation&addressid=$addressId">
346
									</form>
347
            			#end
348
                                </td>
349
            					<td class="detail">
350
            						#if($address.getName())
351
            							<b>$address.getName()</b><br />
352
                    				#end
353
                    				#if($address.getLine1())
354
            							<label>$address.getLine1() </label><br />
355
                    				#end	
356
                    				#if($address.getLine2() != "")
357
            							<label>$address.getLine2()</label><br />
358
                    				#end
359
                    				#if($address.getCity())	
360
            							<label>$address.getCity()</label><br />
361
                    				#end
362
                    				#if($address.getState())
363
            							<label>$address.getState()</label><br />
364
                    				#end
365
                    				#if($address.getPin())	
366
            							<label>Pin: $address.getPin()</label>
367
            						#end
368
                                    </p>
369
                    				#if($address.getPhone())
370
                                    <b>Phone: $address.getPhone() </b>
371
                    				#end
372
                                </td>
373
                            </tr>
374
            		#end
375
            		#if($shipAddressEmpty!=0)
376
                            <tr><td colspan="2">You do not an shipping address linked to your profile. Please add one.</td></tr>
377
            		#end
378
            			<input type="hidden" id="addressEmpty" value="$shipAddressEmpty">
379
                        </tbody>
380
                    </table>
381
    			</div>
382
			</div>
861 vikas 383
 
3830 chandransh 384
		#if($shipAddressEmpty == 1)
385
			<input type="hidden" id="canProceedToPay" value="0" />
5831 anupam.sin 386
			<input type="hidden" id="reasonActionDisability" value="No address selected" />
3830 chandransh 387
		#elseif($locationServiceable == 0)
388
			<input type="hidden" id="canProceedToPay" value="0" />
389
			<input type="hidden" id="reasonActionDisability" value="Location not serviceable. Please specify a different address" />
3101 chandransh 390
		#else
3830 chandransh 391
			<input type="hidden" id="canProceedToPay" value="1" />
3101 chandransh 392
		#end
3830 chandransh 393
		<!-- Add Shipping Detail Start-->
394
        <form name="frmShippingAddress" id="frmShippingAddress" method="post" action="/shipping" class="right">
395
			<table cellpadding="0" cellspacing="0">
396
				<thead>
397
					<tr class="header">
5803 anupam.sin 398
						#if($selectedTab == "HotSpot")
399
							<td id="newAddressFormHeading" colspan="2">Enter the address which you want printed on the bill</td>
400
						#else
401
							<td id="newAddressFormHeading" colspan="2">Enter the address where you want the items to be delivered</td>
402
						#end
3830 chandransh 403
					</tr>
404
                </thead>
405
				<tbody>
406
					<tr>
407
						<td>&nbsp;</td>
408
						<td class="instruction">All Fields are required</td>
409
                    </tr>
6903 anupam.sin 410
					#if($insuranceDetailsRequired.equals("inForm"))
411
						<tr>
412
        					<td class="label" align="right"><sup>*</sup>Father's/Husband's Name:</td>
413
        					<td class="input">
414
        						<input type="text" id="guardianName" name="guardianName" class="searchbox right" >
415
    							</input>
416
        					</td>
417
        				</tr>
418
						<tr>
6971 anupam.sin 419
        					<td class="label" align="right"><sup>*</sup>Date of Birth (dd/mm/yyyy):</td>
6903 anupam.sin 420
        					<td class="input">
421
        						<input type="text" id="dob" name="dob" style='color:#999;' value='Example: 18/08/1986' class="searchbox right" >
422
    							</input>
423
        					</td>
424
        				</tr>
6971 anupam.sin 425
						<tr >
426
							<td colspan="2">
427
								<div id="insDetErr" style="display:none;border: 1px solid red;padding: 7px;text-align: center;color: red;font-size: 14px;margin: 0 -5px 0 -5px;background-color: lightyellow;box-shadow: 0 0 3px 0 red inset;">
428
								</div>
429
							</td>
430
						</tr>
6903 anupam.sin 431
						<tr id="insuranceHelpInfo">
432
							<td colspan="2" style="color:#777;font-size:13px;padding:5px;">
433
                				We need the above details for the purpose of insurance.<br>
434
                				If you do not wish to take insurance <a id="cancelInsurance" style="cursor:pointer">click here</a><br>
435
								<hr>
436
							</td>	
437
						</tr>
438
					#end
439
					<tr>
440
    					<td class="label" align="right"><sup>*</sup>Name:</td>
441
    					<td class="input">
442
    						<input type="text" id="shipName" name="name" class="searchbox right" >
443
							</input>
444
    					</td>
445
    				</tr>
446
                    <tr>
447
    					<td class="label" align="right"><sup>*</sup>Address Line 1:</td>
448
    					<td class="input">
449
    						<input type="text" id="shipAddress1" name="line1" class="searchbox right" />
450
    					</td>
451
    				</tr>
452
                    <tr>
453
    					<td class="label" align="right">Address Line 2:</td>
454
    					<td class="input">
455
    						<input type="text" id="shipAddress2" name="line2" class="searchbox right" />
456
    					</td>
457
    				</tr>
458
                    <tr>
459
    					<td class="label" align="right"><sup>*</sup>State</td>
460
    					<td class="input">
461
    						<select class="select_state" name="state" id="shipState">
462
    						#include("templates/stateslist.vm")
463
    						</select>
464
    					</td>
465
    				</tr>
466
                    <tr>
467
    					<td class="label" align="right"><sup>*</sup>City:</td>
468
    					<td class="input">
469
    						<input type="text" id="shipCity" name="city" class="searchbox"/>
470
    					</td>
471
    				</tr>
472
                    <tr>
473
    					<td class="label" align="right"><sup>*</sup>Pin Code:</td>
474
    					<td class="input">
475
    						<input type="text" id="shipPin" name="pincode" value="" class="searchbox textbox-pincode" />
476
    					</td>
477
    				</tr>
478
                    <tr>
479
    					<td class="label" align="right"><sup>*</sup>Phone:</td>
480
    					<td class="input">
481
    						<input type="text" id="shipPhone" name="phone" value="" class="searchbox right" />
482
    					</td>
483
    				</tr>
484
                    <tr>
485
    					<td colspan="2" align="center">
486
    						<input type="hidden" name="action" value="add" />
487
    						<input type="submit"  id="submitAddress" value="Save" class="new-button" />
488
    						<a id="closeAddAddressForm">Close</a>
489
    					</td>
490
    				</tr>
491
    				<tr>
492
    					<td>&nbsp;</td>
493
    					<td class="instruction">This will be added to your list of addresses</td>
494
    				</tr>
3830 chandransh 495
                </tbody>
496
			</table>
5831 anupam.sin 497
			#if($selectedTab == "HotSpot")
498
				<input id="tabSelectorForAddAddressForm" type="hidden" name="selectedTab" value="HotSpot" />
499
			#else
500
				<input id="tabSelectorForAddAddressForm" type="hidden" name="selectedTab" value="myLocation" />
501
			#end
5716 anupam.sin 502
		</form>
503
	</div><!--End of main-right- Container-->