Transdirect_Shipping - Version 1.0.0

Version Notes

First version of Magento Module

Download this release

Release Info

Developer Joshua Oliver
Extension Transdirect_Shipping
Version 1.0.0
Comparing to
See all releases


Version 1.0.0

Files changed (35) hide show
  1. app/code/local/Transdirect/Ship/Block/Quotes.php +5 -0
  2. app/code/local/Transdirect/Ship/Block/Ship.php +5 -0
  3. app/code/local/Transdirect/Ship/Helper/Data.php +6 -0
  4. app/code/local/Transdirect/Ship/Model/Carrier/Transdirect.php +318 -0
  5. app/code/local/Transdirect/Ship/Model/Carrier/Transdirect_new_28-5-2014.php +302 -0
  6. app/code/local/Transdirect/Ship/Model/Carrier/bkp_26-5-2014-morning----Excellence.php +260 -0
  7. app/code/local/Transdirect/Ship/Model/Carrier/bkp_28-5-2014-evening-----Transdirect.php +283 -0
  8. app/code/local/Transdirect/Ship/Model/Carrier/bkp_30-5-2014---Transdirect.php +304 -0
  9. app/code/local/Transdirect/Ship/Model/Source/AddressType.php +27 -0
  10. app/code/local/Transdirect/Ship/Model/Source/Couriers.php +19 -0
  11. app/code/local/Transdirect/Ship/Model/Source/Quotes.php +15 -0
  12. app/code/local/Transdirect/Ship/controllers/IndexController.php +441 -0
  13. app/code/local/Transdirect/Ship/controllers/bkp_29-5-2014---IndexController.php +412 -0
  14. app/code/local/Transdirect/Ship/controllers/bkp_30-5-2014----IndexController.php +427 -0
  15. app/code/local/Transdirect/Ship/etc/adminhtml.xml +23 -0
  16. app/code/local/Transdirect/Ship/etc/bkp_30-5-2014---config.xml +88 -0
  17. app/code/local/Transdirect/Ship/etc/bkp_30-5-2014---system.xml +207 -0
  18. app/code/local/Transdirect/Ship/etc/config.xml +88 -0
  19. app/code/local/Transdirect/Ship/etc/system.xml +432 -0
  20. app/code/local/Transdirect/Ship/sql/ship_setup/mysql4-install-0.1.0.php +84 -0
  21. app/design/frontend/default/default/template/ship/bkp_29-5-2014--working----product_shipping.phtml +397 -0
  22. app/design/frontend/default/default/template/ship/bkp_29-5-2014--working----shipping.phtml +179 -0
  23. app/design/frontend/default/default/template/ship/bkp_30-5-2014---product_shipping.phtml +437 -0
  24. app/design/frontend/default/default/template/ship/bkp_30-5-2014---shipping.phtml +237 -0
  25. app/design/frontend/default/default/template/ship/checkout/cart/totals.phtml +48 -0
  26. app/design/frontend/default/default/template/ship/footer/js.phtml +7 -0
  27. app/design/frontend/default/default/template/ship/product_shipping.phtml +307 -0
  28. app/design/frontend/default/default/template/ship/shipping.phtml +354 -0
  29. package.xml +40 -0
  30. skin/frontend/default/default/ship/css/bkp_4-7-2014----jquery.autoSuggest.css +253 -0
  31. skin/frontend/default/default/ship/css/jquery.autoSuggest.css +257 -0
  32. skin/frontend/default/default/ship/js/bkp_4-7-2014---jquery.autoSuggest.js +437 -0
  33. skin/frontend/default/default/ship/js/jquery-1.11.0.js +10337 -0
  34. skin/frontend/default/default/ship/js/jquery.autoSuggest.js +440 -0
  35. skin/frontend/default/default/ship/js/location_script.js +1 -0
app/code/local/Transdirect/Ship/Block/Quotes.php ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ <?php
2
+ class Transdirect_Ship_Block_Quotes extends Mage_Core_Block_Template
3
+ {
4
+
5
+ }
app/code/local/Transdirect/Ship/Block/Ship.php ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ <?php
2
+ class Transdirect_Ship_Block_Ship extends Mage_Core_Block_Template
3
+ {
4
+
5
+ }
app/code/local/Transdirect/Ship/Helper/Data.php ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Transdirect_Ship_Helper_Data extends Mage_Core_Helper_Abstract
4
+ {
5
+
6
+ }
app/code/local/Transdirect/Ship/Model/Carrier/Transdirect.php ADDED
@@ -0,0 +1,318 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Transdirect_Ship_Model_Carrier_Transdirect extends Mage_Shipping_Model_Carrier_Abstract
3
+ implements Mage_Shipping_Model_Carrier_Interface {
4
+ protected $_code = 'transdirect';
5
+
6
+ public function collectRates(Mage_Shipping_Model_Rate_Request $request)
7
+ {
8
+ //echo '<pre>'; print_r($request); die('request');
9
+ if (!Mage::getStoreConfig('carriers/'.$this->_code.'/active')) {
10
+ return false;
11
+ }
12
+
13
+ $price = $this->getConfigData('price'); // set a default shipping price maybe 0
14
+ $price = 0;
15
+
16
+ /* API Request Start */
17
+
18
+ $account_email = Mage::getStoreConfig('transdirect_section/authentication/email');
19
+ $account_password = Mage::getStoreConfig('transdirect_section/authentication/password');
20
+ $warehouse_suburb = Mage::getStoreConfig('transdirect_section/warehouseaddress/suburb');
21
+ $warehouse_postcode = Mage::getStoreConfig('transdirect_section/warehouseaddress/postcode');
22
+ $warehouse_address = Mage::getStoreConfig('transdirect_section/warehouseaddress/address');
23
+ $dimension_width = Mage::getStoreConfig('transdirect_section/defaultitemsize/dimensionswidth');
24
+ $dimension_height = Mage::getStoreConfig('transdirect_section/defaultitemsize/dimensionsheight');
25
+ $dimension_dim = Mage::getStoreConfig('transdirect_section/defaultitemsize/dimensionsdim');
26
+ $dimension_weight = Mage::getStoreConfig('transdirect_section/defaultitemsize/weight');
27
+ $display_carriers = Mage::getStoreConfig('transdirect_section/displayoptions/availablecoriers');
28
+ $display_quote = Mage::getStoreConfig('transdirect_section/displayoptions/quotedisplay');
29
+ $display_fixedprice = Mage::getStoreConfig('transdirect_section/displayoptions/fixedpriceonerror');
30
+ $display_fixedprice1 = Mage::getStoreConfig('transdirect_section/displayoptions/fixedpriceonerror1');
31
+ $display_showcouriername = Mage::getStoreConfig('transdirect_section/displayoptions/showcouriernames');
32
+ $display_surcharge = Mage::getStoreConfig('transdirect_section/displayoptions/handlingsurcharge');
33
+ $display_surcharge1 = Mage::getStoreConfig('transdirect_section/displayoptions/handlingsurcharge1');
34
+ $display_includesurchage = Mage::getStoreConfig('transdirect_section/displayoptions/includesurcharge');
35
+
36
+
37
+ // Cart Total Weight Code Start by Nayan
38
+
39
+ $quote = Mage::getSingleton('checkout/session')->getQuote();
40
+ $cartItems = $quote->getAllVisibleItems();
41
+ $total_qty = Mage::helper('checkout/cart')->getSummaryCount();
42
+
43
+ $weight = 0;
44
+ $height = 0;
45
+ $width = 0;
46
+ $length = 0;
47
+ foreach ($cartItems as $item)
48
+ {
49
+ //echo '<pre>'; print_r($item->getQty()); die('qty');
50
+ $productId = $item->getProductId();
51
+ $productQty = $item->getQty();
52
+
53
+ $product = Mage::getModel('catalog/product')->load($productId);
54
+ //echo $product->getItemWeight();
55
+ $weight += $product->getItemWeight() * $productQty;
56
+ $height += $product->getItemHeight() * $productQty;
57
+ $width += $product->getItemWidth() * $productQty;
58
+ $length += $product->getItemDim() * $productQty;
59
+ }
60
+
61
+ $cart_total_weight = $weight;
62
+ $cart_total_height = $height;
63
+ $cart_total_width = $width;
64
+ $cart_total_length = $length;
65
+
66
+ // Cart Total Weight Code End by Nayan
67
+
68
+
69
+ if(!$cart_total_weight){ $cart_total_weight = $dimension_weight; }
70
+ if(!$cart_total_height){ $cart_total_height = $dimension_height; }
71
+ if(!$cart_total_width){ $cart_total_width = $dimension_width; }
72
+ if(!$cart_total_length){ $cart_total_length = $dimension_dim; }
73
+
74
+ /* echo 'width--'.$cart_total_weight;
75
+ echo 'height---'.$cart_total_height;
76
+ echo 'width---'.$cart_total_width;
77
+ echo 'length---'.$cart_total_length;
78
+ die('here');
79
+ */
80
+
81
+ // Getting Cart page Quote Address Details Code Start by Nayan
82
+
83
+ $receiver_country = (string) Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getCountryId();
84
+ $receiver_postcode = (string) Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getPostcode();
85
+ $receiver_regionId = (string) Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getRegionId();
86
+ $receiver_region = (string) Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getRegion();
87
+
88
+ $region = Mage::getModel('directory/region')->load($receiver_regionId);
89
+ $receiver_region_tmp = $region->getName();
90
+
91
+ /*if($receiver_region == '') {
92
+ Mage::getSingleton('checkout/session')->addError("Please enter state/province.");
93
+ session_write_close();
94
+ //$this->_redirect('checkout/cart');
95
+ return false;
96
+ }*/
97
+
98
+ /*if(!is_numeric($receiver_postcode) || $receiver_postcode == "0" || $receiver_postcode == "00" || $receiver_postcode == "000" || $receiver_postcode == "0000" || $receiver_postcode == "00000" || $receiver_postcode == "000000" || $receiver_postcode == "0000000") {
99
+ Mage::getSingleton('checkout/session')->addError("Please enter valid and correct postcode.");
100
+ session_write_close();
101
+ return false;
102
+ //$this->_redirect('checkout/cart');
103
+ }*/
104
+
105
+ if(!$receiver_regionId)
106
+ {
107
+ $receiver_suburb = $receiver_region;
108
+ }
109
+ else
110
+ {
111
+ $receiver_suburb = $receiver_region_tmp;
112
+ }
113
+
114
+ /*echo $tmp_cart_postcode_val = $_COOKIE['cart_postocde'];
115
+ echo $tmp_cart_locality_val = $_COOKIE['cart_locality'];
116
+ //die('val');*/
117
+
118
+ $receiver_postcode = $_COOKIE['cart_postocde'];
119
+ $receiver_suburb = $_COOKIE['cart_locality'];
120
+
121
+
122
+ /* echo Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getPostcode();
123
+ echo Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getCountryId();
124
+ echo Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getRegion();
125
+ echo Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getRegionId();
126
+ */
127
+
128
+
129
+
130
+
131
+ //echo $receiver_suburb; die('suburb');
132
+
133
+ // Getting Cart page Quote Address Details Code End by Nayan
134
+
135
+ $quoteDetails = array(
136
+ 'declared_value'=>10000,
137
+ 'items' => array
138
+ (
139
+ array('width' => $cart_total_width, 'height' => $cart_total_height, 'weight'=> $cart_total_weight, 'length'=> $cart_total_length, 'quantity'=>$total_qty, 'description'=>'item description')
140
+ ),
141
+ 'sender' => array('country' => 'AU', 'suburb'=> $warehouse_suburb, 'postcode' => $warehouse_postcode, 'type'=> $warehouse_address),
142
+ 'receiver' => array('country' => $receiver_country, 'suburb'=>$receiver_suburb, 'postcode' => $receiver_postcode, 'type'=> 'residential')
143
+ );
144
+
145
+ $json_data = json_encode($quoteDetails);
146
+ //echo '<pre>'; print_r($json_data); die('json');
147
+
148
+ $ch = curl_init();
149
+ curl_setopt($ch, CURLOPT_URL, "https://www.staging.transdirect.com.au/api/bookings");
150
+ //curl_setopt($ch, CURLOPT_URL, "https://www.transdirect.com.au/api/bookings");
151
+ curl_setopt($ch, CURLOPT_USERPWD, "$account_email:$account_password");
152
+ curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
153
+ curl_setopt($ch, CURLOPT_HEADER, FALSE);
154
+ curl_setopt($ch, CURLOPT_POST, TRUE);
155
+ curl_setopt($ch, CURLOPT_POSTFIELDS, $json_data);
156
+ curl_setopt($ch, CURLOPT_HTTPHEADER, array("Content-Type: application/json"));
157
+ curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
158
+ $response = curl_exec($ch);
159
+
160
+ $report = curl_getinfo($ch);
161
+ //echo '<pre>'; print_r($report);
162
+
163
+ if(curl_errno($ch)) {
164
+ echo 'Response error: ' . curl_error($ch);
165
+ }
166
+
167
+ curl_close($ch);
168
+
169
+ if ($response) {
170
+ $json_decode_varible = json_decode($response, true);
171
+ $quotes_val = $json_decode_varible['quotes'];
172
+ //echo "<pre>"; print_r($quotes_val); die('quotes');
173
+
174
+ Mage::getSingleton('core/session')->unsTransitVal();
175
+ Mage::getSingleton('core/session')->unsSomeSessionVar();
176
+ $session_val1 = Mage::getSingleton('core/session')->setSomeSessionVar1($quotes_val);
177
+
178
+
179
+ } else {
180
+ echo "Failed";
181
+ }
182
+
183
+ /* End */
184
+
185
+
186
+ //$available_carriers = array($display_carriers);
187
+ //print_r($available_carriers);
188
+ $available_carriers = explode( ',', $display_carriers);
189
+
190
+ /* function cmp1($a, $b) {
191
+ return strcmp($a['transit_time'], $b['transit_time']);
192
+ }
193
+ */
194
+
195
+ function build_sorter($key) {
196
+ return function ($a, $b) use ($key) {
197
+ return strnatcmp($a[$key], $b[$key]);
198
+ };
199
+ }
200
+
201
+ $display_quote = Mage::getStoreConfig('transdirect_section/displayoptions/quotedisplay');
202
+
203
+ if($display_quote == 'display_cheapest'){ uasort($quotes_val, build_sorter('total')); }
204
+ if($display_quote == 'display_cheapest_fastest'){ uasort($quotes_val, build_sorter('transit_time')); }
205
+
206
+
207
+ $handling = Mage::getStoreConfig('carriers/'.$this->_code.'/handling');
208
+ $result = Mage::getModel('shipping/rate_result');
209
+ $show = true;
210
+ if($show){
211
+
212
+ //die('before');
213
+ //$quotes_val = Mage::getSingleton('core/session')->getSomeSessionVar();
214
+
215
+ //$session = Mage::getSingleton('core/session', array('name' => 'frontend'));
216
+ //echo $session->getSomeSessionVar();
217
+
218
+ //echo '<pre>'; print_r($session->getSomeSessionVar());
219
+ //die('after');
220
+
221
+ if($quotes_val == ''){
222
+ Mage::getSingleton('core/session')->unsetAll();
223
+ Mage::getSingleton('core/session')->addError("Please enter correct details, either suburb or postcode not entered properly.");
224
+ //session_write_close();
225
+ //return false;
226
+
227
+ $method = Mage::getModel('shipping/rate_result_method');
228
+ $method->setCarrier($this->_code);
229
+ $method->setMethod($this->_code);
230
+ $method->setCarrierTitle($this->getConfigData('title'));
231
+ $method->setMethodTitle('Fixed Price');
232
+
233
+ if($display_fixedprice == '1'){
234
+ $method->setPrice($display_fixedprice1);
235
+ $method->setCost($display_fixedprice1);
236
+ }
237
+
238
+ $result->append($method);
239
+
240
+ }
241
+ else {
242
+
243
+
244
+
245
+
246
+ foreach($quotes_val as $key => $val) {
247
+
248
+ if($key=='fastway'){ $method_title = "Fastway"; }
249
+ if($key=='toll_priority_overnight'){$method_title = "Toll Priority Overnight"; }
250
+ if($key=='couriers_please'){$method_title = "Couriers Please"; }
251
+ if($key=='allied'){$method_title = "Allied Express"; }
252
+ if($key=='toll'){ $method_title = "Toll"; }
253
+ if($key=='mainfreight'){ $method_title = "Mainfreight"; }
254
+ if($key=='northline'){$method_title = "Northline"; }
255
+
256
+ $quote_form_region_val = Mage::getSingleton('core/session')->setTransitVal($quotes_val[$key]['transit_time']);
257
+
258
+ //echo $method_title; die;
259
+ // echo count($val); die;
260
+ //echo $key.'<br>';
261
+ //print_r($available_carriers);
262
+
263
+ //usort($quotes_val, 'cmp1');
264
+
265
+ $courier_title = $key;
266
+ $courier_price = $quotes_val[$key]['total'];
267
+
268
+ $method = Mage::getModel('shipping/rate_result_method');
269
+ $method->setCarrier($this->_code);
270
+ $method->setMethod($courier_title);
271
+ $method->setCarrierTitle($this->getConfigData('title'));
272
+
273
+ if($display_surcharge == '1'){
274
+
275
+ $tmp_display_surcharge = $courier_price + $display_surcharge1;
276
+ $tmp_method_title = $method_title.' + Handling Charge';
277
+
278
+ if(in_array($key,$available_carriers)) {
279
+ $method->setMethodTitle($tmp_method_title);
280
+ $method->setPrice($tmp_display_surcharge);
281
+ $method->setCost($tmp_display_surcharge);
282
+ }
283
+
284
+ } else {
285
+
286
+ if(in_array($key,$available_carriers)) {
287
+ //echo '<br>'.$key . ' - matched<br>';
288
+ $method->setMethodTitle($method_title);
289
+ $method->setSortOrder($quotes_val[$key]['transit_time']);
290
+ $method->setPrice($courier_price);
291
+ $method->setCost($courier_price);
292
+ }
293
+
294
+ }
295
+
296
+ $result->append($method);
297
+
298
+ }
299
+ //die('arr');
300
+ }
301
+
302
+
303
+ //echo '<pre>'; print_r($result); die('model');
304
+
305
+ }else{
306
+ $error = Mage::getModel('shipping/rate_result_error');
307
+ $error->setCarrier($this->_code);
308
+ $error->setCarrierTitle($this->getConfigData('name'));
309
+ $error->setErrorMessage($this->getConfigData('specificerrmsg'));
310
+ $result->append($error);
311
+ }
312
+ return $result;
313
+ }
314
+ public function getAllowedMethods()
315
+ {
316
+ return array('transdirect'=>$this->getConfigData('name'));
317
+ }
318
+ }
app/code/local/Transdirect/Ship/Model/Carrier/Transdirect_new_28-5-2014.php ADDED
@@ -0,0 +1,302 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Transdirect_Ship_Model_Carrier_Transdirect extends Mage_Shipping_Model_Carrier_Abstract
3
+ implements Mage_Shipping_Model_Carrier_Interface {
4
+ protected $_code = 'transdirect';
5
+
6
+ public function collectRates(Mage_Shipping_Model_Rate_Request $request)
7
+ {
8
+ //echo '<pre>'; print_r($request); die('request');
9
+ if (!Mage::getStoreConfig('carriers/'.$this->_code.'/active')) {
10
+ return false;
11
+ }
12
+
13
+ $price = $this->getConfigData('price'); // set a default shipping price maybe 0
14
+ $price = 0;
15
+
16
+ /* API Request Start */
17
+
18
+ $account_email = Mage::getStoreConfig('transdirect_section/authentication/email');
19
+ $account_password = Mage::getStoreConfig('transdirect_section/authentication/password');
20
+ $warehouse_suburb = Mage::getStoreConfig('transdirect_section/warehouseaddress/suburb');
21
+ $warehouse_postcode = Mage::getStoreConfig('transdirect_section/warehouseaddress/postcode');
22
+ $warehouse_address = Mage::getStoreConfig('transdirect_section/warehouseaddress/address');
23
+ $dimension_width = Mage::getStoreConfig('transdirect_section/defaultitemsize/dimensionswidth');
24
+ $dimension_height = Mage::getStoreConfig('transdirect_section/defaultitemsize/dimensionsheight');
25
+ $dimension_dim = Mage::getStoreConfig('transdirect_section/defaultitemsize/dimensionsdim');
26
+ $dimension_weight = Mage::getStoreConfig('transdirect_section/defaultitemsize/weight');
27
+ $display_carriers = Mage::getStoreConfig('transdirect_section/displayoptions/availablecoriers');
28
+ $display_quote = Mage::getStoreConfig('transdirect_section/displayoptions/quotedisplay');
29
+ $display_fixedprice = Mage::getStoreConfig('transdirect_section/displayoptions/fixedpriceonerror');
30
+ $display_fixedprice1 = Mage::getStoreConfig('transdirect_section/displayoptions/fixedpriceonerror1');
31
+ $display_showcouriername = Mage::getStoreConfig('transdirect_section/displayoptions/showcouriernames');
32
+ $display_surcharge = Mage::getStoreConfig('transdirect_section/displayoptions/handlingsurcharge');
33
+ $display_surcharge1 = Mage::getStoreConfig('transdirect_section/displayoptions/handlingsurcharge1');
34
+ $display_includesurchage = Mage::getStoreConfig('transdirect_section/displayoptions/includesurcharge');
35
+
36
+
37
+ // Cart Total Weight Code Start by Nayan
38
+
39
+ $quote = Mage::getSingleton('checkout/session')->getQuote();
40
+ $cartItems = $quote->getAllVisibleItems();
41
+ $total_qty = Mage::helper('checkout/cart')->getSummaryCount();
42
+
43
+ $weight = 0;
44
+ $height = 0;
45
+ $width = 0;
46
+ $length = 0;
47
+ foreach ($cartItems as $item)
48
+ {
49
+ //echo '<pre>'; print_r($item->getQty()); die('qty');
50
+ $productId = $item->getProductId();
51
+ $productQty = $item->getQty();
52
+
53
+ $product = Mage::getModel('catalog/product')->load($productId);
54
+ //echo $product->getItemWeight();
55
+ $weight += $product->getItemWeight() * $productQty;
56
+ $height += $product->getItemHeight() * $productQty;
57
+ $width += $product->getItemWidth() * $productQty;
58
+ $length += $product->getItemDim() * $productQty;
59
+ }
60
+
61
+ $cart_total_weight = $weight;
62
+ $cart_total_height = $height;
63
+ $cart_total_width = $width;
64
+ $cart_total_length = $length;
65
+
66
+ // Cart Total Weight Code End by Nayan
67
+
68
+
69
+ if(!$cart_total_weight){ $cart_total_weight = $dimension_weight; }
70
+ if(!$cart_total_height){ $cart_total_height = $dimension_height; }
71
+ if(!$cart_total_width){ $cart_total_width = $dimension_width; }
72
+ if(!$cart_total_length){ $cart_total_length = $dimension_dim; }
73
+
74
+ /* echo 'width--'.$cart_total_weight;
75
+ echo 'height---'.$cart_total_height;
76
+ echo 'width---'.$cart_total_width;
77
+ echo 'length---'.$cart_total_length;
78
+ die('here');
79
+ */
80
+
81
+ // Getting Cart page Quote Address Details Code Start by Nayan
82
+
83
+ $receiver_country = (string) Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getCountryId();
84
+ $receiver_postcode = (string) Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getPostcode();
85
+ $receiver_regionId = (string) Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getRegionId();
86
+ $receiver_region = (string) Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getRegion();
87
+
88
+ $region = Mage::getModel('directory/region')->load($receiver_regionId);
89
+ $receiver_region_tmp = $region->getName();
90
+
91
+ if($receiver_region == '') {
92
+ Mage::getSingleton('checkout/session')->addError("Please enter state/province.");
93
+ session_write_close();
94
+ //$this->_redirect('checkout/cart');
95
+ return false;
96
+ }
97
+
98
+ if(!is_numeric($receiver_postcode) || $receiver_postcode == "0" || $receiver_postcode == "00" || $receiver_postcode == "000" || $receiver_postcode == "0000" || $receiver_postcode == "00000" || $receiver_postcode == "000000" || $receiver_postcode == "0000000") {
99
+ Mage::getSingleton('checkout/session')->addError("Please enter valid and correct postcode.");
100
+ session_write_close();
101
+ return false;
102
+ //$this->_redirect('checkout/cart');
103
+ }
104
+
105
+ if(!$receiver_regionId)
106
+ {
107
+ $receiver_suburb = $receiver_region;
108
+ }
109
+ else
110
+ {
111
+ $receiver_suburb = $receiver_region_tmp;
112
+ }
113
+
114
+
115
+ /* echo Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getPostcode();
116
+ echo Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getCountryId();
117
+ echo Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getRegion();
118
+ echo Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getRegionId();
119
+ */
120
+
121
+
122
+
123
+
124
+ //echo $receiver_suburb; die('suburb');
125
+
126
+ // Getting Cart page Quote Address Details Code End by Nayan
127
+
128
+ $quoteDetails = array(
129
+ 'declared_value'=>10000,
130
+ 'items' => array
131
+ (
132
+ array('width' => $cart_total_width, 'height' => $cart_total_height, 'weight'=> $cart_total_weight, 'length'=> $cart_total_length, 'quantity'=>$total_qty, 'description'=>'item description')
133
+ ),
134
+ 'sender' => array('country' => 'AU', 'suburb'=> $warehouse_suburb, 'postcode' => $warehouse_postcode, 'type'=> $warehouse_address),
135
+ 'receiver' => array('country' => $receiver_country, 'suburb'=>$receiver_suburb, 'postcode' => $receiver_postcode, 'type'=> 'residential')
136
+ );
137
+
138
+ $json_data = json_encode($quoteDetails);
139
+ //echo '<pre>'; print_r($json_data); //die('json');
140
+
141
+ $ch = curl_init();
142
+ curl_setopt($ch, CURLOPT_URL, "https://www.staging.transdirect.com.au/api/bookings");
143
+ //curl_setopt($ch, CURLOPT_URL, "https://www.transdirect.com.au/api/bookings");
144
+ curl_setopt($ch, CURLOPT_USERPWD, "$account_email:$account_password");
145
+ curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
146
+ curl_setopt($ch, CURLOPT_HEADER, FALSE);
147
+ curl_setopt($ch, CURLOPT_POST, TRUE);
148
+ curl_setopt($ch, CURLOPT_POSTFIELDS, $json_data);
149
+ curl_setopt($ch, CURLOPT_HTTPHEADER, array("Content-Type: application/json"));
150
+ curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
151
+ $response = curl_exec($ch);
152
+
153
+ $report = curl_getinfo($ch);
154
+ //echo '<pre>'; print_r($report);
155
+
156
+ if(curl_errno($ch)) {
157
+ echo 'Response error: ' . curl_error($ch);
158
+ }
159
+
160
+ curl_close($ch);
161
+
162
+ if ($response) {
163
+ $json_decode_varible = json_decode($response, true);
164
+ $quotes_val = $json_decode_varible['quotes'];
165
+ //echo "<pre>"; print_r($quotes_val);
166
+
167
+ } else {
168
+ echo "Failed";
169
+ }
170
+
171
+ /* End */
172
+
173
+
174
+ //$available_carriers = array($display_carriers);
175
+ //print_r($available_carriers);
176
+ $available_carriers = explode( ',', $display_carriers);
177
+
178
+ /* function cmp1($a, $b) {
179
+ return strcmp($a['transit_time'], $b['transit_time']);
180
+ }
181
+ */
182
+
183
+
184
+ function build_sorter($key) {
185
+ return function ($a, $b) use ($key) {
186
+ return strnatcmp($a[$key], $b[$key]);
187
+ };
188
+ }
189
+
190
+ $display_quote = Mage::getStoreConfig('transdirect_section/displayoptions/quotedisplay');
191
+
192
+ if($display_quote == 'display_cheapest'){ uasort($quotes_val, build_sorter('total')); }
193
+ if($display_quote == 'display_cheapest_fastest'){ uasort($quotes_val, build_sorter('transit_time')); }
194
+
195
+
196
+ //echo "After sort</br>.<pre>"; print_r($quotes_val); die('quotes');
197
+
198
+
199
+ $handling = Mage::getStoreConfig('carriers/'.$this->_code.'/handling');
200
+ $result = Mage::getModel('shipping/rate_result');
201
+ $show = true;
202
+ if($show){
203
+
204
+ //die('before');
205
+ //$quotes_val = Mage::getSingleton('core/session')->getSomeSessionVar();
206
+
207
+ //$session = Mage::getSingleton('core/session', array('name' => 'frontend'));
208
+ //echo $session->getSomeSessionVar();
209
+
210
+ //echo '<pre>'; print_r($session->getSomeSessionVar());
211
+ //die('after');
212
+
213
+ if($quotes_val == ''){
214
+ Mage::getSingleton('core/session')->addError("Please fill the information properly, there is some fields are missing or not entered properly.");
215
+ session_write_close();
216
+ return false;
217
+
218
+ $method = Mage::getModel('shipping/rate_result_method');
219
+ $method->setCarrier($this->_code);
220
+ $method->setMethod($this->_code);
221
+ $method->setCarrierTitle($this->getConfigData('title'));
222
+ $method->setMethodTitle('Fixed Price');
223
+
224
+ if($display_fixedprice == '1'){
225
+ $method->setPrice($display_fixedprice1);
226
+ $method->setCost($display_fixedprice1);
227
+ }
228
+
229
+ $result->append($method);
230
+
231
+ }
232
+ else {
233
+
234
+
235
+
236
+
237
+ foreach($quotes_val as $key => $val) {
238
+ // echo count($val); die;
239
+ //echo $key.'<br>';
240
+ //print_r($available_carriers);
241
+
242
+ //usort($quotes_val, 'cmp1');
243
+
244
+ $courier_title = $key;
245
+ $courier_price = $quotes_val[$key]['total'];
246
+ $courier_transittime = $quotes_val[$key]['transit_time'];
247
+
248
+ $method = Mage::getModel('shipping/rate_result_method');
249
+ $method->setCarrier($this->_code);
250
+ $method->setMethod($courier_title);
251
+ $method->setCarrierTitle($this->getConfigData('title'));
252
+
253
+ if($display_surcharge == '1'){
254
+
255
+ $tmp_display_surcharge = $courier_price + $display_surcharge1;
256
+ $tmp_method_title = $courier_title.' + Handling Charge';
257
+
258
+ $method->setMethodTitle($tmp_method_title);
259
+ $method->setTransitTime($courier_transittime);
260
+ $method->setPrice($tmp_display_surcharge);
261
+ $method->setCost($tmp_display_surcharge);
262
+
263
+ } else {
264
+
265
+ if(in_array($key,$available_carriers)) {
266
+ //echo '<br>'.$key . ' - matched<br>';
267
+ $method->setMethodTitle($courier_title);
268
+ $method->setTransitTime($courier_transittime);
269
+ $method->setPrice($courier_price);
270
+ $method->setCost($courier_price);
271
+ } else {
272
+ //echo '<br>'.$key . ' - not found<br>';
273
+ }
274
+
275
+
276
+
277
+ }
278
+
279
+ $result->append($method);
280
+
281
+ }
282
+ /*echo '<pre>'; print_r($result);
283
+ die('arr');*/
284
+ }
285
+
286
+
287
+ //echo '<pre>'; print_r($result); //die('model');
288
+
289
+ }else{
290
+ $error = Mage::getModel('shipping/rate_result_error');
291
+ $error->setCarrier($this->_code);
292
+ $error->setCarrierTitle($this->getConfigData('name'));
293
+ $error->setErrorMessage($this->getConfigData('specificerrmsg'));
294
+ $result->append($error);
295
+ }
296
+ return $result;
297
+ }
298
+ public function getAllowedMethods()
299
+ {
300
+ return array('transdirect'=>$this->getConfigData('name'));
301
+ }
302
+ }
app/code/local/Transdirect/Ship/Model/Carrier/bkp_26-5-2014-morning----Excellence.php ADDED
@@ -0,0 +1,260 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Excellence_Ship_Model_Carrier_Excellence extends Mage_Shipping_Model_Carrier_Abstract
3
+ implements Mage_Shipping_Model_Carrier_Interface {
4
+ protected $_code = 'excellence';
5
+
6
+ public function collectRates(Mage_Shipping_Model_Rate_Request $request)
7
+ {
8
+ //echo '<pre>'; print_r($request); die;
9
+ if (!Mage::getStoreConfig('carriers/'.$this->_code.'/active')) {
10
+ return false;
11
+ }
12
+
13
+ $price = $this->getConfigData('price'); // set a default shipping price maybe 0
14
+ $price = 0;
15
+
16
+ /* API Request Start */
17
+
18
+ $account_email = Mage::getStoreConfig('mycustom_section/authentication/email');
19
+ $account_password = Mage::getStoreConfig('mycustom_section/authentication/password');
20
+ $warehouse_postcode = Mage::getStoreConfig('mycustom_section/warehouseaddress/postcode');
21
+ $warehouse_address = Mage::getStoreConfig('mycustom_section/warehouseaddress/address');
22
+ $dimension_width = Mage::getStoreConfig('mycustom_section/defaultitemsize/dimensionswidth');
23
+ $dimension_height = Mage::getStoreConfig('mycustom_section/defaultitemsize/dimensionsheight');
24
+ $dimension_dim = Mage::getStoreConfig('mycustom_section/defaultitemsize/dimensionsdim');
25
+ $dimension_weight = Mage::getStoreConfig('mycustom_section/defaultitemsize/weight');
26
+ $display_carriers = Mage::getStoreConfig('mycustom_section/displayoptions/availablecoriers');
27
+ $display_quote = Mage::getStoreConfig('mycustom_section/displayoptions/quotedisplay');
28
+ $display_fixedprice = Mage::getStoreConfig('mycustom_section/displayoptions/fixedpriceonerror');
29
+ $display_fixedprice1 = Mage::getStoreConfig('mycustom_section/displayoptions/fixedpriceonerror1');
30
+ $display_showcouriername = Mage::getStoreConfig('mycustom_section/displayoptions/showcouriernames');
31
+ $display_surcharge = Mage::getStoreConfig('mycustom_section/displayoptions/handlingsurcharge');
32
+ $display_surcharge1 = Mage::getStoreConfig('mycustom_section/displayoptions/handlingsurcharge1');
33
+ $display_includesurchage = Mage::getStoreConfig('mycustom_section/displayoptions/includesurcharge');
34
+
35
+
36
+ // Cart Total Weight Code Start by Nayan
37
+
38
+ $quote = Mage::getSingleton('checkout/session')->getQuote();
39
+ $cartItems = $quote->getAllVisibleItems();
40
+ $total_qty = Mage::helper('checkout/cart')->getSummaryCount();
41
+
42
+ $weight = 0;
43
+ $height = 0;
44
+ $width = 0;
45
+ $length = 0;
46
+ foreach ($cartItems as $item)
47
+ {
48
+ //echo '<pre>'; print_r($item->getQty()); die('qty');
49
+ $productId = $item->getProductId();
50
+ $productQty = $item->getQty();
51
+
52
+ $product = Mage::getModel('catalog/product')->load($productId);
53
+ //echo $product->getItemWeight();
54
+ $weight += $product->getItemWeight() * $productQty;
55
+ $height += $product->getItemHeight() * $productQty;
56
+ $width += $product->getItemWidth() * $productQty;
57
+ $length += $product->getItemDim() * $productQty;
58
+ }
59
+
60
+ $cart_total_weight = $weight;
61
+ $cart_total_height = $height;
62
+ $cart_total_width = $width;
63
+ $cart_total_length = $length;
64
+
65
+ // Cart Total Weight Code End by Nayan
66
+
67
+
68
+ if(!$cart_total_weight){ $cart_total_weight = $dimension_weight; }
69
+ if(!$cart_total_height){ $cart_total_height = $dimension_height; }
70
+ if(!$cart_total_width){ $cart_total_width = $dimension_width; }
71
+ if(!$cart_total_length){ $cart_total_length = $dimension_dim; }
72
+
73
+ /* echo 'width--'.$cart_total_weight;
74
+ echo 'height---'.$cart_total_height;
75
+ echo 'width---'.$cart_total_width;
76
+ echo 'length---'.$cart_total_length;
77
+ die('here');
78
+ */
79
+
80
+ // Getting Cart page Quote Address Details Code Start by Nayan
81
+
82
+ $receiver_country = (string) Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getCountryId();
83
+ $receiver_postcode = (string) Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getPostcode();
84
+ $receiver_regionId = (string) Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getRegionId();
85
+ $receiver_region = (string) Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getRegion();
86
+
87
+ $region = Mage::getModel('directory/region')->load($receiver_regionId);
88
+ $receiver_region_tmp = $region->getName();
89
+
90
+ if($receiver_region == '') {
91
+ Mage::getSingleton('checkout/session')->addError("Please enter state/province.");
92
+ session_write_close();
93
+ //$this->_redirect('checkout/cart');
94
+ return false;
95
+ }
96
+
97
+ if(!is_numeric($receiver_postcode) || $receiver_postcode == "0" || $receiver_postcode == "00" || $receiver_postcode == "000" || $receiver_postcode == "0000" || $receiver_postcode == "00000" || $receiver_postcode == "000000" || $receiver_postcode == "0000000") {
98
+ Mage::getSingleton('checkout/session')->addError("Please enter valid and correct postcode.");
99
+ session_write_close();
100
+ return false;
101
+ //$this->_redirect('checkout/cart');
102
+ }
103
+
104
+ if(!$receiver_regionId)
105
+ {
106
+ $receiver_suburb = $receiver_region;
107
+ }
108
+ else
109
+ {
110
+ $receiver_suburb = $receiver_region_tmp;
111
+ }
112
+
113
+
114
+ /* echo Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getPostcode();
115
+ echo Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getCountryId();
116
+ echo Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getRegion();
117
+ echo Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getRegionId();
118
+ */
119
+
120
+
121
+
122
+
123
+ //echo $receiver_suburb; die('suburb');
124
+
125
+ // Getting Cart page Quote Address Details Code End by Nayan
126
+
127
+ $quoteDetails = array(
128
+ /*'email' => $account_email,
129
+ 'password' => $account_password, */
130
+ 'declared_value'=>10000,
131
+ 'items' => array
132
+ (
133
+ array('width' => $cart_total_width, 'height' => $cart_total_height, 'weight'=> $cart_total_weight, 'length'=> $cart_total_length, 'quantity'=>$total_qty, 'description'=>'item description')
134
+ ),
135
+ 'sender' => array('country' => 'AU', 'suburb'=>'SYDNEY', 'postcode' => $warehouse_postcode, 'type'=> $warehouse_address),
136
+ 'receiver' => array('country' => $receiver_country, 'suburb'=>$receiver_suburb, 'postcode' => $receiver_postcode, 'type'=> 'residential')
137
+ );
138
+
139
+ $json_data = json_encode($quoteDetails);
140
+ //echo '<pre>'; print_r($json_data); die('json');
141
+
142
+ $ch = curl_init();
143
+ curl_setopt($ch, CURLOPT_URL, "https://www.staging.transdirect.com.au/api/bookings");
144
+ //curl_setopt($ch, CURLOPT_URL, "https://www.transdirect.com.au/api/bookings");
145
+ curl_setopt($ch, CURLOPT_USERPWD, "$account_email:$account_password");
146
+ curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
147
+ curl_setopt($ch, CURLOPT_HEADER, FALSE);
148
+ curl_setopt($ch, CURLOPT_POST, TRUE);
149
+ curl_setopt($ch, CURLOPT_POSTFIELDS, $json_data);
150
+ curl_setopt($ch, CURLOPT_HTTPHEADER, array("Content-Type: application/json"));
151
+ curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
152
+ $response = curl_exec($ch);
153
+
154
+ $report = curl_getinfo($ch);
155
+ //echo '<pre>'; print_r($report);
156
+
157
+ if(curl_errno($ch)) {
158
+ echo 'Response error: ' . curl_error($ch);
159
+ }
160
+
161
+ curl_close($ch);
162
+
163
+ if ($response) {
164
+ //echo '<pre>'.$response;
165
+
166
+ $json_decode_varible = json_decode($response, true);
167
+
168
+ $quotes_val = $json_decode_varible['quotes'];
169
+ //echo "<pre>"; print_r($quotes_val); die('quotes');
170
+
171
+
172
+ // Passing Data from Controller to Template file code Start
173
+
174
+
175
+
176
+
177
+ // End
178
+
179
+
180
+
181
+ } else {
182
+ echo "Failed";
183
+ }
184
+
185
+ /* End */
186
+
187
+
188
+
189
+
190
+ $handling = Mage::getStoreConfig('carriers/'.$this->_code.'/handling');
191
+ $result = Mage::getModel('shipping/rate_result');
192
+ $show = true;
193
+ if($show){
194
+
195
+ //die('before');
196
+ //$quotes_val = Mage::getSingleton('core/session')->getSomeSessionVar();
197
+
198
+ //$session = Mage::getSingleton('core/session', array('name' => 'frontend'));
199
+ //echo $session->getSomeSessionVar();
200
+
201
+ //echo '<pre>'; print_r($session->getSomeSessionVar());
202
+ //die('after');
203
+
204
+ if($quotes_val == ''){
205
+ /* Mage::getSingleton('checkout/session')->addError("Please Fill the information properly, There is some fields are missing or not proper.");
206
+ session_write_close();
207
+ return false;
208
+ */
209
+ $method = Mage::getModel('shipping/rate_result_method');
210
+ $method->setCarrier($this->_code);
211
+ $method->setMethod($this->_code);
212
+ $method->setCarrierTitle($this->getConfigData('title'));
213
+ $method->setMethodTitle('Fixed Price');
214
+
215
+ if($display_fixedprice == '1'){
216
+ $method->setPrice($display_fixedprice1);
217
+ $method->setCost($display_fixedprice1);
218
+ }
219
+
220
+ $result->append($method);
221
+
222
+ }
223
+ else {
224
+
225
+ foreach($quotes_val as $key => $val) {
226
+ $courier_title = $key;
227
+ $courier_price = $quotes_val[$key]['total'];
228
+
229
+ $method = Mage::getModel('shipping/rate_result_method');
230
+ $method->setCarrier($this->_code);
231
+ $method->setMethod($courier_title);
232
+ $method->setCarrierTitle($this->getConfigData('title'));
233
+
234
+ $method->setMethodTitle($courier_title);
235
+
236
+ $method->setPrice($courier_price);
237
+ $method->setCost($courier_price);
238
+
239
+ $result->append($method);
240
+
241
+ }
242
+
243
+ }
244
+
245
+ //echo '<pre>'; print_r($result); //die('model');
246
+
247
+ }else{
248
+ $error = Mage::getModel('shipping/rate_result_error');
249
+ $error->setCarrier($this->_code);
250
+ $error->setCarrierTitle($this->getConfigData('name'));
251
+ $error->setErrorMessage($this->getConfigData('specificerrmsg'));
252
+ $result->append($error);
253
+ }
254
+ return $result;
255
+ }
256
+ public function getAllowedMethods()
257
+ {
258
+ return array('excellence'=>$this->getConfigData('name'));
259
+ }
260
+ }
app/code/local/Transdirect/Ship/Model/Carrier/bkp_28-5-2014-evening-----Transdirect.php ADDED
@@ -0,0 +1,283 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Transdirect_Ship_Model_Carrier_Transdirect extends Mage_Shipping_Model_Carrier_Abstract
3
+ implements Mage_Shipping_Model_Carrier_Interface {
4
+ protected $_code = 'transdirect';
5
+
6
+ public function collectRates(Mage_Shipping_Model_Rate_Request $request)
7
+ {
8
+ //echo '<pre>'; print_r($request); die('request');
9
+ if (!Mage::getStoreConfig('carriers/'.$this->_code.'/active')) {
10
+ return false;
11
+ }
12
+
13
+ $price = $this->getConfigData('price'); // set a default shipping price maybe 0
14
+ $price = 0;
15
+
16
+ /* API Request Start */
17
+
18
+ $account_email = Mage::getStoreConfig('transdirect_section/authentication/email');
19
+ $account_password = Mage::getStoreConfig('transdirect_section/authentication/password');
20
+ $warehouse_suburb = Mage::getStoreConfig('transdirect_section/warehouseaddress/suburb');
21
+ $warehouse_postcode = Mage::getStoreConfig('transdirect_section/warehouseaddress/postcode');
22
+ $warehouse_address = Mage::getStoreConfig('transdirect_section/warehouseaddress/address');
23
+ $dimension_width = Mage::getStoreConfig('transdirect_section/defaultitemsize/dimensionswidth');
24
+ $dimension_height = Mage::getStoreConfig('transdirect_section/defaultitemsize/dimensionsheight');
25
+ $dimension_dim = Mage::getStoreConfig('transdirect_section/defaultitemsize/dimensionsdim');
26
+ $dimension_weight = Mage::getStoreConfig('transdirect_section/defaultitemsize/weight');
27
+ $display_carriers = Mage::getStoreConfig('transdirect_section/displayoptions/availablecoriers');
28
+ $display_quote = Mage::getStoreConfig('transdirect_section/displayoptions/quotedisplay');
29
+ $display_fixedprice = Mage::getStoreConfig('transdirect_section/displayoptions/fixedpriceonerror');
30
+ $display_fixedprice1 = Mage::getStoreConfig('transdirect_section/displayoptions/fixedpriceonerror1');
31
+ $display_showcouriername = Mage::getStoreConfig('transdirect_section/displayoptions/showcouriernames');
32
+ $display_surcharge = Mage::getStoreConfig('transdirect_section/displayoptions/handlingsurcharge');
33
+ $display_surcharge1 = Mage::getStoreConfig('transdirect_section/displayoptions/handlingsurcharge1');
34
+ $display_includesurchage = Mage::getStoreConfig('transdirect_section/displayoptions/includesurcharge');
35
+
36
+
37
+ // Cart Total Weight Code Start by Nayan
38
+
39
+ $quote = Mage::getSingleton('checkout/session')->getQuote();
40
+ $cartItems = $quote->getAllVisibleItems();
41
+ $total_qty = Mage::helper('checkout/cart')->getSummaryCount();
42
+
43
+ $weight = 0;
44
+ $height = 0;
45
+ $width = 0;
46
+ $length = 0;
47
+ foreach ($cartItems as $item)
48
+ {
49
+ //echo '<pre>'; print_r($item->getQty()); die('qty');
50
+ $productId = $item->getProductId();
51
+ $productQty = $item->getQty();
52
+
53
+ $product = Mage::getModel('catalog/product')->load($productId);
54
+ //echo $product->getItemWeight();
55
+ $weight += $product->getItemWeight() * $productQty;
56
+ $height += $product->getItemHeight() * $productQty;
57
+ $width += $product->getItemWidth() * $productQty;
58
+ $length += $product->getItemDim() * $productQty;
59
+ }
60
+
61
+ $cart_total_weight = $weight;
62
+ $cart_total_height = $height;
63
+ $cart_total_width = $width;
64
+ $cart_total_length = $length;
65
+
66
+ // Cart Total Weight Code End by Nayan
67
+
68
+
69
+ if(!$cart_total_weight){ $cart_total_weight = $dimension_weight; }
70
+ if(!$cart_total_height){ $cart_total_height = $dimension_height; }
71
+ if(!$cart_total_width){ $cart_total_width = $dimension_width; }
72
+ if(!$cart_total_length){ $cart_total_length = $dimension_dim; }
73
+
74
+ /* echo 'width--'.$cart_total_weight;
75
+ echo 'height---'.$cart_total_height;
76
+ echo 'width---'.$cart_total_width;
77
+ echo 'length---'.$cart_total_length;
78
+ die('here');
79
+ */
80
+
81
+ // Getting Cart page Quote Address Details Code Start by Nayan
82
+
83
+ $receiver_country = (string) Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getCountryId();
84
+ $receiver_postcode = (string) Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getPostcode();
85
+ $receiver_regionId = (string) Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getRegionId();
86
+ $receiver_region = (string) Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getRegion();
87
+
88
+ $region = Mage::getModel('directory/region')->load($receiver_regionId);
89
+ $receiver_region_tmp = $region->getName();
90
+
91
+ if($receiver_region == '') {
92
+ Mage::getSingleton('checkout/session')->addError("Please enter state/province.");
93
+ session_write_close();
94
+ //$this->_redirect('checkout/cart');
95
+ return false;
96
+ }
97
+
98
+ if(!is_numeric($receiver_postcode) || $receiver_postcode == "0" || $receiver_postcode == "00" || $receiver_postcode == "000" || $receiver_postcode == "0000" || $receiver_postcode == "00000" || $receiver_postcode == "000000" || $receiver_postcode == "0000000") {
99
+ Mage::getSingleton('checkout/session')->addError("Please enter valid and correct postcode.");
100
+ session_write_close();
101
+ return false;
102
+ //$this->_redirect('checkout/cart');
103
+ }
104
+
105
+ if(!$receiver_regionId)
106
+ {
107
+ $receiver_suburb = $receiver_region;
108
+ }
109
+ else
110
+ {
111
+ $receiver_suburb = $receiver_region_tmp;
112
+ }
113
+
114
+
115
+ /* echo Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getPostcode();
116
+ echo Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getCountryId();
117
+ echo Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getRegion();
118
+ echo Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getRegionId();
119
+ */
120
+
121
+
122
+
123
+
124
+ //echo $receiver_suburb; die('suburb');
125
+
126
+ // Getting Cart page Quote Address Details Code End by Nayan
127
+
128
+ $quoteDetails = array(
129
+ 'declared_value'=>10000,
130
+ 'items' => array
131
+ (
132
+ array('width' => $cart_total_width, 'height' => $cart_total_height, 'weight'=> $cart_total_weight, 'length'=> $cart_total_length, 'quantity'=>$total_qty, 'description'=>'item description')
133
+ ),
134
+ 'sender' => array('country' => 'AU', 'suburb'=> $warehouse_suburb, 'postcode' => $warehouse_postcode, 'type'=> $warehouse_address),
135
+ 'receiver' => array('country' => $receiver_country, 'suburb'=>$receiver_suburb, 'postcode' => $receiver_postcode, 'type'=> 'residential')
136
+ );
137
+
138
+ $json_data = json_encode($quoteDetails);
139
+ //echo '<pre>'; print_r($json_data); //die('json');
140
+
141
+ $ch = curl_init();
142
+ curl_setopt($ch, CURLOPT_URL, "https://www.staging.transdirect.com.au/api/bookings");
143
+ //curl_setopt($ch, CURLOPT_URL, "https://www.transdirect.com.au/api/bookings");
144
+ curl_setopt($ch, CURLOPT_USERPWD, "$account_email:$account_password");
145
+ curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
146
+ curl_setopt($ch, CURLOPT_HEADER, FALSE);
147
+ curl_setopt($ch, CURLOPT_POST, TRUE);
148
+ curl_setopt($ch, CURLOPT_POSTFIELDS, $json_data);
149
+ curl_setopt($ch, CURLOPT_HTTPHEADER, array("Content-Type: application/json"));
150
+ curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
151
+ $response = curl_exec($ch);
152
+
153
+ $report = curl_getinfo($ch);
154
+ //echo '<pre>'; print_r($report);
155
+
156
+ if(curl_errno($ch)) {
157
+ echo 'Response error: ' . curl_error($ch);
158
+ }
159
+
160
+ curl_close($ch);
161
+
162
+ if ($response) {
163
+ $json_decode_varible = json_decode($response, true);
164
+ $quotes_val = $json_decode_varible['quotes'];
165
+ //echo "<pre>"; print_r($quotes_val); die('quotes');
166
+
167
+ } else {
168
+ echo "Failed";
169
+ }
170
+
171
+ /* End */
172
+
173
+
174
+ //$available_carriers = array($display_carriers);
175
+ //print_r($available_carriers);
176
+ $available_carriers = explode( ',', $display_carriers);
177
+
178
+ /* function cmp1($a, $b) {
179
+ return strcmp($a['transit_time'], $b['transit_time']);
180
+ }
181
+ */
182
+
183
+
184
+ $handling = Mage::getStoreConfig('carriers/'.$this->_code.'/handling');
185
+ $result = Mage::getModel('shipping/rate_result');
186
+ $show = true;
187
+ if($show){
188
+
189
+ //die('before');
190
+ //$quotes_val = Mage::getSingleton('core/session')->getSomeSessionVar();
191
+
192
+ //$session = Mage::getSingleton('core/session', array('name' => 'frontend'));
193
+ //echo $session->getSomeSessionVar();
194
+
195
+ //echo '<pre>'; print_r($session->getSomeSessionVar());
196
+ //die('after');
197
+
198
+ if($quotes_val == ''){
199
+ Mage::getSingleton('core/session')->addError("Please fill the information properly, there is some fields are missing or not entered properly.");
200
+ session_write_close();
201
+ return false;
202
+
203
+ $method = Mage::getModel('shipping/rate_result_method');
204
+ $method->setCarrier($this->_code);
205
+ $method->setMethod($this->_code);
206
+ $method->setCarrierTitle($this->getConfigData('title'));
207
+ $method->setMethodTitle('Fixed Price');
208
+
209
+ if($display_fixedprice == '1'){
210
+ $method->setPrice($display_fixedprice1);
211
+ $method->setCost($display_fixedprice1);
212
+ }
213
+
214
+ $result->append($method);
215
+
216
+ }
217
+ else {
218
+
219
+
220
+
221
+
222
+ foreach($quotes_val as $key => $val) {
223
+ // echo count($val); die;
224
+ //echo $key.'<br>';
225
+ //print_r($available_carriers);
226
+
227
+ //usort($quotes_val, 'cmp1');
228
+
229
+ $courier_title = $key;
230
+ $courier_price = $quotes_val[$key]['total'];
231
+
232
+ $method = Mage::getModel('shipping/rate_result_method');
233
+ $method->setCarrier($this->_code);
234
+ $method->setMethod($courier_title);
235
+ $method->setCarrierTitle($this->getConfigData('title'));
236
+
237
+ if($display_surcharge == '1'){
238
+
239
+ $tmp_display_surcharge = $courier_price + $display_surcharge1;
240
+ $tmp_method_title = $courier_title.' + Handling Charge';
241
+
242
+ $method->setMethodTitle($tmp_method_title);
243
+ $method->setPrice($tmp_display_surcharge);
244
+ $method->setCost($tmp_display_surcharge);
245
+
246
+ } else {
247
+
248
+ if(in_array($key,$available_carriers)) {
249
+ //echo '<br>'.$key . ' - matched<br>';
250
+ $method->setMethodTitle($courier_title);
251
+ $method->setPrice($courier_price);
252
+ $method->setCost($courier_price);
253
+ } else {
254
+ //echo '<br>'.$key . ' - not found<br>';
255
+ }
256
+
257
+
258
+
259
+ }
260
+
261
+ $result->append($method);
262
+
263
+ }
264
+ //die('arr');
265
+ }
266
+
267
+
268
+ //echo '<pre>'; print_r($result); //die('model');
269
+
270
+ }else{
271
+ $error = Mage::getModel('shipping/rate_result_error');
272
+ $error->setCarrier($this->_code);
273
+ $error->setCarrierTitle($this->getConfigData('name'));
274
+ $error->setErrorMessage($this->getConfigData('specificerrmsg'));
275
+ $result->append($error);
276
+ }
277
+ return $result;
278
+ }
279
+ public function getAllowedMethods()
280
+ {
281
+ return array('transdirect'=>$this->getConfigData('name'));
282
+ }
283
+ }
app/code/local/Transdirect/Ship/Model/Carrier/bkp_30-5-2014---Transdirect.php ADDED
@@ -0,0 +1,304 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Transdirect_Ship_Model_Carrier_Transdirect extends Mage_Shipping_Model_Carrier_Abstract
3
+ implements Mage_Shipping_Model_Carrier_Interface {
4
+ protected $_code = 'transdirect';
5
+
6
+ public function collectRates(Mage_Shipping_Model_Rate_Request $request)
7
+ {
8
+ //echo '<pre>'; print_r($request); die('request');
9
+ if (!Mage::getStoreConfig('carriers/'.$this->_code.'/active')) {
10
+ return false;
11
+ }
12
+
13
+ $price = $this->getConfigData('price'); // set a default shipping price maybe 0
14
+ $price = 0;
15
+
16
+ /* API Request Start */
17
+
18
+ $account_email = Mage::getStoreConfig('transdirect_section/authentication/email');
19
+ $account_password = Mage::getStoreConfig('transdirect_section/authentication/password');
20
+ $warehouse_suburb = Mage::getStoreConfig('transdirect_section/warehouseaddress/suburb');
21
+ $warehouse_postcode = Mage::getStoreConfig('transdirect_section/warehouseaddress/postcode');
22
+ $warehouse_address = Mage::getStoreConfig('transdirect_section/warehouseaddress/address');
23
+ $dimension_width = Mage::getStoreConfig('transdirect_section/defaultitemsize/dimensionswidth');
24
+ $dimension_height = Mage::getStoreConfig('transdirect_section/defaultitemsize/dimensionsheight');
25
+ $dimension_dim = Mage::getStoreConfig('transdirect_section/defaultitemsize/dimensionsdim');
26
+ $dimension_weight = Mage::getStoreConfig('transdirect_section/defaultitemsize/weight');
27
+ $display_carriers = Mage::getStoreConfig('transdirect_section/displayoptions/availablecoriers');
28
+ $display_quote = Mage::getStoreConfig('transdirect_section/displayoptions/quotedisplay');
29
+ $display_fixedprice = Mage::getStoreConfig('transdirect_section/displayoptions/fixedpriceonerror');
30
+ $display_fixedprice1 = Mage::getStoreConfig('transdirect_section/displayoptions/fixedpriceonerror1');
31
+ $display_showcouriername = Mage::getStoreConfig('transdirect_section/displayoptions/showcouriernames');
32
+ $display_surcharge = Mage::getStoreConfig('transdirect_section/displayoptions/handlingsurcharge');
33
+ $display_surcharge1 = Mage::getStoreConfig('transdirect_section/displayoptions/handlingsurcharge1');
34
+ $display_includesurchage = Mage::getStoreConfig('transdirect_section/displayoptions/includesurcharge');
35
+
36
+
37
+ // Cart Total Weight Code Start by Nayan
38
+
39
+ $quote = Mage::getSingleton('checkout/session')->getQuote();
40
+ $cartItems = $quote->getAllVisibleItems();
41
+ $total_qty = Mage::helper('checkout/cart')->getSummaryCount();
42
+
43
+ $weight = 0;
44
+ $height = 0;
45
+ $width = 0;
46
+ $length = 0;
47
+ foreach ($cartItems as $item)
48
+ {
49
+ //echo '<pre>'; print_r($item->getQty()); die('qty');
50
+ $productId = $item->getProductId();
51
+ $productQty = $item->getQty();
52
+
53
+ $product = Mage::getModel('catalog/product')->load($productId);
54
+ //echo $product->getItemWeight();
55
+ $weight += $product->getItemWeight() * $productQty;
56
+ $height += $product->getItemHeight() * $productQty;
57
+ $width += $product->getItemWidth() * $productQty;
58
+ $length += $product->getItemDim() * $productQty;
59
+ }
60
+
61
+ $cart_total_weight = $weight;
62
+ $cart_total_height = $height;
63
+ $cart_total_width = $width;
64
+ $cart_total_length = $length;
65
+
66
+ // Cart Total Weight Code End by Nayan
67
+
68
+
69
+ if(!$cart_total_weight){ $cart_total_weight = $dimension_weight; }
70
+ if(!$cart_total_height){ $cart_total_height = $dimension_height; }
71
+ if(!$cart_total_width){ $cart_total_width = $dimension_width; }
72
+ if(!$cart_total_length){ $cart_total_length = $dimension_dim; }
73
+
74
+ /* echo 'width--'.$cart_total_weight;
75
+ echo 'height---'.$cart_total_height;
76
+ echo 'width---'.$cart_total_width;
77
+ echo 'length---'.$cart_total_length;
78
+ die('here');
79
+ */
80
+
81
+ // Getting Cart page Quote Address Details Code Start by Nayan
82
+
83
+ $receiver_country = (string) Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getCountryId();
84
+ $receiver_postcode = (string) Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getPostcode();
85
+ $receiver_regionId = (string) Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getRegionId();
86
+ $receiver_region = (string) Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getRegion();
87
+
88
+ $region = Mage::getModel('directory/region')->load($receiver_regionId);
89
+ $receiver_region_tmp = $region->getName();
90
+
91
+ if($receiver_region == '') {
92
+ Mage::getSingleton('checkout/session')->addError("Please enter state/province.");
93
+ session_write_close();
94
+ //$this->_redirect('checkout/cart');
95
+ return false;
96
+ }
97
+
98
+ if(!is_numeric($receiver_postcode) || $receiver_postcode == "0" || $receiver_postcode == "00" || $receiver_postcode == "000" || $receiver_postcode == "0000" || $receiver_postcode == "00000" || $receiver_postcode == "000000" || $receiver_postcode == "0000000") {
99
+ Mage::getSingleton('checkout/session')->addError("Please enter valid and correct postcode.");
100
+ session_write_close();
101
+ return false;
102
+ //$this->_redirect('checkout/cart');
103
+ }
104
+
105
+ if(!$receiver_regionId)
106
+ {
107
+ $receiver_suburb = $receiver_region;
108
+ }
109
+ else
110
+ {
111
+ $receiver_suburb = $receiver_region_tmp;
112
+ }
113
+
114
+
115
+ /* echo Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getPostcode();
116
+ echo Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getCountryId();
117
+ echo Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getRegion();
118
+ echo Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getRegionId();
119
+ */
120
+
121
+
122
+
123
+
124
+ //echo $receiver_suburb; die('suburb');
125
+
126
+ // Getting Cart page Quote Address Details Code End by Nayan
127
+
128
+ $quoteDetails = array(
129
+ 'declared_value'=>10000,
130
+ 'items' => array
131
+ (
132
+ array('width' => $cart_total_width, 'height' => $cart_total_height, 'weight'=> $cart_total_weight, 'length'=> $cart_total_length, 'quantity'=>$total_qty, 'description'=>'item description')
133
+ ),
134
+ 'sender' => array('country' => 'AU', 'suburb'=> $warehouse_suburb, 'postcode' => $warehouse_postcode, 'type'=> $warehouse_address),
135
+ 'receiver' => array('country' => $receiver_country, 'suburb'=>$receiver_suburb, 'postcode' => $receiver_postcode, 'type'=> 'residential')
136
+ );
137
+
138
+ $json_data = json_encode($quoteDetails);
139
+ //echo '<pre>'; print_r($json_data); //die('json');
140
+
141
+ $ch = curl_init();
142
+ curl_setopt($ch, CURLOPT_URL, "https://www.staging.transdirect.com.au/api/bookings");
143
+ //curl_setopt($ch, CURLOPT_URL, "https://www.transdirect.com.au/api/bookings");
144
+ curl_setopt($ch, CURLOPT_USERPWD, "$account_email:$account_password");
145
+ curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
146
+ curl_setopt($ch, CURLOPT_HEADER, FALSE);
147
+ curl_setopt($ch, CURLOPT_POST, TRUE);
148
+ curl_setopt($ch, CURLOPT_POSTFIELDS, $json_data);
149
+ curl_setopt($ch, CURLOPT_HTTPHEADER, array("Content-Type: application/json"));
150
+ curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
151
+ $response = curl_exec($ch);
152
+
153
+ $report = curl_getinfo($ch);
154
+ //echo '<pre>'; print_r($report);
155
+
156
+ if(curl_errno($ch)) {
157
+ echo 'Response error: ' . curl_error($ch);
158
+ }
159
+
160
+ curl_close($ch);
161
+
162
+ if ($response) {
163
+ $json_decode_varible = json_decode($response, true);
164
+ $quotes_val = $json_decode_varible['quotes'];
165
+ //echo "<pre>"; print_r($quotes_val); die('quotes');
166
+
167
+ } else {
168
+ echo "Failed";
169
+ }
170
+
171
+ /* End */
172
+
173
+
174
+ //$available_carriers = array($display_carriers);
175
+ //print_r($available_carriers);
176
+ $available_carriers = explode( ',', $display_carriers);
177
+
178
+ /* function cmp1($a, $b) {
179
+ return strcmp($a['transit_time'], $b['transit_time']);
180
+ }
181
+ */
182
+
183
+ function build_sorter($key) {
184
+ return function ($a, $b) use ($key) {
185
+ return strnatcmp($a[$key], $b[$key]);
186
+ };
187
+ }
188
+
189
+ $display_quote = Mage::getStoreConfig('transdirect_section/displayoptions/quotedisplay');
190
+
191
+ if($display_quote == 'display_cheapest'){ uasort($quotes_val, build_sorter('total')); }
192
+ if($display_quote == 'display_cheapest_fastest'){ uasort($quotes_val, build_sorter('transit_time')); }
193
+
194
+
195
+ $handling = Mage::getStoreConfig('carriers/'.$this->_code.'/handling');
196
+ $result = Mage::getModel('shipping/rate_result');
197
+ $show = true;
198
+ if($show){
199
+
200
+ //die('before');
201
+ //$quotes_val = Mage::getSingleton('core/session')->getSomeSessionVar();
202
+
203
+ //$session = Mage::getSingleton('core/session', array('name' => 'frontend'));
204
+ //echo $session->getSomeSessionVar();
205
+
206
+ //echo '<pre>'; print_r($session->getSomeSessionVar());
207
+ //die('after');
208
+
209
+ if($quotes_val == ''){
210
+ Mage::getSingleton('core/session')->addError("Please fill the information properly, there is some fields are missing or not entered properly.");
211
+ session_write_close();
212
+ return false;
213
+
214
+ $method = Mage::getModel('shipping/rate_result_method');
215
+ $method->setCarrier($this->_code);
216
+ $method->setMethod($this->_code);
217
+ $method->setCarrierTitle($this->getConfigData('title'));
218
+ $method->setMethodTitle('Fixed Price');
219
+
220
+ if($display_fixedprice == '1'){
221
+ $method->setPrice($display_fixedprice1);
222
+ $method->setCost($display_fixedprice1);
223
+ }
224
+
225
+ $result->append($method);
226
+
227
+ }
228
+ else {
229
+
230
+
231
+
232
+
233
+ foreach($quotes_val as $key => $val) {
234
+
235
+ if($key=='fastway'){ $method_title = "Fastway"; }
236
+ if($key=='toll_priority_overnight'){$method_title = "Toll Priority Overnight"; }
237
+ if($key=='couriers_please'){$method_title = "Couriers Please"; }
238
+ if($key=='allied'){$method_title = "Allied Express"; }
239
+ if($key=='toll'){ $method_title = "Toll"; }
240
+ if($key=='mainfreight'){ $method_title = "Mainfreight"; }
241
+ if($key=='northline'){$method_title = "Northline"; }
242
+
243
+ //echo $method_title; die;
244
+ // echo count($val); die;
245
+ //echo $key.'<br>';
246
+ //print_r($available_carriers);
247
+
248
+ //usort($quotes_val, 'cmp1');
249
+
250
+ $courier_title = $key;
251
+ $courier_price = $quotes_val[$key]['total'];
252
+
253
+ $method = Mage::getModel('shipping/rate_result_method');
254
+ $method->setCarrier($this->_code);
255
+ $method->setMethod($courier_title);
256
+ $method->setCarrierTitle($this->getConfigData('title'));
257
+
258
+ if($display_surcharge == '1'){
259
+
260
+ $tmp_display_surcharge = $courier_price + $display_surcharge1;
261
+ $tmp_method_title = $method_title.' + Handling Charge';
262
+
263
+ $method->setMethodTitle($tmp_method_title);
264
+ $method->setPrice($tmp_display_surcharge);
265
+ $method->setCost($tmp_display_surcharge);
266
+
267
+ } else {
268
+
269
+ if(in_array($key,$available_carriers)) {
270
+ //echo '<br>'.$key . ' - matched<br>';
271
+ $method->setMethodTitle($method_title);
272
+ $method->setPrice($courier_price);
273
+ $method->setCost($courier_price);
274
+ } else {
275
+ //echo '<br>'.$key . ' - not found<br>';
276
+ }
277
+
278
+
279
+
280
+ }
281
+
282
+ $result->append($method);
283
+
284
+ }
285
+ //die('arr');
286
+ }
287
+
288
+
289
+ //echo '<pre>'; print_r($result); //die('model');
290
+
291
+ }else{
292
+ $error = Mage::getModel('shipping/rate_result_error');
293
+ $error->setCarrier($this->_code);
294
+ $error->setCarrierTitle($this->getConfigData('name'));
295
+ $error->setErrorMessage($this->getConfigData('specificerrmsg'));
296
+ $result->append($error);
297
+ }
298
+ return $result;
299
+ }
300
+ public function getAllowedMethods()
301
+ {
302
+ return array('transdirect'=>$this->getConfigData('name'));
303
+ }
304
+ }
app/code/local/Transdirect/Ship/Model/Source/AddressType.php ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+
4
+
5
+ class Transdirect_Ship_Model_Source_AddressType extends Varien_Object
6
+
7
+ {
8
+
9
+ public function toOptionArray()
10
+
11
+ {
12
+
13
+ $hlp = Mage::helper('ship');
14
+
15
+ return array(
16
+
17
+ array('value' => 'residential', 'label' => $hlp->__('Residential')),
18
+
19
+ array('value' => 'commercial', 'label' => $hlp->__('Commercial')),
20
+
21
+ );
22
+
23
+ }
24
+
25
+
26
+
27
+ }
app/code/local/Transdirect/Ship/Model/Source/Couriers.php ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Transdirect_Ship_Model_Source_Couriers extends Varien_Object
4
+ {
5
+ public function toOptionArray()
6
+ {
7
+ $hlp = Mage::helper('ship');
8
+ return array(
9
+ array('value' => 'toll', 'label' => $hlp->__('Toll')),
10
+ array('value' => 'toll_priority_overnight', 'label' => $hlp->__('Toll Priority')),
11
+ array('value' => 'allied', 'label' => $hlp->__('Allied Express')),
12
+ array('value' => 'couriers_please', 'label' => $hlp->__('Couriers Please')),
13
+ array('value' => 'fastway', 'label' => $hlp->__('Fastway')),
14
+ array('value' => 'mainfreight', 'label' => $hlp->__('Mainfreight')),
15
+ array('value' => 'northline', 'label' => $hlp->__('Northline')),
16
+ );
17
+ }
18
+
19
+ }
app/code/local/Transdirect/Ship/Model/Source/Quotes.php ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Transdirect_Ship_Model_Source_Quotes extends Varien_Object
4
+ {
5
+ public function toOptionArray()
6
+ {
7
+ $hlp = Mage::helper('ship');
8
+ return array(
9
+ array('value' => 'display_all_quotes', 'label' => $hlp->__('Display all Quotes')),
10
+ array('value' => 'display_cheapest', 'label' => $hlp->__('Display Cheapest Quotes')),
11
+ array('value' => 'display_cheapest_fastest', 'label' => $hlp->__('Display Fastest Quotes')),
12
+ );
13
+ }
14
+
15
+ }
app/code/local/Transdirect/Ship/controllers/IndexController.php ADDED
@@ -0,0 +1,441 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Transdirect_Ship_IndexController extends Mage_Core_Controller_Front_Action
3
+ {
4
+
5
+ protected function _getCart()
6
+ {
7
+ return Mage::getSingleton('checkout/cart');
8
+ }
9
+
10
+ /**
11
+ * Get checkout session model instance
12
+ *
13
+ * @return Mage_Checkout_Model_Session
14
+ */
15
+ protected function _getSession()
16
+ {
17
+ return Mage::getSingleton('checkout/session');
18
+ }
19
+
20
+ /**
21
+ * Get current active quote instance
22
+ *
23
+ * @return Mage_Sales_Model_Quote
24
+ */
25
+ protected function _getQuote()
26
+ {
27
+
28
+ return $this->_getCart()->getQuote();
29
+ }
30
+
31
+ protected function _goBack()
32
+ {
33
+ $returnUrl = $this->getRequest()->getParam('return_url');
34
+ if ($returnUrl) {
35
+ //die('if');
36
+
37
+ if (!$this->_isUrlInternal($returnUrl)) {
38
+ throw new Mage_Exception('External urls redirect to "' . $returnUrl . '" denied!');
39
+ }
40
+
41
+ $this->_getSession()->getMessages(true);
42
+ $this->getResponse()->setRedirect($returnUrl);
43
+ } elseif (!Mage::getStoreConfig('checkout/cart/redirect_to_cart')
44
+
45
+ && !$this->getRequest()->getParam('in_cart')
46
+ && $backUrl = $this->_getRefererUrl()
47
+ ) {// die('else if');
48
+ $this->getResponse()->setRedirect($backUrl);
49
+ } else {
50
+ //die('else');
51
+
52
+ if (($this->getRequest()->getActionName() == 'add') && !$this->getRequest()->getParam('in_cart')) {
53
+ $this->_getSession()->setContinueShoppingUrl($this->_getRefererUrl());
54
+ }
55
+ $this->_redirect('checkout/cart');
56
+ //die('go back');
57
+ //$this->_redirectReferer();
58
+ }
59
+ return $this;
60
+ }
61
+
62
+ function indexAction()
63
+ {
64
+ //die('index');
65
+
66
+ //$this->loadLayout();
67
+
68
+ $account_email = Mage::getStoreConfig('transdirect_section/authentication/email');
69
+ $account_password = Mage::getStoreConfig('transdirect_section/authentication/password');
70
+ $warehouse_postcode = Mage::getStoreConfig('transdirect_section/warehouseaddress/postcode');
71
+ $warehouse_address = Mage::getStoreConfig('transdirect_section/warehouseaddress/address');
72
+ $dimension_width = Mage::getStoreConfig('transdirect_section/defaultitemsize/dimensionswidth');
73
+ $dimension_height = Mage::getStoreConfig('transdirect_section/defaultitemsize/dimensionsheight');
74
+ $dimension_dim = Mage::getStoreConfig('transdirect_section/defaultitemsize/dimensionsdim');
75
+ $dimension_weight = Mage::getStoreConfig('transdirect_section/defaultitemsize/weight');
76
+ $display_carriers = Mage::getStoreConfig('transdirect_section/displayoptions/availablecoriers');
77
+ $display_quote = Mage::getStoreConfig('transdirect_section/displayoptions/quotedisplay');
78
+ $display_fixedprice = Mage::getStoreConfig('transdirect_section/displayoptions/fixedpriceonerror');
79
+ $display_fixedprice1 = Mage::getStoreConfig('transdirect_section/displayoptions/fixedpriceonerror1');
80
+ $display_showcouriername = Mage::getStoreConfig('transdirect_section/displayoptions/showcouriernames');
81
+ $display_surcharge = Mage::getStoreConfig('transdirect_section/displayoptions/handlingsurcharge');
82
+ $display_surcharge1 = Mage::getStoreConfig('transdirect_section/displayoptions/handlingsurcharge1');
83
+ $display_includesurchage = Mage::getStoreConfig('transdirect_section/displayoptions/includesurcharge');
84
+
85
+
86
+ // Cart Total Weight Code Start by Nayan
87
+
88
+ $quote = Mage::getSingleton('checkout/session')->getQuote();
89
+ $cartItems = $quote->getAllVisibleItems();
90
+ //$total_qty = Mage::helper('checkout/cart')->getSummaryCount();
91
+ $total_qty = '1';
92
+
93
+ /* if(Mage::registry('current_product')) {
94
+ //this is a product page, do some stuff
95
+ die('product');
96
+ }
97
+ else {
98
+ die('not product');
99
+ }
100
+
101
+ echo Mage::app()->getFrontController()->getRequest()->getRouteName();
102
+ die('name');*/
103
+
104
+ $weight = 0;
105
+ $height = 0;
106
+ $width = 0;
107
+ $length = 0;
108
+ foreach ($cartItems as $item)
109
+ {
110
+ //echo '<pre>'; print_r($item->getQty()); die;
111
+ $productId = $item->getProductId();
112
+ $productQty = $item->getQty();
113
+
114
+ $product = Mage::getModel('catalog/product')->load($productId);
115
+ //echo $product->getItemWeight();
116
+ $weight += $product->getItemWeight() * $productQty;
117
+ $height += $product->getItemHeight() * $productQty;
118
+ $width += $product->getItemWidth() * $productQty;
119
+ $length += $product->getItemDim() * $productQty;
120
+ }
121
+
122
+ $product = Mage::getModel('catalog/product')->load($productId);
123
+
124
+ $cart_total_weight = $product->getItemWeight();
125
+ $cart_total_height = $product->getItemHeight();
126
+ $cart_total_width = $product->getItemWidth();
127
+ $cart_total_length = $product->getItemDim();
128
+
129
+ // Cart Total Weight Code End by Nayan
130
+
131
+
132
+ if(!$cart_total_weight){ $cart_total_weight = $dimension_weight; }
133
+ if(!$cart_total_height){ $cart_total_height = $dimension_height; }
134
+ if(!$cart_total_width){ $cart_total_width = $dimension_width; }
135
+ if(!$cart_total_length){ $cart_total_length = $dimension_dim; }
136
+
137
+ /* echo 'width--'.$cart_total_weight;
138
+ echo 'height---'.$cart_total_height;
139
+ echo 'width---'.$cart_total_width;
140
+ echo 'length---'.$cart_total_length;
141
+ die('here');
142
+ */
143
+
144
+ // Getting Cart page Quote Address Details Code Start by Nayan
145
+
146
+ $receiver_country = (string) $this->getRequest()->getParam('country_id');
147
+ $receiver_postcode = (string) $this->getRequest()->getParam('estimate_postcode');
148
+ $receiver_regionId = (string) $this->getRequest()->getParam('region_id');
149
+ $receiver_region = (string) $this->getRequest()->getParam('region');
150
+
151
+ $region = Mage::getModel('directory/region')->load($receiver_regionId);
152
+ $receiver_region_tmp = $region->getName();
153
+
154
+ /*if($receiver_region == '') {
155
+ Mage::getSingleton('checkout/session')->addError("Please enter state/province.");
156
+ session_write_close();
157
+ $this->_redirectReferer();
158
+ }*/
159
+
160
+ /*if(!is_numeric($receiver_postcode) || $receiver_postcode == "0" || $receiver_postcode == "00" || $receiver_postcode == "000" || $receiver_postcode == "0000" || $receiver_postcode == "00000" || $receiver_postcode == "000000" || $receiver_postcode == "0000000") {
161
+ Mage::getSingleton('checkout/session')->addError("Please enter valid and correct postcode.");
162
+ session_write_close();
163
+ $this->_redirectReferer();
164
+ }*/
165
+
166
+ if(!$receiver_regionId)
167
+ {
168
+ $receiver_suburb = $receiver_region;
169
+ }
170
+ else
171
+ {
172
+ $receiver_suburb = $receiver_region_tmp;
173
+ }
174
+
175
+
176
+ $receiver_postcode = $_COOKIE['cart_postocde'];
177
+ $receiver_suburb = $_COOKIE['cart_locality'];
178
+
179
+ //echo $receiver_suburb; die('suburb');
180
+
181
+ // Getting Cart page Quote Address Details Code End by Nayan
182
+
183
+ $quoteDetails = array(
184
+ 'declared_value'=>10000,
185
+ 'items' => array
186
+ (
187
+ array('width' => $cart_total_width, 'height' => $cart_total_height, 'weight'=> $cart_total_weight, 'length'=> $cart_total_length, 'quantity'=>$total_qty, 'description'=>'item description')
188
+ ),
189
+ 'sender' => array('country' => 'AU', 'suburb'=>'SYDNEY', 'postcode' => $warehouse_postcode, 'type'=> $warehouse_address),
190
+ 'receiver' => array('country' => $receiver_country, 'suburb'=>$receiver_suburb, 'postcode' => $receiver_postcode, 'type'=> 'residential')
191
+ );
192
+
193
+ $json_data = json_encode($quoteDetails);
194
+ //echo '<pre>'; print_r($json_data); die('encode');
195
+
196
+ $ch = curl_init();
197
+ curl_setopt($ch, CURLOPT_URL, "https://www.staging.transdirect.com.au/api/bookings");
198
+ //curl_setopt($ch, CURLOPT_URL, "https://www.transdirect.com.au/api/bookings");
199
+ curl_setopt($ch, CURLOPT_USERPWD, "$account_email:$account_password");
200
+ curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
201
+ curl_setopt($ch, CURLOPT_HEADER, FALSE);
202
+ curl_setopt($ch, CURLOPT_POST, TRUE);
203
+ curl_setopt($ch, CURLOPT_POSTFIELDS, $json_data);
204
+ curl_setopt($ch, CURLOPT_HTTPHEADER, array("Content-Type: application/json"));
205
+ curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
206
+ $response = curl_exec($ch);
207
+
208
+ $report = curl_getinfo($ch);
209
+ //echo '<pre>'; print_r($report);
210
+
211
+ if(curl_errno($ch)) {
212
+ echo 'Response error: ' . curl_error($ch);
213
+ }
214
+
215
+ curl_close($ch);
216
+
217
+ if ($response) {
218
+ //echo '<pre>'.$response;
219
+
220
+
221
+
222
+ $json_decode_varible = json_decode($response, true);
223
+
224
+ $quotes_val = $json_decode_varible['quotes'];
225
+ //echo "<pre>"; print_r($quotes_val); die('decode');
226
+
227
+
228
+ // Passing Data from Controller to Template file code Start
229
+
230
+
231
+ //$quotes_val = Mage::register('quotes_val', $quotes_val);
232
+
233
+ // End
234
+
235
+ Mage::getSingleton('core/session')->unsSomeSessionVar();
236
+ Mage::getSingleton('core/session')->unsCountryVal();
237
+ Mage::getSingleton('core/session')->unsPostcodeVal();
238
+ Mage::getSingleton('core/session')->unsRegionIdVal();
239
+ Mage::getSingleton('core/session')->unsRegionVal();
240
+
241
+ $country = (string) $this->getRequest()->getParam('country_id');
242
+ $postcode = (string) $this->getRequest()->getParam('estimate_postcode');
243
+ $regionId = (string) $this->getRequest()->getParam('region_id');
244
+ $region = (string) $this->getRequest()->getParam('region');
245
+
246
+ //echo $country. $postcode . $city . $regionId . $region; die('data');
247
+
248
+ //echo "<pre>"; print_r($quotes_val);
249
+
250
+ function build_sorter($key) {
251
+ return function ($a, $b) use ($key) {
252
+ return strnatcmp($a[$key], $b[$key]);
253
+ };
254
+ }
255
+
256
+ $display_quote = Mage::getStoreConfig('transdirect_section/displayoptions/quotedisplay');
257
+
258
+ if($display_quote == 'display_cheapest'){ uasort($quotes_val, build_sorter('total')); }
259
+ if($display_quote == 'display_cheapest_fastest'){ uasort($quotes_val, build_sorter('transit_time')); }
260
+
261
+ //echo "<pre>"; print_r($quotes_val); die('after');
262
+
263
+ $session_val = Mage::getSingleton('core/session')->setSomeSessionVar($quotes_val); // In the Controller
264
+
265
+ $quote_form_country_val = Mage::getSingleton('core/session')->setCountryVal($country); // In the Controller
266
+ $quote_form_postcode_val = Mage::getSingleton('core/session')->setPostcodeVal($postcode); // In the Controller
267
+ $quote_form_regionId_val = Mage::getSingleton('core/session')->setRegionIdVal($regionId); // In the Controller
268
+ $quote_form_region_val = Mage::getSingleton('core/session')->setRegionVal($region); // In the Controller
269
+
270
+
271
+
272
+ //echo '<pre>'; print_r($session_val->getSomeSessionVar());
273
+ //die('set');
274
+
275
+ /*
276
+ foreach($quotes_val as $key => $val) {
277
+ $courier_title = $key;
278
+ $courier_price = $quotes_val[$key]['total'];
279
+
280
+ // Mage::register('couriertitledisplay', $courier_title);
281
+ // Mage::register('courierpricedisplay', $courier_price);
282
+
283
+
284
+
285
+ $block = $this->getLayout()->createBlock(
286
+ 'Mage_Core_Block_Template',
287
+ 'ship.quotes',
288
+ array(
289
+ 'template' => 'ship/quotes.phtml'
290
+ )
291
+ ) // NOTE - Custom Variables Below
292
+ ->setData('courier_title', $courier_title)
293
+ ->setData('courier_price', $courier_price);
294
+
295
+
296
+ $this->getLayout()->getBlock('content')->append($block);
297
+ }
298
+ */
299
+
300
+ } else {
301
+ echo "Failed";
302
+ }
303
+
304
+
305
+ $available_carriers = explode( ',', $display_carriers);
306
+
307
+ $handling = Mage::getStoreConfig('carriers/'.$this->_code.'/handling');
308
+ $result = Mage::getModel('shipping/rate_result');
309
+ $show = true;
310
+ if($show){
311
+
312
+ //die('before');
313
+ //$quotes_val = Mage::getSingleton('core/session')->getSomeSessionVar();
314
+
315
+ //$session = Mage::getSingleton('core/session', array('name' => 'frontend'));
316
+ //echo $session->getSomeSessionVar();
317
+
318
+ //echo '<pre>'; print_r($session->getSomeSessionVar());
319
+ //die('after');
320
+
321
+ if($quotes_val == ''){ //die('if');
322
+ //echo $quote_form_postcode_val; die;
323
+ /* if(!is_numeric($quote_form_postcode_val) || $quote_form_postcode_val == "0" || $quote_form_postcode_val == "00" || $quote_form_postcode_val == "000" || $quote_form_postcode_val == "0000" || $quote_form_postcode_val == "00000" || $quote_form_postcode_val == "000000" || $quote_form_postcode_val == "0000000") {
324
+ Mage::getSingleton('checkout/session')->addError("Please enter valid and correct postcode.");
325
+ } else {*/
326
+ Mage::getSingleton('core/session')->addError("Please enter correct details, either suburb or postcode not entered properly.");
327
+ //}
328
+
329
+
330
+ //Mage::getSingleton('core/session')->addError("Please fill the information properly, there are some fields are missing or not entered properly.");
331
+
332
+ $method = Mage::getModel('shipping/rate_result_method');
333
+ $method->setCarrier($this->_code);
334
+ $method->setMethod($this->_code);
335
+ $method->setCarrierTitle('Carrier');
336
+ $method->setMethodTitle('Fixed Price');
337
+
338
+ if($display_fixedprice == '1'){
339
+ $method->setPrice($display_fixedprice1);
340
+ $method->setCost($display_fixedprice1);
341
+ }
342
+
343
+ $result->append($method);
344
+
345
+ }
346
+ else {
347
+ //die('else');
348
+
349
+
350
+
351
+ foreach($quotes_val as $key => $val) {
352
+ // echo count($val); die;
353
+ //echo $key.'<br>';
354
+ //print_r($available_carriers);
355
+
356
+ //usort($quotes_val, 'cmp1');
357
+
358
+ $courier_title = $key;
359
+ $courier_price = $quotes_val[$key]['total'];
360
+
361
+ $method = Mage::getModel('shipping/rate_result_method');
362
+ $method->setCarrier($this->_code);
363
+ $method->setMethod($courier_title);
364
+ $method->setCarrierTitle('Carriers');
365
+
366
+ if($display_surcharge == '1'){
367
+
368
+ $tmp_display_surcharge = $courier_price + $display_surcharge1;
369
+ $tmp_method_title = $courier_title.' + Handling Charge';
370
+
371
+ $method->setMethodTitle($tmp_method_title);
372
+ $method->setPrice($tmp_display_surcharge);
373
+ $method->setCost($tmp_display_surcharge);
374
+
375
+ } else {
376
+
377
+ if(in_array($key,$available_carriers)) {
378
+ //echo '<br>'.$key . ' - matched<br>';
379
+ $method->setMethodTitle($courier_title);
380
+ $method->setPrice($courier_price);
381
+ $method->setCost($courier_price);
382
+ } else {
383
+ //echo '<br>'.$key . ' - not found<br>';
384
+ }
385
+
386
+
387
+
388
+ }
389
+
390
+ $result->append($method);
391
+
392
+ }
393
+ //die('arr');
394
+ }
395
+
396
+
397
+ //echo '<pre>'; print_r($result); //die('model');
398
+
399
+ }else{
400
+ $error = Mage::getModel('shipping/rate_result_error');
401
+ $error->setCarrier($this->_code);
402
+ $error->setCarrierTitle('Carrier Title');
403
+ $error->setErrorMessage('Error');
404
+ $result->append($error);
405
+ }
406
+
407
+ //return $result;
408
+
409
+
410
+ //$this->renderLayout();
411
+ $this->_getQuote()->save();
412
+ $this->_goBack();
413
+
414
+ $this->_redirectReferer();
415
+
416
+ return $this;
417
+ }
418
+
419
+ function productAction(){
420
+ $country = (string) $this->getRequest()->getParam('country_id');
421
+ $postcode = (string) $this->getRequest()->getParam('estimate_postcode');
422
+ $city = (string) $this->getRequest()->getParam('estimate_city');
423
+ $regionId = (string) $this->getRequest()->getParam('region_id');
424
+ $region = (string) $this->getRequest()->getParam('region');
425
+
426
+ $this->_getQuote()->getShippingAddress()
427
+ ->setCountryId($country)
428
+ ->setCity($city)
429
+ ->setPostcode($postcode)
430
+ ->setRegionId($regionId)
431
+ ->setRegion($region)
432
+ ->setCollectShippingRates(true);
433
+ $this->_getQuote()->save();
434
+ $this->_goBack();
435
+ //$this->_redirectReferer();
436
+
437
+ }
438
+
439
+
440
+
441
+ }
app/code/local/Transdirect/Ship/controllers/bkp_29-5-2014---IndexController.php ADDED
@@ -0,0 +1,412 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Transdirect_Ship_IndexController extends Mage_Core_Controller_Front_Action
3
+ {
4
+
5
+ protected function _getCart()
6
+ {
7
+ return Mage::getSingleton('checkout/cart');
8
+ }
9
+
10
+ /**
11
+ * Get checkout session model instance
12
+ *
13
+ * @return Mage_Checkout_Model_Session
14
+ */
15
+ protected function _getSession()
16
+ {
17
+ return Mage::getSingleton('checkout/session');
18
+ }
19
+
20
+ /**
21
+ * Get current active quote instance
22
+ *
23
+ * @return Mage_Sales_Model_Quote
24
+ */
25
+ protected function _getQuote()
26
+ {
27
+
28
+ return $this->_getCart()->getQuote();
29
+ }
30
+
31
+ protected function _goBack()
32
+ {
33
+ $returnUrl = $this->getRequest()->getParam('return_url');
34
+ if ($returnUrl) {
35
+ //die('if');
36
+
37
+ if (!$this->_isUrlInternal($returnUrl)) {
38
+ throw new Mage_Exception('External urls redirect to "' . $returnUrl . '" denied!');
39
+ }
40
+
41
+ $this->_getSession()->getMessages(true);
42
+ $this->getResponse()->setRedirect($returnUrl);
43
+ } elseif (!Mage::getStoreConfig('checkout/cart/redirect_to_cart')
44
+
45
+ && !$this->getRequest()->getParam('in_cart')
46
+ && $backUrl = $this->_getRefererUrl()
47
+ ) {// die('else if');
48
+ $this->getResponse()->setRedirect($backUrl);
49
+ } else {
50
+ //die('else');
51
+
52
+ if (($this->getRequest()->getActionName() == 'add') && !$this->getRequest()->getParam('in_cart')) {
53
+ $this->_getSession()->setContinueShoppingUrl($this->_getRefererUrl());
54
+ }
55
+ $this->_redirect('checkout/cart');
56
+ //die('go back');
57
+ //$this->_redirectReferer();
58
+ }
59
+ return $this;
60
+ }
61
+
62
+ function indexAction()
63
+ {
64
+ //die('index');
65
+
66
+ //$this->loadLayout();
67
+
68
+ $account_email = Mage::getStoreConfig('transdirect_section/authentication/email');
69
+ $account_password = Mage::getStoreConfig('transdirect_section/authentication/password');
70
+ $warehouse_postcode = Mage::getStoreConfig('transdirect_section/warehouseaddress/postcode');
71
+ $warehouse_address = Mage::getStoreConfig('transdirect_section/warehouseaddress/address');
72
+ $dimension_width = Mage::getStoreConfig('transdirect_section/defaultitemsize/dimensionswidth');
73
+ $dimension_height = Mage::getStoreConfig('transdirect_section/defaultitemsize/dimensionsheight');
74
+ $dimension_dim = Mage::getStoreConfig('transdirect_section/defaultitemsize/dimensionsdim');
75
+ $dimension_weight = Mage::getStoreConfig('transdirect_section/defaultitemsize/weight');
76
+ $display_carriers = Mage::getStoreConfig('transdirect_section/displayoptions/availablecoriers');
77
+ $display_quote = Mage::getStoreConfig('transdirect_section/displayoptions/quotedisplay');
78
+ $display_fixedprice = Mage::getStoreConfig('transdirect_section/displayoptions/fixedpriceonerror');
79
+ $display_fixedprice1 = Mage::getStoreConfig('transdirect_section/displayoptions/fixedpriceonerror1');
80
+ $display_showcouriername = Mage::getStoreConfig('transdirect_section/displayoptions/showcouriernames');
81
+ $display_surcharge = Mage::getStoreConfig('transdirect_section/displayoptions/handlingsurcharge');
82
+ $display_surcharge1 = Mage::getStoreConfig('transdirect_section/displayoptions/handlingsurcharge1');
83
+ $display_includesurchage = Mage::getStoreConfig('transdirect_section/displayoptions/includesurcharge');
84
+
85
+
86
+ // Cart Total Weight Code Start by Nayan
87
+
88
+ $quote = Mage::getSingleton('checkout/session')->getQuote();
89
+ $cartItems = $quote->getAllVisibleItems();
90
+ //$total_qty = Mage::helper('checkout/cart')->getSummaryCount();
91
+ $total_qty = '1';
92
+
93
+ /* if(Mage::registry('current_product')) {
94
+ //this is a product page, do some stuff
95
+ die('product');
96
+ }
97
+ else {
98
+ die('not product');
99
+ }
100
+
101
+ echo Mage::app()->getFrontController()->getRequest()->getRouteName();
102
+ die('name');*/
103
+
104
+ $weight = 0;
105
+ $height = 0;
106
+ $width = 0;
107
+ $length = 0;
108
+ foreach ($cartItems as $item)
109
+ {
110
+ //echo '<pre>'; print_r($item->getQty()); die;
111
+ $productId = $item->getProductId();
112
+ $productQty = $item->getQty();
113
+
114
+ $product = Mage::getModel('catalog/product')->load($productId);
115
+ //echo $product->getItemWeight();
116
+ $weight += $product->getItemWeight() * $productQty;
117
+ $height += $product->getItemHeight() * $productQty;
118
+ $width += $product->getItemWidth() * $productQty;
119
+ $length += $product->getItemDim() * $productQty;
120
+ }
121
+
122
+ $cart_total_weight = $weight;
123
+ $cart_total_height = $height;
124
+ $cart_total_width = $width;
125
+ $cart_total_length = $length;
126
+
127
+ // Cart Total Weight Code End by Nayan
128
+
129
+
130
+ if(!$cart_total_weight){ $cart_total_weight = $dimension_weight; }
131
+ if(!$cart_total_height){ $cart_total_height = $dimension_height; }
132
+ if(!$cart_total_width){ $cart_total_width = $dimension_width; }
133
+ if(!$cart_total_length){ $cart_total_length = $dimension_dim; }
134
+
135
+ /* echo 'width--'.$cart_total_weight;
136
+ echo 'height---'.$cart_total_height;
137
+ echo 'width---'.$cart_total_width;
138
+ echo 'length---'.$cart_total_length;
139
+ die('here');
140
+ */
141
+
142
+ // Getting Cart page Quote Address Details Code Start by Nayan
143
+
144
+ $receiver_country = (string) $this->getRequest()->getParam('country_id');
145
+ $receiver_postcode = (string) $this->getRequest()->getParam('estimate_postcode');
146
+ $receiver_regionId = (string) $this->getRequest()->getParam('region_id');
147
+ $receiver_region = (string) $this->getRequest()->getParam('region');
148
+
149
+ $region = Mage::getModel('directory/region')->load($receiver_regionId);
150
+ $receiver_region_tmp = $region->getName();
151
+
152
+ if($receiver_region == '') {
153
+ Mage::getSingleton('checkout/session')->addError("Please enter state/province.");
154
+ session_write_close();
155
+ $this->_redirectReferer();
156
+ }
157
+
158
+ if(!is_numeric($receiver_postcode) || $receiver_postcode == "0" || $receiver_postcode == "00" || $receiver_postcode == "000" || $receiver_postcode == "0000" || $receiver_postcode == "00000" || $receiver_postcode == "000000" || $receiver_postcode == "0000000") {
159
+ Mage::getSingleton('checkout/session')->addError("Please enter valid and correct postcode.");
160
+ session_write_close();
161
+ $this->_redirectReferer();
162
+ }
163
+
164
+ if(!$receiver_regionId)
165
+ {
166
+ $receiver_suburb = $receiver_region;
167
+ }
168
+ else
169
+ {
170
+ $receiver_suburb = $receiver_region_tmp;
171
+ }
172
+
173
+
174
+ //echo $receiver_suburb; die('suburb');
175
+
176
+ // Getting Cart page Quote Address Details Code End by Nayan
177
+
178
+ $quoteDetails = array(
179
+ 'declared_value'=>10000,
180
+ 'items' => array
181
+ (
182
+ array('width' => $cart_total_width, 'height' => $cart_total_height, 'weight'=> $cart_total_weight, 'length'=> $cart_total_length, 'quantity'=>$total_qty, 'description'=>'item description')
183
+ ),
184
+ 'sender' => array('country' => 'AU', 'suburb'=>'SYDNEY', 'postcode' => $warehouse_postcode, 'type'=> $warehouse_address),
185
+ 'receiver' => array('country' => $receiver_country, 'suburb'=>$receiver_suburb, 'postcode' => $receiver_postcode, 'type'=> 'residential')
186
+ );
187
+
188
+ $json_data = json_encode($quoteDetails);
189
+ //echo '<pre>'; print_r($json_data); die('encode');
190
+
191
+ $ch = curl_init();
192
+ curl_setopt($ch, CURLOPT_URL, "https://www.staging.transdirect.com.au/api/bookings");
193
+ //curl_setopt($ch, CURLOPT_URL, "https://www.transdirect.com.au/api/bookings");
194
+ curl_setopt($ch, CURLOPT_USERPWD, "$account_email:$account_password");
195
+ curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
196
+ curl_setopt($ch, CURLOPT_HEADER, FALSE);
197
+ curl_setopt($ch, CURLOPT_POST, TRUE);
198
+ curl_setopt($ch, CURLOPT_POSTFIELDS, $json_data);
199
+ curl_setopt($ch, CURLOPT_HTTPHEADER, array("Content-Type: application/json"));
200
+ curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
201
+ $response = curl_exec($ch);
202
+
203
+ $report = curl_getinfo($ch);
204
+ //echo '<pre>'; print_r($report);
205
+
206
+ if(curl_errno($ch)) {
207
+ echo 'Response error: ' . curl_error($ch);
208
+ }
209
+
210
+ curl_close($ch);
211
+
212
+ if ($response) {
213
+ //echo '<pre>'.$response;
214
+
215
+
216
+
217
+ $json_decode_varible = json_decode($response, true);
218
+
219
+ $quotes_val = $json_decode_varible['quotes'];
220
+ //echo "<pre>"; print_r($quotes_val); die('decode');
221
+
222
+
223
+ // Passing Data from Controller to Template file code Start
224
+
225
+
226
+ //$quotes_val = Mage::register('quotes_val', $quotes_val);
227
+
228
+ // End
229
+
230
+ Mage::getSingleton('core/session')->unsSomeSessionVar();
231
+ Mage::getSingleton('core/session')->unsCountryVal();
232
+ Mage::getSingleton('core/session')->unsPostcodeVal();
233
+ Mage::getSingleton('core/session')->unsRegionIdVal();
234
+ Mage::getSingleton('core/session')->unsRegionVal();
235
+
236
+ $country = (string) $this->getRequest()->getParam('country_id');
237
+ $postcode = (string) $this->getRequest()->getParam('estimate_postcode');
238
+ $regionId = (string) $this->getRequest()->getParam('region_id');
239
+ $region = (string) $this->getRequest()->getParam('region');
240
+
241
+ //echo $country. $postcode . $city . $regionId . $region; die('data');
242
+
243
+ $session_val = Mage::getSingleton('core/session')->setSomeSessionVar($quotes_val); // In the Controller
244
+
245
+ $quote_form_country_val = Mage::getSingleton('core/session')->setCountryVal($country); // In the Controller
246
+ $quote_form_postcode_val = Mage::getSingleton('core/session')->setPostcodeVal($postcode); // In the Controller
247
+ $quote_form_regionId_val = Mage::getSingleton('core/session')->setRegionIdVal($regionId); // In the Controller
248
+ $quote_form_region_val = Mage::getSingleton('core/session')->setRegionVal($region); // In the Controller
249
+
250
+
251
+
252
+ //echo '<pre>'; print_r($session_val->getSomeSessionVar());
253
+ //die('set');
254
+
255
+ /*
256
+ foreach($quotes_val as $key => $val) {
257
+ $courier_title = $key;
258
+ $courier_price = $quotes_val[$key]['total'];
259
+
260
+ // Mage::register('couriertitledisplay', $courier_title);
261
+ // Mage::register('courierpricedisplay', $courier_price);
262
+
263
+
264
+
265
+ $block = $this->getLayout()->createBlock(
266
+ 'Mage_Core_Block_Template',
267
+ 'ship.quotes',
268
+ array(
269
+ 'template' => 'ship/quotes.phtml'
270
+ )
271
+ ) // NOTE - Custom Variables Below
272
+ ->setData('courier_title', $courier_title)
273
+ ->setData('courier_price', $courier_price);
274
+
275
+
276
+ $this->getLayout()->getBlock('content')->append($block);
277
+ }
278
+ */
279
+
280
+ } else {
281
+ echo "Failed";
282
+ }
283
+
284
+
285
+ $available_carriers = explode( ',', $display_carriers);
286
+
287
+ $handling = Mage::getStoreConfig('carriers/'.$this->_code.'/handling');
288
+ $result = Mage::getModel('shipping/rate_result');
289
+ $show = true;
290
+ if($show){
291
+
292
+ //die('before');
293
+ //$quotes_val = Mage::getSingleton('core/session')->getSomeSessionVar();
294
+
295
+ //$session = Mage::getSingleton('core/session', array('name' => 'frontend'));
296
+ //echo $session->getSomeSessionVar();
297
+
298
+ //echo '<pre>'; print_r($session->getSomeSessionVar());
299
+ //die('after');
300
+
301
+ if($quotes_val == ''){ //die('if');
302
+
303
+ $method = Mage::getModel('shipping/rate_result_method');
304
+ $method->setCarrier($this->_code);
305
+ $method->setMethod($this->_code);
306
+ $method->setCarrierTitle('Carrier');
307
+ $method->setMethodTitle('Fixed Price');
308
+
309
+ if($display_fixedprice == '1'){
310
+ $method->setPrice($display_fixedprice1);
311
+ $method->setCost($display_fixedprice1);
312
+ }
313
+
314
+ $result->append($method);
315
+
316
+ }
317
+ else {
318
+ //die('else');
319
+
320
+
321
+
322
+ foreach($quotes_val as $key => $val) {
323
+ // echo count($val); die;
324
+ //echo $key.'<br>';
325
+ //print_r($available_carriers);
326
+
327
+ //usort($quotes_val, 'cmp1');
328
+
329
+ $courier_title = $key;
330
+ $courier_price = $quotes_val[$key]['total'];
331
+
332
+ $method = Mage::getModel('shipping/rate_result_method');
333
+ $method->setCarrier($this->_code);
334
+ $method->setMethod($courier_title);
335
+ $method->setCarrierTitle('Carriers');
336
+
337
+ if($display_surcharge == '1'){
338
+
339
+ $tmp_display_surcharge = $courier_price + $display_surcharge1;
340
+ $tmp_method_title = $courier_title.' + Handling Charge';
341
+
342
+ $method->setMethodTitle($tmp_method_title);
343
+ $method->setPrice($tmp_display_surcharge);
344
+ $method->setCost($tmp_display_surcharge);
345
+
346
+ } else {
347
+
348
+ if(in_array($key,$available_carriers)) {
349
+ //echo '<br>'.$key . ' - matched<br>';
350
+ $method->setMethodTitle($courier_title);
351
+ $method->setPrice($courier_price);
352
+ $method->setCost($courier_price);
353
+ } else {
354
+ //echo '<br>'.$key . ' - not found<br>';
355
+ }
356
+
357
+
358
+
359
+ }
360
+
361
+ $result->append($method);
362
+
363
+ }
364
+ //die('arr');
365
+ }
366
+
367
+
368
+ //echo '<pre>'; print_r($result); //die('model');
369
+
370
+ }else{
371
+ $error = Mage::getModel('shipping/rate_result_error');
372
+ $error->setCarrier($this->_code);
373
+ $error->setCarrierTitle('Carrier Title');
374
+ $error->setErrorMessage('Error');
375
+ $result->append($error);
376
+ }
377
+
378
+ //return $result;
379
+
380
+
381
+ //$this->renderLayout();
382
+ $this->_getQuote()->save();
383
+ $this->_goBack();
384
+
385
+ $this->_redirectReferer();
386
+
387
+ return $this;
388
+ }
389
+
390
+ function productAction(){
391
+ $country = (string) $this->getRequest()->getParam('country_id');
392
+ $postcode = (string) $this->getRequest()->getParam('estimate_postcode');
393
+ $city = (string) $this->getRequest()->getParam('estimate_city');
394
+ $regionId = (string) $this->getRequest()->getParam('region_id');
395
+ $region = (string) $this->getRequest()->getParam('region');
396
+
397
+ $this->_getQuote()->getShippingAddress()
398
+ ->setCountryId($country)
399
+ ->setCity($city)
400
+ ->setPostcode($postcode)
401
+ ->setRegionId($regionId)
402
+ ->setRegion($region)
403
+ ->setCollectShippingRates(true);
404
+ $this->_getQuote()->save();
405
+ $this->_goBack();
406
+ //$this->_redirectReferer();
407
+
408
+ }
409
+
410
+
411
+
412
+ }
app/code/local/Transdirect/Ship/controllers/bkp_30-5-2014----IndexController.php ADDED
@@ -0,0 +1,427 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Transdirect_Ship_IndexController extends Mage_Core_Controller_Front_Action
3
+ {
4
+
5
+ protected function _getCart()
6
+ {
7
+ return Mage::getSingleton('checkout/cart');
8
+ }
9
+
10
+ /**
11
+ * Get checkout session model instance
12
+ *
13
+ * @return Mage_Checkout_Model_Session
14
+ */
15
+ protected function _getSession()
16
+ {
17
+ return Mage::getSingleton('checkout/session');
18
+ }
19
+
20
+ /**
21
+ * Get current active quote instance
22
+ *
23
+ * @return Mage_Sales_Model_Quote
24
+ */
25
+ protected function _getQuote()
26
+ {
27
+
28
+ return $this->_getCart()->getQuote();
29
+ }
30
+
31
+ protected function _goBack()
32
+ {
33
+ $returnUrl = $this->getRequest()->getParam('return_url');
34
+ if ($returnUrl) {
35
+ //die('if');
36
+
37
+ if (!$this->_isUrlInternal($returnUrl)) {
38
+ throw new Mage_Exception('External urls redirect to "' . $returnUrl . '" denied!');
39
+ }
40
+
41
+ $this->_getSession()->getMessages(true);
42
+ $this->getResponse()->setRedirect($returnUrl);
43
+ } elseif (!Mage::getStoreConfig('checkout/cart/redirect_to_cart')
44
+
45
+ && !$this->getRequest()->getParam('in_cart')
46
+ && $backUrl = $this->_getRefererUrl()
47
+ ) {// die('else if');
48
+ $this->getResponse()->setRedirect($backUrl);
49
+ } else {
50
+ //die('else');
51
+
52
+ if (($this->getRequest()->getActionName() == 'add') && !$this->getRequest()->getParam('in_cart')) {
53
+ $this->_getSession()->setContinueShoppingUrl($this->_getRefererUrl());
54
+ }
55
+ $this->_redirect('checkout/cart');
56
+ //die('go back');
57
+ //$this->_redirectReferer();
58
+ }
59
+ return $this;
60
+ }
61
+
62
+ function indexAction()
63
+ {
64
+ //die('index');
65
+
66
+ //$this->loadLayout();
67
+
68
+ $account_email = Mage::getStoreConfig('transdirect_section/authentication/email');
69
+ $account_password = Mage::getStoreConfig('transdirect_section/authentication/password');
70
+ $warehouse_postcode = Mage::getStoreConfig('transdirect_section/warehouseaddress/postcode');
71
+ $warehouse_address = Mage::getStoreConfig('transdirect_section/warehouseaddress/address');
72
+ $dimension_width = Mage::getStoreConfig('transdirect_section/defaultitemsize/dimensionswidth');
73
+ $dimension_height = Mage::getStoreConfig('transdirect_section/defaultitemsize/dimensionsheight');
74
+ $dimension_dim = Mage::getStoreConfig('transdirect_section/defaultitemsize/dimensionsdim');
75
+ $dimension_weight = Mage::getStoreConfig('transdirect_section/defaultitemsize/weight');
76
+ $display_carriers = Mage::getStoreConfig('transdirect_section/displayoptions/availablecoriers');
77
+ $display_quote = Mage::getStoreConfig('transdirect_section/displayoptions/quotedisplay');
78
+ $display_fixedprice = Mage::getStoreConfig('transdirect_section/displayoptions/fixedpriceonerror');
79
+ $display_fixedprice1 = Mage::getStoreConfig('transdirect_section/displayoptions/fixedpriceonerror1');
80
+ $display_showcouriername = Mage::getStoreConfig('transdirect_section/displayoptions/showcouriernames');
81
+ $display_surcharge = Mage::getStoreConfig('transdirect_section/displayoptions/handlingsurcharge');
82
+ $display_surcharge1 = Mage::getStoreConfig('transdirect_section/displayoptions/handlingsurcharge1');
83
+ $display_includesurchage = Mage::getStoreConfig('transdirect_section/displayoptions/includesurcharge');
84
+
85
+
86
+ // Cart Total Weight Code Start by Nayan
87
+
88
+ $quote = Mage::getSingleton('checkout/session')->getQuote();
89
+ $cartItems = $quote->getAllVisibleItems();
90
+ //$total_qty = Mage::helper('checkout/cart')->getSummaryCount();
91
+ $total_qty = '1';
92
+
93
+ /* if(Mage::registry('current_product')) {
94
+ //this is a product page, do some stuff
95
+ die('product');
96
+ }
97
+ else {
98
+ die('not product');
99
+ }
100
+
101
+ echo Mage::app()->getFrontController()->getRequest()->getRouteName();
102
+ die('name');*/
103
+
104
+ $weight = 0;
105
+ $height = 0;
106
+ $width = 0;
107
+ $length = 0;
108
+ foreach ($cartItems as $item)
109
+ {
110
+ //echo '<pre>'; print_r($item->getQty()); die;
111
+ $productId = $item->getProductId();
112
+ $productQty = $item->getQty();
113
+
114
+ $product = Mage::getModel('catalog/product')->load($productId);
115
+ //echo $product->getItemWeight();
116
+ $weight += $product->getItemWeight() * $productQty;
117
+ $height += $product->getItemHeight() * $productQty;
118
+ $width += $product->getItemWidth() * $productQty;
119
+ $length += $product->getItemDim() * $productQty;
120
+ }
121
+
122
+ $cart_total_weight = $weight;
123
+ $cart_total_height = $height;
124
+ $cart_total_width = $width;
125
+ $cart_total_length = $length;
126
+
127
+ // Cart Total Weight Code End by Nayan
128
+
129
+
130
+ if(!$cart_total_weight){ $cart_total_weight = $dimension_weight; }
131
+ if(!$cart_total_height){ $cart_total_height = $dimension_height; }
132
+ if(!$cart_total_width){ $cart_total_width = $dimension_width; }
133
+ if(!$cart_total_length){ $cart_total_length = $dimension_dim; }
134
+
135
+ /* echo 'width--'.$cart_total_weight;
136
+ echo 'height---'.$cart_total_height;
137
+ echo 'width---'.$cart_total_width;
138
+ echo 'length---'.$cart_total_length;
139
+ die('here');
140
+ */
141
+
142
+ // Getting Cart page Quote Address Details Code Start by Nayan
143
+
144
+ $receiver_country = (string) $this->getRequest()->getParam('country_id');
145
+ $receiver_postcode = (string) $this->getRequest()->getParam('estimate_postcode');
146
+ $receiver_regionId = (string) $this->getRequest()->getParam('region_id');
147
+ $receiver_region = (string) $this->getRequest()->getParam('region');
148
+
149
+ $region = Mage::getModel('directory/region')->load($receiver_regionId);
150
+ $receiver_region_tmp = $region->getName();
151
+
152
+ if($receiver_region == '') {
153
+ Mage::getSingleton('checkout/session')->addError("Please enter state/province.");
154
+ session_write_close();
155
+ $this->_redirectReferer();
156
+ }
157
+
158
+ if(!is_numeric($receiver_postcode) || $receiver_postcode == "0" || $receiver_postcode == "00" || $receiver_postcode == "000" || $receiver_postcode == "0000" || $receiver_postcode == "00000" || $receiver_postcode == "000000" || $receiver_postcode == "0000000") {
159
+ Mage::getSingleton('checkout/session')->addError("Please enter valid and correct postcode.");
160
+ session_write_close();
161
+ $this->_redirectReferer();
162
+ }
163
+
164
+ if(!$receiver_regionId)
165
+ {
166
+ $receiver_suburb = $receiver_region;
167
+ }
168
+ else
169
+ {
170
+ $receiver_suburb = $receiver_region_tmp;
171
+ }
172
+
173
+
174
+ //echo $receiver_suburb; die('suburb');
175
+
176
+ // Getting Cart page Quote Address Details Code End by Nayan
177
+
178
+ $quoteDetails = array(
179
+ 'declared_value'=>10000,
180
+ 'items' => array
181
+ (
182
+ array('width' => $cart_total_width, 'height' => $cart_total_height, 'weight'=> $cart_total_weight, 'length'=> $cart_total_length, 'quantity'=>$total_qty, 'description'=>'item description')
183
+ ),
184
+ 'sender' => array('country' => 'AU', 'suburb'=>'SYDNEY', 'postcode' => $warehouse_postcode, 'type'=> $warehouse_address),
185
+ 'receiver' => array('country' => $receiver_country, 'suburb'=>$receiver_suburb, 'postcode' => $receiver_postcode, 'type'=> 'residential')
186
+ );
187
+
188
+ $json_data = json_encode($quoteDetails);
189
+ //echo '<pre>'; print_r($json_data); die('encode');
190
+
191
+ $ch = curl_init();
192
+ curl_setopt($ch, CURLOPT_URL, "https://www.staging.transdirect.com.au/api/bookings");
193
+ //curl_setopt($ch, CURLOPT_URL, "https://www.transdirect.com.au/api/bookings");
194
+ curl_setopt($ch, CURLOPT_USERPWD, "$account_email:$account_password");
195
+ curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
196
+ curl_setopt($ch, CURLOPT_HEADER, FALSE);
197
+ curl_setopt($ch, CURLOPT_POST, TRUE);
198
+ curl_setopt($ch, CURLOPT_POSTFIELDS, $json_data);
199
+ curl_setopt($ch, CURLOPT_HTTPHEADER, array("Content-Type: application/json"));
200
+ curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
201
+ $response = curl_exec($ch);
202
+
203
+ $report = curl_getinfo($ch);
204
+ //echo '<pre>'; print_r($report);
205
+
206
+ if(curl_errno($ch)) {
207
+ echo 'Response error: ' . curl_error($ch);
208
+ }
209
+
210
+ curl_close($ch);
211
+
212
+ if ($response) {
213
+ //echo '<pre>'.$response;
214
+
215
+
216
+
217
+ $json_decode_varible = json_decode($response, true);
218
+
219
+ $quotes_val = $json_decode_varible['quotes'];
220
+ //echo "<pre>"; print_r($quotes_val); die('decode');
221
+
222
+
223
+ // Passing Data from Controller to Template file code Start
224
+
225
+
226
+ //$quotes_val = Mage::register('quotes_val', $quotes_val);
227
+
228
+ // End
229
+
230
+ Mage::getSingleton('core/session')->unsSomeSessionVar();
231
+ Mage::getSingleton('core/session')->unsCountryVal();
232
+ Mage::getSingleton('core/session')->unsPostcodeVal();
233
+ Mage::getSingleton('core/session')->unsRegionIdVal();
234
+ Mage::getSingleton('core/session')->unsRegionVal();
235
+
236
+ $country = (string) $this->getRequest()->getParam('country_id');
237
+ $postcode = (string) $this->getRequest()->getParam('estimate_postcode');
238
+ $regionId = (string) $this->getRequest()->getParam('region_id');
239
+ $region = (string) $this->getRequest()->getParam('region');
240
+
241
+ //echo $country. $postcode . $city . $regionId . $region; die('data');
242
+
243
+ //echo "<pre>"; print_r($quotes_val);
244
+
245
+ function build_sorter($key) {
246
+ return function ($a, $b) use ($key) {
247
+ return strnatcmp($a[$key], $b[$key]);
248
+ };
249
+ }
250
+
251
+ $display_quote = Mage::getStoreConfig('transdirect_section/displayoptions/quotedisplay');
252
+
253
+ if($display_quote == 'display_cheapest'){ uasort($quotes_val, build_sorter('total')); }
254
+ if($display_quote == 'display_cheapest_fastest'){ uasort($quotes_val, build_sorter('transit_time')); }
255
+
256
+ //echo "<pre>"; print_r($quotes_val); die('after');
257
+
258
+ $session_val = Mage::getSingleton('core/session')->setSomeSessionVar($quotes_val); // In the Controller
259
+
260
+ $quote_form_country_val = Mage::getSingleton('core/session')->setCountryVal($country); // In the Controller
261
+ $quote_form_postcode_val = Mage::getSingleton('core/session')->setPostcodeVal($postcode); // In the Controller
262
+ $quote_form_regionId_val = Mage::getSingleton('core/session')->setRegionIdVal($regionId); // In the Controller
263
+ $quote_form_region_val = Mage::getSingleton('core/session')->setRegionVal($region); // In the Controller
264
+
265
+
266
+
267
+ //echo '<pre>'; print_r($session_val->getSomeSessionVar());
268
+ //die('set');
269
+
270
+ /*
271
+ foreach($quotes_val as $key => $val) {
272
+ $courier_title = $key;
273
+ $courier_price = $quotes_val[$key]['total'];
274
+
275
+ // Mage::register('couriertitledisplay', $courier_title);
276
+ // Mage::register('courierpricedisplay', $courier_price);
277
+
278
+
279
+
280
+ $block = $this->getLayout()->createBlock(
281
+ 'Mage_Core_Block_Template',
282
+ 'ship.quotes',
283
+ array(
284
+ 'template' => 'ship/quotes.phtml'
285
+ )
286
+ ) // NOTE - Custom Variables Below
287
+ ->setData('courier_title', $courier_title)
288
+ ->setData('courier_price', $courier_price);
289
+
290
+
291
+ $this->getLayout()->getBlock('content')->append($block);
292
+ }
293
+ */
294
+
295
+ } else {
296
+ echo "Failed";
297
+ }
298
+
299
+
300
+ $available_carriers = explode( ',', $display_carriers);
301
+
302
+ $handling = Mage::getStoreConfig('carriers/'.$this->_code.'/handling');
303
+ $result = Mage::getModel('shipping/rate_result');
304
+ $show = true;
305
+ if($show){
306
+
307
+ //die('before');
308
+ //$quotes_val = Mage::getSingleton('core/session')->getSomeSessionVar();
309
+
310
+ //$session = Mage::getSingleton('core/session', array('name' => 'frontend'));
311
+ //echo $session->getSomeSessionVar();
312
+
313
+ //echo '<pre>'; print_r($session->getSomeSessionVar());
314
+ //die('after');
315
+
316
+ if($quotes_val == ''){ //die('if');
317
+
318
+ $method = Mage::getModel('shipping/rate_result_method');
319
+ $method->setCarrier($this->_code);
320
+ $method->setMethod($this->_code);
321
+ $method->setCarrierTitle('Carrier');
322
+ $method->setMethodTitle('Fixed Price');
323
+
324
+ if($display_fixedprice == '1'){
325
+ $method->setPrice($display_fixedprice1);
326
+ $method->setCost($display_fixedprice1);
327
+ }
328
+
329
+ $result->append($method);
330
+
331
+ }
332
+ else {
333
+ //die('else');
334
+
335
+
336
+
337
+ foreach($quotes_val as $key => $val) {
338
+ // echo count($val); die;
339
+ //echo $key.'<br>';
340
+ //print_r($available_carriers);
341
+
342
+ //usort($quotes_val, 'cmp1');
343
+
344
+ $courier_title = $key;
345
+ $courier_price = $quotes_val[$key]['total'];
346
+
347
+ $method = Mage::getModel('shipping/rate_result_method');
348
+ $method->setCarrier($this->_code);
349
+ $method->setMethod($courier_title);
350
+ $method->setCarrierTitle('Carriers');
351
+
352
+ if($display_surcharge == '1'){
353
+
354
+ $tmp_display_surcharge = $courier_price + $display_surcharge1;
355
+ $tmp_method_title = $courier_title.' + Handling Charge';
356
+
357
+ $method->setMethodTitle($tmp_method_title);
358
+ $method->setPrice($tmp_display_surcharge);
359
+ $method->setCost($tmp_display_surcharge);
360
+
361
+ } else {
362
+
363
+ if(in_array($key,$available_carriers)) {
364
+ //echo '<br>'.$key . ' - matched<br>';
365
+ $method->setMethodTitle($courier_title);
366
+ $method->setPrice($courier_price);
367
+ $method->setCost($courier_price);
368
+ } else {
369
+ //echo '<br>'.$key . ' - not found<br>';
370
+ }
371
+
372
+
373
+
374
+ }
375
+
376
+ $result->append($method);
377
+
378
+ }
379
+ //die('arr');
380
+ }
381
+
382
+
383
+ //echo '<pre>'; print_r($result); //die('model');
384
+
385
+ }else{
386
+ $error = Mage::getModel('shipping/rate_result_error');
387
+ $error->setCarrier($this->_code);
388
+ $error->setCarrierTitle('Carrier Title');
389
+ $error->setErrorMessage('Error');
390
+ $result->append($error);
391
+ }
392
+
393
+ //return $result;
394
+
395
+
396
+ //$this->renderLayout();
397
+ $this->_getQuote()->save();
398
+ $this->_goBack();
399
+
400
+ $this->_redirectReferer();
401
+
402
+ return $this;
403
+ }
404
+
405
+ function productAction(){
406
+ $country = (string) $this->getRequest()->getParam('country_id');
407
+ $postcode = (string) $this->getRequest()->getParam('estimate_postcode');
408
+ $city = (string) $this->getRequest()->getParam('estimate_city');
409
+ $regionId = (string) $this->getRequest()->getParam('region_id');
410
+ $region = (string) $this->getRequest()->getParam('region');
411
+
412
+ $this->_getQuote()->getShippingAddress()
413
+ ->setCountryId($country)
414
+ ->setCity($city)
415
+ ->setPostcode($postcode)
416
+ ->setRegionId($regionId)
417
+ ->setRegion($region)
418
+ ->setCollectShippingRates(true);
419
+ $this->_getQuote()->save();
420
+ $this->_goBack();
421
+ //$this->_redirectReferer();
422
+
423
+ }
424
+
425
+
426
+
427
+ }
app/code/local/Transdirect/Ship/etc/adminhtml.xml ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" ?>
2
+ <config>
3
+ <acl>
4
+ <resources>
5
+ <admin>
6
+ <children>
7
+ <system>
8
+ <children>
9
+ <config>
10
+ <children>
11
+ <transdirect_section translate="title" module="ship">
12
+ <title>Transdirect Section</title>
13
+ <sort_order>100</sort_order>
14
+ </transdirect_section>
15
+ </children>
16
+ </config>
17
+ </children>
18
+ </system>
19
+ </children>
20
+ </admin>
21
+ </resources>
22
+ </acl>
23
+ </config>
app/code/local/Transdirect/Ship/etc/bkp_30-5-2014---config.xml ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Transdirect_Ship>
5
+ <version>0.1.0</version>
6
+ </Transdirect_Ship>
7
+ </modules>
8
+ <frontend>
9
+ <routers>
10
+ <ship>
11
+ <use>standard</use>
12
+ <args>
13
+ <module>Transdirect_Ship</module>
14
+ <frontName>ship</frontName>
15
+ </args>
16
+ </ship>
17
+ </routers>
18
+ <layout>
19
+ <updates>
20
+ <ship>
21
+ <file>ship.xml</file>
22
+ </ship>
23
+ </updates>
24
+ </layout>
25
+ </frontend>
26
+ <global>
27
+ <models>
28
+ <ship>
29
+ <class>Transdirect_Ship_Model</class>
30
+ <resourceModel>ship_mysql4</resourceModel>
31
+ </ship>
32
+ <ship_mysql4>
33
+ <class>Transdirect_Ship_Model_Mysql4</class>
34
+ <entities>
35
+ <ship>
36
+ <table>ship</table>
37
+ </ship>
38
+ </entities>
39
+ </ship_mysql4>
40
+ </models>
41
+ <resources>
42
+ <ship_setup>
43
+ <setup>
44
+ <module>Transdirect_Ship</module>
45
+ </setup>
46
+ <connection>
47
+ <use>core_setup</use>
48
+ </connection>
49
+ </ship_setup>
50
+ <ship_write>
51
+ <connection>
52
+ <use>core_write</use>
53
+ </connection>
54
+ </ship_write>
55
+ <ship_read>
56
+ <connection>
57
+ <use>core_read</use>
58
+ </connection>
59
+ </ship_read>
60
+ </resources>
61
+ <blocks>
62
+ <ship>
63
+ <class>Transdirect_Ship_Block</class>
64
+ </ship>
65
+ </blocks>
66
+ <helpers>
67
+ <ship>
68
+ <class>Transdirect_Ship_Helper</class>
69
+ </ship>
70
+ </helpers>
71
+ </global>
72
+ <default>
73
+ <carriers>
74
+ <transdirect_section>
75
+ <warehouseaddress><address>1</address></warehouseaddress>
76
+ <displayoptions><showcouriernames>1</showcouriernames></displayoptions>
77
+ </transdirect_section>
78
+ <transdirect>
79
+ <active>1</active>
80
+ <model>ship/carrier_transdirect</model>
81
+ <title>Carrier</title>
82
+ <name>Method Name</name>
83
+ <price>5.00</price>
84
+ <specificerrmsg>This shipping method is currently unavailable. If you would like to ship using this shipping method, please contact us.</specificerrmsg>
85
+ </transdirect>
86
+ </carriers>
87
+ </default>
88
+ </config>
app/code/local/Transdirect/Ship/etc/bkp_30-5-2014---system.xml ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" ?>
2
+ <config>
3
+ <tabs>
4
+ <transdirect_ship module="ship" translate="label">
5
+ <label>Transdirect Shipping Module</label>
6
+ <sort_order>100</sort_order>
7
+ </transdirect_ship>
8
+ </tabs>
9
+ <sections>
10
+ <transdirect_section module="ship" translate="label">
11
+ <label>General</label>
12
+ <sort_order>200</sort_order>
13
+ <show_in_default>1</show_in_default>
14
+ <show_in_website>1</show_in_website>
15
+ <show_in_store>1</show_in_store>
16
+ <tab>transdirect_ship</tab>
17
+ <groups>
18
+ <authentication translate="label">
19
+ <label>Authentication (Member Details)</label>
20
+ <sort_order>1</sort_order>
21
+ <show_in_default>1</show_in_default>
22
+ <show_in_website>1</show_in_website>
23
+ <show_in_store>1</show_in_store>
24
+ <fields>
25
+ <email translate="label tooltip comment">
26
+ <label>Email</label>
27
+ <sort_order>1</sort_order>
28
+ <show_in_default>1</show_in_default>
29
+ <show_in_website>1</show_in_website>
30
+ <show_in_store>1</show_in_store>
31
+ <frontend_type>text</frontend_type>
32
+ </email>
33
+ <password translate="label tooltip comment">
34
+ <label>Password</label>
35
+ <sort_order>2</sort_order>
36
+ <show_in_default>1</show_in_default>
37
+ <show_in_website>1</show_in_website>
38
+ <show_in_store>1</show_in_store>
39
+ <frontend_type>text</frontend_type>
40
+ </password>
41
+ </fields>
42
+ </authentication>
43
+ <warehouseaddress translate="label">
44
+ <label>Warehouse Address</label>
45
+ <sort_order>2</sort_order>
46
+ <show_in_default>1</show_in_default>
47
+ <show_in_website>1</show_in_website>
48
+ <show_in_store>1</show_in_store>
49
+ <fields>
50
+ <suburb translate="label tooltip comment">
51
+ <label>Suburb</label>
52
+ <sort_order>1</sort_order>
53
+ <show_in_default>1</show_in_default>
54
+ <show_in_website>1</show_in_website>
55
+ <show_in_store>1</show_in_store>
56
+ <frontend_type>text</frontend_type>
57
+ </suburb>
58
+ <postcode translate="label tooltip comment">
59
+ <label>Postcode</label>
60
+ <sort_order>2</sort_order>
61
+ <show_in_default>1</show_in_default>
62
+ <show_in_website>1</show_in_website>
63
+ <show_in_store>1</show_in_store>
64
+ <frontend_type>text</frontend_type>
65
+ </postcode>
66
+ <address translate="label tooltip comment">
67
+ <label>Address</label>
68
+ <sort_order>3</sort_order>
69
+ <show_in_default>1</show_in_default>
70
+ <show_in_website>1</show_in_website>
71
+ <show_in_store>1</show_in_store>
72
+ <frontend_type>select</frontend_type>
73
+ <source_model>ship/source_addressType</source_model>
74
+ </address>
75
+ </fields>
76
+ </warehouseaddress>
77
+ <defaultitemsize translate="label">
78
+ <label>Default Item Size</label>
79
+ <sort_order>3</sort_order>
80
+ <show_in_default>1</show_in_default>
81
+ <show_in_website>1</show_in_website>
82
+ <show_in_store>1</show_in_store>
83
+ <fields>
84
+ <dimensionswidth translate="label tooltip comment">
85
+ <label>Dimensions</label>
86
+ <sort_order>1</sort_order>
87
+ <comment>Width</comment>
88
+ <show_in_default>1</show_in_default>
89
+ <show_in_website>1</show_in_website>
90
+ <show_in_store>1</show_in_store>
91
+ <frontend_type>text</frontend_type>
92
+ </dimensionswidth>
93
+ <dimensionsheight translate="label tooltip comment">
94
+ <sort_order>2</sort_order>
95
+ <comment>Height</comment>
96
+ <show_in_default>1</show_in_default>
97
+ <show_in_website>1</show_in_website>
98
+ <show_in_store>1</show_in_store>
99
+ <frontend_type>text</frontend_type>
100
+ </dimensionsheight>
101
+ <dimensionsdim translate="label tooltip comment">
102
+ <sort_order>3</sort_order>
103
+ <comment>Length</comment>
104
+ <show_in_default>1</show_in_default>
105
+ <show_in_website>1</show_in_website>
106
+ <show_in_store>1</show_in_store>
107
+ <frontend_type>text</frontend_type>
108
+ </dimensionsdim>
109
+ <weight translate="label tooltip comment">
110
+ <label>Weight</label>
111
+ <sort_order>4</sort_order>
112
+ <comment>KG</comment>
113
+ <show_in_default>1</show_in_default>
114
+ <show_in_website>1</show_in_website>
115
+ <show_in_store>1</show_in_store>
116
+ <frontend_type>text</frontend_type>
117
+ </weight>
118
+ </fields>
119
+ </defaultitemsize>
120
+ <displayoptions translate="label">
121
+ <label>Display Options</label>
122
+ <sort_order>4</sort_order>
123
+ <show_in_default>1</show_in_default>
124
+ <show_in_website>1</show_in_website>
125
+ <show_in_store>1</show_in_store>
126
+ <fields>
127
+ <availablecoriers translate="label tooltip comment">
128
+ <label>Available Couriers: (Shift Select)</label>
129
+ <sort_order>1</sort_order>
130
+ <show_in_default>1</show_in_default>
131
+ <show_in_website>1</show_in_website>
132
+ <show_in_store>1</show_in_store>
133
+ <frontend_type>Multiselect</frontend_type>
134
+ <source_model>ship/source_couriers</source_model>
135
+ </availablecoriers>
136
+ <quotedisplay translate="label tooltip comment">
137
+ <label>Quote Display</label>
138
+ <sort_order>2</sort_order>
139
+ <show_in_default>1</show_in_default>
140
+ <show_in_website>1</show_in_website>
141
+ <show_in_store>1</show_in_store>
142
+ <frontend_type>select</frontend_type>
143
+ <source_model>ship/source_quotes</source_model>
144
+ </quotedisplay>
145
+ <fixedpriceonerror translate="label tooltip comment">
146
+ <label>Fixed Price On Error</label>
147
+ <sort_order>3</sort_order>
148
+ <show_in_default>1</show_in_default>
149
+ <show_in_website>1</show_in_website>
150
+ <show_in_store>1</show_in_store>
151
+ <!--<frontend_type>checkbox</frontend_type>-->
152
+ <frontend_type>select</frontend_type>
153
+ <source_model>adminhtml/system_config_source_yesno</source_model>
154
+ <comment>If there is some error getting a quote, just return the set fixed price.</comment>
155
+ </fixedpriceonerror>
156
+ <fixedpriceonerror1 translate="label tooltip comment">
157
+ <label>Fixed Price On Error (Value)</label>
158
+ <sort_order>4</sort_order>
159
+ <show_in_default>1</show_in_default>
160
+ <show_in_website>1</show_in_website>
161
+ <show_in_store>1</show_in_store>
162
+ <frontend_type>text</frontend_type>
163
+ </fixedpriceonerror1>
164
+ <showcouriernames translate="label tooltip comment">
165
+ <label>Show Courier Names</label>
166
+ <sort_order>5</sort_order>
167
+ <show_in_default>1</show_in_default>
168
+ <show_in_website>1</show_in_website>
169
+ <show_in_store>1</show_in_store>
170
+ <frontend_type>select</frontend_type>
171
+ <source_model>adminhtml/system_config_source_yesno</source_model>
172
+ <comment>eg. show (Price - Courier Name - Shipping Time) instead of just (Price - Shipping Time).</comment>
173
+ </showcouriernames>
174
+ <handlingsurcharge translate="label tooltip comment">
175
+ <label>Handling Surcharge</label>
176
+ <sort_order>6</sort_order>
177
+ <show_in_default>1</show_in_default>
178
+ <show_in_website>1</show_in_website>
179
+ <show_in_store>1</show_in_store>
180
+ <frontend_type>select</frontend_type>
181
+ <source_model>adminhtml/system_config_source_yesno</source_model>
182
+ <comment>Add a surcharge to the quoted amounts.</comment>
183
+ </handlingsurcharge>
184
+ <handlingsurcharge1 translate="label tooltip comment">
185
+ <label>Handling Surcharge (Value)</label>
186
+ <sort_order>7</sort_order>
187
+ <show_in_default>1</show_in_default>
188
+ <show_in_website>1</show_in_website>
189
+ <show_in_store>1</show_in_store>
190
+ <frontend_type>text</frontend_type>
191
+ </handlingsurcharge1>
192
+ <includesurcharge translate="label tooltip comment">
193
+ <label>Include Insurance Surcharge, If you remove this item, please see FAQ's.</label>
194
+ <sort_order>8</sort_order>
195
+ <show_in_default>1</show_in_default>
196
+ <show_in_website>1</show_in_website>
197
+ <show_in_store>1</show_in_store>
198
+ <frontend_type>select</frontend_type>
199
+ <source_model>adminhtml/system_config_source_yesno</source_model>
200
+ <comment>This is an option from the api when requesting a quote.</comment>
201
+ </includesurcharge>
202
+ </fields>
203
+ </displayoptions>
204
+ </groups>
205
+ </transdirect_section>
206
+ </sections>
207
+ </config>
app/code/local/Transdirect/Ship/etc/config.xml ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Transdirect_Ship>
5
+ <version>0.1.0</version>
6
+ </Transdirect_Ship>
7
+ </modules>
8
+ <frontend>
9
+ <routers>
10
+ <ship>
11
+ <use>standard</use>
12
+ <args>
13
+ <module>Transdirect_Ship</module>
14
+ <frontName>ship</frontName>
15
+ </args>
16
+ </ship>
17
+ </routers>
18
+ <layout>
19
+ <updates>
20
+ <ship>
21
+ <file>ship.xml</file>
22
+ </ship>
23
+ </updates>
24
+ </layout>
25
+ </frontend>
26
+ <global>
27
+ <models>
28
+ <ship>
29
+ <class>Transdirect_Ship_Model</class>
30
+ <resourceModel>ship_mysql4</resourceModel>
31
+ </ship>
32
+ <ship_mysql4>
33
+ <class>Transdirect_Ship_Model_Mysql4</class>
34
+ <entities>
35
+ <ship>
36
+ <table>ship</table>
37
+ </ship>
38
+ </entities>
39
+ </ship_mysql4>
40
+ </models>
41
+ <resources>
42
+ <ship_setup>
43
+ <setup>
44
+ <module>Transdirect_Ship</module>
45
+ </setup>
46
+ <connection>
47
+ <use>core_setup</use>
48
+ </connection>
49
+ </ship_setup>
50
+ <ship_write>
51
+ <connection>
52
+ <use>core_write</use>
53
+ </connection>
54
+ </ship_write>
55
+ <ship_read>
56
+ <connection>
57
+ <use>core_read</use>
58
+ </connection>
59
+ </ship_read>
60
+ </resources>
61
+ <blocks>
62
+ <ship>
63
+ <class>Transdirect_Ship_Block</class>
64
+ </ship>
65
+ </blocks>
66
+ <helpers>
67
+ <ship>
68
+ <class>Transdirect_Ship_Helper</class>
69
+ </ship>
70
+ </helpers>
71
+ </global>
72
+ <default>
73
+ <carriers>
74
+ <transdirect_section>
75
+ <warehouseaddress><address>1</address></warehouseaddress>
76
+ <displayoptions><showcouriernames>1</showcouriernames></displayoptions>
77
+ </transdirect_section>
78
+ <transdirect>
79
+ <active>1</active>
80
+ <model>ship/carrier_transdirect</model>
81
+ <title>Carrier</title>
82
+ <name>Method Name</name>
83
+ <price>5.00</price>
84
+ <specificerrmsg>This shipping method is currently unavailable. If you would like to ship using this shipping method, please contact us.</specificerrmsg>
85
+ </transdirect>
86
+ </carriers>
87
+ </default>
88
+ </config>
app/code/local/Transdirect/Ship/etc/system.xml ADDED
@@ -0,0 +1,432 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" ?>
2
+
3
+ <config>
4
+
5
+ <tabs>
6
+
7
+ <transdirect_ship module="ship" translate="label">
8
+
9
+ <label>Transdirect Shipping Module</label>
10
+
11
+ <sort_order>100</sort_order>
12
+
13
+ </transdirect_ship>
14
+
15
+ </tabs>
16
+
17
+ <sections>
18
+
19
+ <transdirect_section module="ship" translate="label">
20
+
21
+ <label>General Settings</label>
22
+
23
+ <sort_order>200</sort_order>
24
+
25
+ <show_in_default>1</show_in_default>
26
+
27
+ <show_in_website>1</show_in_website>
28
+
29
+ <show_in_store>1</show_in_store>
30
+
31
+ <tab>transdirect_ship</tab>
32
+
33
+ <groups>
34
+
35
+ <enabletab translate="label">
36
+ <label>Enable Extension</label>
37
+ <sort_order>1</sort_order>
38
+ <show_in_default>1</show_in_default>
39
+ <show_in_website>1</show_in_website>
40
+ <show_in_store>1</show_in_store>
41
+ <fields>
42
+ <enable translate="label tooltip comment">
43
+ <label>Enable</label>
44
+ <sort_order>1</sort_order>
45
+ <show_in_default>1</show_in_default>
46
+ <show_in_website>1</show_in_website>
47
+ <show_in_store>1</show_in_store>
48
+ <frontend_type>select</frontend_type>
49
+ <source_model>adminhtml/system_config_source_yesno</source_model>
50
+ </enable>
51
+ </fields>
52
+ </enabletab>
53
+
54
+ <authentication translate="label">
55
+
56
+ <label>Authentication (Member Details)</label>
57
+
58
+ <sort_order>2</sort_order>
59
+
60
+ <show_in_default>1</show_in_default>
61
+
62
+ <show_in_website>1</show_in_website>
63
+
64
+ <show_in_store>1</show_in_store>
65
+
66
+ <fields>
67
+
68
+ <email translate="label tooltip comment">
69
+
70
+ <label>Email</label>
71
+
72
+ <sort_order>1</sort_order>
73
+
74
+ <show_in_default>1</show_in_default>
75
+
76
+ <show_in_website>1</show_in_website>
77
+
78
+ <show_in_store>1</show_in_store>
79
+
80
+ <frontend_type>text</frontend_type>
81
+
82
+ </email>
83
+
84
+ <password translate="label tooltip comment">
85
+
86
+ <label>Password</label>
87
+
88
+ <sort_order>2</sort_order>
89
+
90
+ <show_in_default>1</show_in_default>
91
+
92
+ <show_in_website>1</show_in_website>
93
+
94
+ <show_in_store>1</show_in_store>
95
+
96
+ <frontend_type>text</frontend_type>
97
+
98
+ </password>
99
+
100
+ </fields>
101
+
102
+ </authentication>
103
+
104
+ <warehouseaddress translate="label">
105
+
106
+ <label>Warehouse Address</label>
107
+
108
+ <sort_order>3</sort_order>
109
+
110
+ <show_in_default>1</show_in_default>
111
+
112
+ <show_in_website>1</show_in_website>
113
+
114
+ <show_in_store>1</show_in_store>
115
+
116
+ <fields>
117
+
118
+ <suburb translate="label tooltip comment">
119
+
120
+ <label>Suburb</label>
121
+
122
+ <sort_order>1</sort_order>
123
+
124
+ <show_in_default>1</show_in_default>
125
+
126
+ <show_in_website>1</show_in_website>
127
+
128
+ <show_in_store>1</show_in_store>
129
+
130
+ <frontend_type>text</frontend_type>
131
+
132
+ </suburb>
133
+
134
+ <postcode translate="label tooltip comment">
135
+
136
+ <label>Postcode</label>
137
+
138
+ <sort_order>2</sort_order>
139
+
140
+ <show_in_default>1</show_in_default>
141
+
142
+ <show_in_website>1</show_in_website>
143
+
144
+ <show_in_store>1</show_in_store>
145
+
146
+ <frontend_type>text</frontend_type>
147
+
148
+ </postcode>
149
+
150
+ <address translate="label tooltip comment">
151
+
152
+ <label>Address</label>
153
+
154
+ <sort_order>3</sort_order>
155
+
156
+ <show_in_default>1</show_in_default>
157
+
158
+ <show_in_website>1</show_in_website>
159
+
160
+ <show_in_store>1</show_in_store>
161
+
162
+ <frontend_type>select</frontend_type>
163
+
164
+ <source_model>ship/source_addressType</source_model>
165
+
166
+ </address>
167
+
168
+ </fields>
169
+
170
+ </warehouseaddress>
171
+
172
+ <defaultitemsize translate="label">
173
+
174
+ <label>Default Item Size</label>
175
+
176
+ <sort_order>4</sort_order>
177
+
178
+ <show_in_default>1</show_in_default>
179
+
180
+ <show_in_website>1</show_in_website>
181
+
182
+ <show_in_store>1</show_in_store>
183
+
184
+ <fields>
185
+
186
+ <dimensionswidth translate="label tooltip comment">
187
+
188
+ <label>Dimensions</label>
189
+
190
+ <sort_order>1</sort_order>
191
+
192
+ <comment>Width (cm)</comment>
193
+
194
+ <show_in_default>1</show_in_default>
195
+
196
+ <show_in_website>1</show_in_website>
197
+
198
+ <show_in_store>1</show_in_store>
199
+
200
+ <frontend_type>text</frontend_type>
201
+
202
+ </dimensionswidth>
203
+
204
+ <dimensionsheight translate="label tooltip comment">
205
+
206
+ <sort_order>2</sort_order>
207
+
208
+ <comment>Height (cm)</comment>
209
+
210
+ <show_in_default>1</show_in_default>
211
+
212
+ <show_in_website>1</show_in_website>
213
+
214
+ <show_in_store>1</show_in_store>
215
+
216
+ <frontend_type>text</frontend_type>
217
+
218
+ </dimensionsheight>
219
+
220
+ <dimensionsdim translate="label tooltip comment">
221
+
222
+ <sort_order>3</sort_order>
223
+
224
+ <comment>Length (cm)</comment>
225
+
226
+ <show_in_default>1</show_in_default>
227
+
228
+ <show_in_website>1</show_in_website>
229
+
230
+ <show_in_store>1</show_in_store>
231
+
232
+ <frontend_type>text</frontend_type>
233
+
234
+ </dimensionsdim>
235
+
236
+ <weight translate="label tooltip comment">
237
+
238
+ <label>Weight</label>
239
+
240
+ <sort_order>4</sort_order>
241
+
242
+ <comment>KG</comment>
243
+
244
+ <show_in_default>1</show_in_default>
245
+
246
+ <show_in_website>1</show_in_website>
247
+
248
+ <show_in_store>1</show_in_store>
249
+
250
+ <frontend_type>text</frontend_type>
251
+
252
+ </weight>
253
+
254
+ </fields>
255
+
256
+ </defaultitemsize>
257
+
258
+ <displayoptions translate="label">
259
+
260
+ <label>Display Options</label>
261
+
262
+ <sort_order>5</sort_order>
263
+
264
+ <show_in_default>1</show_in_default>
265
+
266
+ <show_in_website>1</show_in_website>
267
+
268
+ <show_in_store>1</show_in_store>
269
+
270
+ <fields>
271
+
272
+ <availablecoriers translate="label tooltip comment">
273
+
274
+ <label>Available Couriers: (Shift Select)</label>
275
+
276
+ <sort_order>1</sort_order>
277
+
278
+ <show_in_default>1</show_in_default>
279
+
280
+ <show_in_website>1</show_in_website>
281
+
282
+ <show_in_store>1</show_in_store>
283
+
284
+ <frontend_type>Multiselect</frontend_type>
285
+
286
+ <source_model>ship/source_couriers</source_model>
287
+
288
+ </availablecoriers>
289
+
290
+ <quotedisplay translate="label tooltip comment">
291
+
292
+ <label>Quote Display</label>
293
+
294
+ <sort_order>2</sort_order>
295
+
296
+ <show_in_default>1</show_in_default>
297
+
298
+ <show_in_website>1</show_in_website>
299
+
300
+ <show_in_store>1</show_in_store>
301
+
302
+ <frontend_type>select</frontend_type>
303
+
304
+ <source_model>ship/source_quotes</source_model>
305
+
306
+ </quotedisplay>
307
+
308
+ <fixedpriceonerror translate="label tooltip comment">
309
+
310
+ <label>Fixed Price On Error</label>
311
+
312
+ <sort_order>3</sort_order>
313
+
314
+ <show_in_default>1</show_in_default>
315
+
316
+ <show_in_website>1</show_in_website>
317
+
318
+ <show_in_store>1</show_in_store>
319
+
320
+ <!--<frontend_type>checkbox</frontend_type>-->
321
+
322
+ <frontend_type>select</frontend_type>
323
+
324
+ <source_model>adminhtml/system_config_source_yesno</source_model>
325
+
326
+ <comment>If there is some error getting a quote, just return the set fixed price.</comment>
327
+
328
+ </fixedpriceonerror>
329
+
330
+ <fixedpriceonerror1 translate="label tooltip comment">
331
+
332
+ <label>Fixed Price On Error (Value)</label>
333
+
334
+ <sort_order>4</sort_order>
335
+
336
+ <show_in_default>1</show_in_default>
337
+
338
+ <show_in_website>1</show_in_website>
339
+
340
+ <show_in_store>1</show_in_store>
341
+
342
+ <frontend_type>text</frontend_type>
343
+
344
+ </fixedpriceonerror1>
345
+
346
+ <showcouriernames translate="label tooltip comment">
347
+
348
+ <label>Show Courier Names</label>
349
+
350
+ <sort_order>5</sort_order>
351
+
352
+ <show_in_default>1</show_in_default>
353
+
354
+ <show_in_website>1</show_in_website>
355
+
356
+ <show_in_store>1</show_in_store>
357
+
358
+ <frontend_type>select</frontend_type>
359
+
360
+ <source_model>adminhtml/system_config_source_yesno</source_model>
361
+
362
+ <comment>eg. show (Courier Name - Price - Shipping Time) instead of just (Price - Shipping Time).</comment>
363
+
364
+ </showcouriernames>
365
+
366
+ <handlingsurcharge translate="label tooltip comment">
367
+
368
+ <label>Handling Surcharge</label>
369
+
370
+ <sort_order>6</sort_order>
371
+
372
+ <show_in_default>1</show_in_default>
373
+
374
+ <show_in_website>1</show_in_website>
375
+
376
+ <show_in_store>1</show_in_store>
377
+
378
+ <frontend_type>select</frontend_type>
379
+
380
+ <source_model>adminhtml/system_config_source_yesno</source_model>
381
+
382
+ <comment>Add a surcharge to the quoted amounts.</comment>
383
+
384
+ </handlingsurcharge>
385
+
386
+ <handlingsurcharge1 translate="label tooltip comment">
387
+
388
+ <label>Handling Surcharge (Value)</label>
389
+
390
+ <sort_order>7</sort_order>
391
+
392
+ <show_in_default>1</show_in_default>
393
+
394
+ <show_in_website>1</show_in_website>
395
+
396
+ <show_in_store>1</show_in_store>
397
+
398
+ <frontend_type>text</frontend_type>
399
+
400
+ </handlingsurcharge1>
401
+
402
+ <includesurcharge translate="label tooltip comment">
403
+
404
+ <label>Include Insurance Surcharge</label>
405
+
406
+ <sort_order>8</sort_order>
407
+
408
+ <show_in_default>1</show_in_default>
409
+
410
+ <show_in_website>1</show_in_website>
411
+
412
+ <show_in_store>1</show_in_store>
413
+
414
+ <frontend_type>select</frontend_type>
415
+
416
+ <source_model>adminhtml/system_config_source_yesno</source_model>
417
+
418
+ <comment>This is an option from the api when requesting a quote.</comment>
419
+
420
+ </includesurcharge>
421
+
422
+ </fields>
423
+
424
+ </displayoptions>
425
+
426
+ </groups>
427
+
428
+ </transdirect_section>
429
+
430
+ </sections>
431
+
432
+ </config>
app/code/local/Transdirect/Ship/sql/ship_setup/mysql4-install-0.1.0.php ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+
4
+ $installer = $this;
5
+
6
+ /* $installer Mage_Core_Model_Resource_Setup */
7
+
8
+ $installer->startSetup();
9
+ $setup = new Mage_Eav_Model_Entity_Setup('core_setup');
10
+
11
+
12
+ $setup->addAttribute('catalog_product', 'item_height', array(
13
+ 'backend' => '',
14
+ 'source' => '',
15
+ 'entity_model' => 'catalog/product',
16
+ 'label' => 'Item Height',
17
+ //'group' => 'ItemSize',
18
+ 'group' => 'For Shipping Item Information',
19
+ 'input' => 'text',
20
+ 'type' => 'text',
21
+ 'is_html_allowed_on_front' => true,
22
+ 'global' => true,
23
+ 'visible' => true,
24
+ 'required' => false,
25
+ 'user_defined' => false,
26
+ 'default' => '',
27
+ 'visible_on_front' => true
28
+ ));
29
+
30
+ $setup->addAttribute('catalog_product', 'item_width', array(
31
+ 'backend' => '',
32
+ 'source' => '',
33
+ 'entity_model' => 'catalog/product',
34
+ 'label' => 'Item Width',
35
+ //'group' => 'ItemSize',
36
+ 'group' => 'For Shipping Item Information',
37
+ 'input' => 'text',
38
+ 'type' => 'text',
39
+ 'is_html_allowed_on_front' => true,
40
+ 'global' => true,
41
+ 'visible' => true,
42
+ 'required' => false,
43
+ 'user_defined' => false,
44
+ 'default' => '',
45
+ 'visible_on_front' => true
46
+ ));
47
+
48
+ $setup->addAttribute('catalog_product', 'item_dim', array(
49
+ 'backend' => '',
50
+ 'source' => '',
51
+ 'entity_model' => 'catalog/product',
52
+ 'label' => 'Item Length',
53
+ //'group' => 'ItemSize',
54
+ 'group' => 'For Shipping Item Information',
55
+ 'input' => 'text',
56
+ 'type' => 'text',
57
+ 'is_html_allowed_on_front' => true,
58
+ 'global' => true,
59
+ 'visible' => true,
60
+ 'required' => false,
61
+ 'user_defined' => false,
62
+ 'default' => '',
63
+ 'visible_on_front' => true
64
+ ));
65
+
66
+ $setup->addAttribute('catalog_product', 'item_weight', array(
67
+ 'backend' => '',
68
+ 'source' => '',
69
+ 'entity_model' => 'catalog/product',
70
+ 'label' => 'Item Weight',
71
+ //'group' => 'ItemSize',
72
+ 'group' => 'For Shipping Item Information',
73
+ 'input' => 'text',
74
+ 'type' => 'text',
75
+ 'is_html_allowed_on_front' => true,
76
+ 'global' => true,
77
+ 'visible' => true,
78
+ 'required' => false,
79
+ 'user_defined' => false,
80
+ 'default' => '',
81
+ 'visible_on_front' => true
82
+ ));
83
+
84
+ $installer->endSetup();
app/design/frontend/default/default/template/ship/bkp_29-5-2014--working----product_shipping.phtml ADDED
@@ -0,0 +1,397 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php /** @var $this Mage_Checkout_Block_Cart_Shipping */ ?>
28
+ <?php
29
+
30
+ $country_val = Mage::getSingleton('core/session')->getCountryVal();
31
+ $postocde_val = Mage::getSingleton('core/session')->getPostcodeVal();
32
+ $regionid_val = Mage::getSingleton('core/session')->getRegionIdVal();
33
+ $region_val = Mage::getSingleton('core/session')->getRegionVal();
34
+
35
+ ?>
36
+ <div class="shipping_product">
37
+ <h2><?php echo $this->__('Get A Shipping Quote') ?></h2>
38
+ <div class="shipping-form">
39
+ <form action="<?php echo $this->getUrl('ship/index/index/') ?>" method="post" id="shipping-zip-form">
40
+ <p><?php echo $this->__('Enter your destination to get a shipping estimate.') ?></p>
41
+ <ul class="form-list">
42
+ <li>
43
+ <label for="country" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
44
+ <div class="input-box">
45
+ <?php echo Mage::getBlockSingleton('directory/data')->getCountryHtmlSelect($this->getEstimateCountryId()) ?>
46
+ </div>
47
+ </li>
48
+ <?php //if($this->getStateActive()):
49
+ //echo $this->isStateProvinceRequired(); //die('st');
50
+ ?>
51
+ <li>
52
+ <label for="region_id"<?php if ($this->isStateProvinceRequired()) echo ' class="required"' ?>><?php if ($this->isStateProvinceRequired()) echo '<em>*</em>' ?><?php echo $this->__('State/Province') ?></label>
53
+ <div class="input-box">
54
+ <select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" style="display:none;"<?php echo ($this->isStateProvinceRequired() ? ' class="validate-select"' : '') ?>>
55
+ <option value=""><?php echo $this->__('Please select region, state or province') ?></option>
56
+ </select>
57
+ <script type="text/javascript">
58
+ //<![CDATA[
59
+ $('region_id').setAttribute('defaultValue', "<?php echo $this->getEstimateRegionId() ?>");
60
+ //]]>
61
+ </script>
62
+ <input type="text" id="region" name="region" value="<?php if($region_val){ echo $region_val;} else { echo $this->escapeHtml($this->getEstimateRegion()); } ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text validate-alpha required-entry" style="display:none;" />
63
+ </div>
64
+ </li>
65
+ <?php //endif; ?>
66
+ <?php if($this->getCityActive()): ?>
67
+ <li>
68
+ <label for="city"<?php if ($this->isCityRequired()) echo ' class="required"' ?>><?php if ($this->isCityRequired()) echo '<em>*</em>' ?><?php echo $this->__('City') ?></label>
69
+ <div class="input-box">
70
+ <input class="input-text<?php if ($this->isCityRequired()):?> required-entry<?php endif;?>" id="city" type="text" name="estimate_city" value="<?php echo $this->escapeHtml($this->getEstimateCity()) ?>" />
71
+ </div>
72
+ </li>
73
+ <?php endif; ?>
74
+ <li>
75
+ <label for="postcode"<?php if ($this->isZipCodeRequired()) echo ' class="required"' ?>><?php if ($this->isZipCodeRequired()) echo '<em>*</em>' ?><?php echo $this->__('Zip/Postal Code') ?></label>
76
+ <div class="input-box">
77
+ <input class="input-text validate-postcode<?php if ($this->isZipCodeRequired()):?> required-entry<?php endif;?>" type="text" id="postcode" name="estimate_postcode" value="<?php if($postocde_val){ echo $postocde_val;} else { echo $this->escapeHtml($this->getEstimatePostcode()); } ?>" />
78
+ </div>
79
+ </li>
80
+ </ul>
81
+ <div class="buttons-set">
82
+ <button type="button" title="<?php echo $this->__('Get a Quote') ?>" onclick="coShippingMethodForm.submit()" class="button"><span><span><?php echo $this->__('Get a Quote') ?></span></span></button>
83
+ </div>
84
+ </form>
85
+ <script type="text/javascript">
86
+ //<![CDATA[
87
+ new RegionUpdater('country', 'region', 'region_id', <?php echo $this->helper('directory')->getRegionJson() ?>);
88
+ //]]>
89
+ </script>
90
+
91
+ <?php //if (($_shippingRateGroups = $this->getEstimateRates())): ?>
92
+ <form id="co-shipping-method-form" action="<?php echo $this->getUrl('checkout/cart/estimateUpdatePost') ?>">
93
+ <dl class="sp-methods">
94
+
95
+ <?php
96
+
97
+ //$quotes_val = Mage::register('store_id', Mage::app()->getStore()->getId());
98
+ //$quotes_val = Mage::registry('quotes_val');
99
+ //echo '<pre>'; print_r($quotes_val); //die('val');
100
+
101
+ //$val = Mage::getSingleton('checkout/session')->getQuote();
102
+
103
+ $quotes_val = Mage::getSingleton('core/session')->getSomeSessionVar();
104
+
105
+
106
+
107
+ //echo $country_val. $postocde_val . $regionid_val . $region_val; //die('data');
108
+
109
+ //echo '<pre>'; print_r($quotes_val);
110
+ //die('sess set');
111
+
112
+ if($quotes_val){
113
+
114
+ ?>
115
+ <dt><?php echo $this->__('Carrier');?></dt>
116
+ <dd>
117
+ <ul>
118
+
119
+ <?php
120
+
121
+ function cmp($a, $b) {
122
+ $display_quote = Mage::getStoreConfig('transdirect_section/displayoptions/quotedisplay');
123
+
124
+ if($display_quote == 'display_cheapest'){ return strcmp($a['price'], $b['price']); } else { return strcmp($a['name'], $b['name']); }
125
+ }
126
+
127
+ uasort($quotes_val, 'cmp');
128
+
129
+ foreach($quotes_val as $key => $val) {
130
+ //echo count($val); die;
131
+ //echo $key.'<br>';
132
+ //echo $quotes_val[$key]['total']; ?>
133
+
134
+ <li>
135
+ <label for="s_method">
136
+ <?php
137
+ $display_showcouriername = Mage::getStoreConfig('transdirect_section/displayoptions/showcouriernames');
138
+ $display_surcharge = Mage::getStoreConfig('transdirect_section/displayoptions/handlingsurcharge');
139
+ $display_surcharge1 = Mage::getStoreConfig('transdirect_section/displayoptions/handlingsurcharge1');
140
+
141
+ if($display_showcouriername == '1'){
142
+ echo $key;
143
+ }
144
+ if($display_showcouriername == '1' && $display_surcharge == '1') {
145
+ echo ' + '.$this->__("Handling Charge");
146
+ }
147
+ ?>
148
+ <?php //echo $key.'&nbsp;&nbsp;&nbsp;'; ?>
149
+ <?php $curr_symbol = Mage::app()->getLocale()->currency(Mage::app()->getStore()->getCurrentCurrencyCode())->getSymbol();?>
150
+ <span class="price">
151
+ <?php
152
+ $tmp_display_surcharge = $quotes_val[$key]['total'] + $display_surcharge1;
153
+ if($display_surcharge == '1'){
154
+ echo $curr_symbol. number_format($tmp_display_surcharge,2);
155
+ } else {
156
+ echo $curr_symbol. number_format($quotes_val[$key]['total'],2);
157
+ }
158
+
159
+ ?>
160
+ </span>
161
+ </label>
162
+ </li>
163
+
164
+ <?php } ?>
165
+
166
+ </ul>
167
+ </dd>
168
+ <?php } ?>
169
+
170
+ <?php /*
171
+ function cmp($a, $b) {
172
+ $display_quote = Mage::getStoreConfig('mycustom_section/displayoptions/quotedisplay');
173
+
174
+ if($display_quote == 'display_cheapest'){ return strcmp($a['price'], $b['price']); } else { return strcmp($a['name'], $b['name']); }
175
+ }
176
+
177
+ foreach ($_shippingRateGroups as $code => $_rates): ?>
178
+ <dt><?php echo $this->escapeHtml($this->getCarrierName($code)) ?></dt>
179
+ <dd>
180
+ <ul>
181
+ <?php
182
+
183
+
184
+ usort($_rates, 'cmp');
185
+
186
+ foreach ($_rates as $_rate):
187
+
188
+ // echo '<pre>'; print_r($_rate->getData());
189
+ if($_rate->getMethodTitle()){
190
+ ?>
191
+ <li<?php if ($_rate->getErrorMessage()) echo ' class="error-msg"';?>>
192
+ <?php if ($_rate->getErrorMessage()): ?>
193
+ <?php echo $this->escapeHtml($_rate->getErrorMessage()) ?>
194
+ <?php else: ?>
195
+ <input name="estimate_method" type="radio" value="<?php echo $this->escapeHtml($_rate->getCode()) ?>" id="s_method_<?php echo $_rate->getCode() ?>"<?php if($_rate->getCode()===$this->getAddressShippingMethod()) echo ' checked="checked"' ?> class="radio" />
196
+ <label for="s_method_<?php echo $_rate->getCode() ?>">
197
+
198
+ <?php
199
+ $display_showcouriername = Mage::getStoreConfig('mycustom_section/displayoptions/showcouriernames');
200
+ if($display_showcouriername == '1'){
201
+ echo $this->escapeHtml($_rate->getMethodTitle());
202
+ }
203
+ ?>
204
+
205
+ <?php $_excl = $this->getShippingPrice($_rate->getPrice(), $this->helper('tax')->displayShippingPriceIncludingTax()); ?>
206
+ <?php $_incl = $this->getShippingPrice($_rate->getPrice(), true); ?>
207
+ <?php echo $_excl; ?>
208
+ <?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
209
+ (<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
210
+ <?php endif; ?>
211
+ </label>
212
+ <?php endif ?>
213
+ </li>
214
+ <?php }
215
+ endforeach;
216
+ // die('rate'); ?>
217
+
218
+ </ul>
219
+ </dd>
220
+ <?php endforeach; ?>
221
+ */?>
222
+
223
+
224
+ </dl>
225
+ <?php /*?><div class="buttons-set">
226
+ <button type="submit" title="<?php echo $this->__('Update Total') ?>" class="button" name="do" value="<?php echo $this->__('Update Total') ?>"><span><span><?php echo $this->__('Update Total') ?></span></span></button>
227
+ </div><?php */?>
228
+
229
+ </form>
230
+ <?php //endif; ?>
231
+ <script type="text/javascript">
232
+ //<![CDATA[
233
+ var coShippingMethodForm = new VarienForm('shipping-zip-form');
234
+ var countriesWithOptionalZip = <?php echo $this->helper('directory')->getCountriesWithOptionalZip(true) ?>;
235
+
236
+ coShippingMethodForm.submit = function () {
237
+ var country = $F('country');
238
+ var optionalZip = false;
239
+ var optionregion = false;
240
+
241
+ for (i=0; i < countriesWithOptionalZip.length; i++) {
242
+ if (countriesWithOptionalZip[i] == country) {
243
+ optionalZip = true;
244
+ }
245
+ }
246
+ if (optionalZip) {
247
+ $('postcode').removeClassName('required-entry');
248
+ }
249
+ else {
250
+ $('postcode').addClassName('required-entry');
251
+ }
252
+
253
+ if (optionregion) {
254
+ $('region').removeClassName('required-entry');
255
+ }
256
+ else {
257
+ $('region').addClassName('required-entry');
258
+ }
259
+
260
+ return VarienForm.prototype.submit.bind(coShippingMethodForm)();
261
+ }
262
+ //]]>
263
+ </script>
264
+ </div>
265
+ </div>
266
+
267
+ <style type="text/css">
268
+ .shipping_product {border: 1px solid #D0CBC1; margin: 0 0 18px; padding: 10px;}
269
+ .shipping-form,.form-list .input-box, .form-list select {width:100%;}
270
+ .form-list input.input-text{width:97%;}
271
+ </style>
272
+
273
+
274
+ <?php /*
275
+ <div class="block block-shipping-estimate">
276
+ <div class="block-title">
277
+ <strong><span>Calculate Shipping</span></strong>
278
+ </div>
279
+ <div class="block-content">
280
+ <p class="block-subtitle">Enter your destination to get a shipping estimate.</p>
281
+ <ul id="shipping-estimation-form" class="shipping-estimation-form">
282
+ <li class="item odd">
283
+ <label class="required" for="estimate_country"><em>*</em>Country</label>
284
+ <div class="input-box">
285
+ <?php echo Mage::getBlockSingleton('directory/data')->getCountryHtmlSelect($this->getEstimateCountryId()) ?>
286
+ </div>
287
+ </li>
288
+ <li class="item even">
289
+ <label for="estimate_region_id">State/Province</label>
290
+ <div class="input-box">
291
+ <select style="display: none;" title="State/Province" name="estimate[region_id]" id="estimate_region_id" defaultvalue="" class="">
292
+ <option value="">Please select an option</option>
293
+ </select><div style="display: none;" id="advice-required-entry-estimate_region_id" class="validation-advice">This is a required field.</div>
294
+ <script type="text/javascript">
295
+ //&lt;![CDATA[
296
+ $('estimate_region_id').setAttribute('defaultValue', '');
297
+ //]]&gt;
298
+ </script>
299
+ <input type="text" style="" class="input-text validation-passed" title="State/Province" value="" name="estimate[region]" id="estimate_region">
300
+ </div>
301
+ </li>
302
+ <script type="text/javascript">
303
+ //&lt;![CDATA[
304
+ new RegionUpdater('country', 'region', 'region_id', <?php echo $this->helper('directory')->getRegionJson() ?>);
305
+ //]]&gt;
306
+ </script>
307
+ <li class="item odd">
308
+ <label for="city">City</label>
309
+ <div class="input-box">
310
+ <input type="text" value="" name="estimate[city]" id="estimate_city" class="input-text validation-passed">
311
+ </div>
312
+ </li>
313
+ <li class="item even">
314
+ <label for="estimate_postcode">Zip/Postal Code</label>
315
+ <div class="input-box">
316
+ <input type="text" value="" name="estimate[postcode]" id="estimate_postcode" class="input-text validate-postcode validation-passed">
317
+ </div>
318
+ </li>
319
+ <li class="item odd">
320
+ <label for="estimate_coupon_code">Coupon Code</label>
321
+ <div class="input-box">
322
+ <input type="text" value="" name="estimate[coupon_code]" id="estimate_coupon_code" class="input-text validation-passed">
323
+ </div>
324
+ </li>
325
+ <li class="item radio last even">
326
+ <label for="estimate_cart_yes">Include Cart Items</label>
327
+ <div class="input-box">
328
+ <input type="radio" checked="checked" value="1" name="estimate[cart]" id="estimate_cart_yes">Yes <input type="radio" value="0" name="estimate[cart]" id="estimate_cart_no"> No </div>
329
+ </li>
330
+ </ul>
331
+ <script type="text/javascript">decorateList('shipping-estimation-form');</script>
332
+ <div class="actions">
333
+ <span style="display: none;" id="shipping-estimate-loading-message" class="please-wait f-left">
334
+ Loading rates... </span>
335
+ <div class="f-right">
336
+ <button class="button" onclick="estimateProductShipping()" title="Get a Quote" type="button"><span><span>Get a Quote</span></span></button>
337
+ </div>
338
+ </div>
339
+ </div>
340
+ <div style="" id="shipping-estimate-results"><div class="block-shipping-results">
341
+ <div class="block-title">
342
+ <strong><span>Shipping Rates</span></strong>
343
+ </div>
344
+ <div class="block-content">
345
+ <dl>
346
+ <dt>Free Shipping</dt>
347
+ <dd>
348
+ <ul>
349
+ <li>
350
+ Free <span class="price">$0.00</span> </li>
351
+ </ul>
352
+ </dd>
353
+ <dt>Flat Rate</dt>
354
+ <dd>
355
+ <ul>
356
+ <li>
357
+ Fixed <span class="price">$5.00</span> </li>
358
+ </ul>
359
+ </dd>
360
+ </dl>
361
+ </div>
362
+ </div></div>
363
+ </div>
364
+
365
+
366
+ <script type="text/javascript">
367
+ //&lt;![CDATA[
368
+ function estimateProductShipping()
369
+ {
370
+ var estimationUrl = 'http://localhost/test-magento/index.php/ship/index/product/';
371
+ var items = $$(['.shipping-estimation-form input',
372
+ '.shipping-estimation-form select',
373
+ '#product_addtocart_form input',
374
+ '#product_addtocart_form select']);
375
+
376
+ var validationResult = true;
377
+
378
+ // Check the valid input
379
+ if (!items.map(Validation.validate).all()) {
380
+ return;
381
+ }
382
+
383
+ var parameters = Form.serializeElements(items, true);
384
+ $('shipping-estimate-loading-message').show();
385
+ $('shipping-estimate-results').hide();
386
+ new Ajax.Updater('shipping-estimate-results', estimationUrl, {
387
+ parameters: parameters,
388
+ onComplete: function() {
389
+ $('shipping-estimate-loading-message').hide();
390
+ $('shipping-estimate-results').show();
391
+ }
392
+ });
393
+
394
+ }
395
+ //]]&gt;
396
+ </script>
397
+ */?>
app/design/frontend/default/default/template/ship/bkp_29-5-2014--working----shipping.phtml ADDED
@@ -0,0 +1,179 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php /** @var $this Mage_Checkout_Block_Cart_Shipping */ ?>
28
+ <div class="shipping">
29
+ <h2><?php echo $this->__('Get A Shipping Quote') ?></h2>
30
+ <div class="shipping-form">
31
+ <form action="<?php echo $this->getUrl('checkout/cart/estimatePost') ?>" method="post" id="shipping-zip-form">
32
+ <p><?php echo $this->__('Enter your destination to get a shipping estimate.') ?></p>
33
+ <ul class="form-list">
34
+ <li>
35
+ <label for="country" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
36
+ <div class="input-box">
37
+ <?php echo Mage::getBlockSingleton('directory/data')->getCountryHtmlSelect($this->getEstimateCountryId()) ?>
38
+ </div>
39
+ </li>
40
+ <?php //if($this->getStateActive()): ?>
41
+ <li>
42
+ <label for="region_id"<?php if ($this->isStateProvinceRequired()) echo ' class="required"' ?>><?php if ($this->isStateProvinceRequired()) echo '<em>*</em>' ?><?php echo $this->__('State/Province') ?></label>
43
+ <div class="input-box">
44
+ <select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" style="display:none;"<?php echo ($this->isStateProvinceRequired() ? ' class="validate-select"' : '') ?>>
45
+ <option value=""><?php echo $this->__('Please select region, state or province') ?></option>
46
+ </select>
47
+ <script type="text/javascript">
48
+ //<![CDATA[
49
+ $('region_id').setAttribute('defaultValue', "<?php echo $this->getEstimateRegionId() ?>");
50
+ //]]>
51
+ </script>
52
+ <input type="text" id="region" name="region" value="<?php echo $this->escapeHtml($this->getEstimateRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text validate-alpha required-entry" style="display:none;" />
53
+ </div>
54
+ </li>
55
+ <?php //endif; ?>
56
+ <?php if($this->getCityActive()): ?>
57
+ <li>
58
+ <label for="city"<?php if ($this->isCityRequired()) echo ' class="required"' ?>><?php if ($this->isCityRequired()) echo '<em>*</em>' ?><?php echo $this->__('City') ?></label>
59
+ <div class="input-box">
60
+ <input class="input-text<?php if ($this->isCityRequired()):?> required-entry<?php endif;?>" id="city" type="text" name="estimate_city" value="<?php echo $this->escapeHtml($this->getEstimateCity()) ?>" />
61
+ </div>
62
+ </li>
63
+ <?php endif; ?>
64
+ <li>
65
+ <label for="postcode"<?php if ($this->isZipCodeRequired()) echo ' class="required"' ?>><?php if ($this->isZipCodeRequired()) echo '<em>*</em>' ?><?php echo $this->__('Zip/Postal Code') ?></label>
66
+ <div class="input-box">
67
+ <input class="input-text validate-postcode<?php if ($this->isZipCodeRequired()):?> required-entry<?php endif;?>" type="text" id="postcode" name="estimate_postcode" value="<?php echo $this->escapeHtml($this->getEstimatePostcode()) ?>" />
68
+ </div>
69
+ </li>
70
+ </ul>
71
+ <div class="buttons-set">
72
+ <button type="button" title="<?php echo $this->__('Get a Quote') ?>" onclick="coShippingMethodForm.submit()" class="button"><span><span><?php echo $this->__('Get a Quote') ?></span></span></button>
73
+ </div>
74
+ </form>
75
+ <script type="text/javascript">
76
+ //<![CDATA[
77
+ new RegionUpdater('country', 'region', 'region_id', <?php echo $this->helper('directory')->getRegionJson() ?>);
78
+ //]]>
79
+ </script>
80
+
81
+ <?php if (($_shippingRateGroups = $this->getEstimateRates())): ?>
82
+ <form id="co-shipping-method-form" action="<?php echo $this->getUrl('checkout/cart/estimateUpdatePost') ?>">
83
+ <dl class="sp-methods">
84
+
85
+ <?php
86
+ function cmp($a, $b) {
87
+ $display_quote = Mage::getStoreConfig('transdirect_section/displayoptions/quotedisplay');
88
+
89
+ if($display_quote == 'display_cheapest'){ return strcmp($a['price'], $b['price']); } else { return strcmp($a['name'], $b['name']); }
90
+ }
91
+
92
+ // get data
93
+ foreach ($_shippingRateGroups as $code => $_rates): ?>
94
+ <dt><?php echo $this->escapeHtml($this->getCarrierName($code)) ?></dt>
95
+ <dd>
96
+ <ul>
97
+ <?php
98
+
99
+
100
+ usort($_rates, 'cmp');
101
+
102
+ foreach ($_rates as $_rate):
103
+
104
+ if($_rate->getMethodTitle()){
105
+ ?>
106
+ <li<?php if ($_rate->getErrorMessage()) echo ' class="error-msg"';?>>
107
+ <?php if ($_rate->getErrorMessage()): ?>
108
+ <?php echo $this->escapeHtml($_rate->getErrorMessage()) ?>
109
+ <?php else: ?>
110
+ <input name="estimate_method" type="radio" value="<?php echo $this->escapeHtml($_rate->getCode()) ?>" id="s_method_<?php echo $_rate->getCode() ?>"<?php if($_rate->getCode()===$this->getAddressShippingMethod()) echo ' checked="checked"' ?> class="radio" />
111
+ <label for="s_method_<?php echo $_rate->getCode() ?>">
112
+
113
+ <?php
114
+ $display_showcouriername = Mage::getStoreConfig('transdirect_section/displayoptions/showcouriernames');
115
+ if($display_showcouriername == '1'){
116
+ echo $this->escapeHtml($_rate->getMethodTitle());
117
+ }
118
+ ?>
119
+
120
+ <?php $_excl = $this->getShippingPrice($_rate->getPrice(), $this->helper('tax')->displayShippingPriceIncludingTax()); ?>
121
+ <?php $_incl = $this->getShippingPrice($_rate->getPrice(), true); ?>
122
+ <?php echo $_excl; ?>
123
+ <?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
124
+ (<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
125
+ <?php endif; ?>
126
+ </label>
127
+ <?php endif ?>
128
+ </li>
129
+ <?php }
130
+ endforeach;
131
+ // die('rate'); ?>
132
+ <?php /*?> <li>
133
+ <input name="estimate_method" type="radio" value="<?php echo $this->escapeHtml($_rate->getCode()) ?>" id="s_method_<?php echo $_rate->getCode() ?>"<?php if($_rate->getCode()===$this->getAddressShippingMethod()) echo ' checked="checked"' ?> class="radio" />
134
+ <label for="s_method_<?php echo $_rate->getCode() ?>"><?php echo $this->escapeHtml($_rate->getMethodTitleOne()) ?>
135
+ <?php $_incl = $this->getShippingPrice($_rate->getPriceOne(), true); ?>
136
+ </li><?php */?>
137
+ </ul>
138
+ </dd>
139
+ <?php endforeach; ?>
140
+ </dl>
141
+ <div class="buttons-set">
142
+ <button type="submit" title="<?php echo $this->__('Update Total') ?>" class="button" name="do" value="<?php echo $this->__('Update Total') ?>"><span><span><?php echo $this->__('Update Total') ?></span></span></button>
143
+ </div>
144
+ </form>
145
+ <?php endif; ?>
146
+ <script type="text/javascript">
147
+ //<![CDATA[
148
+ var coShippingMethodForm = new VarienForm('shipping-zip-form');
149
+ var countriesWithOptionalZip = <?php echo $this->helper('directory')->getCountriesWithOptionalZip(true) ?>;
150
+
151
+ coShippingMethodForm.submit = function () {
152
+ var country = $F('country');
153
+ var optionalZip = false;
154
+ var optionregion = false;
155
+
156
+ for (i=0; i < countriesWithOptionalZip.length; i++) {
157
+ if (countriesWithOptionalZip[i] == country) {
158
+ optionalZip = true;
159
+ }
160
+ }
161
+ if (optionalZip) {
162
+ $('postcode').removeClassName('required-entry');
163
+ }
164
+ else {
165
+ $('postcode').addClassName('required-entry');
166
+ }
167
+ if (optionregion) {
168
+ $('region').removeClassName('required-entry');
169
+ }
170
+ else {
171
+ $('region').addClassName('required-entry');
172
+ }
173
+
174
+ return VarienForm.prototype.submit.bind(coShippingMethodForm)();
175
+ }
176
+ //]]>
177
+ </script>
178
+ </div>
179
+ </div>
app/design/frontend/default/default/template/ship/bkp_30-5-2014---product_shipping.phtml ADDED
@@ -0,0 +1,437 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php /** @var $this Mage_Checkout_Block_Cart_Shipping */ ?>
28
+ <?php
29
+
30
+ $country_val = Mage::getSingleton('core/session')->getCountryVal();
31
+ $postocde_val = Mage::getSingleton('core/session')->getPostcodeVal();
32
+ $regionid_val = Mage::getSingleton('core/session')->getRegionIdVal();
33
+ $region_val = Mage::getSingleton('core/session')->getRegionVal();
34
+
35
+ ?>
36
+ <div class="shipping_product">
37
+ <h2><?php echo $this->__('Get A Shipping Quote') ?></h2>
38
+ <div class="shipping-form">
39
+ <form action="<?php echo $this->getUrl('ship/index/index/') ?>" method="post" id="shipping-zip-form">
40
+ <p><?php echo $this->__('Enter your destination to get a shipping estimate.') ?></p>
41
+ <ul class="form-list">
42
+ <li>
43
+ <label for="country" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
44
+ <div class="input-box">
45
+ <?php echo Mage::getBlockSingleton('directory/data')->getCountryHtmlSelect($this->getEstimateCountryId()) ?>
46
+ </div>
47
+ </li>
48
+ <?php //if($this->getStateActive()):
49
+ //echo $this->isStateProvinceRequired(); //die('st');
50
+ ?>
51
+ <li>
52
+ <label for="region_id"<?php if ($this->isStateProvinceRequired()) echo ' class="required"' ?>><?php if ($this->isStateProvinceRequired()) echo '<em>*</em>' ?><?php echo $this->__('State/Province') ?></label>
53
+ <div class="input-box">
54
+ <select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" style="display:none;"<?php echo ($this->isStateProvinceRequired() ? ' class="validate-select"' : '') ?>>
55
+ <option value=""><?php echo $this->__('Please select region, state or province') ?></option>
56
+ </select>
57
+ <script type="text/javascript">
58
+ //<![CDATA[
59
+ $('region_id').setAttribute('defaultValue', "<?php echo $this->getEstimateRegionId() ?>");
60
+ //]]>
61
+ </script>
62
+ <input type="text" id="region" name="region" value="<?php if($region_val){ echo $region_val;} else { echo $this->escapeHtml($this->getEstimateRegion()); } ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text validate-alpha required-entry" style="display:none;" />
63
+ </div>
64
+ </li>
65
+ <?php //endif; ?>
66
+ <?php if($this->getCityActive()): ?>
67
+ <li>
68
+ <label for="city"<?php if ($this->isCityRequired()) echo ' class="required"' ?>><?php if ($this->isCityRequired()) echo '<em>*</em>' ?><?php echo $this->__('City') ?></label>
69
+ <div class="input-box">
70
+ <input class="input-text<?php if ($this->isCityRequired()):?> required-entry<?php endif;?>" id="city" type="text" name="estimate_city" value="<?php echo $this->escapeHtml($this->getEstimateCity()) ?>" />
71
+ </div>
72
+ </li>
73
+ <?php endif; ?>
74
+ <li>
75
+ <label for="postcode"<?php if ($this->isZipCodeRequired()) echo ' class="required"' ?>><?php if ($this->isZipCodeRequired()) echo '<em>*</em>' ?><?php echo $this->__('Zip/Postal Code') ?></label>
76
+ <div class="input-box">
77
+ <input class="input-text validate-postcode<?php if ($this->isZipCodeRequired()):?> required-entry<?php endif;?>" type="text" id="postcode" name="estimate_postcode" value="<?php if($postocde_val){ echo $postocde_val;} else { echo $this->escapeHtml($this->getEstimatePostcode()); } ?>" />
78
+ </div>
79
+ </li>
80
+ </ul>
81
+ <div class="buttons-set">
82
+ <button type="button" title="<?php echo $this->__('Get a Quote') ?>" onclick="coShippingMethodForm.submit()" class="button"><span><span><?php echo $this->__('Get a Quote') ?></span></span></button>
83
+ </div>
84
+ </form>
85
+ <script type="text/javascript">
86
+ //<![CDATA[
87
+ new RegionUpdater('country', 'region', 'region_id', <?php echo $this->helper('directory')->getRegionJson() ?>);
88
+ //]]>
89
+ </script>
90
+
91
+ <?php //if (($_shippingRateGroups = $this->getEstimateRates())): ?>
92
+ <form id="co-shipping-method-form" action="<?php echo $this->getUrl('checkout/cart/estimateUpdatePost') ?>">
93
+ <dl class="sp-methods">
94
+
95
+ <?php
96
+
97
+ //$quotes_val = Mage::register('store_id', Mage::app()->getStore()->getId());
98
+ //$quotes_val = Mage::registry('quotes_val');
99
+ //echo '<pre>'; print_r($quotes_val); //die('val');
100
+
101
+ //$val = Mage::getSingleton('checkout/session')->getQuote();
102
+
103
+ $quotes_val = Mage::getSingleton('core/session')->getSomeSessionVar();
104
+
105
+
106
+
107
+ //echo $country_val. $postocde_val . $regionid_val . $region_val; //die('data');
108
+
109
+ //echo '<pre>'; print_r($quotes_val);
110
+ //die('sess set');
111
+
112
+ if($quotes_val){
113
+
114
+ ?>
115
+ <dt><?php echo $this->__('Carrier');?></dt>
116
+ <dd>
117
+ <ul>
118
+
119
+ <?php
120
+ /*
121
+ function cmp($a, $b) {
122
+ $display_quote = Mage::getStoreConfig('transdirect_section/displayoptions/quotedisplay');
123
+
124
+ if($display_quote == 'display_cheapest'){ return strcmp($a['price'], $b['price']); } else { return strcmp($a['name'], $b['name']); }
125
+ }
126
+
127
+ uasort($quotes_val, 'cmp'); */
128
+
129
+ //foreach($quotes_val as $key => $val) {
130
+
131
+ $display_carriers = Mage::getStoreConfig('transdirect_section/displayoptions/availablecoriers');
132
+ $available_carriers = explode( ',', $display_carriers);
133
+
134
+ foreach ($quotes_val as $key => $val):
135
+
136
+ //echo '<pre>'; print_r($quotes_val);
137
+
138
+ if(in_array($key,$available_carriers)) {
139
+ //echo '<br>'.$key . ' - matched<br>';
140
+ $xyz[$key] = $quotes_val[$key];
141
+ }
142
+
143
+
144
+
145
+
146
+
147
+ /*echo $key.'<br>';
148
+ echo '<pre>'; print_r($xyz);
149
+ die('xyz');*/
150
+
151
+ endforeach; //die;
152
+ //echo '<pre>'; print_r($xyz); die;
153
+
154
+ foreach($xyz as $key => $abc):
155
+ //echo $key;
156
+ //echo '<pre>'; print_r($abc);
157
+
158
+ //echo count($val); die;
159
+ //echo $key.'<br>';
160
+ //echo $quotes_val[$key]['total'];
161
+
162
+ if($key){
163
+ ?>
164
+
165
+ <li>
166
+ <label for="s_method">
167
+ <?php
168
+ $display_showcouriername = Mage::getStoreConfig('transdirect_section/displayoptions/showcouriernames');
169
+ $display_surcharge = Mage::getStoreConfig('transdirect_section/displayoptions/handlingsurcharge');
170
+ $display_surcharge1 = Mage::getStoreConfig('transdirect_section/displayoptions/handlingsurcharge1');
171
+
172
+ if($display_showcouriername == '1'){
173
+ //echo $key;
174
+ if($key=='fastway'){echo $this->__("Fastway"); }
175
+ if($key=='toll_priority_overnight'){echo $this->__("Toll Priority Overnight"); }
176
+ if($key=='couriers_please'){echo $this->__("Couriers Please"); }
177
+ if($key=='allied'){echo $this->__("Allied Express"); }
178
+ if($key=='toll'){echo $this->__("Toll"); }
179
+ if($key=='mainfreight'){echo $this->__("Mainfreight"); }
180
+ if($key=='northline'){echo $this->__("Northline"); }
181
+
182
+ }
183
+ if($display_showcouriername == '1' && $display_surcharge == '1') {
184
+ echo ' + '.$this->__("Handling Charge");
185
+ }
186
+ ?>
187
+ <?php //echo $key.'&nbsp;&nbsp;&nbsp;'; ?>
188
+ <?php $curr_symbol = Mage::app()->getLocale()->currency(Mage::app()->getStore()->getCurrentCurrencyCode())->getSymbol();?>
189
+ <span class="price">
190
+ <?php
191
+ $tmp_display_surcharge = $abc['total'] + $display_surcharge1;
192
+ if($display_surcharge == '1'){
193
+ echo $curr_symbol. number_format($tmp_display_surcharge,2);
194
+ } else {
195
+ echo $curr_symbol. number_format($abc['total'],2);
196
+ }
197
+
198
+ ?>
199
+ </span>
200
+ </label>
201
+ </li>
202
+
203
+ <?php }
204
+ endforeach; //} ?>
205
+
206
+ </ul>
207
+ </dd>
208
+ <?php } ?>
209
+
210
+ <?php /*
211
+ function cmp($a, $b) {
212
+ $display_quote = Mage::getStoreConfig('mycustom_section/displayoptions/quotedisplay');
213
+
214
+ if($display_quote == 'display_cheapest'){ return strcmp($a['price'], $b['price']); } else { return strcmp($a['name'], $b['name']); }
215
+ }
216
+
217
+ foreach ($_shippingRateGroups as $code => $_rates): ?>
218
+ <dt><?php echo $this->escapeHtml($this->getCarrierName($code)) ?></dt>
219
+ <dd>
220
+ <ul>
221
+ <?php
222
+
223
+
224
+ usort($_rates, 'cmp');
225
+
226
+ foreach ($_rates as $_rate):
227
+
228
+ // echo '<pre>'; print_r($_rate->getData());
229
+ if($_rate->getMethodTitle()){
230
+ ?>
231
+ <li<?php if ($_rate->getErrorMessage()) echo ' class="error-msg"';?>>
232
+ <?php if ($_rate->getErrorMessage()): ?>
233
+ <?php echo $this->escapeHtml($_rate->getErrorMessage()) ?>
234
+ <?php else: ?>
235
+ <input name="estimate_method" type="radio" value="<?php echo $this->escapeHtml($_rate->getCode()) ?>" id="s_method_<?php echo $_rate->getCode() ?>"<?php if($_rate->getCode()===$this->getAddressShippingMethod()) echo ' checked="checked"' ?> class="radio" />
236
+ <label for="s_method_<?php echo $_rate->getCode() ?>">
237
+
238
+ <?php
239
+ $display_showcouriername = Mage::getStoreConfig('mycustom_section/displayoptions/showcouriernames');
240
+ if($display_showcouriername == '1'){
241
+ echo $this->escapeHtml($_rate->getMethodTitle());
242
+ }
243
+ ?>
244
+
245
+ <?php $_excl = $this->getShippingPrice($_rate->getPrice(), $this->helper('tax')->displayShippingPriceIncludingTax()); ?>
246
+ <?php $_incl = $this->getShippingPrice($_rate->getPrice(), true); ?>
247
+ <?php echo $_excl; ?>
248
+ <?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
249
+ (<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
250
+ <?php endif; ?>
251
+ </label>
252
+ <?php endif ?>
253
+ </li>
254
+ <?php }
255
+ endforeach;
256
+ // die('rate'); ?>
257
+
258
+ </ul>
259
+ </dd>
260
+ <?php endforeach; ?>
261
+ */?>
262
+
263
+
264
+ </dl>
265
+ <?php /*?><div class="buttons-set">
266
+ <button type="submit" title="<?php echo $this->__('Update Total') ?>" class="button" name="do" value="<?php echo $this->__('Update Total') ?>"><span><span><?php echo $this->__('Update Total') ?></span></span></button>
267
+ </div><?php */?>
268
+
269
+ </form>
270
+ <?php //endif; ?>
271
+ <script type="text/javascript">
272
+ //<![CDATA[
273
+ var coShippingMethodForm = new VarienForm('shipping-zip-form');
274
+ var countriesWithOptionalZip = <?php echo $this->helper('directory')->getCountriesWithOptionalZip(true) ?>;
275
+
276
+ coShippingMethodForm.submit = function () {
277
+ var country = $F('country');
278
+ var optionalZip = false;
279
+ var optionregion = false;
280
+
281
+ for (i=0; i < countriesWithOptionalZip.length; i++) {
282
+ if (countriesWithOptionalZip[i] == country) {
283
+ optionalZip = true;
284
+ }
285
+ }
286
+ if (optionalZip) {
287
+ $('postcode').removeClassName('required-entry');
288
+ }
289
+ else {
290
+ $('postcode').addClassName('required-entry');
291
+ }
292
+
293
+ if (optionregion) {
294
+ $('region').removeClassName('required-entry');
295
+ }
296
+ else {
297
+ $('region').addClassName('required-entry');
298
+ }
299
+
300
+ return VarienForm.prototype.submit.bind(coShippingMethodForm)();
301
+ }
302
+ //]]>
303
+ </script>
304
+ </div>
305
+ </div>
306
+
307
+ <style type="text/css">
308
+ .shipping_product {border: 1px solid #D0CBC1; margin: 0 0 18px; padding: 10px;}
309
+ .shipping-form,.form-list .input-box, .form-list select {width:100%;}
310
+ .form-list input.input-text{width:97%;}
311
+ </style>
312
+
313
+
314
+ <?php /*
315
+ <div class="block block-shipping-estimate">
316
+ <div class="block-title">
317
+ <strong><span>Calculate Shipping</span></strong>
318
+ </div>
319
+ <div class="block-content">
320
+ <p class="block-subtitle">Enter your destination to get a shipping estimate.</p>
321
+ <ul id="shipping-estimation-form" class="shipping-estimation-form">
322
+ <li class="item odd">
323
+ <label class="required" for="estimate_country"><em>*</em>Country</label>
324
+ <div class="input-box">
325
+ <?php echo Mage::getBlockSingleton('directory/data')->getCountryHtmlSelect($this->getEstimateCountryId()) ?>
326
+ </div>
327
+ </li>
328
+ <li class="item even">
329
+ <label for="estimate_region_id">State/Province</label>
330
+ <div class="input-box">
331
+ <select style="display: none;" title="State/Province" name="estimate[region_id]" id="estimate_region_id" defaultvalue="" class="">
332
+ <option value="">Please select an option</option>
333
+ </select><div style="display: none;" id="advice-required-entry-estimate_region_id" class="validation-advice">This is a required field.</div>
334
+ <script type="text/javascript">
335
+ //&lt;![CDATA[
336
+ $('estimate_region_id').setAttribute('defaultValue', '');
337
+ //]]&gt;
338
+ </script>
339
+ <input type="text" style="" class="input-text validation-passed" title="State/Province" value="" name="estimate[region]" id="estimate_region">
340
+ </div>
341
+ </li>
342
+ <script type="text/javascript">
343
+ //&lt;![CDATA[
344
+ new RegionUpdater('country', 'region', 'region_id', <?php echo $this->helper('directory')->getRegionJson() ?>);
345
+ //]]&gt;
346
+ </script>
347
+ <li class="item odd">
348
+ <label for="city">City</label>
349
+ <div class="input-box">
350
+ <input type="text" value="" name="estimate[city]" id="estimate_city" class="input-text validation-passed">
351
+ </div>
352
+ </li>
353
+ <li class="item even">
354
+ <label for="estimate_postcode">Zip/Postal Code</label>
355
+ <div class="input-box">
356
+ <input type="text" value="" name="estimate[postcode]" id="estimate_postcode" class="input-text validate-postcode validation-passed">
357
+ </div>
358
+ </li>
359
+ <li class="item odd">
360
+ <label for="estimate_coupon_code">Coupon Code</label>
361
+ <div class="input-box">
362
+ <input type="text" value="" name="estimate[coupon_code]" id="estimate_coupon_code" class="input-text validation-passed">
363
+ </div>
364
+ </li>
365
+ <li class="item radio last even">
366
+ <label for="estimate_cart_yes">Include Cart Items</label>
367
+ <div class="input-box">
368
+ <input type="radio" checked="checked" value="1" name="estimate[cart]" id="estimate_cart_yes">Yes <input type="radio" value="0" name="estimate[cart]" id="estimate_cart_no"> No </div>
369
+ </li>
370
+ </ul>
371
+ <script type="text/javascript">decorateList('shipping-estimation-form');</script>
372
+ <div class="actions">
373
+ <span style="display: none;" id="shipping-estimate-loading-message" class="please-wait f-left">
374
+ Loading rates... </span>
375
+ <div class="f-right">
376
+ <button class="button" onclick="estimateProductShipping()" title="Get a Quote" type="button"><span><span>Get a Quote</span></span></button>
377
+ </div>
378
+ </div>
379
+ </div>
380
+ <div style="" id="shipping-estimate-results"><div class="block-shipping-results">
381
+ <div class="block-title">
382
+ <strong><span>Shipping Rates</span></strong>
383
+ </div>
384
+ <div class="block-content">
385
+ <dl>
386
+ <dt>Free Shipping</dt>
387
+ <dd>
388
+ <ul>
389
+ <li>
390
+ Free <span class="price">$0.00</span> </li>
391
+ </ul>
392
+ </dd>
393
+ <dt>Flat Rate</dt>
394
+ <dd>
395
+ <ul>
396
+ <li>
397
+ Fixed <span class="price">$5.00</span> </li>
398
+ </ul>
399
+ </dd>
400
+ </dl>
401
+ </div>
402
+ </div></div>
403
+ </div>
404
+
405
+
406
+ <script type="text/javascript">
407
+ //&lt;![CDATA[
408
+ function estimateProductShipping()
409
+ {
410
+ var estimationUrl = 'http://localhost/test-magento/index.php/ship/index/product/';
411
+ var items = $$(['.shipping-estimation-form input',
412
+ '.shipping-estimation-form select',
413
+ '#product_addtocart_form input',
414
+ '#product_addtocart_form select']);
415
+
416
+ var validationResult = true;
417
+
418
+ // Check the valid input
419
+ if (!items.map(Validation.validate).all()) {
420
+ return;
421
+ }
422
+
423
+ var parameters = Form.serializeElements(items, true);
424
+ $('shipping-estimate-loading-message').show();
425
+ $('shipping-estimate-results').hide();
426
+ new Ajax.Updater('shipping-estimate-results', estimationUrl, {
427
+ parameters: parameters,
428
+ onComplete: function() {
429
+ $('shipping-estimate-loading-message').hide();
430
+ $('shipping-estimate-results').show();
431
+ }
432
+ });
433
+
434
+ }
435
+ //]]&gt;
436
+ </script>
437
+ */?>
app/design/frontend/default/default/template/ship/bkp_30-5-2014---shipping.phtml ADDED
@@ -0,0 +1,237 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php /** @var $this Mage_Checkout_Block_Cart_Shipping */ ?>
28
+ <div class="shipping">
29
+ <h2><?php echo $this->__('Get A Shipping Quote') ?></h2>
30
+ <div class="shipping-form">
31
+ <form action="<?php echo $this->getUrl('checkout/cart/estimatePost') ?>" method="post" id="shipping-zip-form">
32
+ <p><?php echo $this->__('Enter your destination to get a shipping estimate.') ?></p>
33
+ <ul class="form-list">
34
+ <li>
35
+ <label for="country" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
36
+ <div class="input-box">
37
+ <?php echo Mage::getBlockSingleton('directory/data')->getCountryHtmlSelect($this->getEstimateCountryId()) ?>
38
+ </div>
39
+ </li>
40
+ <?php //if($this->getStateActive()): ?>
41
+ <li>
42
+ <label for="region_id"<?php if ($this->isStateProvinceRequired()) echo ' class="required"' ?>><?php if ($this->isStateProvinceRequired()) echo '<em>*</em>' ?><?php echo $this->__('State/Province') ?></label>
43
+ <div class="input-box">
44
+ <select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" style="display:none;"<?php echo ($this->isStateProvinceRequired() ? ' class="validate-select"' : '') ?>>
45
+ <option value=""><?php echo $this->__('Please select region, state or province') ?></option>
46
+ </select>
47
+ <script type="text/javascript">
48
+ //<![CDATA[
49
+ $('region_id').setAttribute('defaultValue', "<?php echo $this->getEstimateRegionId() ?>");
50
+ //]]>
51
+ </script>
52
+ <input type="text" id="region" name="region" value="<?php echo $this->escapeHtml($this->getEstimateRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text validate-alpha required-entry" style="display:none;" />
53
+ </div>
54
+ </li>
55
+ <?php //endif; ?>
56
+ <?php if($this->getCityActive()): ?>
57
+ <li>
58
+ <label for="city"<?php if ($this->isCityRequired()) echo ' class="required"' ?>><?php if ($this->isCityRequired()) echo '<em>*</em>' ?><?php echo $this->__('City') ?></label>
59
+ <div class="input-box">
60
+ <input class="input-text<?php if ($this->isCityRequired()):?> required-entry<?php endif;?>" id="city" type="text" name="estimate_city" value="<?php echo $this->escapeHtml($this->getEstimateCity()) ?>" />
61
+ </div>
62
+ </li>
63
+ <?php endif; ?>
64
+ <li>
65
+ <label for="postcode"<?php if ($this->isZipCodeRequired()) echo ' class="required"' ?>><?php if ($this->isZipCodeRequired()) echo '<em>*</em>' ?><?php echo $this->__('Zip/Postal Code') ?></label>
66
+ <div class="input-box">
67
+ <input class="input-text validate-postcode<?php if ($this->isZipCodeRequired()):?> required-entry<?php endif;?>" type="text" id="postcode" name="estimate_postcode" value="<?php echo $this->escapeHtml($this->getEstimatePostcode()) ?>" />
68
+ </div>
69
+ </li>
70
+ </ul>
71
+ <div class="buttons-set">
72
+ <button type="button" title="<?php echo $this->__('Get a Quote') ?>" onclick="coShippingMethodForm.submit()" class="button"><span><span><?php echo $this->__('Get a Quote') ?></span></span></button>
73
+ </div>
74
+ </form>
75
+ <script type="text/javascript">
76
+ //<![CDATA[
77
+ new RegionUpdater('country', 'region', 'region_id', <?php echo $this->helper('directory')->getRegionJson() ?>);
78
+ //]]>
79
+ </script>
80
+
81
+ <?php if (($_shippingRateGroups = $this->getEstimateRates())): ?>
82
+ <form id="co-shipping-method-form" action="<?php echo $this->getUrl('checkout/cart/estimateUpdatePost') ?>">
83
+ <dl class="sp-methods">
84
+
85
+ <?php
86
+ /*function cmp($a, $b) {
87
+ $display_quote = Mage::getStoreConfig('transdirect_section/displayoptions/quotedisplay');
88
+
89
+ if($display_quote == 'display_cheapest'){ return strcmp($a['price'], $b['price']); } else { return strcmp($a['method_title'], $b['method_title']); }
90
+ } */
91
+ function cmp($key) {
92
+ return function ($a, $b) use ($key) {
93
+ return strnatcmp($a[$key], $b[$key]);
94
+ };
95
+ }
96
+
97
+ $display_quote = Mage::getStoreConfig('transdirect_section/displayoptions/quotedisplay');
98
+
99
+ /* function build_sorter($key) {
100
+ return function ($a, $b) use ($key) {
101
+ return strnatcmp($a[$key], $b[$key]);
102
+ };
103
+ }*/
104
+
105
+
106
+ // get data
107
+ foreach ($_shippingRateGroups as $code => $_rates): ?>
108
+ <dt><?php echo $this->escapeHtml($this->getCarrierName($code)) ?></dt>
109
+ <dd>
110
+ <ul>
111
+ <?php
112
+
113
+
114
+ //usort($_rates, 'cmp');
115
+
116
+ foreach ($_rates as $_rate):
117
+
118
+ $xyz[] = $_rate->getData();
119
+ //echo '<pre>'; print_r($_rate->getData());
120
+
121
+ endforeach;
122
+
123
+ endforeach;
124
+
125
+ // echo '<pre>'; print_r($xyz); die;
126
+
127
+ // sorting
128
+
129
+ if($display_quote == 'display_cheapest'){ usort($xyz, cmp('price')); }
130
+ if($display_quote == 'display_all_quotes'){ usort($xyz, cmp('method_title')); }
131
+ //usort($xyz, cmp('price'));
132
+
133
+ /*
134
+ $display_quote = Mage::getStoreConfig('transdirect_section/displayoptions/quotedisplay');
135
+
136
+ if($display_quote == 'display_cheapest'){ usort($xyz, build_sorter('price')); }
137
+ if($display_quote == 'display_all_quotes'){ usort($xyz, build_sorter('price')); }
138
+ if($display_quote == 'display_cheapest_fastest'){ usort($xyz, build_sorter('price')); }
139
+ */
140
+
141
+
142
+ //echo '<pre>'; print_r($xyz);
143
+
144
+ // display
145
+ foreach($xyz as $key => $abc):
146
+ //echo '<pre>'; print_r($abc); die('ship');
147
+ //endforeach;
148
+ //echo $abc['code'];die;
149
+
150
+
151
+ if($abc['method_title']){
152
+ ?>
153
+ <li<?php if ($_rate->getErrorMessage()) echo ' class="error-msg"';?>>
154
+ <?php if ($_rate->getErrorMessage()): ?>
155
+ <?php echo $this->escapeHtml($_rate->getErrorMessage()) ?>
156
+ <?php else: ?>
157
+ <input name="estimate_method" type="radio" value="<?php echo $abc['code']; //$this->escapeHtml($_rate->getCode()) ?>" id="s_method_<?php echo $abc['code'] ?>"<?php if($abc['code']===$this->getAddressShippingMethod()) echo ' checked="checked"' ?> class="radio" />
158
+ <label for="s_method_<?php echo $abc['code']; ?>">
159
+
160
+ <?php
161
+ $display_showcouriername = Mage::getStoreConfig('transdirect_section/displayoptions/showcouriernames');
162
+ if($display_showcouriername == '1'){
163
+ echo $abc['method_title'];
164
+ /*
165
+ if($abc['method_title']=='fastway'){echo $this->__("Fastway"); }
166
+ if($abc['method_title']=='toll_priority_overnight'){echo $this->__("Toll Priority Overnight"); }
167
+ if($abc['method_title']=='couriers_please'){echo $this->__("Couriers Please"); }
168
+ if($abc['method_title']=='allied'){echo $this->__("Allied Express"); }
169
+ if($abc['method_title']=='toll'){echo $this->__("Toll"); }
170
+ if($abc['method_title']=='mainfreight'){echo $this->__("Mainfreight"); }
171
+ if($abc['method_title']=='northline'){echo $this->__("Northline"); }
172
+ */
173
+
174
+ //$this->escapeHtml($_rate->getMethodTitle());
175
+ }
176
+ ?>
177
+
178
+ <?php $_excl = $this->getShippingPrice($abc['price'], $this->helper('tax')->displayShippingPriceIncludingTax()); ?>
179
+ <?php $_incl = $this->getShippingPrice($abc['price'], true); ?>
180
+ <?php echo $_excl; ?>
181
+ <?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
182
+ (<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
183
+ <?php endif; ?>
184
+ </label>
185
+ <?php endif ?>
186
+ </li>
187
+ <?php }
188
+ endforeach;
189
+ // die('rate'); ?>
190
+ <?php /*?> <li>
191
+ <input name="estimate_method" type="radio" value="<?php echo $this->escapeHtml($_rate->getCode()) ?>" id="s_method_<?php echo $_rate->getCode() ?>"<?php if($_rate->getCode()===$this->getAddressShippingMethod()) echo ' checked="checked"' ?> class="radio" />
192
+ <label for="s_method_<?php echo $_rate->getCode() ?>"><?php echo $this->escapeHtml($_rate->getMethodTitleOne()) ?>
193
+ <?php $_incl = $this->getShippingPrice($_rate->getPriceOne(), true); ?>
194
+ </li><?php */?>
195
+ </ul>
196
+ </dd>
197
+ <?php //endforeach; ?>
198
+ </dl>
199
+ <div class="buttons-set">
200
+ <button type="submit" title="<?php echo $this->__('Update Total') ?>" class="button" name="do" value="<?php echo $this->__('Update Total') ?>"><span><span><?php echo $this->__('Update Total') ?></span></span></button>
201
+ </div>
202
+ </form>
203
+ <?php endif; ?>
204
+ <script type="text/javascript">
205
+ //<![CDATA[
206
+ var coShippingMethodForm = new VarienForm('shipping-zip-form');
207
+ var countriesWithOptionalZip = <?php echo $this->helper('directory')->getCountriesWithOptionalZip(true) ?>;
208
+
209
+ coShippingMethodForm.submit = function () {
210
+ var country = $F('country');
211
+ var optionalZip = false;
212
+ var optionregion = false;
213
+
214
+ for (i=0; i < countriesWithOptionalZip.length; i++) {
215
+ if (countriesWithOptionalZip[i] == country) {
216
+ optionalZip = true;
217
+ }
218
+ }
219
+ if (optionalZip) {
220
+ $('postcode').removeClassName('required-entry');
221
+ }
222
+ else {
223
+ $('postcode').addClassName('required-entry');
224
+ }
225
+ if (optionregion) {
226
+ $('region').removeClassName('required-entry');
227
+ }
228
+ else {
229
+ $('region').addClassName('required-entry');
230
+ }
231
+
232
+ return VarienForm.prototype.submit.bind(coShippingMethodForm)();
233
+ }
234
+ //]]>
235
+ </script>
236
+ </div>
237
+ </div>
app/design/frontend/default/default/template/ship/checkout/cart/totals.phtml ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Shopping cart totals template
30
+ *
31
+ * @see Mage_Checkout_Block_Cart_Totals
32
+ * @var $this Mage_Checkout_Block_Cart_Totals
33
+ */
34
+ ?>
35
+ <?php if ($this->canApplyMsrp()): ?>
36
+ <div class="cart-msrp-totals"><?php echo $this->__('ORDER TOTAL WILL BE DISPLAYED BEFORE YOU SUBMIT THE ORDER'); ?></div>
37
+ <?php else: ?>
38
+ <table id="shopping-cart-totals-table">
39
+ <col />
40
+ <col width="1" />
41
+ <tfoot>
42
+ <?php echo $this->renderTotals('footer'); ?>
43
+ </tfoot>
44
+ <tbody>
45
+ <?php echo $this->renderTotals(); ?>
46
+ </tbody>
47
+ </table>
48
+ <?php endif; ?>
app/design/frontend/default/default/template/ship/footer/js.phtml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ <link href="<?php echo $this->getSkinUrl();?>ship/css/jquery.autoSuggest.css" rel="stylesheet" />
2
+ <script type="text/javascript" src="<?php echo $this->getSkinUrl();?>ship/js/jquery-1.11.0.js"></script>
3
+ <script type="text/javascript">jQuery.noConflict();</script>
4
+ <script type="text/javascript" src="https://www.transdirect.com.au/api/locations/script"></script>
5
+ <!--<script src="<?php echo $this->getSkinUrl();?>ship/js/location_script.js"></script>-->
6
+ <script src="<?php echo $this->getSkinUrl();?>ship/js/jquery.autoSuggest.js"></script>
7
+
app/design/frontend/default/default/template/ship/product_shipping.phtml ADDED
@@ -0,0 +1,307 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php /** @var $this Mage_Checkout_Block_Cart_Shipping */ ?>
28
+ <?php if(Mage::getStoreConfig('transdirect_section/enabletab/enable')){ ?>
29
+
30
+ <script type="text/javascript">
31
+ jQuery(document).ready(function(e) {
32
+ var result;
33
+ var data = {items: []};
34
+ jQuery.each( TDLocationsList, function( i, item ) {
35
+ data.items.push({ value: TDLocationsList[i].postcode +' '+ TDLocationsList[i].locality , name: TDLocationsList[i].postcode +' '+ TDLocationsList[i].locality});
36
+ });
37
+ jQuery("#autosuggest").autoSuggest(data.items,
38
+ {
39
+ selectedItemProp: "name",
40
+ searchObjProps: "name",
41
+ selectionLimit: 1,
42
+ minChars: 3,
43
+ selectionAdded: function(elem)
44
+ {
45
+ result = elem.text();
46
+ getresultval(result);
47
+ }
48
+ }
49
+ );
50
+ function getresultval(res){
51
+ var postcode = res.substr(1,4);
52
+ var locality = res.substr(6);
53
+ jQuery('#suburb').attr("value", locality);
54
+ jQuery('#postcode').attr("value", postcode);
55
+
56
+ document.cookie="cart_postocde="+postcode;
57
+ document.cookie="cart_locality="+locality;
58
+ }
59
+ });
60
+
61
+ </script>
62
+
63
+ <?php $tmp_cart_postcode_val = $_COOKIE['cart_postocde'];
64
+ $tmp_cart_locality_val = $_COOKIE['cart_locality'];
65
+ ?>
66
+
67
+ <?php
68
+ $country_val = Mage::getSingleton('core/session')->getCountryVal();
69
+ $postocde_val = Mage::getSingleton('core/session')->getPostcodeVal();
70
+ $regionid_val = Mage::getSingleton('core/session')->getRegionIdVal();
71
+ $region_val = Mage::getSingleton('core/session')->getRegionVal();
72
+ ?>
73
+ <div class="shipping_product">
74
+ <h2><?php echo $this->__('Get A Shipping Quote') ?></h2>
75
+ <div class="shipping-form">
76
+ <form action="<?php echo $this->getUrl('ship/index/index/') ?>" method="post" id="shipping-zip-form">
77
+ <p><?php echo $this->__('Enter your destination to get a shipping estimate.') ?></p>
78
+ <ul class="form-list">
79
+ <li>
80
+ <label for="country" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
81
+ <div class="input-box">
82
+ <select name="country_id" id="country" class="validate-select" title="Country" >
83
+ <option value="AU" selected="selected" ><?php echo $this->__('Australia') ?></option>
84
+ </select>
85
+ </div>
86
+ <?php /*?><div class="input-box">
87
+ <?php echo Mage::getBlockSingleton('directory/data')->getCountryHtmlSelect($this->getEstimateCountryId()) ?>
88
+ </div><?php */?>
89
+ </li>
90
+ <?php /*
91
+ //if($this->getStateActive()):
92
+
93
+ ?>
94
+ <li>
95
+ <label for="region_id"<?php if ($this->isStateProvinceRequired()) echo ' class="required"' ?>><?php if ($this->isStateProvinceRequired()) echo '<em>*</em>' ?><?php echo $this->__('Suburb') ?></label>
96
+ <div class="input-box">
97
+ <select id="region_id" name="region_id" title="<?php echo $this->__('Suburb') ?>" style="display:none;"<?php echo ($this->isStateProvinceRequired() ? ' class="validate-select"' : '') ?>>
98
+ <option value=""><?php echo $this->__('Please select region, state or province') ?></option>
99
+ </select>
100
+ <script type="text/javascript">
101
+ //<![CDATA[
102
+ $('region_id').setAttribute('defaultValue', "<?php echo $this->getEstimateRegionId() ?>");
103
+ //]]>
104
+ </script>
105
+ <input type="text" id="region" name="region" value="<?php if($region_val){ echo $region_val;} else { echo $this->escapeHtml($this->getEstimateRegion()); } ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text required-entry" style="display:none;" />
106
+ </div>
107
+ </li>
108
+ <?php //endif; */ ?>
109
+ <?php if($this->getCityActive()): ?>
110
+ <li>
111
+ <label for="city"<?php if ($this->isCityRequired()) echo ' class="required"' ?>><?php if ($this->isCityRequired()) echo '<em>*</em>' ?><?php echo $this->__('City') ?></label>
112
+ <div class="input-box">
113
+ <input class="input-text<?php if ($this->isCityRequired()):?> required-entry<?php endif;?>" id="city" type="text" name="estimate_city" value="<?php echo $this->escapeHtml($this->getEstimateCity()) ?>" />
114
+ </div>
115
+ </li>
116
+ <?php endif; ?>
117
+ <li>
118
+ <label for="postcode"<?php if ($this->isZipCodeRequired()) echo ' class="required"' ?>><?php if ($this->isZipCodeRequired()) echo '<em>*</em>' ?><?php echo $this->__('Zip/Postal Code') ?></label>
119
+ <div class="input-box postcode_suburb">
120
+ <?php /*?><input class="input-text validate-number validate-postcode<?php if ($this->isZipCodeRequired()):?> required-entry<?php endif;?>" type="text" id="postcode" name="estimate_postcode" value="<?php if($postocde_val){ echo $postocde_val;} else { echo $this->escapeHtml($this->getEstimatePostcode()); } ?>" maxlength="4" /><?php */?>
121
+
122
+ <input id="autosuggest" type="text" />
123
+ <input type="hidden" name="suburb" id="suburb" value="" />
124
+ <input type="hidden" name="postcode" id="postcode" value="" />
125
+
126
+ <?php
127
+ //echo $tmp_cart_postcode_val; die('val');
128
+ if(!$tmp_cart_postcode_val=='' || !$tmp_cart_locality_val==''){ ?>
129
+ <script type="text/javascript">
130
+ var prev_suggest_value = '<div class="previous-selection"><span class="text"><?php echo 'Your Last Selection:'.'&nbsp;&nbsp;&nbsp;'?></span><span class="post"><?php echo 'Postcode:'.'&nbsp;&nbsp;&nbsp;'.$tmp_cart_postcode_val.'&nbsp;&nbsp;'; ?></span><span class="locality"><?php echo 'Suburb:'.'&nbsp;&nbsp;&nbsp;'.$tmp_cart_locality_val?></span></div>';
131
+
132
+ jQuery(document).ready(function(e) {
133
+ if(jQuery(".as-selections").find(".as-selection-item").html()){
134
+ } else {
135
+ jQuery("#shipping-zip-form .postcode_suburb").after(prev_suggest_value);
136
+ }
137
+ });
138
+ </script>
139
+ <?php } ?>
140
+
141
+ </div>
142
+ </li>
143
+ </ul>
144
+ <div class="buttons-set">
145
+ <button type="button" title="<?php echo $this->__('Get a Quote') ?>" onclick="coShippingMethodForm.submit()" class="button"><span><span><?php echo $this->__('Get a Quote') ?></span></span></button>
146
+ </div>
147
+ </form>
148
+ <script type="text/javascript">
149
+ //<![CDATA[
150
+ new RegionUpdater('country', 'region', 'region_id', <?php echo $this->helper('directory')->getRegionJson() ?>);
151
+ //]]>
152
+ </script>
153
+ <?php //if (($_shippingRateGroups = $this->getEstimateRates())): ?>
154
+ <form id="co-shipping-method-form" action="<?php echo $this->getUrl('checkout/cart/estimateUpdatePost') ?>">
155
+ <dl class="sp-methods">
156
+
157
+ <?php
158
+
159
+ //$quotes_val = Mage::register('store_id', Mage::app()->getStore()->getId());
160
+ //$quotes_val = Mage::registry('quotes_val');
161
+ //echo '<pre>'; print_r($quotes_val); //die('val');
162
+
163
+ //$val = Mage::getSingleton('checkout/session')->getQuote();
164
+
165
+ $quotes_val = Mage::getSingleton('core/session')->getSomeSessionVar();
166
+
167
+
168
+
169
+ //echo $country_val. $postocde_val . $regionid_val . $region_val; //die('data');
170
+
171
+ //echo '<pre>'; print_r($quotes_val);
172
+ //die('sess set');
173
+
174
+ if($quotes_val){ //die('response');
175
+
176
+ ?>
177
+ <dt><?php echo $this->__('Carrier');?></dt>
178
+ <dd>
179
+ <ul>
180
+
181
+ <?php
182
+
183
+ //foreach($quotes_val as $key => $val) {
184
+
185
+ $display_carriers = Mage::getStoreConfig('transdirect_section/displayoptions/availablecoriers');
186
+ $available_carriers = explode( ',', $display_carriers);
187
+
188
+ foreach ($quotes_val as $key => $val):
189
+
190
+ if(in_array($key,$available_carriers)) {
191
+ //echo '<br>'.$key . ' - matched<br>';
192
+ $xyz[$key] = $quotes_val[$key];
193
+ }
194
+
195
+ endforeach; //die;
196
+
197
+ foreach($xyz as $key => $abc):
198
+ if($key){
199
+ ?>
200
+
201
+ <li>
202
+ <label for="s_method">
203
+ <?php
204
+ $display_showcouriername = Mage::getStoreConfig('transdirect_section/displayoptions/showcouriernames');
205
+ $display_surcharge = Mage::getStoreConfig('transdirect_section/displayoptions/handlingsurcharge');
206
+ $display_surcharge1 = Mage::getStoreConfig('transdirect_section/displayoptions/handlingsurcharge1');
207
+
208
+ if($display_showcouriername == '1'){
209
+ //echo $key;
210
+ if($key=='fastway'){echo $this->__("Fastway"); }
211
+ if($key=='toll_priority_overnight'){echo $this->__("Toll Priority Overnight"); }
212
+ if($key=='couriers_please'){echo $this->__("Couriers Please"); }
213
+ if($key=='allied'){echo $this->__("Allied Express"); }
214
+ if($key=='toll'){echo $this->__("Toll"); }
215
+ if($key=='mainfreight'){echo $this->__("Mainfreight"); }
216
+ if($key=='northline'){echo $this->__("Northline"); }
217
+
218
+ }
219
+ if($display_showcouriername == '1' && $display_surcharge == '1') {
220
+ echo ' + '.$this->__("Handling Charge");
221
+ }
222
+ ?>
223
+ <?php //echo $key.'&nbsp;&nbsp;&nbsp;'; ?>
224
+ <?php $curr_symbol = Mage::app()->getLocale()->currency(Mage::app()->getStore()->getCurrentCurrencyCode())->getSymbol();?>
225
+ <span class="price">
226
+ <?php
227
+ $tmp_display_surcharge = $abc['total'] + $display_surcharge1;
228
+ if($display_surcharge == '1'){
229
+ echo $curr_symbol. number_format($tmp_display_surcharge,2);
230
+ } else {
231
+ echo $curr_symbol. number_format($abc['total'],2);
232
+ }
233
+
234
+ ?></span>
235
+ <span>
236
+ <?php echo '(Shipping Time - '. $abc['transit_time'].')'; ?>
237
+ </span>
238
+ </label>
239
+ </li>
240
+
241
+ <?php }
242
+ endforeach; //} ?>
243
+
244
+ </ul>
245
+ </dd>
246
+ <?php }
247
+ if($quotes_val == '' && $postocde_val != ''){
248
+
249
+ $display_fixedprice = Mage::getStoreConfig('transdirect_section/displayoptions/fixedpriceonerror');
250
+ $display_fixedprice1 = Mage::getStoreConfig('transdirect_section/displayoptions/fixedpriceonerror1');
251
+ ?>
252
+
253
+ <dt><?php echo $this->__('Carrier');?></dt>
254
+ <dd>
255
+ <ul>
256
+ <li>
257
+ <label for="s_method"> <?php echo $this->__('Fixed Price'); ?>
258
+ <span class="price"> <?php echo $display_fixedprice1; ?> </span>
259
+ </label>
260
+ </li>
261
+ </ul>
262
+ </dd>
263
+
264
+ <?php } ?>
265
+
266
+ </dl>
267
+
268
+ <script type="text/javascript">
269
+ //<![CDATA[
270
+ var coShippingMethodForm = new VarienForm('shipping-zip-form');
271
+ var countriesWithOptionalZip = <?php echo $this->helper('directory')->getCountriesWithOptionalZip(true) ?>;
272
+ coShippingMethodForm.submit = function () {
273
+ var country = $F('country');
274
+ var optionalZip = false;
275
+ var optionregion = false;
276
+ for (i=0; i < countriesWithOptionalZip.length; i++) {
277
+ if (countriesWithOptionalZip[i] == country) {
278
+ optionalZip = true;
279
+ }
280
+ }
281
+ if (optionalZip) {
282
+ $('postcode').removeClassName('required-entry');
283
+ }
284
+ else {
285
+ $('postcode').addClassName('required-entry');
286
+ }
287
+
288
+ /*if (optionregion) {
289
+ $('region').removeClassName('required-entry');
290
+ }
291
+ else {
292
+ $('region').addClassName('required-entry');
293
+ }*/
294
+
295
+ return VarienForm.prototype.submit.bind(coShippingMethodForm)();
296
+ }
297
+ //]]>
298
+ </script>
299
+ </div>
300
+ </div>
301
+ <style type="text/css">
302
+ .shipping_product {border: 1px solid #D0CBC1; margin: 0 0 18px; padding: 10px;}
303
+ .shipping-form,.form-list .input-box, .form-list select {width:100%;}
304
+ .form-list input.input-text{width:97%;}
305
+ </style>
306
+
307
+ <?php } ?>
app/design/frontend/default/default/template/ship/shipping.phtml ADDED
@@ -0,0 +1,354 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php /** @var $this Mage_Checkout_Block_Cart_Shipping */
28
+
29
+ ?>
30
+
31
+ <?php if(Mage::getStoreConfig('transdirect_section/enabletab/enable')){ ?>
32
+
33
+ <!--<link href="<?php echo $this->getSkinUrl();?>ship/js/jquery.autoSuggest.css" rel="stylesheet" />
34
+ <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
35
+ <script type="text/javascript" src="https://www.transdirect.com.au/api/locations/script"></script>
36
+ <script src="<?php echo $this->getSkinUrl();?>ship/js/location_script.js"></script>
37
+ <script src="<?php echo $this->getSkinUrl();?>ship/js/jquery.autoSuggest.js"></script>-->
38
+
39
+ <script type="text/javascript">
40
+ jQuery(document).ready(function(e) {
41
+ var result;
42
+ var data = {items: []};
43
+ jQuery.each( TDLocationsList, function( i, item ) {
44
+ data.items.push({ value: TDLocationsList[i].postcode +' '+ TDLocationsList[i].locality , name: TDLocationsList[i].postcode +' '+ TDLocationsList[i].locality});
45
+ });
46
+ jQuery("#autosuggest").autoSuggest(data.items,
47
+ {
48
+ selectedItemProp: "name",
49
+ searchObjProps: "name",
50
+ selectionLimit: 1,
51
+ minChars: 3,
52
+ selectionAdded: function(elem)
53
+ {
54
+ result = elem.text();
55
+ getresultval(result);
56
+ }
57
+ }
58
+ );
59
+ function getresultval(res){
60
+ var postcode = res.substr(1,4);
61
+ var locality = res.substr(6);
62
+ jQuery('#suburb').attr("value", locality);
63
+ jQuery('#postcode').attr("value", postcode);
64
+
65
+ document.cookie="cart_postocde="+postcode;
66
+ document.cookie="cart_locality="+locality;
67
+ }
68
+ if(jQuery( ".as-results .as-message:contains('No Results Found')" )){
69
+ jQuery(".postcode_suburb .as-results").css("display","none");
70
+ }
71
+ });
72
+
73
+ </script>
74
+
75
+ <?php
76
+ $tmp_cart_postcode_val = $_COOKIE['cart_postocde'];
77
+ $tmp_cart_locality_val = $_COOKIE['cart_locality'];
78
+ ?>
79
+
80
+ <?php Mage::getSingleton('core/session')->unsCartpostcodeVal();
81
+ Mage::getSingleton('core/session')->unsCartlocalityVal();
82
+
83
+ // $cart_postcode_val = Mage::getSingleton('core/session')->setCartpostcodeVal($tmp_cart_postcode_val);
84
+ // $cart_locality_val = Mage::getSingleton('core/session')->setCartlocalityVal($tmp_cart_locality_val);
85
+
86
+ ?>
87
+
88
+ <?php $transit_val = Mage::getSingleton('core/session')->getTransitVal(); //die('tra');
89
+ $quotes_val1 = Mage::getSingleton('core/session')->getSomeSessionVar1();
90
+ //echo '<pre>'; print_r($quotes_val1); die;
91
+
92
+ //$quote_form_postcode_val = Mage::getSingleton('core/session')->setPostcodeVal($postcode); // In the Controller
93
+
94
+ ?>
95
+ <div class="shipping">
96
+ <h2><?php echo $this->__('Get A Shipping Quote') ?></h2>
97
+ <?php echo $this->getChildHtml('global_messages') ?>
98
+ <div class="shipping-form">
99
+ <form action="<?php echo $this->getUrl('checkout/cart/estimatePost') ?>" method="post" id="shipping-zip-form">
100
+ <p><?php echo $this->__('Enter your destination to get a shipping estimate.') ?></p>
101
+ <ul class="form-list">
102
+ <li>
103
+ <label for="country" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
104
+ <div class="input-box">
105
+ <select name="country_id" id="country" class="validate-select" title="Country" >
106
+ <option value="AU" selected="selected" >Australia</option>
107
+ </select>
108
+ </div>
109
+ <?php /*?><div class="input-box">
110
+ <?php echo Mage::getBlockSingleton('directory/data')->getCountryHtmlSelect($this->getEstimateCountryId()) ?>
111
+ </div><?php */?>
112
+ </li>
113
+ <?php //if($this->getStateActive()): ?>
114
+ <?php /*?>
115
+ <li>
116
+ <label for="region_id"<?php if ($this->isStateProvinceRequired()) echo ' class="required"' ?>>
117
+ <?php if ($this->isStateProvinceRequired()) echo '<em>*</em>' ?>
118
+ <?php echo $this->__('Suburb') ?></label>
119
+ <div class="input-box">
120
+ <select id="region_id" name="region_id" title="<?php echo $this->__('Suburb') ?>" style="display:none;"<?php echo ($this->isStateProvinceRequired() ? ' class="validate-select"' : '') ?>>
121
+ <option value=""><?php echo $this->__('Please select region, state or province') ?></option>
122
+ </select>
123
+ <script type="text/javascript">
124
+ //<![CDATA[
125
+ $('region_id').setAttribute('defaultValue', "<?php echo $this->getEstimateRegionId() ?>");
126
+ //]]>
127
+ </script>
128
+ <input type="text" id="region" name="region" value="<?php echo $this->escapeHtml($this->getEstimateRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text required-entry" />
129
+ </div>
130
+ </li><?php */?>
131
+ <?php //endif; ?>
132
+ <?php if($this->getCityActive()): ?>
133
+ <li>
134
+ <label for="city"<?php if ($this->isCityRequired()) echo ' class="required"' ?>>
135
+ <?php if ($this->isCityRequired()) echo '<em>*</em>' ?>
136
+ <?php echo $this->__('City') ?></label>
137
+ <div class="input-box">
138
+ <input class="input-text<?php if ($this->isCityRequired()):?> required-entry<?php endif;?>" id="city" type="text" name="estimate_city" value="<?php echo $this->escapeHtml($this->getEstimateCity()) ?>" />
139
+ </div>
140
+ </li>
141
+ <?php endif; ?>
142
+ <li>
143
+ <label for="postcode"<?php if ($this->isZipCodeRequired()) echo ' class="required"' ?>>
144
+ <?php if ($this->isZipCodeRequired()) echo '<em>*</em>' ?>
145
+ <?php echo $this->__('Suburb / Postal Code') ?></label>
146
+ <div class="input-box postcode_suburb">
147
+ <?php /*?><input class="input-text validate-number validate-postcode<?php if ($this->isZipCodeRequired()):?> required-entry<?php endif;?>" type="text" id="postcode" name="estimate_postcode" value="<?php echo $this->escapeHtml($this->getEstimatePostcode()) ?>" maxlength="4"/><?php */?>
148
+
149
+ <input id="autosuggest" type="text" />
150
+ <input type="hidden" name="suburb" id="suburb" value="" />
151
+ <input type="hidden" name="postcode" id="postcode" value="" />
152
+
153
+ <?php
154
+ //echo $tmp_cart_postcode_val; die('val');
155
+ if(!$tmp_cart_postcode_val=='' || !$tmp_cart_locality_val==''){ ?>
156
+ <script type="text/javascript">
157
+ var prev_suggest_value = '<div class="previous-selection"><span class="text"><?php echo 'Your Last Selection:'.'&nbsp;&nbsp;&nbsp;'?></span><span class="post"><?php echo 'Postcode:'.'&nbsp;&nbsp;&nbsp;'.$tmp_cart_postcode_val.'&nbsp;&nbsp;'; ?></span><span class="locality"><?php echo 'Suburb:'.'&nbsp;&nbsp;&nbsp;'.$tmp_cart_locality_val?></span></div>';
158
+
159
+ jQuery(document).ready(function(e) {
160
+ if(jQuery(".as-selections").find(".as-selection-item").html()){
161
+ jQuery(".previous-selection").css('display','none');
162
+ } else {
163
+ jQuery("#shipping-zip-form .postcode_suburb").after(prev_suggest_value);
164
+ }
165
+ });
166
+ </script>
167
+ <?php } ?>
168
+
169
+ </div>
170
+ </li>
171
+ </ul>
172
+ <div class="buttons-set">
173
+ <button type="button" title="<?php echo $this->__('Get a Quote') ?>" onclick="coShippingMethodForm.submit()" class="button"><span><span><?php echo $this->__('Get a Quote') ?></span></span></button>
174
+ </div>
175
+ </form>
176
+ <script type="text/javascript">
177
+ //<![CDATA[
178
+ new RegionUpdater('country', 'region', 'region_id', <?php echo $this->helper('directory')->getRegionJson() ?>);
179
+ //]]>
180
+ </script>
181
+ <?php if (($_shippingRateGroups = $this->getEstimateRates())): ?>
182
+ <form id="co-shipping-method-form" action="<?php echo $this->getUrl('checkout/cart/estimateUpdatePost') ?>">
183
+ <dl class="sp-methods">
184
+ <dt><?php echo $this->__("Carrier"); ?></dt>
185
+ <?php
186
+ /*function cmp($a, $b) {
187
+ $display_quote = Mage::getStoreConfig('transdirect_section/displayoptions/quotedisplay');
188
+
189
+ if($display_quote == 'display_cheapest'){ return strcmp($a['price'], $b['price']); } else { return strcmp($a['method_title'], $b['method_title']); }
190
+ } */
191
+ function cmp($key) {
192
+ return function ($a, $b) use ($key) {
193
+ return strnatcmp($a[$key], $b[$key]);
194
+ };
195
+ }
196
+
197
+ $display_quote = Mage::getStoreConfig('transdirect_section/displayoptions/quotedisplay');
198
+
199
+ /* function build_sorter($key) {
200
+ return function ($a, $b) use ($key) {
201
+ return strnatcmp($a[$key], $b[$key]);
202
+ };
203
+ }*/
204
+
205
+ // get data
206
+ foreach ($_shippingRateGroups as $code => $_rates):
207
+
208
+ //echo '<pre>'; print_r($_shippingRateGroups); die;
209
+ ?>
210
+ <?php /*?> <dt><?php echo $this->escapeHtml($this->getCarrierName($code)) ?></dt><?php */?>
211
+ <dd>
212
+ <ul>
213
+ <?php
214
+
215
+
216
+ //usort($_rates, 'cmp');
217
+
218
+ foreach ($_rates as $ratekey => $_rate):
219
+
220
+ $xyz[$ratekey] = $_rates[$ratekey]->getData();
221
+
222
+ foreach ($quotes_val1 as $key => $val):
223
+
224
+ //echo $key .' = '. $xyz[$ratekey]['method'].'<br>';
225
+ //echo $quotes_val1[$key]['transit_time'];
226
+ if($key == $xyz[$ratekey]['method']) {
227
+ $xyz[$ratekey]['transit_time'] = $quotes_val1[$key]['transit_time'];
228
+ break;
229
+ }
230
+ endforeach;
231
+ //die;
232
+
233
+ //$xyz[] = $transit_val;
234
+
235
+ //echo '<pre>'; print_r($_rate->getData());
236
+
237
+ endforeach;
238
+
239
+ endforeach;
240
+
241
+ //echo '<pre>'; print_r($xyz); die;
242
+
243
+ // sorting
244
+
245
+ if($display_quote == 'display_cheapest'){ usort($xyz, cmp('price')); }
246
+ if($display_quote == 'display_all_quotes'){ usort($xyz, cmp('method_title')); }
247
+ if($display_quote == 'display_cheapest_fastest'){ usort($xyz, cmp('transit_time')); }
248
+ //usort($xyz, cmp('price'));
249
+
250
+ /*
251
+ $display_quote = Mage::getStoreConfig('transdirect_section/displayoptions/quotedisplay');
252
+
253
+ if($display_quote == 'display_cheapest'){ usort($xyz, build_sorter('price')); }
254
+ if($display_quote == 'display_all_quotes'){ usort($xyz, build_sorter('price')); }
255
+ if($display_quote == 'display_cheapest_fastest'){ usort($xyz, build_sorter('price')); }
256
+ */
257
+
258
+ //echo '<pre>'; print_r($xyz);
259
+
260
+ // display
261
+ foreach($xyz as $key => $abc):
262
+ //echo '<pre>'; print_r($abc); die('ship');
263
+ //endforeach;
264
+ //echo $abc['code'];die;
265
+
266
+
267
+ if($abc['method_title']){
268
+ ?>
269
+ <li<?php if ($_rate->getErrorMessage()) echo ' class="error-msg"';?>>
270
+ <?php if ($_rate->getErrorMessage()): ?>
271
+ <?php echo $this->escapeHtml($_rate->getErrorMessage()) ?>
272
+ <?php else: ?>
273
+ <input name="estimate_method" type="radio" value="<?php echo $abc['code']; //$this->escapeHtml($_rate->getCode()) ?>" id="s_method_<?php echo $abc['code'] ?>"<?php if($abc['code']===$this->getAddressShippingMethod()) echo ' checked="checked"' ?> class="radio" />
274
+ <label for="s_method_<?php echo $abc['code']; ?>">
275
+ <?php
276
+ $display_showcouriername = Mage::getStoreConfig('transdirect_section/displayoptions/showcouriernames');
277
+ if($display_showcouriername == '1'){
278
+ echo $abc['method_title'];
279
+ /*
280
+ if($abc['method_title']=='fastway'){echo $this->__("Fastway"); }
281
+ if($abc['method_title']=='toll_priority_overnight'){echo $this->__("Toll Priority Overnight"); }
282
+ if($abc['method_title']=='couriers_please'){echo $this->__("Couriers Please"); }
283
+ if($abc['method_title']=='allied'){echo $this->__("Allied Express"); }
284
+ if($abc['method_title']=='toll'){echo $this->__("Toll"); }
285
+ if($abc['method_title']=='mainfreight'){echo $this->__("Mainfreight"); }
286
+ if($abc['method_title']=='northline'){echo $this->__("Northline"); }
287
+ */
288
+
289
+ //$this->escapeHtml($_rate->getMethodTitle());
290
+ }
291
+ ?>
292
+ <?php $_excl = $this->getShippingPrice($abc['price'], $this->helper('tax')->displayShippingPriceIncludingTax()); ?>
293
+ <?php $_incl = $this->getShippingPrice($abc['price'], true); ?>
294
+ <?php echo $_excl; ?>
295
+ <?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
296
+ (<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
297
+ <?php endif; ?>
298
+ <?php if($abc['method_title'] != 'Fixed Price' && $abc['transit_time'] != '') {?>
299
+ <span> <?php echo '&nbsp;&nbsp;(Shipping Time - '. $abc['transit_time'].')'; ?> </span>
300
+ <?php } ?>
301
+ </label>
302
+ <?php endif ?>
303
+ </li>
304
+ <?php }
305
+ endforeach;
306
+ // die('rate'); ?>
307
+ <?php /*?> <li>
308
+ <input name="estimate_method" type="radio" value="<?php echo $this->escapeHtml($_rate->getCode()) ?>" id="s_method_<?php echo $_rate->getCode() ?>"<?php if($_rate->getCode()===$this->getAddressShippingMethod()) echo ' checked="checked"' ?> class="radio" />
309
+ <label for="s_method_<?php echo $_rate->getCode() ?>"><?php echo $this->escapeHtml($_rate->getMethodTitleOne()) ?>
310
+ <?php $_incl = $this->getShippingPrice($_rate->getPriceOne(), true); ?>
311
+ </li><?php */?>
312
+ </ul>
313
+ </dd>
314
+ <?php //endforeach; ?>
315
+ </dl>
316
+ <div class="buttons-set">
317
+ <button type="submit" title="<?php echo $this->__('Update Total') ?>" class="button" name="do" value="<?php echo $this->__('Update Total') ?>"><span><span><?php echo $this->__('Update Total') ?></span></span></button>
318
+ </div>
319
+ </form>
320
+ <?php endif; ?>
321
+ <script type="text/javascript">
322
+ //<![CDATA[
323
+ var coShippingMethodForm = new VarienForm('shipping-zip-form');
324
+ var countriesWithOptionalZip = <?php echo $this->helper('directory')->getCountriesWithOptionalZip(true) ?>;
325
+ coShippingMethodForm.submit = function () {
326
+ var country = $F('country');
327
+ var optionalZip = false;
328
+ var optionregion = false;
329
+ for (i=0; i < countriesWithOptionalZip.length; i++) {
330
+ if (countriesWithOptionalZip[i] == country) {
331
+ optionalZip = true;
332
+ }
333
+ }
334
+ if (optionalZip) {
335
+ $('postcode').removeClassName('required-entry');
336
+ }
337
+ else {
338
+ $('postcode').addClassName('required-entry');
339
+ }
340
+ /* if (optionregion) {
341
+ $('region').removeClassName('required-entry');
342
+ }
343
+ else {
344
+ $('region').addClassName('required-entry');
345
+ }
346
+ */
347
+ return VarienForm.prototype.submit.bind(coShippingMethodForm)();
348
+ }
349
+ //]]>
350
+ </script>
351
+ </div>
352
+ </div>
353
+
354
+ <?php } ?>
package.xml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <package>
3
+ <name>Transdirect_Shipping</name>
4
+ <version>1.0.0</version>
5
+ <stability>stable</stability>
6
+ <license>Open Software License (OSL)</license>
7
+ <channel>community</channel>
8
+ <extends/>
9
+ <summary>This Extension provides delivery quotes from Australia's largest Carriers in a Seamless checkout process.</summary>
10
+ <description>The Transdirect Shipping Extension give you access to Australia's Largest Courier and Freight&#xD;
11
+ &#xD;
12
+ Companies, and allows your clients a seamless checkout process.&#xD;
13
+ &#xD;
14
+ The Main Features of this Extension are:&#xD;
15
+ &#xD;
16
+ - Free to use.&#xD;
17
+ &#xD;
18
+ - Simple Configuration.&#xD;
19
+ &#xD;
20
+ - Great Shipping Rates from Toll Ipec, Fastway, Couriers Please, Toll Priority, Northline, Mainfreight &#xD;
21
+ &#xD;
22
+ and more.&#xD;
23
+ &#xD;
24
+ - Seamless Checkout Process for your clients.&#xD;
25
+ &#xD;
26
+ - Multiple Quote Options.&#xD;
27
+ &#xD;
28
+ - Insurance Options available.&#xD;
29
+ &#xD;
30
+ To find out more about Transdirect's service, please contact sales@transdirect.com.au.&#xD;
31
+ &#xD;
32
+ Transdirect - Delivering Solutions.</description>
33
+ <notes>First version of Magento Module</notes>
34
+ <authors><author><name>Joshua Oliver</name><user>transdirect</user><email>josh+transdirect@bywave.com.au</email></author></authors>
35
+ <date>2014-08-31</date>
36
+ <time>23:08:29</time>
37
+ <contents><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="ship"><dir name="css"><file name="bkp_4-7-2014----jquery.autoSuggest.css" hash="8c6c14cc2da45fcd253604d7f75d09d4"/><file name="jquery.autoSuggest.css" hash="3c4accec3e181b557eefb86323f4f857"/></dir><dir name="js"><file name="bkp_4-7-2014---jquery.autoSuggest.js" hash="71d6c104b20fe51af0999846714ed3f3"/><file name="jquery-1.11.0.js" hash="3b80424646a7ecdb19273d86800c1ac0"/><file name="jquery.autoSuggest.js" hash="2737d8e2ddcaa3b0e399f8f2fd3fd62d"/><file name="location_script.js" hash="9238343017e0cb8552bc7b02c6ad2c04"/></dir></dir></dir></dir></dir></target><target name="magelocal"><dir name="Transdirect"><dir><dir name="Ship"><dir name="Block"><file name="Quotes.php" hash="b0c361689dfe4b717a7fb5da0fd7791b"/><file name="Ship.php" hash="a5f51609d984777741720bf6e37f32bb"/></dir><dir name="Helper"><file name="Data.php" hash="6d320e97bdaca96d9e56414475d12f76"/></dir><dir name="Model"><dir name="Carrier"><file name="Transdirect.php" hash="42ca7855bbb6a8f98bb22ebc177477e0"/><file name="Transdirect_new_28-5-2014.php" hash="4584dfabc240496eb783a7c41c4e06ac"/><file name="bkp_26-5-2014-morning----Excellence.php" hash="8344e4ee91a526d9c57d22c34f1d7947"/><file name="bkp_28-5-2014-evening-----Transdirect.php" hash="30c8d0699a0ae44bfe0a73b8aea0f5e1"/><file name="bkp_30-5-2014---Transdirect.php" hash="b60f6d452c479d4475081c8591b66f43"/></dir><dir name="Source"><file name="AddressType.php" hash="503ce2451e315a59ff4c9a047699c5a0"/><file name="Couriers.php" hash="558e058b371287319dc1293ded6e1c77"/><file name="Quotes.php" hash="d2dac88da54640a7e49b770368ca7297"/></dir></dir><dir name="controllers"><file name="IndexController.php" hash="aed3817bd5ba51588962293b2474eef8"/><file name="bkp_29-5-2014---IndexController.php" hash="9527f179d5ba3ab8edb2a985d18974cf"/><file name="bkp_30-5-2014----IndexController.php" hash="818a062ef783df5dc998c03939271053"/></dir><dir name="etc"><file name="adminhtml.xml" hash="29d649800f1cabfa2ad3e96bf06cff22"/><file name="bkp_30-5-2014---config.xml" hash="d2d455d310db7cd7ff075f945e84c4e6"/><file name="bkp_30-5-2014---system.xml" hash="730cc695f5cdebdbfeb5e1db97878e35"/><file name="config.xml" hash="29332e55c017c8fb95904a1cd30fbeb5"/><file name="system.xml" hash="604f3a4354842736041e7707ca899ea3"/></dir><dir name="sql"><dir name="ship_setup"><file name="mysql4-install-0.1.0.php" hash="aed964c7ba72cd866e9c3982bad77027"/></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><file name="layout" hash="d41d8cd98f00b204e9800998ecf8427e"/><dir name="template"><dir name="ship"><file name="bkp_29-5-2014--working----product_shipping.phtml" hash="a60d44bf1302c801824a20eb8f05ad20"/><file name="bkp_29-5-2014--working----shipping.phtml" hash="2412c53fe7bcf5861a6e6fcd6d5244ae"/><file name="bkp_30-5-2014---product_shipping.phtml" hash="62f02055aa131337fb3facbabe1d85a7"/><file name="bkp_30-5-2014---shipping.phtml" hash="0203cb036dc9ad38d075e7a31c9c88a8"/><dir name="checkout"><dir name="cart"><file name="totals.phtml" hash="5b69442fec9380e0e6d2afc6f95fd04a"/></dir></dir><dir name="footer"><file name="js.phtml" hash="9bf30816c1685347a44d106de14ea2f9"/></dir><file name="product_shipping.phtml" hash="83fef427e326b8a8041249220330d0bb"/><file name="shipping.phtml" hash="24647ca7529d6bc60076114893c9e561"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="."><file name="modules" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></target></contents>
38
+ <compatible/>
39
+ <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
40
+ </package>
skin/frontend/default/default/ship/css/bkp_4-7-2014----jquery.autoSuggest.css ADDED
@@ -0,0 +1,253 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* AutoSuggest CSS - Version 1.2 */
2
+
3
+ ul.as-selections {
4
+ list-style-type: none;
5
+ border-top: 1px solid #888;
6
+ border-bottom: 1px solid #b6b6b6;
7
+ border-left: 1px solid #aaa;
8
+ border-right: 1px solid #aaa;
9
+ padding: 4px 0 4px 4px;
10
+ margin: 0;
11
+ overflow: auto;
12
+ background-color: #fff;
13
+ box-shadow:inset 0 1px 2px #888;
14
+ -webkit-box-shadow:inset 0 1px 2px #888;
15
+ -moz-box-shadow:inset 0 1px 2px #888;
16
+ }
17
+
18
+ ul.as-selections.loading {
19
+ background-color: #eee;
20
+ }
21
+
22
+ ul.as-selections li {
23
+ float: left;
24
+ margin: 1px 4px 1px 0;
25
+ width:90%;
26
+ }
27
+
28
+ ul.as-selections li.as-selection-item {
29
+ color: #2b3840;
30
+ font-size: 13px;
31
+ font-family: "Lucida Grande", arial, sans-serif;
32
+ text-shadow: 0 1px 1px #fff;
33
+ background-color: #ddeefe;
34
+ background-image: -moz-linear-gradient(top, #ddeefe, #bfe0f1);
35
+ background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ddeefe), to(#bfe0f1));
36
+ border: 1px solid #acc3ec;
37
+ border-top-color: #c0d9e9;
38
+ padding: 2px 7px 2px 10px;
39
+ border-radius: 12px;
40
+ -webkit-border-radius: 12px;
41
+ -moz-border-radius: 12px;
42
+ box-shadow: 0 1px 1px #e4edf2;
43
+ -webkit-box-shadow: 0 1px 1px #e4edf2;
44
+ -moz-box-shadow: 0 1px 1px #e4edf2;
45
+ }
46
+
47
+ ul.as-selections li.as-selection-item:last-child {
48
+ margin-left: 30px;
49
+ }
50
+
51
+ ul.as-selections li.as-selection-item a.as-close {
52
+ float: right;
53
+ margin: 1px 0 0 7px;
54
+ padding: 0 2px;
55
+ cursor: pointer;
56
+ color: #5491be;
57
+ font-family: "Helvetica", helvetica, arial, sans-serif;
58
+ font-size: 14px;
59
+ font-weight: bold;
60
+ text-shadow: 0 1px 1px #fff;
61
+ -webkit-transition: color .1s ease-in;
62
+ }
63
+
64
+ ul.as-selections li.as-selection-item.blur {
65
+ color: #666666;
66
+ background-color: #f4f4f4;
67
+ background-image: -moz-linear-gradient(top, #f4f4f4, #d5d5d5);
68
+ background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f4f4f4), to(#d5d5d5));
69
+ border-color: #bbb;
70
+ border-top-color: #ccc;
71
+ box-shadow: 0 1px 1px #e9e9e9;
72
+ -webkit-box-shadow: 0 1px 1px #e9e9e9;
73
+ -moz-box-shadow: 0 1px 1px #e9e9e9;
74
+ }
75
+
76
+ ul.as-selections li.as-selection-item.blur a.as-close {
77
+ color: #999;
78
+ }
79
+
80
+ ul.as-selections li:hover.as-selection-item {
81
+ color: #2b3840;
82
+ background-color: #bbd4f1;
83
+ background-image: -moz-linear-gradient(top, #bbd4f1, #a3c2e5);
84
+ background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#bbd4f1), to(#a3c2e5));
85
+ border-color: #6da0e0;
86
+ border-top-color: #8bb7ed;
87
+ }
88
+
89
+ ul.as-selections li:hover.as-selection-item a.as-close {
90
+ color: #4d70b0;
91
+ }
92
+
93
+ ul.as-selections li.as-selection-item.selected {
94
+ border-color: #1f30e4;
95
+ }
96
+
97
+ ul.as-selections li.as-selection-item a:hover.as-close {
98
+ color: #1b3c65;
99
+ }
100
+
101
+ ul.as-selections li.as-selection-item a:active.as-close {
102
+ color: #4d70b0;
103
+ }
104
+
105
+ ul.as-selections li.as-original {
106
+ margin-left: 0;
107
+ }
108
+
109
+ ul.as-selections li.as-original input {
110
+ border: none;
111
+ outline: none;
112
+ font-size: 13px;
113
+ width: 120px;
114
+ height: 18px;
115
+ padding-top: 3px;
116
+ width:100%;
117
+ }
118
+ .catalog-product-view ul.as-selections li.as-original input {font-size:11px;}
119
+ ul.as-selections li.as-original input[type=text]:disabled { background: none; }
120
+
121
+ ul.as-list {
122
+ position: absolute;
123
+ list-style-type: none;
124
+ margin: 2px 0 0 0;
125
+ padding: 0;
126
+ font-size: 14px;
127
+ color: #000;
128
+ font-family: "Lucida Grande", arial, sans-serif;
129
+ background-color: #fff;
130
+ background-color: rgba(255,255,255,0.95);
131
+ z-index: 2;
132
+ box-shadow: 0 2px 12px #222;
133
+ -webkit-box-shadow: 0 2px 12px #222;
134
+ -moz-box-shadow: 0 2px 12px #222;
135
+ border-radius: 5px;
136
+ -webkit-border-radius: 5px;
137
+ -moz-border-radius: 5px;
138
+ max-height:290px;
139
+ min-height:33px;
140
+ overflow-y: auto;
141
+ }
142
+
143
+ li.as-result-item, li.as-message {
144
+ margin: 0 0 0 0;
145
+ padding: 5px 12px;
146
+ background-color: transparent;
147
+ border: 1px solid #fff;
148
+ border-bottom: 1px solid #ddd;
149
+ cursor: pointer;
150
+ border-radius: 5px;
151
+ -webkit-border-radius: 5px;
152
+ -moz-border-radius: 5px;
153
+ }
154
+
155
+ li:first-child.as-result-item {
156
+ margin: 0;
157
+ }
158
+
159
+ li.as-message {
160
+ margin: 0;
161
+ cursor: default;
162
+ }
163
+
164
+ li.as-result-item.active {
165
+ background-color: #ddeefe;
166
+ background-image: -moz-linear-gradient(top, #ddeefe, #ddeefe);
167
+ background-image: -webkit-gradient(linear, 0% 0%, 0% 64%, from(rgb(110, 129, 245)), to(rgb(62, 82, 242)));
168
+ border-color: #ddeefe;
169
+ color: #000;
170
+ text-shadow:none;
171
+ }
172
+
173
+ li.as-result-item em {
174
+ font-style: normal;
175
+ /*background: #444;
176
+ color: #fff;*/
177
+ background: none;
178
+ color: #000;
179
+ padding: 0px;
180
+ }
181
+
182
+ li.as-result-item.active em {
183
+ /*background: #253f7a;
184
+ color: #fff;*/
185
+ background: none;
186
+ color: #000;
187
+ }
188
+
189
+ /* Webkit Hacks */
190
+ @media screen and (-webkit-min-device-pixel-ratio:0) {
191
+ ul.as-selections {
192
+ border-top-width: 2px;
193
+ }
194
+ ul.as-selections li.as-selection-item {
195
+ padding-top: 3px;
196
+ padding-bottom: 3px;
197
+ }
198
+ ul.as-selections li.as-selection-item a.as-close {
199
+ margin-top: -1px;
200
+ }
201
+ ul.as-selections li.as-original input {
202
+ height: 19px;
203
+ }
204
+ }
205
+
206
+ /* Opera Hacks */
207
+ @media all and (-webkit-min-device-pixel-ratio:10000), not all and (-webkit-min-device-pixel-ratio:0) {
208
+ ul.as-list {
209
+ border: 1px solid #888;
210
+ }
211
+ ul.as-selections li.as-selection-item a.as-close {
212
+ margin-left: 4px;
213
+ margin-top: 0;
214
+ }
215
+ }
216
+
217
+ /* IE Hacks */
218
+ ul.as-list {
219
+ border: 1px solid #888\9;
220
+ }
221
+ ul.as-selections li.as-selection-item a.as-close {
222
+ margin-left: 4px\9;
223
+ margin-top: 0\9;
224
+ }
225
+
226
+ /* Firefox 3.0 Hacks */
227
+ ul.as-list, x:-moz-any-link, x:default {
228
+ border: 1px solid #888;
229
+ }
230
+ BODY:first-of-type ul.as-list, x:-moz-any-link, x:default { /* Target FF 3.5+ */
231
+ border: none;
232
+ }
233
+
234
+ .previous-selection {
235
+ float: left;
236
+ margin-top: 10px;
237
+ width: 100%;
238
+ }
239
+ .previous-selection .text {
240
+ float: left;
241
+ font-size: 13px;
242
+ font-weight: bold;
243
+ }
244
+ .previous-selection .post {
245
+ float: left;
246
+ width: 100%;
247
+ font-weight: bold;
248
+ }
249
+ .previous-selection .locality {
250
+ float: left;
251
+ width: 100%;
252
+ font-weight: bold;
253
+ }
skin/frontend/default/default/ship/css/jquery.autoSuggest.css ADDED
@@ -0,0 +1,257 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* AutoSuggest CSS - Version 1.2 */
2
+
3
+ ul.as-selections {
4
+ list-style-type: none;
5
+ border-top: 1px solid #888;
6
+ border-bottom: 1px solid #b6b6b6;
7
+ border-left: 1px solid #aaa;
8
+ border-right: 1px solid #aaa;
9
+ padding: 0 0 0 4px;
10
+ margin: 0;
11
+ overflow: auto;
12
+ background-color: #fff;
13
+ /*box-shadow:inset 0 1px 2px #888;
14
+ -webkit-box-shadow:inset 0 1px 2px #888;
15
+ -moz-box-shadow:inset 0 1px 2px #888;*/
16
+ }
17
+
18
+ ul.as-selections.loading {
19
+ background-color: #eee;
20
+ }
21
+
22
+ ul.as-selections li {
23
+ float: left;
24
+ margin: 0px 4px 0px 0;
25
+ /*width:90%;*/
26
+ width:91%;
27
+ }
28
+
29
+ ul.as-selections li.as-selection-item {
30
+ color: #2b3840;
31
+ font-size: 12px;
32
+ font-family: "Lucida Grande", arial, sans-serif;
33
+ text-shadow: 0 1px 1px #fff;
34
+ padding: 2px 5px 0;
35
+ /*border: 1px solid #747474;
36
+ border-top-color: #747474;
37
+ background-color: #ddeefe;
38
+ background-image: -moz-linear-gradient(top, #ddeefe, #bfe0f1);
39
+ background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ddeefe), to(#bfe0f1));
40
+ border-radius: 12px;
41
+ -webkit-border-radius: 12px;
42
+ -moz-border-radius: 12px;
43
+ box-shadow: 0 1px 1px #e4edf2;
44
+ -webkit-box-shadow: 0 1px 1px #e4edf2;
45
+ -moz-box-shadow: 0 1px 1px #e4edf2;*/
46
+ }
47
+
48
+ ul.as-selections li.as-selection-item:last-child {
49
+ margin-left: 30px;
50
+ }
51
+
52
+ ul.as-selections li.as-selection-item a.as-close {
53
+ float: right;
54
+ margin: -4px 0 -2px 7px;
55
+ padding: 0 2px;
56
+ cursor: pointer;
57
+ color: #747474;
58
+ font-family: "Helvetica", helvetica, arial, sans-serif;
59
+ font-size: 17px;
60
+ text-decoration:none;
61
+ font-weight: bold;
62
+ text-shadow: 0 1px 1px #fff;
63
+ -webkit-transition: color .1s ease-in;
64
+ }
65
+
66
+ ul.as-selections li.as-selection-item.blur {
67
+ color: #666666;
68
+ background-color: #f4f4f4;
69
+ background-image: -moz-linear-gradient(top, #f4f4f4, #d5d5d5);
70
+ background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f4f4f4), to(#d5d5d5));
71
+ border-color: #bbb;
72
+ border-top-color: #ccc;
73
+ box-shadow: 0 1px 1px #e9e9e9;
74
+ -webkit-box-shadow: 0 1px 1px #e9e9e9;
75
+ -moz-box-shadow: 0 1px 1px #e9e9e9;
76
+ }
77
+
78
+ ul.as-selections li.as-selection-item.blur a.as-close {
79
+ color: #999;
80
+ }
81
+
82
+ ul.as-selections li:hover.as-selection-item {
83
+ /*color: #2b3840;
84
+ background-color: #bbd4f1;
85
+ background-image: -moz-linear-gradient(top, #bbd4f1, #a3c2e5);
86
+ background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#bbd4f1), to(#a3c2e5));
87
+ border-color: #6da0e0;
88
+ border-top-color: #8bb7ed;*/
89
+ }
90
+
91
+ ul.as-selections li:hover.as-selection-item a.as-close {
92
+ color: #4d70b0;
93
+ }
94
+
95
+ ul.as-selections li.as-selection-item.selected {
96
+ /*border-color: #1f30e4;*/
97
+ }
98
+
99
+ ul.as-selections li.as-selection-item a:hover.as-close {
100
+ color: #1b3c65;
101
+ }
102
+
103
+ ul.as-selections li.as-selection-item a:active.as-close {
104
+ color: #4d70b0;
105
+ }
106
+
107
+ ul.as-selections li.as-original {
108
+ margin-left: 0;
109
+ }
110
+
111
+ ul.as-selections li.as-original input {
112
+ border: none;
113
+ outline: none;
114
+ font-size: 12px;
115
+ width: 120px;
116
+ height: 18px;
117
+ /*padding-top: 3px;*/
118
+ width:100%;
119
+ }
120
+ .catalog-product-view ul.as-selections li.as-original input {font-size:11px;}
121
+ ul.as-selections li.as-original input[type=text]:disabled { background: none; }
122
+
123
+ ul.as-list {
124
+ position: absolute;
125
+ list-style-type: none;
126
+ margin: 2px 0 0 0;
127
+ padding: 0;
128
+ font-size: 12px;
129
+ color: #000;
130
+ font-family: "Lucida Grande", arial, sans-serif;
131
+ background-color: #fff;
132
+ background-color: rgba(255,255,255,0.95);
133
+ z-index: 2;
134
+ box-shadow: 0 2px 12px #222;
135
+ -webkit-box-shadow: 0 2px 12px #222;
136
+ -moz-box-shadow: 0 2px 12px #222;
137
+ border-radius: 5px;
138
+ -webkit-border-radius: 5px;
139
+ -moz-border-radius: 5px;
140
+ max-height:290px;
141
+ min-height:33px;
142
+ overflow-y: auto;
143
+ }
144
+
145
+ li.as-result-item, li.as-message {
146
+ margin: 0 0 0 0;
147
+ padding: 5px 12px;
148
+ background-color: transparent;
149
+ border: 1px solid #fff;
150
+ border-bottom: 1px solid #ddd;
151
+ cursor: pointer;
152
+ border-radius: 5px;
153
+ -webkit-border-radius: 5px;
154
+ -moz-border-radius: 5px;
155
+ }
156
+
157
+ li:first-child.as-result-item {
158
+ margin: 0;
159
+ }
160
+
161
+ li.as-message {
162
+ margin: 0;
163
+ cursor: default;
164
+ }
165
+
166
+ li.as-result-item.active {
167
+ background-color: #ddeefe;
168
+ background-image: -moz-linear-gradient(top, #ddeefe, #ddeefe);
169
+ background-image: -webkit-gradient(linear, 0% 0%, 0% 64%, from(rgb(110, 129, 245)), to(rgb(62, 82, 242)));
170
+ border-color: #ddeefe;
171
+ color: #000;
172
+ text-shadow:none;
173
+ }
174
+
175
+ li.as-result-item em {
176
+ font-style: normal;
177
+ /*background: #444;
178
+ color: #fff;*/
179
+ background: none;
180
+ color: #000;
181
+ padding: 0px;
182
+ }
183
+
184
+ li.as-result-item.active em {
185
+ /*background: #253f7a;
186
+ color: #fff;*/
187
+ background: none;
188
+ color: #000;
189
+ }
190
+
191
+ /* Webkit Hacks */
192
+ @media screen and (-webkit-min-device-pixel-ratio:0) {
193
+ ul.as-selections {
194
+ border-top-width: 2px;
195
+ }
196
+ ul.as-selections li.as-selection-item {
197
+ padding-top: 3px;
198
+ padding-bottom: 3px;
199
+ }
200
+ ul.as-selections li.as-selection-item a.as-close {
201
+ margin-top: -1px;
202
+ }
203
+ ul.as-selections li.as-original input {
204
+ height: 19px;
205
+ }
206
+ }
207
+
208
+ /* Opera Hacks */
209
+ @media all and (-webkit-min-device-pixel-ratio:10000), not all and (-webkit-min-device-pixel-ratio:0) {
210
+ ul.as-list {
211
+ border: 1px solid #888;
212
+ }
213
+ ul.as-selections li.as-selection-item a.as-close {
214
+ margin-left: 4px;
215
+ margin-top: 0;
216
+ }
217
+ }
218
+
219
+ /* IE Hacks */
220
+ ul.as-list {
221
+ border: 1px solid #888\9;
222
+ }
223
+ ul.as-selections li.as-selection-item a.as-close {
224
+ margin-left: 4px\9;
225
+ margin-top: 0\9;
226
+ }
227
+
228
+ /* Firefox 3.0 Hacks */
229
+ ul.as-list, x:-moz-any-link, x:default {
230
+ border: 1px solid #888;
231
+ }
232
+ BODY:first-of-type ul.as-list, x:-moz-any-link, x:default { /* Target FF 3.5+ */
233
+ border: none;
234
+ }
235
+
236
+ .as-results .as-message {/* display:none;*/}
237
+
238
+ .previous-selection {
239
+ float: left;
240
+ margin-top: 10px;
241
+ width: 100%;
242
+ }
243
+ .previous-selection .text {
244
+ float: left;
245
+ font-size: 13px;
246
+ font-weight: bold;
247
+ }
248
+ .previous-selection .post {
249
+ float: left;
250
+ width: 100%;
251
+ font-weight: bold;
252
+ }
253
+ .previous-selection .locality {
254
+ float: left;
255
+ width: 100%;
256
+ font-weight: bold;
257
+ }
skin/frontend/default/default/ship/js/bkp_4-7-2014---jquery.autoSuggest.js ADDED
@@ -0,0 +1,437 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * AutoSuggest
3
+ * Copyright 2009-2010 Drew Wilson
4
+ * www.drewwilson.com
5
+ * code.drewwilson.com/entry/autosuggest-jquery-plugin
6
+ *
7
+ * Forked by Wu Yuntao
8
+ * github.com/wuyuntao/jquery-autosuggest
9
+ *
10
+ * Version 1.6.2
11
+ *
12
+ * This Plug-In will auto-complete or auto-suggest completed search queries
13
+ * for you as you type. You can add multiple selections and remove them on
14
+ * the fly. It supports keybord navigation (UP + DOWN + RETURN), as well
15
+ * as multiple AutoSuggest fields on the same page.
16
+ *
17
+ * Inspired by the Autocomplete plugin by: Joern Zaefferer
18
+ * and the Facelist plugin by: Ian Tearle (iantearle.com)
19
+ *
20
+ * This AutoSuggest jQuery plug-in is dual licensed under the MIT and GPL licenses:
21
+ * http://www.opensource.org/licenses/mit-license.php
22
+ * http://www.gnu.org/licenses/gpl.html
23
+ */
24
+
25
+ (function($){
26
+ $.fn.autoSuggest = function(data, options) {
27
+ var defaults = {
28
+ asHtmlID: false,
29
+ startText: "Enter Suburb / Postcode Here",
30
+ usePlaceholder: false,
31
+ emptyText: "No Results Found",
32
+ preFill: {},
33
+ limitText: "No More Selections Are Allowed",
34
+ selectedItemProp: "value", //name of object property
35
+ selectedValuesProp: "value", //name of object property
36
+ searchObjProps: "value", //comma separated list of object property names
37
+ queryParam: "q",
38
+ retrieveLimit: false, //number for 'limit' param on ajax request
39
+ extraParams: "",
40
+ matchCase: false,
41
+ minChars: 1,
42
+ keyDelay: 400,
43
+ resultsHighlight: true,
44
+ neverSubmit: false,
45
+ selectionLimit: false,
46
+ showResultList: true,
47
+ showResultListWhenNoMatch: false,
48
+ canGenerateNewSelections: true,
49
+ start: function(){},
50
+ selectionClick: function(elem){},
51
+ selectionAdded: function(elem){},
52
+ selectionRemoved: function(elem){ elem.remove(); },
53
+ formatList: false, //callback function
54
+ beforeRetrieve: function(string){ return string; },
55
+ retrieveComplete: function(data){ return data; },
56
+ resultClick: function(data){},
57
+ resultsComplete: function(){}
58
+ };
59
+ var opts = $.extend(defaults, options);
60
+
61
+ function countValidItems(data) { var n = 0; for (k in data) if (data.hasOwnProperty(k)) n++; return n; }
62
+
63
+ function getExtraParams() {
64
+ var params = opts.extraParams;
65
+ if($.isFunction(params)) {
66
+ return params();
67
+ }
68
+ return params;
69
+ }
70
+
71
+ var d_fetcher;
72
+ var request = null;
73
+ if(typeof data == "function") {
74
+ d_fetcher = data;
75
+ } else if(typeof data == "string") {
76
+ d_fetcher = function(query, next) {
77
+ var limit = "";
78
+ if(opts.retrieveLimit){
79
+ limit = "&limit="+encodeURIComponent(opts.retrieveLimit);
80
+ }
81
+ request = $.getJSON(data+"?"+opts.queryParam+"="+encodeURIComponent(query)+limit+getExtraParams(), function(data){
82
+ var new_data = opts.retrieveComplete.call(this, data);
83
+ next(new_data, query);
84
+ });
85
+ };
86
+ } else if(typeof data == "object" && countValidItems(data) > 0) {
87
+ d_fetcher = function(query, next) { next(data, query); };
88
+ }
89
+
90
+ if(d_fetcher) {
91
+ return this.each(function(x){
92
+ if(!opts.asHtmlID){
93
+ x = x+""+Math.floor(Math.random()*100); //this ensures there will be unique IDs on the page if autoSuggest() is called multiple times
94
+ var x_id = "as-input-"+x;
95
+ } else {
96
+ x = opts.asHtmlID;
97
+ var x_id = x;
98
+ }
99
+ opts.start.call(this, {
100
+ add: function(data) {
101
+ add_selected_item(data, 'u' + $('li', selections_holder).length).addClass('blur');
102
+ },
103
+ remove: function(value) {
104
+ values_input.val(values_input.val().replace(","+value+",",","));
105
+ selections_holder.find('li[data-value = "' + value + '"]').remove();
106
+ }
107
+ });
108
+ var input = $(this);
109
+ input.attr("autocomplete","off").addClass("as-input").attr("id",x_id);
110
+ if (opts.usePlaceholder) {
111
+ input.attr('placeholder', opts.startText);
112
+ } else {
113
+ input.val(opts.startText);
114
+ }
115
+ var input_focus = false;
116
+
117
+ // Setup basic elements and render them to the DOM
118
+ input.wrap('<ul class="as-selections" id="as-selections-'+x+'"></ul>').wrap('<li class="as-original" id="as-original-'+x+'"></li>');
119
+ var selections_holder = $("#as-selections-"+x);
120
+ var org_li = $("#as-original-"+x);
121
+ var results_holder = $('<div class="as-results" id="as-results-'+x+'"></div>').hide();
122
+ var results_ul = $('<ul class="as-list"></ul>');
123
+ var values_input = $('<input type="hidden" class="as-values" name="as_values_'+x+'" id="as-values-'+x+'" />');
124
+ var prefill_value = "";
125
+ if(typeof opts.preFill == "string"){
126
+ var vals = opts.preFill.split(",");
127
+ for(var i=0; i < vals.length; i++){
128
+ var v_data = {};
129
+ v_data[opts.selectedValuesProp] = vals[i];
130
+ if(vals[i] != ""){
131
+ add_selected_item(v_data, "000"+i);
132
+ }
133
+ }
134
+ prefill_value = opts.preFill;
135
+ } else {
136
+ prefill_value = "";
137
+ var prefill_count = 0;
138
+ for (k in opts.preFill) if (opts.preFill.hasOwnProperty(k)) prefill_count++;
139
+ if(prefill_count > 0){
140
+ for(var i=0; i < prefill_count; i++){
141
+ var new_v = opts.preFill[i][opts.selectedValuesProp];
142
+ if(new_v == undefined){ new_v = ""; }
143
+ prefill_value = prefill_value+new_v+",";
144
+ if(new_v != ""){
145
+ add_selected_item(opts.preFill[i], "000"+i);
146
+ }
147
+ }
148
+ }
149
+ }
150
+ if(prefill_value != ""){
151
+ input.val("");
152
+ var lastChar = prefill_value.substring(prefill_value.length-1);
153
+ if(lastChar != ","){ prefill_value = prefill_value+","; }
154
+ values_input.val(","+prefill_value);
155
+ $("li.as-selection-item", selections_holder).addClass("blur").removeClass("selected");
156
+ }
157
+ input.after(values_input);
158
+ selections_holder.click(function(){
159
+ input_focus = true;
160
+ input.focus();
161
+ }).mousedown(function(){ input_focus = false; }).after(results_holder);
162
+
163
+ var interval = null;
164
+ var timeout = null;
165
+ var prev = "";
166
+ var totalSelections = 0;
167
+ var tab_press = false;
168
+ var lastKeyPressCode = null;
169
+
170
+ // Handle input field events
171
+ input.focus(function(){
172
+ if(!opts.usePlaceholder && $(this).val() == opts.startText && values_input.val() == ""){
173
+ $(this).val("");
174
+ } else if(input_focus){
175
+ $("li.as-selection-item", selections_holder).removeClass("blur");
176
+ if($(this).val() != ""){
177
+ results_ul.css("width",selections_holder.outerWidth());
178
+ results_holder.show();
179
+ }
180
+ }
181
+ if (interval) clearInterval(interval);
182
+ interval = setInterval(function() {
183
+ if(opts.showResultList){
184
+ if(opts.selectionLimit && $("li.as-selection-item", selections_holder).length >= opts.selectionLimit){
185
+ results_ul.html('<li class="as-message">'+opts.limitText+'</li>');
186
+ //$("li.as-original input").attr("disabled");
187
+ results_holder.show();
188
+ } else {
189
+ keyChange();
190
+ }
191
+ }
192
+ }, opts.keyDelay);
193
+ input_focus = true;
194
+ if (opts.minChars == 0){
195
+ processRequest($(this).val());
196
+ }
197
+ return true;
198
+ }).blur(function(){
199
+ if (!opts.usePlaceholder && $(this).val() == "" && values_input.val() == "" && prefill_value == "" && opts.minChars > 0) {
200
+ $(this).val(opts.startText);
201
+ } else if(input_focus){
202
+ $("li.as-selection-item", selections_holder).addClass("blur").removeClass("selected");
203
+ results_holder.hide();
204
+ }
205
+ if (interval) clearInterval(interval);
206
+ }).keydown(function(e) {
207
+ // track last key pressed
208
+ lastKeyPressCode = e.keyCode;
209
+ first_focus = false;
210
+ switch(e.keyCode) {
211
+ case 38: // up
212
+ e.preventDefault();
213
+ moveSelection("up");
214
+ break;
215
+ case 40: // down
216
+ e.preventDefault();
217
+ moveSelection("down");
218
+ break;
219
+ case 8: // delete
220
+ if(input.val() == ""){
221
+ var last = values_input.val().split(",");
222
+ last = last[last.length - 2];
223
+ selections_holder.children().not(org_li.prev()).removeClass("selected");
224
+ if(org_li.prev().hasClass("selected")){
225
+ values_input.val(values_input.val().replace(","+last+",",","));
226
+ opts.selectionRemoved.call(this, org_li.prev());
227
+
228
+ $("li.as-original input").removeAttr("disabled"); //Nayan Code Added
229
+
230
+ } else {
231
+ opts.selectionClick.call(this, org_li.prev());
232
+ org_li.prev().addClass("selected");
233
+ }
234
+ }
235
+ if(input.val().length == 1){
236
+ results_holder.hide();
237
+ prev = "";
238
+ abortRequest();
239
+ }
240
+ if($(":visible",results_holder).length > 0){
241
+ if (timeout){ clearTimeout(timeout); }
242
+ timeout = setTimeout(function(){ keyChange(); }, opts.keyDelay);
243
+ }
244
+ break;
245
+ case 9: case 188: // tab or comm
246
+ if(opts.canGenerateNewSelections){
247
+ tab_press = true;
248
+ var i_input = input.val().replace(/(,)/g, "");
249
+ var active = $("li.active:first", results_holder);
250
+ // Generate a new bubble with text when no suggestion selected
251
+ if(i_input !== "" && values_input.val().search(","+i_input+",") < 0 && i_input.length >= opts.minChars && active.length === 0){
252
+ e.preventDefault();
253
+ var n_data = {};
254
+ n_data[opts.selectedItemProp] = i_input;
255
+ n_data[opts.selectedValuesProp] = i_input;
256
+ var lis = $("li", selections_holder).length;
257
+ add_selected_item(n_data, "00"+(lis+1));
258
+ input.val("");
259
+ // Cancel previous request when new tag is added
260
+ abortRequest();
261
+ break;
262
+ }
263
+ }
264
+ case 13: // return
265
+ tab_press = false;
266
+ var active = $("li.active:first", results_holder);
267
+ if(active.length > 0){
268
+ active.click();
269
+ results_holder.hide();
270
+ }
271
+ if(opts.neverSubmit || active.length > 0){
272
+ e.preventDefault();
273
+ }
274
+ break;
275
+ // ignore if the following keys are pressed: [escape] [shift] [capslock]
276
+ case 27: // escape
277
+ case 16: // shift
278
+ case 20: // capslock
279
+ abortRequest();
280
+ results_holder.hide();
281
+ break;
282
+ }
283
+ });
284
+
285
+ function keyChange() {
286
+ // Since most IME does not trigger any key events, if we press [del]
287
+ // and type some chinese character, `lastKeyPressCode` will still be [del].
288
+ // This might cause problem so we move the line to key events section;
289
+ // ignore if the following keys are pressed: [del] [shift] [capslock]
290
+ // if( lastKeyPressCode == 46 || (lastKeyPressCode > 8 && lastKeyPressCode < 32) ){ return results_holder.hide(); }
291
+ var string = input.val().replace(/[\\]+|[\/]+/g,"");
292
+ if (string == prev) return;
293
+ prev = string;
294
+ if (string.length >= opts.minChars) {
295
+ selections_holder.addClass("loading");
296
+ processRequest(string);
297
+ } else {
298
+ selections_holder.removeClass("loading");
299
+ results_holder.hide();
300
+ }
301
+ }
302
+ function processRequest(string){
303
+ if(opts.beforeRetrieve){
304
+ string = opts.beforeRetrieve.call(this, string);
305
+ }
306
+ abortRequest();
307
+ d_fetcher(string, processData);
308
+ }
309
+ var num_count = 0;
310
+ function processData(data, query){
311
+ if (!opts.matchCase){ query = query.toLowerCase(); }
312
+ query = query.replace("(", "\\(", "g").replace(")", "\\)", "g");
313
+ var matchCount = 0;
314
+ results_holder.html(results_ul.html("")).hide();
315
+ var d_count = countValidItems(data);
316
+ for(var i=0;i<d_count;i++){
317
+ var num = i;
318
+ num_count++;
319
+ var forward = false;
320
+ if(opts.searchObjProps == "value") {
321
+ var str = data[num].value;
322
+ } else {
323
+ var str = "";
324
+ var names = opts.searchObjProps.split(",");
325
+ for(var y=0;y<names.length;y++){
326
+ var name = $.trim(names[y]);
327
+ str = str+data[num][name]+" ";
328
+ }
329
+ }
330
+ if(str){
331
+ if (!opts.matchCase){ str = str.toLowerCase(); }
332
+ if(str.search(query) != -1 && values_input.val().search(","+data[num][opts.selectedValuesProp]+",") == -1){
333
+ forward = true;
334
+ }
335
+ }
336
+ if(forward){
337
+ var formatted = $('<li class="as-result-item" id="as-result-item-'+num+'"></li>').click(function(){
338
+ var raw_data = $(this).data("data");
339
+ var number = raw_data.num;
340
+ if($("#as-selection-"+number, selections_holder).length <= 0 && !tab_press){
341
+ var data = raw_data.attributes;
342
+ input.val("").focus();
343
+ prev = "";
344
+ add_selected_item(data, number);
345
+ opts.resultClick.call(this, raw_data);
346
+ results_holder.hide();
347
+ }
348
+ tab_press = false;
349
+ }).mousedown(function(){ input_focus = false; }).mouseover(function(){
350
+ $("li", results_ul).removeClass("active");
351
+ $(this).addClass("active");
352
+ }).data("data",{attributes: data[num], num: num_count});
353
+ var this_data = $.extend({},data[num]);
354
+ if (!opts.matchCase){
355
+ var regx = new RegExp("(?![^&;]+;)(?!<[^<>]*)(" + query + ")(?![^<>]*>)(?![^&;]+;)", "gi");
356
+ } else {
357
+ var regx = new RegExp("(?![^&;]+;)(?!<[^<>]*)(" + query + ")(?![^<>]*>)(?![^&;]+;)", "g");
358
+ }
359
+
360
+ if(opts.resultsHighlight && query.length > 0){
361
+ this_data[opts.selectedItemProp] = this_data[opts.selectedItemProp].replace(regx,"<em>$1</em>");
362
+ }
363
+ if(!opts.formatList){
364
+ formatted = formatted.html(this_data[opts.selectedItemProp]);
365
+ } else {
366
+ formatted = opts.formatList.call(this, this_data, formatted);
367
+ }
368
+ results_ul.append(formatted);
369
+ delete this_data;
370
+ matchCount++;
371
+ if(opts.retrieveLimit && opts.retrieveLimit == matchCount ){ break; }
372
+ }
373
+ }
374
+ selections_holder.removeClass("loading");
375
+ if(matchCount <= 0){
376
+ results_ul.html('<li class="as-message">'+opts.emptyText+'</li>');
377
+ }
378
+ results_ul.css("width", selections_holder.outerWidth());
379
+ if (matchCount > 0 || !opts.showResultListWhenNoMatch) {
380
+ results_holder.show();
381
+ }
382
+ opts.resultsComplete.call(this);
383
+ }
384
+
385
+ function add_selected_item(data, num){
386
+ values_input.val((values_input.val()||",")+data[opts.selectedValuesProp]+",");
387
+ var item = $('<li class="as-selection-item" id="as-selection-'+num+'" data-value="' + data[opts.selectedValuesProp] + '"></li>').click(function(){
388
+ opts.selectionClick.call(this, $(this));
389
+ selections_holder.children().removeClass("selected");
390
+ $(this).addClass("selected");
391
+ }).mousedown(function(){ input_focus = false; });
392
+ var close = $('<a class="as-close">&times;</a>').click(function(){
393
+ values_input.val(values_input.val().replace(","+data[opts.selectedValuesProp]+",",","));
394
+ opts.selectionRemoved.call(this, item);
395
+ $("li.as-original input").removeAttr("disabled"); //Nayan Code Added
396
+ input_focus = true;
397
+ input.focus();
398
+ return false;
399
+ });
400
+ org_li.before(item.html(data[opts.selectedItemProp]).prepend(close));
401
+ opts.selectionAdded.call(this, org_li.prev(), data[opts.selectedValuesProp]);
402
+ $("li.as-original input").attr("disabled",true); //Nayan Code Added
403
+ return org_li.prev();
404
+ }
405
+
406
+ function moveSelection(direction){
407
+ if($(":visible",results_holder).length > 0){
408
+ var lis = $("li", results_holder);
409
+ if(direction == "down"){
410
+ var start = lis.eq(0);
411
+ } else {
412
+ var start = lis.filter(":last");
413
+ }
414
+ var active = $("li.active:first", results_holder);
415
+ if(active.length > 0){
416
+ if(direction == "down"){
417
+ start = active.next();
418
+ } else {
419
+ start = active.prev();
420
+ }
421
+ }
422
+ lis.removeClass("active");
423
+ start.addClass("active");
424
+ }
425
+ }
426
+
427
+ function abortRequest() {
428
+ if (request) {
429
+ request.abort();
430
+ request = null;
431
+ }
432
+ }
433
+
434
+ });
435
+ }
436
+ };
437
+ })(jQuery);
skin/frontend/default/default/ship/js/jquery-1.11.0.js ADDED
@@ -0,0 +1,10337 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * jQuery JavaScript Library v1.11.0
3
+ * http://jquery.com/
4
+ *
5
+ * Includes Sizzle.js
6
+ * http://sizzlejs.com/
7
+ *
8
+ * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors
9
+ * Released under the MIT license
10
+ * http://jquery.org/license
11
+ *
12
+ * Date: 2014-01-23T21:02Z
13
+ */
14
+
15
+ (function( global, factory ) {
16
+
17
+ if ( typeof module === "object" && typeof module.exports === "object" ) {
18
+ // For CommonJS and CommonJS-like environments where a proper window is present,
19
+ // execute the factory and get jQuery
20
+ // For environments that do not inherently posses a window with a document
21
+ // (such as Node.js), expose a jQuery-making factory as module.exports
22
+ // This accentuates the need for the creation of a real window
23
+ // e.g. var jQuery = require("jquery")(window);
24
+ // See ticket #14549 for more info
25
+ module.exports = global.document ?
26
+ factory( global, true ) :
27
+ function( w ) {
28
+ if ( !w.document ) {
29
+ throw new Error( "jQuery requires a window with a document" );
30
+ }
31
+ return factory( w );
32
+ };
33
+ } else {
34
+ factory( global );
35
+ }
36
+
37
+ // Pass this if window is not defined yet
38
+ }(typeof window !== "undefined" ? window : this, function( window, noGlobal ) {
39
+
40
+ // Can't do this because several apps including ASP.NET trace
41
+ // the stack via arguments.caller.callee and Firefox dies if
42
+ // you try to trace through "use strict" call chains. (#13335)
43
+ // Support: Firefox 18+
44
+ //
45
+
46
+ var deletedIds = [];
47
+
48
+ var slice = deletedIds.slice;
49
+
50
+ var concat = deletedIds.concat;
51
+
52
+ var push = deletedIds.push;
53
+
54
+ var indexOf = deletedIds.indexOf;
55
+
56
+ var class2type = {};
57
+
58
+ var toString = class2type.toString;
59
+
60
+ var hasOwn = class2type.hasOwnProperty;
61
+
62
+ var trim = "".trim;
63
+
64
+ var support = {};
65
+
66
+
67
+
68
+ var
69
+ version = "1.11.0",
70
+
71
+ // Define a local copy of jQuery
72
+ jQuery = function( selector, context ) {
73
+ // The jQuery object is actually just the init constructor 'enhanced'
74
+ // Need init if jQuery is called (just allow error to be thrown if not included)
75
+ return new jQuery.fn.init( selector, context );
76
+ },
77
+
78
+ // Make sure we trim BOM and NBSP (here's looking at you, Safari 5.0 and IE)
79
+ rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
80
+
81
+ // Matches dashed string for camelizing
82
+ rmsPrefix = /^-ms-/,
83
+ rdashAlpha = /-([\da-z])/gi,
84
+
85
+ // Used by jQuery.camelCase as callback to replace()
86
+ fcamelCase = function( all, letter ) {
87
+ return letter.toUpperCase();
88
+ };
89
+
90
+ jQuery.fn = jQuery.prototype = {
91
+ // The current version of jQuery being used
92
+ jquery: version,
93
+
94
+ constructor: jQuery,
95
+
96
+ // Start with an empty selector
97
+ selector: "",
98
+
99
+ // The default length of a jQuery object is 0
100
+ length: 0,
101
+
102
+ toArray: function() {
103
+ return slice.call( this );
104
+ },
105
+
106
+ // Get the Nth element in the matched element set OR
107
+ // Get the whole matched element set as a clean array
108
+ get: function( num ) {
109
+ return num != null ?
110
+
111
+ // Return a 'clean' array
112
+ ( num < 0 ? this[ num + this.length ] : this[ num ] ) :
113
+
114
+ // Return just the object
115
+ slice.call( this );
116
+ },
117
+
118
+ // Take an array of elements and push it onto the stack
119
+ // (returning the new matched element set)
120
+ pushStack: function( elems ) {
121
+
122
+ // Build a new jQuery matched element set
123
+ var ret = jQuery.merge( this.constructor(), elems );
124
+
125
+ // Add the old object onto the stack (as a reference)
126
+ ret.prevObject = this;
127
+ ret.context = this.context;
128
+
129
+ // Return the newly-formed element set
130
+ return ret;
131
+ },
132
+
133
+ // Execute a callback for every element in the matched set.
134
+ // (You can seed the arguments with an array of args, but this is
135
+ // only used internally.)
136
+ each: function( callback, args ) {
137
+ return jQuery.each( this, callback, args );
138
+ },
139
+
140
+ map: function( callback ) {
141
+ return this.pushStack( jQuery.map(this, function( elem, i ) {
142
+ return callback.call( elem, i, elem );
143
+ }));
144
+ },
145
+
146
+ slice: function() {
147
+ return this.pushStack( slice.apply( this, arguments ) );
148
+ },
149
+
150
+ first: function() {
151
+ return this.eq( 0 );
152
+ },
153
+
154
+ last: function() {
155
+ return this.eq( -1 );
156
+ },
157
+
158
+ eq: function( i ) {
159
+ var len = this.length,
160
+ j = +i + ( i < 0 ? len : 0 );
161
+ return this.pushStack( j >= 0 && j < len ? [ this[j] ] : [] );
162
+ },
163
+
164
+ end: function() {
165
+ return this.prevObject || this.constructor(null);
166
+ },
167
+
168
+ // For internal use only.
169
+ // Behaves like an Array's method, not like a jQuery method.
170
+ push: push,
171
+ sort: deletedIds.sort,
172
+ splice: deletedIds.splice
173
+ };
174
+
175
+ jQuery.extend = jQuery.fn.extend = function() {
176
+ var src, copyIsArray, copy, name, options, clone,
177
+ target = arguments[0] || {},
178
+ i = 1,
179
+ length = arguments.length,
180
+ deep = false;
181
+
182
+ // Handle a deep copy situation
183
+ if ( typeof target === "boolean" ) {
184
+ deep = target;
185
+
186
+ // skip the boolean and the target
187
+ target = arguments[ i ] || {};
188
+ i++;
189
+ }
190
+
191
+ // Handle case when target is a string or something (possible in deep copy)
192
+ if ( typeof target !== "object" && !jQuery.isFunction(target) ) {
193
+ target = {};
194
+ }
195
+
196
+ // extend jQuery itself if only one argument is passed
197
+ if ( i === length ) {
198
+ target = this;
199
+ i--;
200
+ }
201
+
202
+ for ( ; i < length; i++ ) {
203
+ // Only deal with non-null/undefined values
204
+ if ( (options = arguments[ i ]) != null ) {
205
+ // Extend the base object
206
+ for ( name in options ) {
207
+ src = target[ name ];
208
+ copy = options[ name ];
209
+
210
+ // Prevent never-ending loop
211
+ if ( target === copy ) {
212
+ continue;
213
+ }
214
+
215
+ // Recurse if we're merging plain objects or arrays
216
+ if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) {
217
+ if ( copyIsArray ) {
218
+ copyIsArray = false;
219
+ clone = src && jQuery.isArray(src) ? src : [];
220
+
221
+ } else {
222
+ clone = src && jQuery.isPlainObject(src) ? src : {};
223
+ }
224
+
225
+ // Never move original objects, clone them
226
+ target[ name ] = jQuery.extend( deep, clone, copy );
227
+
228
+ // Don't bring in undefined values
229
+ } else if ( copy !== undefined ) {
230
+ target[ name ] = copy;
231
+ }
232
+ }
233
+ }
234
+ }
235
+
236
+ // Return the modified object
237
+ return target;
238
+ };
239
+
240
+ jQuery.extend({
241
+ // Unique for each copy of jQuery on the page
242
+ expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ),
243
+
244
+ // Assume jQuery is ready without the ready module
245
+ isReady: true,
246
+
247
+ error: function( msg ) {
248
+ throw new Error( msg );
249
+ },
250
+
251
+ noop: function() {},
252
+
253
+ // See test/unit/core.js for details concerning isFunction.
254
+ // Since version 1.3, DOM methods and functions like alert
255
+ // aren't supported. They return false on IE (#2968).
256
+ isFunction: function( obj ) {
257
+ return jQuery.type(obj) === "function";
258
+ },
259
+
260
+ isArray: Array.isArray || function( obj ) {
261
+ return jQuery.type(obj) === "array";
262
+ },
263
+
264
+ isWindow: function( obj ) {
265
+ /* jshint eqeqeq: false */
266
+ return obj != null && obj == obj.window;
267
+ },
268
+
269
+ isNumeric: function( obj ) {
270
+ // parseFloat NaNs numeric-cast false positives (null|true|false|"")
271
+ // ...but misinterprets leading-number strings, particularly hex literals ("0x...")
272
+ // subtraction forces infinities to NaN
273
+ return obj - parseFloat( obj ) >= 0;
274
+ },
275
+
276
+ isEmptyObject: function( obj ) {
277
+ var name;
278
+ for ( name in obj ) {
279
+ return false;
280
+ }
281
+ return true;
282
+ },
283
+
284
+ isPlainObject: function( obj ) {
285
+ var key;
286
+
287
+ // Must be an Object.
288
+ // Because of IE, we also have to check the presence of the constructor property.
289
+ // Make sure that DOM nodes and window objects don't pass through, as well
290
+ if ( !obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) {
291
+ return false;
292
+ }
293
+
294
+ try {
295
+ // Not own constructor property must be Object
296
+ if ( obj.constructor &&
297
+ !hasOwn.call(obj, "constructor") &&
298
+ !hasOwn.call(obj.constructor.prototype, "isPrototypeOf") ) {
299
+ return false;
300
+ }
301
+ } catch ( e ) {
302
+ // IE8,9 Will throw exceptions on certain host objects #9897
303
+ return false;
304
+ }
305
+
306
+ // Support: IE<9
307
+ // Handle iteration over inherited properties before own properties.
308
+ if ( support.ownLast ) {
309
+ for ( key in obj ) {
310
+ return hasOwn.call( obj, key );
311
+ }
312
+ }
313
+
314
+ // Own properties are enumerated firstly, so to speed up,
315
+ // if last one is own, then all properties are own.
316
+ for ( key in obj ) {}
317
+
318
+ return key === undefined || hasOwn.call( obj, key );
319
+ },
320
+
321
+ type: function( obj ) {
322
+ if ( obj == null ) {
323
+ return obj + "";
324
+ }
325
+ return typeof obj === "object" || typeof obj === "function" ?
326
+ class2type[ toString.call(obj) ] || "object" :
327
+ typeof obj;
328
+ },
329
+
330
+ // Evaluates a script in a global context
331
+ // Workarounds based on findings by Jim Driscoll
332
+ // http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context
333
+ globalEval: function( data ) {
334
+ if ( data && jQuery.trim( data ) ) {
335
+ // We use execScript on Internet Explorer
336
+ // We use an anonymous function so that context is window
337
+ // rather than jQuery in Firefox
338
+ ( window.execScript || function( data ) {
339
+ window[ "eval" ].call( window, data );
340
+ } )( data );
341
+ }
342
+ },
343
+
344
+ // Convert dashed to camelCase; used by the css and data modules
345
+ // Microsoft forgot to hump their vendor prefix (#9572)
346
+ camelCase: function( string ) {
347
+ return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase );
348
+ },
349
+
350
+ nodeName: function( elem, name ) {
351
+ return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();
352
+ },
353
+
354
+ // args is for internal usage only
355
+ each: function( obj, callback, args ) {
356
+ var value,
357
+ i = 0,
358
+ length = obj.length,
359
+ isArray = isArraylike( obj );
360
+
361
+ if ( args ) {
362
+ if ( isArray ) {
363
+ for ( ; i < length; i++ ) {
364
+ value = callback.apply( obj[ i ], args );
365
+
366
+ if ( value === false ) {
367
+ break;
368
+ }
369
+ }
370
+ } else {
371
+ for ( i in obj ) {
372
+ value = callback.apply( obj[ i ], args );
373
+
374
+ if ( value === false ) {
375
+ break;
376
+ }
377
+ }
378
+ }
379
+
380
+ // A special, fast, case for the most common use of each
381
+ } else {
382
+ if ( isArray ) {
383
+ for ( ; i < length; i++ ) {
384
+ value = callback.call( obj[ i ], i, obj[ i ] );
385
+
386
+ if ( value === false ) {
387
+ break;
388
+ }
389
+ }
390
+ } else {
391
+ for ( i in obj ) {
392
+ value = callback.call( obj[ i ], i, obj[ i ] );
393
+
394
+ if ( value === false ) {
395
+ break;
396
+ }
397
+ }
398
+ }
399
+ }
400
+
401
+ return obj;
402
+ },
403
+
404
+ // Use native String.trim function wherever possible
405
+ trim: trim && !trim.call("\uFEFF\xA0") ?
406
+ function( text ) {
407
+ return text == null ?
408
+ "" :
409
+ trim.call( text );
410
+ } :
411
+
412
+ // Otherwise use our own trimming functionality
413
+ function( text ) {
414
+ return text == null ?
415
+ "" :
416
+ ( text + "" ).replace( rtrim, "" );
417
+ },
418
+
419
+ // results is for internal usage only
420
+ makeArray: function( arr, results ) {
421
+ var ret = results || [];
422
+
423
+ if ( arr != null ) {
424
+ if ( isArraylike( Object(arr) ) ) {
425
+ jQuery.merge( ret,
426
+ typeof arr === "string" ?
427
+ [ arr ] : arr
428
+ );
429
+ } else {
430
+ push.call( ret, arr );
431
+ }
432
+ }
433
+
434
+ return ret;
435
+ },
436
+
437
+ inArray: function( elem, arr, i ) {
438
+ var len;
439
+
440
+ if ( arr ) {
441
+ if ( indexOf ) {
442
+ return indexOf.call( arr, elem, i );
443
+ }
444
+
445
+ len = arr.length;
446
+ i = i ? i < 0 ? Math.max( 0, len + i ) : i : 0;
447
+
448
+ for ( ; i < len; i++ ) {
449
+ // Skip accessing in sparse arrays
450
+ if ( i in arr && arr[ i ] === elem ) {
451
+ return i;
452
+ }
453
+ }
454
+ }
455
+
456
+ return -1;
457
+ },
458
+
459
+ merge: function( first, second ) {
460
+ var len = +second.length,
461
+ j = 0,
462
+ i = first.length;
463
+
464
+ while ( j < len ) {
465
+ first[ i++ ] = second[ j++ ];
466
+ }
467
+
468
+ // Support: IE<9
469
+ // Workaround casting of .length to NaN on otherwise arraylike objects (e.g., NodeLists)
470
+ if ( len !== len ) {
471
+ while ( second[j] !== undefined ) {
472
+ first[ i++ ] = second[ j++ ];
473
+ }
474
+ }
475
+
476
+ first.length = i;
477
+
478
+ return first;
479
+ },
480
+
481
+ grep: function( elems, callback, invert ) {
482
+ var callbackInverse,
483
+ matches = [],
484
+ i = 0,
485
+ length = elems.length,
486
+ callbackExpect = !invert;
487
+
488
+ // Go through the array, only saving the items
489
+ // that pass the validator function
490
+ for ( ; i < length; i++ ) {
491
+ callbackInverse = !callback( elems[ i ], i );
492
+ if ( callbackInverse !== callbackExpect ) {
493
+ matches.push( elems[ i ] );
494
+ }
495
+ }
496
+
497
+ return matches;
498
+ },
499
+
500
+ // arg is for internal usage only
501
+ map: function( elems, callback, arg ) {
502
+ var value,
503
+ i = 0,
504
+ length = elems.length,
505
+ isArray = isArraylike( elems ),
506
+ ret = [];
507
+
508
+ // Go through the array, translating each of the items to their new values
509
+ if ( isArray ) {
510
+ for ( ; i < length; i++ ) {
511
+ value = callback( elems[ i ], i, arg );
512
+
513
+ if ( value != null ) {
514
+ ret.push( value );
515
+ }
516
+ }
517
+
518
+ // Go through every key on the object,
519
+ } else {
520
+ for ( i in elems ) {
521
+ value = callback( elems[ i ], i, arg );
522
+
523
+ if ( value != null ) {
524
+ ret.push( value );
525
+ }
526
+ }
527
+ }
528
+
529
+ // Flatten any nested arrays
530
+ return concat.apply( [], ret );
531
+ },
532
+
533
+ // A global GUID counter for objects
534
+ guid: 1,
535
+
536
+ // Bind a function to a context, optionally partially applying any
537
+ // arguments.
538
+ proxy: function( fn, context ) {
539
+ var args, proxy, tmp;
540
+
541
+ if ( typeof context === "string" ) {
542
+ tmp = fn[ context ];
543
+ context = fn;
544
+ fn = tmp;
545
+ }
546
+
547
+ // Quick check to determine if target is callable, in the spec
548
+ // this throws a TypeError, but we will just return undefined.
549
+ if ( !jQuery.isFunction( fn ) ) {
550
+ return undefined;
551
+ }
552
+
553
+ // Simulated bind
554
+ args = slice.call( arguments, 2 );
555
+ proxy = function() {
556
+ return fn.apply( context || this, args.concat( slice.call( arguments ) ) );
557
+ };
558
+
559
+ // Set the guid of unique handler to the same of original handler, so it can be removed
560
+ proxy.guid = fn.guid = fn.guid || jQuery.guid++;
561
+
562
+ return proxy;
563
+ },
564
+
565
+ now: function() {
566
+ return +( new Date() );
567
+ },
568
+
569
+ // jQuery.support is not used in Core but other projects attach their
570
+ // properties to it so it needs to exist.
571
+ support: support
572
+ });
573
+
574
+ // Populate the class2type map
575
+ jQuery.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function(i, name) {
576
+ class2type[ "[object " + name + "]" ] = name.toLowerCase();
577
+ });
578
+
579
+ function isArraylike( obj ) {
580
+ var length = obj.length,
581
+ type = jQuery.type( obj );
582
+
583
+ if ( type === "function" || jQuery.isWindow( obj ) ) {
584
+ return false;
585
+ }
586
+
587
+ if ( obj.nodeType === 1 && length ) {
588
+ return true;
589
+ }
590
+
591
+ return type === "array" || length === 0 ||
592
+ typeof length === "number" && length > 0 && ( length - 1 ) in obj;
593
+ }
594
+ var Sizzle =
595
+ /*!
596
+ * Sizzle CSS Selector Engine v1.10.16
597
+ * http://sizzlejs.com/
598
+ *
599
+ * Copyright 2013 jQuery Foundation, Inc. and other contributors
600
+ * Released under the MIT license
601
+ * http://jquery.org/license
602
+ *
603
+ * Date: 2014-01-13
604
+ */
605
+ (function( window ) {
606
+
607
+ var i,
608
+ support,
609
+ Expr,
610
+ getText,
611
+ isXML,
612
+ compile,
613
+ outermostContext,
614
+ sortInput,
615
+ hasDuplicate,
616
+
617
+ // Local document vars
618
+ setDocument,
619
+ document,
620
+ docElem,
621
+ documentIsHTML,
622
+ rbuggyQSA,
623
+ rbuggyMatches,
624
+ matches,
625
+ contains,
626
+
627
+ // Instance-specific data
628
+ expando = "sizzle" + -(new Date()),
629
+ preferredDoc = window.document,
630
+ dirruns = 0,
631
+ done = 0,
632
+ classCache = createCache(),
633
+ tokenCache = createCache(),
634
+ compilerCache = createCache(),
635
+ sortOrder = function( a, b ) {
636
+ if ( a === b ) {
637
+ hasDuplicate = true;
638
+ }
639
+ return 0;
640
+ },
641
+
642
+ // General-purpose constants
643
+ strundefined = typeof undefined,
644
+ MAX_NEGATIVE = 1 << 31,
645
+
646
+ // Instance methods
647
+ hasOwn = ({}).hasOwnProperty,
648
+ arr = [],
649
+ pop = arr.pop,
650
+ push_native = arr.push,
651
+ push = arr.push,
652
+ slice = arr.slice,
653
+ // Use a stripped-down indexOf if we can't use a native one
654
+ indexOf = arr.indexOf || function( elem ) {
655
+ var i = 0,
656
+ len = this.length;
657
+ for ( ; i < len; i++ ) {
658
+ if ( this[i] === elem ) {
659
+ return i;
660
+ }
661
+ }
662
+ return -1;
663
+ },
664
+
665
+ booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",
666
+
667
+ // Regular expressions
668
+
669
+ // Whitespace characters http://www.w3.org/TR/css3-selectors/#whitespace
670
+ whitespace = "[\\x20\\t\\r\\n\\f]",
671
+ // http://www.w3.org/TR/css3-syntax/#characters
672
+ characterEncoding = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",
673
+
674
+ // Loosely modeled on CSS identifier characters
675
+ // An unquoted value should be a CSS identifier http://www.w3.org/TR/css3-selectors/#attribute-selectors
676
+ // Proper syntax: http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier
677
+ identifier = characterEncoding.replace( "w", "w#" ),
678
+
679
+ // Acceptable operators http://www.w3.org/TR/selectors/#attribute-selectors
680
+ attributes = "\\[" + whitespace + "*(" + characterEncoding + ")" + whitespace +
681
+ "*(?:([*^$|!~]?=)" + whitespace + "*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|(" + identifier + ")|)|)" + whitespace + "*\\]",
682
+
683
+ // Prefer arguments quoted,
684
+ // then not containing pseudos/brackets,
685
+ // then attribute selectors/non-parenthetical expressions,
686
+ // then anything else
687
+ // These preferences are here to reduce the number of selectors
688
+ // needing tokenize in the PSEUDO preFilter
689
+ pseudos = ":(" + characterEncoding + ")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|" + attributes.replace( 3, 8 ) + ")*)|.*)\\)|)",
690
+
691
+ // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter
692
+ rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ),
693
+
694
+ rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ),
695
+ rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*" ),
696
+
697
+ rattributeQuotes = new RegExp( "=" + whitespace + "*([^\\]'\"]*?)" + whitespace + "*\\]", "g" ),
698
+
699
+ rpseudo = new RegExp( pseudos ),
700
+ ridentifier = new RegExp( "^" + identifier + "$" ),
701
+
702
+ matchExpr = {
703
+ "ID": new RegExp( "^#(" + characterEncoding + ")" ),
704
+ "CLASS": new RegExp( "^\\.(" + characterEncoding + ")" ),
705
+ "TAG": new RegExp( "^(" + characterEncoding.replace( "w", "w*" ) + ")" ),
706
+ "ATTR": new RegExp( "^" + attributes ),
707
+ "PSEUDO": new RegExp( "^" + pseudos ),
708
+ "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace +
709
+ "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace +
710
+ "*(\\d+)|))" + whitespace + "*\\)|)", "i" ),
711
+ "bool": new RegExp( "^(?:" + booleans + ")$", "i" ),
712
+ // For use in libraries implementing .is()
713
+ // We use this for POS matching in `select`
714
+ "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" +
715
+ whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" )
716
+ },
717
+
718
+ rinputs = /^(?:input|select|textarea|button)$/i,
719
+ rheader = /^h\d$/i,
720
+
721
+ rnative = /^[^{]+\{\s*\[native \w/,
722
+
723
+ // Easily-parseable/retrievable ID or TAG or CLASS selectors
724
+ rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,
725
+
726
+ rsibling = /[+~]/,
727
+ rescape = /'|\\/g,
728
+
729
+ // CSS escapes http://www.w3.org/TR/CSS21/syndata.html#escaped-characters
730
+ runescape = new RegExp( "\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig" ),
731
+ funescape = function( _, escaped, escapedWhitespace ) {
732
+ var high = "0x" + escaped - 0x10000;
733
+ // NaN means non-codepoint
734
+ // Support: Firefox
735
+ // Workaround erroneous numeric interpretation of +"0x"
736
+ return high !== high || escapedWhitespace ?
737
+ escaped :
738
+ high < 0 ?
739
+ // BMP codepoint
740
+ String.fromCharCode( high + 0x10000 ) :
741
+ // Supplemental Plane codepoint (surrogate pair)
742
+ String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 );
743
+ };
744
+
745
+ // Optimize for push.apply( _, NodeList )
746
+ try {
747
+ push.apply(
748
+ (arr = slice.call( preferredDoc.childNodes )),
749
+ preferredDoc.childNodes
750
+ );
751
+ // Support: Android<4.0
752
+ // Detect silently failing push.apply
753
+ arr[ preferredDoc.childNodes.length ].nodeType;
754
+ } catch ( e ) {
755
+ push = { apply: arr.length ?
756
+
757
+ // Leverage slice if possible
758
+ function( target, els ) {
759
+ push_native.apply( target, slice.call(els) );
760
+ } :
761
+
762
+ // Support: IE<9
763
+ // Otherwise append directly
764
+ function( target, els ) {
765
+ var j = target.length,
766
+ i = 0;
767
+ // Can't trust NodeList.length
768
+ while ( (target[j++] = els[i++]) ) {}
769
+ target.length = j - 1;
770
+ }
771
+ };
772
+ }
773
+
774
+ function Sizzle( selector, context, results, seed ) {
775
+ var match, elem, m, nodeType,
776
+ // QSA vars
777
+ i, groups, old, nid, newContext, newSelector;
778
+
779
+ if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) {
780
+ setDocument( context );
781
+ }
782
+
783
+ context = context || document;
784
+ results = results || [];
785
+
786
+ if ( !selector || typeof selector !== "string" ) {
787
+ return results;
788
+ }
789
+
790
+ if ( (nodeType = context.nodeType) !== 1 && nodeType !== 9 ) {
791
+ return [];
792
+ }
793
+
794
+ if ( documentIsHTML && !seed ) {
795
+
796
+ // Shortcuts
797
+ if ( (match = rquickExpr.exec( selector )) ) {
798
+ // Speed-up: Sizzle("#ID")
799
+ if ( (m = match[1]) ) {
800
+ if ( nodeType === 9 ) {
801
+ elem = context.getElementById( m );
802
+ // Check parentNode to catch when Blackberry 4.6 returns
803
+ // nodes that are no longer in the document (jQuery #6963)
804
+ if ( elem && elem.parentNode ) {
805
+ // Handle the case where IE, Opera, and Webkit return items
806
+ // by name instead of ID
807
+ if ( elem.id === m ) {
808
+ results.push( elem );
809
+ return results;
810
+ }
811
+ } else {
812
+ return results;
813
+ }
814
+ } else {
815
+ // Context is not a document
816
+ if ( context.ownerDocument && (elem = context.ownerDocument.getElementById( m )) &&
817
+ contains( context, elem ) && elem.id === m ) {
818
+ results.push( elem );
819
+ return results;
820
+ }
821
+ }
822
+
823
+ // Speed-up: Sizzle("TAG")
824
+ } else if ( match[2] ) {
825
+ push.apply( results, context.getElementsByTagName( selector ) );
826
+ return results;
827
+
828
+ // Speed-up: Sizzle(".CLASS")
829
+ } else if ( (m = match[3]) && support.getElementsByClassName && context.getElementsByClassName ) {
830
+ push.apply( results, context.getElementsByClassName( m ) );
831
+ return results;
832
+ }
833
+ }
834
+
835
+ // QSA path
836
+ if ( support.qsa && (!rbuggyQSA || !rbuggyQSA.test( selector )) ) {
837
+ nid = old = expando;
838
+ newContext = context;
839
+ newSelector = nodeType === 9 && selector;
840
+
841
+ // qSA works strangely on Element-rooted queries
842
+ // We can work around this by specifying an extra ID on the root
843
+ // and working up from there (Thanks to Andrew Dupont for the technique)
844
+ // IE 8 doesn't work on object elements
845
+ if ( nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) {
846
+ groups = tokenize( selector );
847
+
848
+ if ( (old = context.getAttribute("id")) ) {
849
+ nid = old.replace( rescape, "\\$&" );
850
+ } else {
851
+ context.setAttribute( "id", nid );
852
+ }
853
+ nid = "[id='" + nid + "'] ";
854
+
855
+ i = groups.length;
856
+ while ( i-- ) {
857
+ groups[i] = nid + toSelector( groups[i] );
858
+ }
859
+ newContext = rsibling.test( selector ) && testContext( context.parentNode ) || context;
860
+ newSelector = groups.join(",");
861
+ }
862
+
863
+ if ( newSelector ) {
864
+ try {
865
+ push.apply( results,
866
+ newContext.querySelectorAll( newSelector )
867
+ );
868
+ return results;
869
+ } catch(qsaError) {
870
+ } finally {
871
+ if ( !old ) {
872
+ context.removeAttribute("id");
873
+ }
874
+ }
875
+ }
876
+ }
877
+ }
878
+
879
+ // All others
880
+ return select( selector.replace( rtrim, "$1" ), context, results, seed );
881
+ }
882
+
883
+ /**
884
+ * Create key-value caches of limited size
885
+ * @returns {Function(string, Object)} Returns the Object data after storing it on itself with
886
+ * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength)
887
+ * deleting the oldest entry
888
+ */
889
+ function createCache() {
890
+ var keys = [];
891
+
892
+ function cache( key, value ) {
893
+ // Use (key + " ") to avoid collision with native prototype properties (see Issue #157)
894
+ if ( keys.push( key + " " ) > Expr.cacheLength ) {
895
+ // Only keep the most recent entries
896
+ delete cache[ keys.shift() ];
897
+ }
898
+ return (cache[ key + " " ] = value);
899
+ }
900
+ return cache;
901
+ }
902
+
903
+ /**
904
+ * Mark a function for special use by Sizzle
905
+ * @param {Function} fn The function to mark
906
+ */
907
+ function markFunction( fn ) {
908
+ fn[ expando ] = true;
909
+ return fn;
910
+ }
911
+
912
+ /**
913
+ * Support testing using an element
914
+ * @param {Function} fn Passed the created div and expects a boolean result
915
+ */
916
+ function assert( fn ) {
917
+ var div = document.createElement("div");
918
+
919
+ try {
920
+ return !!fn( div );
921
+ } catch (e) {
922
+ return false;
923
+ } finally {
924
+ // Remove from its parent by default
925
+ if ( div.parentNode ) {
926
+ div.parentNode.removeChild( div );
927
+ }
928
+ // release memory in IE
929
+ div = null;
930
+ }
931
+ }
932
+
933
+ /**
934
+ * Adds the same handler for all of the specified attrs
935
+ * @param {String} attrs Pipe-separated list of attributes
936
+ * @param {Function} handler The method that will be applied
937
+ */
938
+ function addHandle( attrs, handler ) {
939
+ var arr = attrs.split("|"),
940
+ i = attrs.length;
941
+
942
+ while ( i-- ) {
943
+ Expr.attrHandle[ arr[i] ] = handler;
944
+ }
945
+ }
946
+
947
+ /**
948
+ * Checks document order of two siblings
949
+ * @param {Element} a
950
+ * @param {Element} b
951
+ * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b
952
+ */
953
+ function siblingCheck( a, b ) {
954
+ var cur = b && a,
955
+ diff = cur && a.nodeType === 1 && b.nodeType === 1 &&
956
+ ( ~b.sourceIndex || MAX_NEGATIVE ) -
957
+ ( ~a.sourceIndex || MAX_NEGATIVE );
958
+
959
+ // Use IE sourceIndex if available on both nodes
960
+ if ( diff ) {
961
+ return diff;
962
+ }
963
+
964
+ // Check if b follows a
965
+ if ( cur ) {
966
+ while ( (cur = cur.nextSibling) ) {
967
+ if ( cur === b ) {
968
+ return -1;
969
+ }
970
+ }
971
+ }
972
+
973
+ return a ? 1 : -1;
974
+ }
975
+
976
+ /**
977
+ * Returns a function to use in pseudos for input types
978
+ * @param {String} type
979
+ */
980
+ function createInputPseudo( type ) {
981
+ return function( elem ) {
982
+ var name = elem.nodeName.toLowerCase();
983
+ return name === "input" && elem.type === type;
984
+ };
985
+ }
986
+
987
+ /**
988
+ * Returns a function to use in pseudos for buttons
989
+ * @param {String} type
990
+ */
991
+ function createButtonPseudo( type ) {
992
+ return function( elem ) {
993
+ var name = elem.nodeName.toLowerCase();
994
+ return (name === "input" || name === "button") && elem.type === type;
995
+ };
996
+ }
997
+
998
+ /**
999
+ * Returns a function to use in pseudos for positionals
1000
+ * @param {Function} fn
1001
+ */
1002
+ function createPositionalPseudo( fn ) {
1003
+ return markFunction(function( argument ) {
1004
+ argument = +argument;
1005
+ return markFunction(function( seed, matches ) {
1006
+ var j,
1007
+ matchIndexes = fn( [], seed.length, argument ),
1008
+ i = matchIndexes.length;
1009
+
1010
+ // Match elements found at the specified indexes
1011
+ while ( i-- ) {
1012
+ if ( seed[ (j = matchIndexes[i]) ] ) {
1013
+ seed[j] = !(matches[j] = seed[j]);
1014
+ }
1015
+ }
1016
+ });
1017
+ });
1018
+ }
1019
+
1020
+ /**
1021
+ * Checks a node for validity as a Sizzle context
1022
+ * @param {Element|Object=} context
1023
+ * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value
1024
+ */
1025
+ function testContext( context ) {
1026
+ return context && typeof context.getElementsByTagName !== strundefined && context;
1027
+ }
1028
+
1029
+ // Expose support vars for convenience
1030
+ support = Sizzle.support = {};
1031
+
1032
+ /**
1033
+ * Detects XML nodes
1034
+ * @param {Element|Object} elem An element or a document
1035
+ * @returns {Boolean} True iff elem is a non-HTML XML node
1036
+ */
1037
+ isXML = Sizzle.isXML = function( elem ) {
1038
+ // documentElement is verified for cases where it doesn't yet exist
1039
+ // (such as loading iframes in IE - #4833)
1040
+ var documentElement = elem && (elem.ownerDocument || elem).documentElement;
1041
+ return documentElement ? documentElement.nodeName !== "HTML" : false;
1042
+ };
1043
+
1044
+ /**
1045
+ * Sets document-related variables once based on the current document
1046
+ * @param {Element|Object} [doc] An element or document object to use to set the document
1047
+ * @returns {Object} Returns the current document
1048
+ */
1049
+ setDocument = Sizzle.setDocument = function( node ) {
1050
+ var hasCompare,
1051
+ doc = node ? node.ownerDocument || node : preferredDoc,
1052
+ parent = doc.defaultView;
1053
+
1054
+ // If no document and documentElement is available, return
1055
+ if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) {
1056
+ return document;
1057
+ }
1058
+
1059
+ // Set our document
1060
+ document = doc;
1061
+ docElem = doc.documentElement;
1062
+
1063
+ // Support tests
1064
+ documentIsHTML = !isXML( doc );
1065
+
1066
+ // Support: IE>8
1067
+ // If iframe document is assigned to "document" variable and if iframe has been reloaded,
1068
+ // IE will throw "permission denied" error when accessing "document" variable, see jQuery #13936
1069
+ // IE6-8 do not support the defaultView property so parent will be undefined
1070
+ if ( parent && parent !== parent.top ) {
1071
+ // IE11 does not have attachEvent, so all must suffer
1072
+ if ( parent.addEventListener ) {
1073
+ parent.addEventListener( "unload", function() {
1074
+ setDocument();
1075
+ }, false );
1076
+ } else if ( parent.attachEvent ) {
1077
+ parent.attachEvent( "onunload", function() {
1078
+ setDocument();
1079
+ });
1080
+ }
1081
+ }
1082
+
1083
+ /* Attributes
1084
+ ---------------------------------------------------------------------- */
1085
+
1086
+ // Support: IE<8
1087
+ // Verify that getAttribute really returns attributes and not properties (excepting IE8 booleans)
1088
+ support.attributes = assert(function( div ) {
1089
+ div.className = "i";
1090
+ return !div.getAttribute("className");
1091
+ });
1092
+
1093
+ /* getElement(s)By*
1094
+ ---------------------------------------------------------------------- */
1095
+
1096
+ // Check if getElementsByTagName("*") returns only elements
1097
+ support.getElementsByTagName = assert(function( div ) {
1098
+ div.appendChild( doc.createComment("") );
1099
+ return !div.getElementsByTagName("*").length;
1100
+ });
1101
+
1102
+ // Check if getElementsByClassName can be trusted
1103
+ support.getElementsByClassName = rnative.test( doc.getElementsByClassName ) && assert(function( div ) {
1104
+ div.innerHTML = "<div class='a'></div><div class='a i'></div>";
1105
+
1106
+ // Support: Safari<4
1107
+ // Catch class over-caching
1108
+ div.firstChild.className = "i";
1109
+ // Support: Opera<10
1110
+ // Catch gEBCN failure to find non-leading classes
1111
+ return div.getElementsByClassName("i").length === 2;
1112
+ });
1113
+
1114
+ // Support: IE<10
1115
+ // Check if getElementById returns elements by name
1116
+ // The broken getElementById methods don't pick up programatically-set names,
1117
+ // so use a roundabout getElementsByName test
1118
+ support.getById = assert(function( div ) {
1119
+ docElem.appendChild( div ).id = expando;
1120
+ return !doc.getElementsByName || !doc.getElementsByName( expando ).length;
1121
+ });
1122
+
1123
+ // ID find and filter
1124
+ if ( support.getById ) {
1125
+ Expr.find["ID"] = function( id, context ) {
1126
+ if ( typeof context.getElementById !== strundefined && documentIsHTML ) {
1127
+ var m = context.getElementById( id );
1128
+ // Check parentNode to catch when Blackberry 4.6 returns
1129
+ // nodes that are no longer in the document #6963
1130
+ return m && m.parentNode ? [m] : [];
1131
+ }
1132
+ };
1133
+ Expr.filter["ID"] = function( id ) {
1134
+ var attrId = id.replace( runescape, funescape );
1135
+ return function( elem ) {
1136
+ return elem.getAttribute("id") === attrId;
1137
+ };
1138
+ };
1139
+ } else {
1140
+ // Support: IE6/7
1141
+ // getElementById is not reliable as a find shortcut
1142
+ delete Expr.find["ID"];
1143
+
1144
+ Expr.filter["ID"] = function( id ) {
1145
+ var attrId = id.replace( runescape, funescape );
1146
+ return function( elem ) {
1147
+ var node = typeof elem.getAttributeNode !== strundefined && elem.getAttributeNode("id");
1148
+ return node && node.value === attrId;
1149
+ };
1150
+ };
1151
+ }
1152
+
1153
+ // Tag
1154
+ Expr.find["TAG"] = support.getElementsByTagName ?
1155
+ function( tag, context ) {
1156
+ if ( typeof context.getElementsByTagName !== strundefined ) {
1157
+ return context.getElementsByTagName( tag );
1158
+ }
1159
+ } :
1160
+ function( tag, context ) {
1161
+ var elem,
1162
+ tmp = [],
1163
+ i = 0,
1164
+ results = context.getElementsByTagName( tag );
1165
+
1166
+ // Filter out possible comments
1167
+ if ( tag === "*" ) {
1168
+ while ( (elem = results[i++]) ) {
1169
+ if ( elem.nodeType === 1 ) {
1170
+ tmp.push( elem );
1171
+ }
1172
+ }
1173
+
1174
+ return tmp;
1175
+ }
1176
+ return results;
1177
+ };
1178
+
1179
+ // Class
1180
+ Expr.find["CLASS"] = support.getElementsByClassName && function( className, context ) {
1181
+ if ( typeof context.getElementsByClassName !== strundefined && documentIsHTML ) {
1182
+ return context.getElementsByClassName( className );
1183
+ }
1184
+ };
1185
+
1186
+ /* QSA/matchesSelector
1187
+ ---------------------------------------------------------------------- */
1188
+
1189
+ // QSA and matchesSelector support
1190
+
1191
+ // matchesSelector(:active) reports false when true (IE9/Opera 11.5)
1192
+ rbuggyMatches = [];
1193
+
1194
+ // qSa(:focus) reports false when true (Chrome 21)
1195
+ // We allow this because of a bug in IE8/9 that throws an error
1196
+ // whenever `document.activeElement` is accessed on an iframe
1197
+ // So, we allow :focus to pass through QSA all the time to avoid the IE error
1198
+ // See http://bugs.jquery.com/ticket/13378
1199
+ rbuggyQSA = [];
1200
+
1201
+ if ( (support.qsa = rnative.test( doc.querySelectorAll )) ) {
1202
+ // Build QSA regex
1203
+ // Regex strategy adopted from Diego Perini
1204
+ assert(function( div ) {
1205
+ // Select is set to empty string on purpose
1206
+ // This is to test IE's treatment of not explicitly
1207
+ // setting a boolean content attribute,
1208
+ // since its presence should be enough
1209
+ // http://bugs.jquery.com/ticket/12359
1210
+ div.innerHTML = "<select t=''><option selected=''></option></select>";
1211
+
1212
+ // Support: IE8, Opera 10-12
1213
+ // Nothing should be selected when empty strings follow ^= or $= or *=
1214
+ if ( div.querySelectorAll("[t^='']").length ) {
1215
+ rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" );
1216
+ }
1217
+
1218
+ // Support: IE8
1219
+ // Boolean attributes and "value" are not treated correctly
1220
+ if ( !div.querySelectorAll("[selected]").length ) {
1221
+ rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" );
1222
+ }
1223
+
1224
+ // Webkit/Opera - :checked should return selected option elements
1225
+ // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked
1226
+ // IE8 throws error here and will not see later tests
1227
+ if ( !div.querySelectorAll(":checked").length ) {
1228
+ rbuggyQSA.push(":checked");
1229
+ }
1230
+ });
1231
+
1232
+ assert(function( div ) {
1233
+ // Support: Windows 8 Native Apps
1234
+ // The type and name attributes are restricted during .innerHTML assignment
1235
+ var input = doc.createElement("input");
1236
+ input.setAttribute( "type", "hidden" );
1237
+ div.appendChild( input ).setAttribute( "name", "D" );
1238
+
1239
+ // Support: IE8
1240
+ // Enforce case-sensitivity of name attribute
1241
+ if ( div.querySelectorAll("[name=d]").length ) {
1242
+ rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" );
1243
+ }
1244
+
1245
+ // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled)
1246
+ // IE8 throws error here and will not see later tests
1247
+ if ( !div.querySelectorAll(":enabled").length ) {
1248
+ rbuggyQSA.push( ":enabled", ":disabled" );
1249
+ }
1250
+
1251
+ // Opera 10-11 does not throw on post-comma invalid pseudos
1252
+ div.querySelectorAll("*,:x");
1253
+ rbuggyQSA.push(",.*:");
1254
+ });
1255
+ }
1256
+
1257
+ if ( (support.matchesSelector = rnative.test( (matches = docElem.webkitMatchesSelector ||
1258
+ docElem.mozMatchesSelector ||
1259
+ docElem.oMatchesSelector ||
1260
+ docElem.msMatchesSelector) )) ) {
1261
+
1262
+ assert(function( div ) {
1263
+ // Check to see if it's possible to do matchesSelector
1264
+ // on a disconnected node (IE 9)
1265
+ support.disconnectedMatch = matches.call( div, "div" );
1266
+
1267
+ // This should fail with an exception
1268
+ // Gecko does not error, returns false instead
1269
+ matches.call( div, "[s!='']:x" );
1270
+ rbuggyMatches.push( "!=", pseudos );
1271
+ });
1272
+ }
1273
+
1274
+ rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join("|") );
1275
+ rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join("|") );
1276
+
1277
+ /* Contains
1278
+ ---------------------------------------------------------------------- */
1279
+ hasCompare = rnative.test( docElem.compareDocumentPosition );
1280
+
1281
+ // Element contains another
1282
+ // Purposefully does not implement inclusive descendent
1283
+ // As in, an element does not contain itself
1284
+ contains = hasCompare || rnative.test( docElem.contains ) ?
1285
+ function( a, b ) {
1286
+ var adown = a.nodeType === 9 ? a.documentElement : a,
1287
+ bup = b && b.parentNode;
1288
+ return a === bup || !!( bup && bup.nodeType === 1 && (
1289
+ adown.contains ?
1290
+ adown.contains( bup ) :
1291
+ a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16
1292
+ ));
1293
+ } :
1294
+ function( a, b ) {
1295
+ if ( b ) {
1296
+ while ( (b = b.parentNode) ) {
1297
+ if ( b === a ) {
1298
+ return true;
1299
+ }
1300
+ }
1301
+ }
1302
+ return false;
1303
+ };
1304
+
1305
+ /* Sorting
1306
+ ---------------------------------------------------------------------- */
1307
+
1308
+ // Document order sorting
1309
+ sortOrder = hasCompare ?
1310
+ function( a, b ) {
1311
+
1312
+ // Flag for duplicate removal
1313
+ if ( a === b ) {
1314
+ hasDuplicate = true;
1315
+ return 0;
1316
+ }
1317
+
1318
+ // Sort on method existence if only one input has compareDocumentPosition
1319
+ var compare = !a.compareDocumentPosition - !b.compareDocumentPosition;
1320
+ if ( compare ) {
1321
+ return compare;
1322
+ }
1323
+
1324
+ // Calculate position if both inputs belong to the same document
1325
+ compare = ( a.ownerDocument || a ) === ( b.ownerDocument || b ) ?
1326
+ a.compareDocumentPosition( b ) :
1327
+
1328
+ // Otherwise we know they are disconnected
1329
+ 1;
1330
+
1331
+ // Disconnected nodes
1332
+ if ( compare & 1 ||
1333
+ (!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) {
1334
+
1335
+ // Choose the first element that is related to our preferred document
1336
+ if ( a === doc || a.ownerDocument === preferredDoc && contains(preferredDoc, a) ) {
1337
+ return -1;
1338
+ }
1339
+ if ( b === doc || b.ownerDocument === preferredDoc && contains(preferredDoc, b) ) {
1340
+ return 1;
1341
+ }
1342
+
1343
+ // Maintain original order
1344
+ return sortInput ?
1345
+ ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) :
1346
+ 0;
1347
+ }
1348
+
1349
+ return compare & 4 ? -1 : 1;
1350
+ } :
1351
+ function( a, b ) {
1352
+ // Exit early if the nodes are identical
1353
+ if ( a === b ) {
1354
+ hasDuplicate = true;
1355
+ return 0;
1356
+ }
1357
+
1358
+ var cur,
1359
+ i = 0,
1360
+ aup = a.parentNode,
1361
+ bup = b.parentNode,
1362
+ ap = [ a ],
1363
+ bp = [ b ];
1364
+
1365
+ // Parentless nodes are either documents or disconnected
1366
+ if ( !aup || !bup ) {
1367
+ return a === doc ? -1 :
1368
+ b === doc ? 1 :
1369
+ aup ? -1 :
1370
+ bup ? 1 :
1371
+ sortInput ?
1372
+ ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) :
1373
+ 0;
1374
+
1375
+ // If the nodes are siblings, we can do a quick check
1376
+ } else if ( aup === bup ) {
1377
+ return siblingCheck( a, b );
1378
+ }
1379
+
1380
+ // Otherwise we need full lists of their ancestors for comparison
1381
+ cur = a;
1382
+ while ( (cur = cur.parentNode) ) {
1383
+ ap.unshift( cur );
1384
+ }
1385
+ cur = b;
1386
+ while ( (cur = cur.parentNode) ) {
1387
+ bp.unshift( cur );
1388
+ }
1389
+
1390
+ // Walk down the tree looking for a discrepancy
1391
+ while ( ap[i] === bp[i] ) {
1392
+ i++;
1393
+ }
1394
+
1395
+ return i ?
1396
+ // Do a sibling check if the nodes have a common ancestor
1397
+ siblingCheck( ap[i], bp[i] ) :
1398
+
1399
+ // Otherwise nodes in our document sort first
1400
+ ap[i] === preferredDoc ? -1 :
1401
+ bp[i] === preferredDoc ? 1 :
1402
+ 0;
1403
+ };
1404
+
1405
+ return doc;
1406
+ };
1407
+
1408
+ Sizzle.matches = function( expr, elements ) {
1409
+ return Sizzle( expr, null, null, elements );
1410
+ };
1411
+
1412
+ Sizzle.matchesSelector = function( elem, expr ) {
1413
+ // Set document vars if needed
1414
+ if ( ( elem.ownerDocument || elem ) !== document ) {
1415
+ setDocument( elem );
1416
+ }
1417
+
1418
+ // Make sure that attribute selectors are quoted
1419
+ expr = expr.replace( rattributeQuotes, "='$1']" );
1420
+
1421
+ if ( support.matchesSelector && documentIsHTML &&
1422
+ ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) &&
1423
+ ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) {
1424
+
1425
+ try {
1426
+ var ret = matches.call( elem, expr );
1427
+
1428
+ // IE 9's matchesSelector returns false on disconnected nodes
1429
+ if ( ret || support.disconnectedMatch ||
1430
+ // As well, disconnected nodes are said to be in a document
1431
+ // fragment in IE 9
1432
+ elem.document && elem.document.nodeType !== 11 ) {
1433
+ return ret;
1434
+ }
1435
+ } catch(e) {}
1436
+ }
1437
+
1438
+ return Sizzle( expr, document, null, [elem] ).length > 0;
1439
+ };
1440
+
1441
+ Sizzle.contains = function( context, elem ) {
1442
+ // Set document vars if needed
1443
+ if ( ( context.ownerDocument || context ) !== document ) {
1444
+ setDocument( context );
1445
+ }
1446
+ return contains( context, elem );
1447
+ };
1448
+
1449
+ Sizzle.attr = function( elem, name ) {
1450
+ // Set document vars if needed
1451
+ if ( ( elem.ownerDocument || elem ) !== document ) {
1452
+ setDocument( elem );
1453
+ }
1454
+
1455
+ var fn = Expr.attrHandle[ name.toLowerCase() ],
1456
+ // Don't get fooled by Object.prototype properties (jQuery #13807)
1457
+ val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ?
1458
+ fn( elem, name, !documentIsHTML ) :
1459
+ undefined;
1460
+
1461
+ return val !== undefined ?
1462
+ val :
1463
+ support.attributes || !documentIsHTML ?
1464
+ elem.getAttribute( name ) :
1465
+ (val = elem.getAttributeNode(name)) && val.specified ?
1466
+ val.value :
1467
+ null;
1468
+ };
1469
+
1470
+ Sizzle.error = function( msg ) {
1471
+ throw new Error( "Syntax error, unrecognized expression: " + msg );
1472
+ };
1473
+
1474
+ /**
1475
+ * Document sorting and removing duplicates
1476
+ * @param {ArrayLike} results
1477
+ */
1478
+ Sizzle.uniqueSort = function( results ) {
1479
+ var elem,
1480
+ duplicates = [],
1481
+ j = 0,
1482
+ i = 0;
1483
+
1484
+ // Unless we *know* we can detect duplicates, assume their presence
1485
+ hasDuplicate = !support.detectDuplicates;
1486
+ sortInput = !support.sortStable && results.slice( 0 );
1487
+ results.sort( sortOrder );
1488
+
1489
+ if ( hasDuplicate ) {
1490
+ while ( (elem = results[i++]) ) {
1491
+ if ( elem === results[ i ] ) {
1492
+ j = duplicates.push( i );
1493
+ }
1494
+ }
1495
+ while ( j-- ) {
1496
+ results.splice( duplicates[ j ], 1 );
1497
+ }
1498
+ }
1499
+
1500
+ // Clear input after sorting to release objects
1501
+ // See https://github.com/jquery/sizzle/pull/225
1502
+ sortInput = null;
1503
+
1504
+ return results;
1505
+ };
1506
+
1507
+ /**
1508
+ * Utility function for retrieving the text value of an array of DOM nodes
1509
+ * @param {Array|Element} elem
1510
+ */
1511
+ getText = Sizzle.getText = function( elem ) {
1512
+ var node,
1513
+ ret = "",
1514
+ i = 0,
1515
+ nodeType = elem.nodeType;
1516
+
1517
+ if ( !nodeType ) {
1518
+ // If no nodeType, this is expected to be an array
1519
+ while ( (node = elem[i++]) ) {
1520
+ // Do not traverse comment nodes
1521
+ ret += getText( node );
1522
+ }
1523
+ } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) {
1524
+ // Use textContent for elements
1525
+ // innerText usage removed for consistency of new lines (jQuery #11153)
1526
+ if ( typeof elem.textContent === "string" ) {
1527
+ return elem.textContent;
1528
+ } else {
1529
+ // Traverse its children
1530
+ for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {
1531
+ ret += getText( elem );
1532
+ }
1533
+ }
1534
+ } else if ( nodeType === 3 || nodeType === 4 ) {
1535
+ return elem.nodeValue;
1536
+ }
1537
+ // Do not include comment or processing instruction nodes
1538
+
1539
+ return ret;
1540
+ };
1541
+
1542
+ Expr = Sizzle.selectors = {
1543
+
1544
+ // Can be adjusted by the user
1545
+ cacheLength: 50,
1546
+
1547
+ createPseudo: markFunction,
1548
+
1549
+ match: matchExpr,
1550
+
1551
+ attrHandle: {},
1552
+
1553
+ find: {},
1554
+
1555
+ relative: {
1556
+ ">": { dir: "parentNode", first: true },
1557
+ " ": { dir: "parentNode" },
1558
+ "+": { dir: "previousSibling", first: true },
1559
+ "~": { dir: "previousSibling" }
1560
+ },
1561
+
1562
+ preFilter: {
1563
+ "ATTR": function( match ) {
1564
+ match[1] = match[1].replace( runescape, funescape );
1565
+
1566
+ // Move the given value to match[3] whether quoted or unquoted
1567
+ match[3] = ( match[4] || match[5] || "" ).replace( runescape, funescape );
1568
+
1569
+ if ( match[2] === "~=" ) {
1570
+ match[3] = " " + match[3] + " ";
1571
+ }
1572
+
1573
+ return match.slice( 0, 4 );
1574
+ },
1575
+
1576
+ "CHILD": function( match ) {
1577
+ /* matches from matchExpr["CHILD"]
1578
+ 1 type (only|nth|...)
1579
+ 2 what (child|of-type)
1580
+ 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...)
1581
+ 4 xn-component of xn+y argument ([+-]?\d*n|)
1582
+ 5 sign of xn-component
1583
+ 6 x of xn-component
1584
+ 7 sign of y-component
1585
+ 8 y of y-component
1586
+ */
1587
+ match[1] = match[1].toLowerCase();
1588
+
1589
+ if ( match[1].slice( 0, 3 ) === "nth" ) {
1590
+ // nth-* requires argument
1591
+ if ( !match[3] ) {
1592
+ Sizzle.error( match[0] );
1593
+ }
1594
+
1595
+ // numeric x and y parameters for Expr.filter.CHILD
1596
+ // remember that false/true cast respectively to 0/1
1597
+ match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) );
1598
+ match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" );
1599
+
1600
+ // other types prohibit arguments
1601
+ } else if ( match[3] ) {
1602
+ Sizzle.error( match[0] );
1603
+ }
1604
+
1605
+ return match;
1606
+ },
1607
+
1608
+ "PSEUDO": function( match ) {
1609
+ var excess,
1610
+ unquoted = !match[5] && match[2];
1611
+
1612
+ if ( matchExpr["CHILD"].test( match[0] ) ) {
1613
+ return null;
1614
+ }
1615
+
1616
+ // Accept quoted arguments as-is
1617
+ if ( match[3] && match[4] !== undefined ) {
1618
+ match[2] = match[4];
1619
+
1620
+ // Strip excess characters from unquoted arguments
1621
+ } else if ( unquoted && rpseudo.test( unquoted ) &&
1622
+ // Get excess from tokenize (recursively)
1623
+ (excess = tokenize( unquoted, true )) &&
1624
+ // advance to the next closing parenthesis
1625
+ (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) {
1626
+
1627
+ // excess is a negative index
1628
+ match[0] = match[0].slice( 0, excess );
1629
+ match[2] = unquoted.slice( 0, excess );
1630
+ }
1631
+
1632
+ // Return only captures needed by the pseudo filter method (type and argument)
1633
+ return match.slice( 0, 3 );
1634
+ }
1635
+ },
1636
+
1637
+ filter: {
1638
+
1639
+ "TAG": function( nodeNameSelector ) {
1640
+ var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase();
1641
+ return nodeNameSelector === "*" ?
1642
+ function() { return true; } :
1643
+ function( elem ) {
1644
+ return elem.nodeName && elem.nodeName.toLowerCase() === nodeName;
1645
+ };
1646
+ },
1647
+
1648
+ "CLASS": function( className ) {
1649
+ var pattern = classCache[ className + " " ];
1650
+
1651
+ return pattern ||
1652
+ (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) &&
1653
+ classCache( className, function( elem ) {
1654
+ return pattern.test( typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== strundefined && elem.getAttribute("class") || "" );
1655
+ });
1656
+ },
1657
+
1658
+ "ATTR": function( name, operator, check ) {
1659
+ return function( elem ) {
1660
+ var result = Sizzle.attr( elem, name );
1661
+
1662
+ if ( result == null ) {
1663
+ return operator === "!=";
1664
+ }
1665
+ if ( !operator ) {
1666
+ return true;
1667
+ }
1668
+
1669
+ result += "";
1670
+
1671
+ return operator === "=" ? result === check :
1672
+ operator === "!=" ? result !== check :
1673
+ operator === "^=" ? check && result.indexOf( check ) === 0 :
1674
+ operator === "*=" ? check && result.indexOf( check ) > -1 :
1675
+ operator === "$=" ? check && result.slice( -check.length ) === check :
1676
+ operator === "~=" ? ( " " + result + " " ).indexOf( check ) > -1 :
1677
+ operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" :
1678
+ false;
1679
+ };
1680
+ },
1681
+
1682
+ "CHILD": function( type, what, argument, first, last ) {
1683
+ var simple = type.slice( 0, 3 ) !== "nth",
1684
+ forward = type.slice( -4 ) !== "last",
1685
+ ofType = what === "of-type";
1686
+
1687
+ return first === 1 && last === 0 ?
1688
+
1689
+ // Shortcut for :nth-*(n)
1690
+ function( elem ) {
1691
+ return !!elem.parentNode;
1692
+ } :
1693
+
1694
+ function( elem, context, xml ) {
1695
+ var cache, outerCache, node, diff, nodeIndex, start,
1696
+ dir = simple !== forward ? "nextSibling" : "previousSibling",
1697
+ parent = elem.parentNode,
1698
+ name = ofType && elem.nodeName.toLowerCase(),
1699
+ useCache = !xml && !ofType;
1700
+
1701
+ if ( parent ) {
1702
+
1703
+ // :(first|last|only)-(child|of-type)
1704
+ if ( simple ) {
1705
+ while ( dir ) {
1706
+ node = elem;
1707
+ while ( (node = node[ dir ]) ) {
1708
+ if ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) {
1709
+ return false;
1710
+ }
1711
+ }
1712
+ // Reverse direction for :only-* (if we haven't yet done so)
1713
+ start = dir = type === "only" && !start && "nextSibling";
1714
+ }
1715
+ return true;
1716
+ }
1717
+
1718
+ start = [ forward ? parent.firstChild : parent.lastChild ];
1719
+
1720
+ // non-xml :nth-child(...) stores cache data on `parent`
1721
+ if ( forward && useCache ) {
1722
+ // Seek `elem` from a previously-cached index
1723
+ outerCache = parent[ expando ] || (parent[ expando ] = {});
1724
+ cache = outerCache[ type ] || [];
1725
+ nodeIndex = cache[0] === dirruns && cache[1];
1726
+ diff = cache[0] === dirruns && cache[2];
1727
+ node = nodeIndex && parent.childNodes[ nodeIndex ];
1728
+
1729
+ while ( (node = ++nodeIndex && node && node[ dir ] ||
1730
+
1731
+ // Fallback to seeking `elem` from the start
1732
+ (diff = nodeIndex = 0) || start.pop()) ) {
1733
+
1734
+ // When found, cache indexes on `parent` and break
1735
+ if ( node.nodeType === 1 && ++diff && node === elem ) {
1736
+ outerCache[ type ] = [ dirruns, nodeIndex, diff ];
1737
+ break;
1738
+ }
1739
+ }
1740
+
1741
+ // Use previously-cached element index if available
1742
+ } else if ( useCache && (cache = (elem[ expando ] || (elem[ expando ] = {}))[ type ]) && cache[0] === dirruns ) {
1743
+ diff = cache[1];
1744
+
1745
+ // xml :nth-child(...) or :nth-last-child(...) or :nth(-last)?-of-type(...)
1746
+ } else {
1747
+ // Use the same loop as above to seek `elem` from the start
1748
+ while ( (node = ++nodeIndex && node && node[ dir ] ||
1749
+ (diff = nodeIndex = 0) || start.pop()) ) {
1750
+
1751
+ if ( ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) && ++diff ) {
1752
+ // Cache the index of each encountered element
1753
+ if ( useCache ) {
1754
+ (node[ expando ] || (node[ expando ] = {}))[ type ] = [ dirruns, diff ];
1755
+ }
1756
+
1757
+ if ( node === elem ) {
1758
+ break;
1759
+ }
1760
+ }
1761
+ }
1762
+ }
1763
+
1764
+ // Incorporate the offset, then check against cycle size
1765
+ diff -= last;
1766
+ return diff === first || ( diff % first === 0 && diff / first >= 0 );
1767
+ }
1768
+ };
1769
+ },
1770
+
1771
+ "PSEUDO": function( pseudo, argument ) {
1772
+ // pseudo-class names are case-insensitive
1773
+ // http://www.w3.org/TR/selectors/#pseudo-classes
1774
+ // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters
1775
+ // Remember that setFilters inherits from pseudos
1776
+ var args,
1777
+ fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] ||
1778
+ Sizzle.error( "unsupported pseudo: " + pseudo );
1779
+
1780
+ // The user may use createPseudo to indicate that
1781
+ // arguments are needed to create the filter function
1782
+ // just as Sizzle does
1783
+ if ( fn[ expando ] ) {
1784
+ return fn( argument );
1785
+ }
1786
+
1787
+ // But maintain support for old signatures
1788
+ if ( fn.length > 1 ) {
1789
+ args = [ pseudo, pseudo, "", argument ];
1790
+ return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ?
1791
+ markFunction(function( seed, matches ) {
1792
+ var idx,
1793
+ matched = fn( seed, argument ),
1794
+ i = matched.length;
1795
+ while ( i-- ) {
1796
+ idx = indexOf.call( seed, matched[i] );
1797
+ seed[ idx ] = !( matches[ idx ] = matched[i] );
1798
+ }
1799
+ }) :
1800
+ function( elem ) {
1801
+ return fn( elem, 0, args );
1802
+ };
1803
+ }
1804
+
1805
+ return fn;
1806
+ }
1807
+ },
1808
+
1809
+ pseudos: {
1810
+ // Potentially complex pseudos
1811
+ "not": markFunction(function( selector ) {
1812
+ // Trim the selector passed to compile
1813
+ // to avoid treating leading and trailing
1814
+ // spaces as combinators
1815
+ var input = [],
1816
+ results = [],
1817
+ matcher = compile( selector.replace( rtrim, "$1" ) );
1818
+
1819
+ return matcher[ expando ] ?
1820
+ markFunction(function( seed, matches, context, xml ) {
1821
+ var elem,
1822
+ unmatched = matcher( seed, null, xml, [] ),
1823
+ i = seed.length;
1824
+
1825
+ // Match elements unmatched by `matcher`
1826
+ while ( i-- ) {
1827
+ if ( (elem = unmatched[i]) ) {
1828
+ seed[i] = !(matches[i] = elem);
1829
+ }
1830
+ }
1831
+ }) :
1832
+ function( elem, context, xml ) {
1833
+ input[0] = elem;
1834
+ matcher( input, null, xml, results );
1835
+ return !results.pop();
1836
+ };
1837
+ }),
1838
+
1839
+ "has": markFunction(function( selector ) {
1840
+ return function( elem ) {
1841
+ return Sizzle( selector, elem ).length > 0;
1842
+ };
1843
+ }),
1844
+
1845
+ "contains": markFunction(function( text ) {
1846
+ return function( elem ) {
1847
+ return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1;
1848
+ };
1849
+ }),
1850
+
1851
+ // "Whether an element is represented by a :lang() selector
1852
+ // is based solely on the element's language value
1853
+ // being equal to the identifier C,
1854
+ // or beginning with the identifier C immediately followed by "-".
1855
+ // The matching of C against the element's language value is performed case-insensitively.
1856
+ // The identifier C does not have to be a valid language name."
1857
+ // http://www.w3.org/TR/selectors/#lang-pseudo
1858
+ "lang": markFunction( function( lang ) {
1859
+ // lang value must be a valid identifier
1860
+ if ( !ridentifier.test(lang || "") ) {
1861
+ Sizzle.error( "unsupported lang: " + lang );
1862
+ }
1863
+ lang = lang.replace( runescape, funescape ).toLowerCase();
1864
+ return function( elem ) {
1865
+ var elemLang;
1866
+ do {
1867
+ if ( (elemLang = documentIsHTML ?
1868
+ elem.lang :
1869
+ elem.getAttribute("xml:lang") || elem.getAttribute("lang")) ) {
1870
+
1871
+ elemLang = elemLang.toLowerCase();
1872
+ return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0;
1873
+ }
1874
+ } while ( (elem = elem.parentNode) && elem.nodeType === 1 );
1875
+ return false;
1876
+ };
1877
+ }),
1878
+
1879
+ // Miscellaneous
1880
+ "target": function( elem ) {
1881
+ var hash = window.location && window.location.hash;
1882
+ return hash && hash.slice( 1 ) === elem.id;
1883
+ },
1884
+
1885
+ "root": function( elem ) {
1886
+ return elem === docElem;
1887
+ },
1888
+
1889
+ "focus": function( elem ) {
1890
+ return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex);
1891
+ },
1892
+
1893
+ // Boolean properties
1894
+ "enabled": function( elem ) {
1895
+ return elem.disabled === false;
1896
+ },
1897
+
1898
+ "disabled": function( elem ) {
1899
+ return elem.disabled === true;
1900
+ },
1901
+
1902
+ "checked": function( elem ) {
1903
+ // In CSS3, :checked should return both checked and selected elements
1904
+ // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked
1905
+ var nodeName = elem.nodeName.toLowerCase();
1906
+ return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected);
1907
+ },
1908
+
1909
+ "selected": function( elem ) {
1910
+ // Accessing this property makes selected-by-default
1911
+ // options in Safari work properly
1912
+ if ( elem.parentNode ) {
1913
+ elem.parentNode.selectedIndex;
1914
+ }
1915
+
1916
+ return elem.selected === true;
1917
+ },
1918
+
1919
+ // Contents
1920
+ "empty": function( elem ) {
1921
+ // http://www.w3.org/TR/selectors/#empty-pseudo
1922
+ // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5),
1923
+ // but not by others (comment: 8; processing instruction: 7; etc.)
1924
+ // nodeType < 6 works because attributes (2) do not appear as children
1925
+ for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {
1926
+ if ( elem.nodeType < 6 ) {
1927
+ return false;
1928
+ }
1929
+ }
1930
+ return true;
1931
+ },
1932
+
1933
+ "parent": function( elem ) {
1934
+ return !Expr.pseudos["empty"]( elem );
1935
+ },
1936
+
1937
+ // Element/input types
1938
+ "header": function( elem ) {
1939
+ return rheader.test( elem.nodeName );
1940
+ },
1941
+
1942
+ "input": function( elem ) {
1943
+ return rinputs.test( elem.nodeName );
1944
+ },
1945
+
1946
+ "button": function( elem ) {
1947
+ var name = elem.nodeName.toLowerCase();
1948
+ return name === "input" && elem.type === "button" || name === "button";
1949
+ },
1950
+
1951
+ "text": function( elem ) {
1952
+ var attr;
1953
+ return elem.nodeName.toLowerCase() === "input" &&
1954
+ elem.type === "text" &&
1955
+
1956
+ // Support: IE<8
1957
+ // New HTML5 attribute values (e.g., "search") appear with elem.type === "text"
1958
+ ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === "text" );
1959
+ },
1960
+
1961
+ // Position-in-collection
1962
+ "first": createPositionalPseudo(function() {
1963
+ return [ 0 ];
1964
+ }),
1965
+
1966
+ "last": createPositionalPseudo(function( matchIndexes, length ) {
1967
+ return [ length - 1 ];
1968
+ }),
1969
+
1970
+ "eq": createPositionalPseudo(function( matchIndexes, length, argument ) {
1971
+ return [ argument < 0 ? argument + length : argument ];
1972
+ }),
1973
+
1974
+ "even": createPositionalPseudo(function( matchIndexes, length ) {
1975
+ var i = 0;
1976
+ for ( ; i < length; i += 2 ) {
1977
+ matchIndexes.push( i );
1978
+ }
1979
+ return matchIndexes;
1980
+ }),
1981
+
1982
+ "odd": createPositionalPseudo(function( matchIndexes, length ) {
1983
+ var i = 1;
1984
+ for ( ; i < length; i += 2 ) {
1985
+ matchIndexes.push( i );
1986
+ }
1987
+ return matchIndexes;
1988
+ }),
1989
+
1990
+ "lt": createPositionalPseudo(function( matchIndexes, length, argument ) {
1991
+ var i = argument < 0 ? argument + length : argument;
1992
+ for ( ; --i >= 0; ) {
1993
+ matchIndexes.push( i );
1994
+ }
1995
+ return matchIndexes;
1996
+ }),
1997
+
1998
+ "gt": createPositionalPseudo(function( matchIndexes, length, argument ) {
1999
+ var i = argument < 0 ? argument + length : argument;
2000
+ for ( ; ++i < length; ) {
2001
+ matchIndexes.push( i );
2002
+ }
2003
+ return matchIndexes;
2004
+ })
2005
+ }
2006
+ };
2007
+
2008
+ Expr.pseudos["nth"] = Expr.pseudos["eq"];
2009
+
2010
+ // Add button/input type pseudos
2011
+ for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) {
2012
+ Expr.pseudos[ i ] = createInputPseudo( i );
2013
+ }
2014
+ for ( i in { submit: true, reset: true } ) {
2015
+ Expr.pseudos[ i ] = createButtonPseudo( i );
2016
+ }
2017
+
2018
+ // Easy API for creating new setFilters
2019
+ function setFilters() {}
2020
+ setFilters.prototype = Expr.filters = Expr.pseudos;
2021
+ Expr.setFilters = new setFilters();
2022
+
2023
+ function tokenize( selector, parseOnly ) {
2024
+ var matched, match, tokens, type,
2025
+ soFar, groups, preFilters,
2026
+ cached = tokenCache[ selector + " " ];
2027
+
2028
+ if ( cached ) {
2029
+ return parseOnly ? 0 : cached.slice( 0 );
2030
+ }
2031
+
2032
+ soFar = selector;
2033
+ groups = [];
2034
+ preFilters = Expr.preFilter;
2035
+
2036
+ while ( soFar ) {
2037
+
2038
+ // Comma and first run
2039
+ if ( !matched || (match = rcomma.exec( soFar )) ) {
2040
+ if ( match ) {
2041
+ // Don't consume trailing commas as valid
2042
+ soFar = soFar.slice( match[0].length ) || soFar;
2043
+ }
2044
+ groups.push( (tokens = []) );
2045
+ }
2046
+
2047
+ matched = false;
2048
+
2049
+ // Combinators
2050
+ if ( (match = rcombinators.exec( soFar )) ) {
2051
+ matched = match.shift();
2052
+ tokens.push({
2053
+ value: matched,
2054
+ // Cast descendant combinators to space
2055
+ type: match[0].replace( rtrim, " " )
2056
+ });
2057
+ soFar = soFar.slice( matched.length );
2058
+ }
2059
+
2060
+ // Filters
2061
+ for ( type in Expr.filter ) {
2062
+ if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] ||
2063
+ (match = preFilters[ type ]( match ))) ) {
2064
+ matched = match.shift();
2065
+ tokens.push({
2066
+ value: matched,
2067
+ type: type,
2068
+ matches: match
2069
+ });
2070
+ soFar = soFar.slice( matched.length );
2071
+ }
2072
+ }
2073
+
2074
+ if ( !matched ) {
2075
+ break;
2076
+ }
2077
+ }
2078
+
2079
+ // Return the length of the invalid excess
2080
+ // if we're just parsing
2081
+ // Otherwise, throw an error or return tokens
2082
+ return parseOnly ?
2083
+ soFar.length :
2084
+ soFar ?
2085
+ Sizzle.error( selector ) :
2086
+ // Cache the tokens
2087
+ tokenCache( selector, groups ).slice( 0 );
2088
+ }
2089
+
2090
+ function toSelector( tokens ) {
2091
+ var i = 0,
2092
+ len = tokens.length,
2093
+ selector = "";
2094
+ for ( ; i < len; i++ ) {
2095
+ selector += tokens[i].value;
2096
+ }
2097
+ return selector;
2098
+ }
2099
+
2100
+ function addCombinator( matcher, combinator, base ) {
2101
+ var dir = combinator.dir,
2102
+ checkNonElements = base && dir === "parentNode",
2103
+ doneName = done++;
2104
+
2105
+ return combinator.first ?
2106
+ // Check against closest ancestor/preceding element
2107
+ function( elem, context, xml ) {
2108
+ while ( (elem = elem[ dir ]) ) {
2109
+ if ( elem.nodeType === 1 || checkNonElements ) {
2110
+ return matcher( elem, context, xml );
2111
+ }
2112
+ }
2113
+ } :
2114
+
2115
+ // Check against all ancestor/preceding elements
2116
+ function( elem, context, xml ) {
2117
+ var oldCache, outerCache,
2118
+ newCache = [ dirruns, doneName ];
2119
+
2120
+ // We can't set arbitrary data on XML nodes, so they don't benefit from dir caching
2121
+ if ( xml ) {
2122
+ while ( (elem = elem[ dir ]) ) {
2123
+ if ( elem.nodeType === 1 || checkNonElements ) {
2124
+ if ( matcher( elem, context, xml ) ) {
2125
+ return true;
2126
+ }
2127
+ }
2128
+ }
2129
+ } else {
2130
+ while ( (elem = elem[ dir ]) ) {
2131
+ if ( elem.nodeType === 1 || checkNonElements ) {
2132
+ outerCache = elem[ expando ] || (elem[ expando ] = {});
2133
+ if ( (oldCache = outerCache[ dir ]) &&
2134
+ oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) {
2135
+
2136
+ // Assign to newCache so results back-propagate to previous elements
2137
+ return (newCache[ 2 ] = oldCache[ 2 ]);
2138
+ } else {
2139
+ // Reuse newcache so results back-propagate to previous elements
2140
+ outerCache[ dir ] = newCache;
2141
+
2142
+ // A match means we're done; a fail means we have to keep checking
2143
+ if ( (newCache[ 2 ] = matcher( elem, context, xml )) ) {
2144
+ return true;
2145
+ }
2146
+ }
2147
+ }
2148
+ }
2149
+ }
2150
+ };
2151
+ }
2152
+
2153
+ function elementMatcher( matchers ) {
2154
+ return matchers.length > 1 ?
2155
+ function( elem, context, xml ) {
2156
+ var i = matchers.length;
2157
+ while ( i-- ) {
2158
+ if ( !matchers[i]( elem, context, xml ) ) {
2159
+ return false;
2160
+ }
2161
+ }
2162
+ return true;
2163
+ } :
2164
+ matchers[0];
2165
+ }
2166
+
2167
+ function condense( unmatched, map, filter, context, xml ) {
2168
+ var elem,
2169
+ newUnmatched = [],
2170
+ i = 0,
2171
+ len = unmatched.length,
2172
+ mapped = map != null;
2173
+
2174
+ for ( ; i < len; i++ ) {
2175
+ if ( (elem = unmatched[i]) ) {
2176
+ if ( !filter || filter( elem, context, xml ) ) {
2177
+ newUnmatched.push( elem );
2178
+ if ( mapped ) {
2179
+ map.push( i );
2180
+ }
2181
+ }
2182
+ }
2183
+ }
2184
+
2185
+ return newUnmatched;
2186
+ }
2187
+
2188
+ function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {
2189
+ if ( postFilter && !postFilter[ expando ] ) {
2190
+ postFilter = setMatcher( postFilter );
2191
+ }
2192
+ if ( postFinder && !postFinder[ expando ] ) {
2193
+ postFinder = setMatcher( postFinder, postSelector );
2194
+ }
2195
+ return markFunction(function( seed, results, context, xml ) {
2196
+ var temp, i, elem,
2197
+ preMap = [],
2198
+ postMap = [],
2199
+ preexisting = results.length,
2200
+
2201
+ // Get initial elements from seed or context
2202
+ elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ),
2203
+
2204
+ // Prefilter to get matcher input, preserving a map for seed-results synchronization
2205
+ matcherIn = preFilter && ( seed || !selector ) ?
2206
+ condense( elems, preMap, preFilter, context, xml ) :
2207
+ elems,
2208
+
2209
+ matcherOut = matcher ?
2210
+ // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results,
2211
+ postFinder || ( seed ? preFilter : preexisting || postFilter ) ?
2212
+
2213
+ // ...intermediate processing is necessary
2214
+ [] :
2215
+
2216
+ // ...otherwise use results directly
2217
+ results :
2218
+ matcherIn;
2219
+
2220
+ // Find primary matches
2221
+ if ( matcher ) {
2222
+ matcher( matcherIn, matcherOut, context, xml );
2223
+ }
2224
+
2225
+ // Apply postFilter
2226
+ if ( postFilter ) {
2227
+ temp = condense( matcherOut, postMap );
2228
+ postFilter( temp, [], context, xml );
2229
+
2230
+ // Un-match failing elements by moving them back to matcherIn
2231
+ i = temp.length;
2232
+ while ( i-- ) {
2233
+ if ( (elem = temp[i]) ) {
2234
+ matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem);
2235
+ }
2236
+ }
2237
+ }
2238
+
2239
+ if ( seed ) {
2240
+ if ( postFinder || preFilter ) {
2241
+ if ( postFinder ) {
2242
+ // Get the final matcherOut by condensing this intermediate into postFinder contexts
2243
+ temp = [];
2244
+ i = matcherOut.length;
2245
+ while ( i-- ) {
2246
+ if ( (elem = matcherOut[i]) ) {
2247
+ // Restore matcherIn since elem is not yet a final match
2248
+ temp.push( (matcherIn[i] = elem) );
2249
+ }
2250
+ }
2251
+ postFinder( null, (matcherOut = []), temp, xml );
2252
+ }
2253
+
2254
+ // Move matched elements from seed to results to keep them synchronized
2255
+ i = matcherOut.length;
2256
+ while ( i-- ) {
2257
+ if ( (elem = matcherOut[i]) &&
2258
+ (temp = postFinder ? indexOf.call( seed, elem ) : preMap[i]) > -1 ) {
2259
+
2260
+ seed[temp] = !(results[temp] = elem);
2261
+ }
2262
+ }
2263
+ }
2264
+
2265
+ // Add elements to results, through postFinder if defined
2266
+ } else {
2267
+ matcherOut = condense(
2268
+ matcherOut === results ?
2269
+ matcherOut.splice( preexisting, matcherOut.length ) :
2270
+ matcherOut
2271
+ );
2272
+ if ( postFinder ) {
2273
+ postFinder( null, results, matcherOut, xml );
2274
+ } else {
2275
+ push.apply( results, matcherOut );
2276
+ }
2277
+ }
2278
+ });
2279
+ }
2280
+
2281
+ function matcherFromTokens( tokens ) {
2282
+ var checkContext, matcher, j,
2283
+ len = tokens.length,
2284
+ leadingRelative = Expr.relative[ tokens[0].type ],
2285
+ implicitRelative = leadingRelative || Expr.relative[" "],
2286
+ i = leadingRelative ? 1 : 0,
2287
+
2288
+ // The foundational matcher ensures that elements are reachable from top-level context(s)
2289
+ matchContext = addCombinator( function( elem ) {
2290
+ return elem === checkContext;
2291
+ }, implicitRelative, true ),
2292
+ matchAnyContext = addCombinator( function( elem ) {
2293
+ return indexOf.call( checkContext, elem ) > -1;
2294
+ }, implicitRelative, true ),
2295
+ matchers = [ function( elem, context, xml ) {
2296
+ return ( !leadingRelative && ( xml || context !== outermostContext ) ) || (
2297
+ (checkContext = context).nodeType ?
2298
+ matchContext( elem, context, xml ) :
2299
+ matchAnyContext( elem, context, xml ) );
2300
+ } ];
2301
+
2302
+ for ( ; i < len; i++ ) {
2303
+ if ( (matcher = Expr.relative[ tokens[i].type ]) ) {
2304
+ matchers = [ addCombinator(elementMatcher( matchers ), matcher) ];
2305
+ } else {
2306
+ matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches );
2307
+
2308
+ // Return special upon seeing a positional matcher
2309
+ if ( matcher[ expando ] ) {
2310
+ // Find the next relative operator (if any) for proper handling
2311
+ j = ++i;
2312
+ for ( ; j < len; j++ ) {
2313
+ if ( Expr.relative[ tokens[j].type ] ) {
2314
+ break;
2315
+ }
2316
+ }
2317
+ return setMatcher(
2318
+ i > 1 && elementMatcher( matchers ),
2319
+ i > 1 && toSelector(
2320
+ // If the preceding token was a descendant combinator, insert an implicit any-element `*`
2321
+ tokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === " " ? "*" : "" })
2322
+ ).replace( rtrim, "$1" ),
2323
+ matcher,
2324
+ i < j && matcherFromTokens( tokens.slice( i, j ) ),
2325
+ j < len && matcherFromTokens( (tokens = tokens.slice( j )) ),
2326
+ j < len && toSelector( tokens )
2327
+ );
2328
+ }
2329
+ matchers.push( matcher );
2330
+ }
2331
+ }
2332
+
2333
+ return elementMatcher( matchers );
2334
+ }
2335
+
2336
+ function matcherFromGroupMatchers( elementMatchers, setMatchers ) {
2337
+ var bySet = setMatchers.length > 0,
2338
+ byElement = elementMatchers.length > 0,
2339
+ superMatcher = function( seed, context, xml, results, outermost ) {
2340
+ var elem, j, matcher,
2341
+ matchedCount = 0,
2342
+ i = "0",
2343
+ unmatched = seed && [],
2344
+ setMatched = [],
2345
+ contextBackup = outermostContext,
2346
+ // We must always have either seed elements or outermost context
2347
+ elems = seed || byElement && Expr.find["TAG"]( "*", outermost ),
2348
+ // Use integer dirruns iff this is the outermost matcher
2349
+ dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1),
2350
+ len = elems.length;
2351
+
2352
+ if ( outermost ) {
2353
+ outermostContext = context !== document && context;
2354
+ }
2355
+
2356
+ // Add elements passing elementMatchers directly to results
2357
+ // Keep `i` a string if there are no elements so `matchedCount` will be "00" below
2358
+ // Support: IE<9, Safari
2359
+ // Tolerate NodeList properties (IE: "length"; Safari: <number>) matching elements by id
2360
+ for ( ; i !== len && (elem = elems[i]) != null; i++ ) {
2361
+ if ( byElement && elem ) {
2362
+ j = 0;
2363
+ while ( (matcher = elementMatchers[j++]) ) {
2364
+ if ( matcher( elem, context, xml ) ) {
2365
+ results.push( elem );
2366
+ break;
2367
+ }
2368
+ }
2369
+ if ( outermost ) {
2370
+ dirruns = dirrunsUnique;
2371
+ }
2372
+ }
2373
+
2374
+ // Track unmatched elements for set filters
2375
+ if ( bySet ) {
2376
+ // They will have gone through all possible matchers
2377
+ if ( (elem = !matcher && elem) ) {
2378
+ matchedCount--;
2379
+ }
2380
+
2381
+ // Lengthen the array for every element, matched or not
2382
+ if ( seed ) {
2383
+ unmatched.push( elem );
2384
+ }
2385
+ }
2386
+ }
2387
+
2388
+ // Apply set filters to unmatched elements
2389
+ matchedCount += i;
2390
+ if ( bySet && i !== matchedCount ) {
2391
+ j = 0;
2392
+ while ( (matcher = setMatchers[j++]) ) {
2393
+ matcher( unmatched, setMatched, context, xml );
2394
+ }
2395
+
2396
+ if ( seed ) {
2397
+ // Reintegrate element matches to eliminate the need for sorting
2398
+ if ( matchedCount > 0 ) {
2399
+ while ( i-- ) {
2400
+ if ( !(unmatched[i] || setMatched[i]) ) {
2401
+ setMatched[i] = pop.call( results );
2402
+ }
2403
+ }
2404
+ }
2405
+
2406
+ // Discard index placeholder values to get only actual matches
2407
+ setMatched = condense( setMatched );
2408
+ }
2409
+
2410
+ // Add matches to results
2411
+ push.apply( results, setMatched );
2412
+
2413
+ // Seedless set matches succeeding multiple successful matchers stipulate sorting
2414
+ if ( outermost && !seed && setMatched.length > 0 &&
2415
+ ( matchedCount + setMatchers.length ) > 1 ) {
2416
+
2417
+ Sizzle.uniqueSort( results );
2418
+ }
2419
+ }
2420
+
2421
+ // Override manipulation of globals by nested matchers
2422
+ if ( outermost ) {
2423
+ dirruns = dirrunsUnique;
2424
+ outermostContext = contextBackup;
2425
+ }
2426
+
2427
+ return unmatched;
2428
+ };
2429
+
2430
+ return bySet ?
2431
+ markFunction( superMatcher ) :
2432
+ superMatcher;
2433
+ }
2434
+
2435
+ compile = Sizzle.compile = function( selector, group /* Internal Use Only */ ) {
2436
+ var i,
2437
+ setMatchers = [],
2438
+ elementMatchers = [],
2439
+ cached = compilerCache[ selector + " " ];
2440
+
2441
+ if ( !cached ) {
2442
+ // Generate a function of recursive functions that can be used to check each element
2443
+ if ( !group ) {
2444
+ group = tokenize( selector );
2445
+ }
2446
+ i = group.length;
2447
+ while ( i-- ) {
2448
+ cached = matcherFromTokens( group[i] );
2449
+ if ( cached[ expando ] ) {
2450
+ setMatchers.push( cached );
2451
+ } else {
2452
+ elementMatchers.push( cached );
2453
+ }
2454
+ }
2455
+
2456
+ // Cache the compiled function
2457
+ cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) );
2458
+ }
2459
+ return cached;
2460
+ };
2461
+
2462
+ function multipleContexts( selector, contexts, results ) {
2463
+ var i = 0,
2464
+ len = contexts.length;
2465
+ for ( ; i < len; i++ ) {
2466
+ Sizzle( selector, contexts[i], results );
2467
+ }
2468
+ return results;
2469
+ }
2470
+
2471
+ function select( selector, context, results, seed ) {
2472
+ var i, tokens, token, type, find,
2473
+ match = tokenize( selector );
2474
+
2475
+ if ( !seed ) {
2476
+ // Try to minimize operations if there is only one group
2477
+ if ( match.length === 1 ) {
2478
+
2479
+ // Take a shortcut and set the context if the root selector is an ID
2480
+ tokens = match[0] = match[0].slice( 0 );
2481
+ if ( tokens.length > 2 && (token = tokens[0]).type === "ID" &&
2482
+ support.getById && context.nodeType === 9 && documentIsHTML &&
2483
+ Expr.relative[ tokens[1].type ] ) {
2484
+
2485
+ context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0];
2486
+ if ( !context ) {
2487
+ return results;
2488
+ }
2489
+ selector = selector.slice( tokens.shift().value.length );
2490
+ }
2491
+
2492
+ // Fetch a seed set for right-to-left matching
2493
+ i = matchExpr["needsContext"].test( selector ) ? 0 : tokens.length;
2494
+ while ( i-- ) {
2495
+ token = tokens[i];
2496
+
2497
+ // Abort if we hit a combinator
2498
+ if ( Expr.relative[ (type = token.type) ] ) {
2499
+ break;
2500
+ }
2501
+ if ( (find = Expr.find[ type ]) ) {
2502
+ // Search, expanding context for leading sibling combinators
2503
+ if ( (seed = find(
2504
+ token.matches[0].replace( runescape, funescape ),
2505
+ rsibling.test( tokens[0].type ) && testContext( context.parentNode ) || context
2506
+ )) ) {
2507
+
2508
+ // If seed is empty or no tokens remain, we can return early
2509
+ tokens.splice( i, 1 );
2510
+ selector = seed.length && toSelector( tokens );
2511
+ if ( !selector ) {
2512
+ push.apply( results, seed );
2513
+ return results;
2514
+ }
2515
+
2516
+ break;
2517
+ }
2518
+ }
2519
+ }
2520
+ }
2521
+ }
2522
+
2523
+ // Compile and execute a filtering function
2524
+ // Provide `match` to avoid retokenization if we modified the selector above
2525
+ compile( selector, match )(
2526
+ seed,
2527
+ context,
2528
+ !documentIsHTML,
2529
+ results,
2530
+ rsibling.test( selector ) && testContext( context.parentNode ) || context
2531
+ );
2532
+ return results;
2533
+ }
2534
+
2535
+ // One-time assignments
2536
+
2537
+ // Sort stability
2538
+ support.sortStable = expando.split("").sort( sortOrder ).join("") === expando;
2539
+
2540
+ // Support: Chrome<14
2541
+ // Always assume duplicates if they aren't passed to the comparison function
2542
+ support.detectDuplicates = !!hasDuplicate;
2543
+
2544
+ // Initialize against the default document
2545
+ setDocument();
2546
+
2547
+ // Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27)
2548
+ // Detached nodes confoundingly follow *each other*
2549
+ support.sortDetached = assert(function( div1 ) {
2550
+ // Should return 1, but returns 4 (following)
2551
+ return div1.compareDocumentPosition( document.createElement("div") ) & 1;
2552
+ });
2553
+
2554
+ // Support: IE<8
2555
+ // Prevent attribute/property "interpolation"
2556
+ // http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx
2557
+ if ( !assert(function( div ) {
2558
+ div.innerHTML = "<a href='#'></a>";
2559
+ return div.firstChild.getAttribute("href") === "#" ;
2560
+ }) ) {
2561
+ addHandle( "type|href|height|width", function( elem, name, isXML ) {
2562
+ if ( !isXML ) {
2563
+ return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 );
2564
+ }
2565
+ });
2566
+ }
2567
+
2568
+ // Support: IE<9
2569
+ // Use defaultValue in place of getAttribute("value")
2570
+ if ( !support.attributes || !assert(function( div ) {
2571
+ div.innerHTML = "<input/>";
2572
+ div.firstChild.setAttribute( "value", "" );
2573
+ return div.firstChild.getAttribute( "value" ) === "";
2574
+ }) ) {
2575
+ addHandle( "value", function( elem, name, isXML ) {
2576
+ if ( !isXML && elem.nodeName.toLowerCase() === "input" ) {
2577
+ return elem.defaultValue;
2578
+ }
2579
+ });
2580
+ }
2581
+
2582
+ // Support: IE<9
2583
+ // Use getAttributeNode to fetch booleans when getAttribute lies
2584
+ if ( !assert(function( div ) {
2585
+ return div.getAttribute("disabled") == null;
2586
+ }) ) {
2587
+ addHandle( booleans, function( elem, name, isXML ) {
2588
+ var val;
2589
+ if ( !isXML ) {
2590
+ return elem[ name ] === true ? name.toLowerCase() :
2591
+ (val = elem.getAttributeNode( name )) && val.specified ?
2592
+ val.value :
2593
+ null;
2594
+ }
2595
+ });
2596
+ }
2597
+
2598
+ return Sizzle;
2599
+
2600
+ })( window );
2601
+
2602
+
2603
+
2604
+ jQuery.find = Sizzle;
2605
+ jQuery.expr = Sizzle.selectors;
2606
+ jQuery.expr[":"] = jQuery.expr.pseudos;
2607
+ jQuery.unique = Sizzle.uniqueSort;
2608
+ jQuery.text = Sizzle.getText;
2609
+ jQuery.isXMLDoc = Sizzle.isXML;
2610
+ jQuery.contains = Sizzle.contains;
2611
+
2612
+
2613
+
2614
+ var rneedsContext = jQuery.expr.match.needsContext;
2615
+
2616
+ var rsingleTag = (/^<(\w+)\s*\/?>(?:<\/\1>|)$/);
2617
+
2618
+
2619
+
2620
+ var risSimple = /^.[^:#\[\.,]*$/;
2621
+
2622
+ // Implement the identical functionality for filter and not
2623
+ function winnow( elements, qualifier, not ) {
2624
+ if ( jQuery.isFunction( qualifier ) ) {
2625
+ return jQuery.grep( elements, function( elem, i ) {
2626
+ /* jshint -W018 */
2627
+ return !!qualifier.call( elem, i, elem ) !== not;
2628
+ });
2629
+
2630
+ }
2631
+
2632
+ if ( qualifier.nodeType ) {
2633
+ return jQuery.grep( elements, function( elem ) {
2634
+ return ( elem === qualifier ) !== not;
2635
+ });
2636
+
2637
+ }
2638
+
2639
+ if ( typeof qualifier === "string" ) {
2640
+ if ( risSimple.test( qualifier ) ) {
2641
+ return jQuery.filter( qualifier, elements, not );
2642
+ }
2643
+
2644
+ qualifier = jQuery.filter( qualifier, elements );
2645
+ }
2646
+
2647
+ return jQuery.grep( elements, function( elem ) {
2648
+ return ( jQuery.inArray( elem, qualifier ) >= 0 ) !== not;
2649
+ });
2650
+ }
2651
+
2652
+ jQuery.filter = function( expr, elems, not ) {
2653
+ var elem = elems[ 0 ];
2654
+
2655
+ if ( not ) {
2656
+ expr = ":not(" + expr + ")";
2657
+ }
2658
+
2659
+ return elems.length === 1 && elem.nodeType === 1 ?
2660
+ jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [] :
2661
+ jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) {
2662
+ return elem.nodeType === 1;
2663
+ }));
2664
+ };
2665
+
2666
+ jQuery.fn.extend({
2667
+ find: function( selector ) {
2668
+ var i,
2669
+ ret = [],
2670
+ self = this,
2671
+ len = self.length;
2672
+
2673
+ if ( typeof selector !== "string" ) {
2674
+ return this.pushStack( jQuery( selector ).filter(function() {
2675
+ for ( i = 0; i < len; i++ ) {
2676
+ if ( jQuery.contains( self[ i ], this ) ) {
2677
+ return true;
2678
+ }
2679
+ }
2680
+ }) );
2681
+ }
2682
+
2683
+ for ( i = 0; i < len; i++ ) {
2684
+ jQuery.find( selector, self[ i ], ret );
2685
+ }
2686
+
2687
+ // Needed because $( selector, context ) becomes $( context ).find( selector )
2688
+ ret = this.pushStack( len > 1 ? jQuery.unique( ret ) : ret );
2689
+ ret.selector = this.selector ? this.selector + " " + selector : selector;
2690
+ return ret;
2691
+ },
2692
+ filter: function( selector ) {
2693
+ return this.pushStack( winnow(this, selector || [], false) );
2694
+ },
2695
+ not: function( selector ) {
2696
+ return this.pushStack( winnow(this, selector || [], true) );
2697
+ },
2698
+ is: function( selector ) {
2699
+ return !!winnow(
2700
+ this,
2701
+
2702
+ // If this is a positional/relative selector, check membership in the returned set
2703
+ // so $("p:first").is("p:last") won't return true for a doc with two "p".
2704
+ typeof selector === "string" && rneedsContext.test( selector ) ?
2705
+ jQuery( selector ) :
2706
+ selector || [],
2707
+ false
2708
+ ).length;
2709
+ }
2710
+ });
2711
+
2712
+
2713
+ // Initialize a jQuery object
2714
+
2715
+
2716
+ // A central reference to the root jQuery(document)
2717
+ var rootjQuery,
2718
+
2719
+ // Use the correct document accordingly with window argument (sandbox)
2720
+ document = window.document,
2721
+
2722
+ // A simple way to check for HTML strings
2723
+ // Prioritize #id over <tag> to avoid XSS via location.hash (#9521)
2724
+ // Strict HTML recognition (#11290: must start with <)
2725
+ rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,
2726
+
2727
+ init = jQuery.fn.init = function( selector, context ) {
2728
+ var match, elem;
2729
+
2730
+ // HANDLE: $(""), $(null), $(undefined), $(false)
2731
+ if ( !selector ) {
2732
+ return this;
2733
+ }
2734
+
2735
+ // Handle HTML strings
2736
+ if ( typeof selector === "string" ) {
2737
+ if ( selector.charAt(0) === "<" && selector.charAt( selector.length - 1 ) === ">" && selector.length >= 3 ) {
2738
+ // Assume that strings that start and end with <> are HTML and skip the regex check
2739
+ match = [ null, selector, null ];
2740
+
2741
+ } else {
2742
+ match = rquickExpr.exec( selector );
2743
+ }
2744
+
2745
+ // Match html or make sure no context is specified for #id
2746
+ if ( match && (match[1] || !context) ) {
2747
+
2748
+ // HANDLE: $(html) -> $(array)
2749
+ if ( match[1] ) {
2750
+ context = context instanceof jQuery ? context[0] : context;
2751
+
2752
+ // scripts is true for back-compat
2753
+ // Intentionally let the error be thrown if parseHTML is not present
2754
+ jQuery.merge( this, jQuery.parseHTML(
2755
+ match[1],
2756
+ context && context.nodeType ? context.ownerDocument || context : document,
2757
+ true
2758
+ ) );
2759
+
2760
+ // HANDLE: $(html, props)
2761
+ if ( rsingleTag.test( match[1] ) && jQuery.isPlainObject( context ) ) {
2762
+ for ( match in context ) {
2763
+ // Properties of context are called as methods if possible
2764
+ if ( jQuery.isFunction( this[ match ] ) ) {
2765
+ this[ match ]( context[ match ] );
2766
+
2767
+ // ...and otherwise set as attributes
2768
+ } else {
2769
+ this.attr( match, context[ match ] );
2770
+ }
2771
+ }
2772
+ }
2773
+
2774
+ return this;
2775
+
2776
+ // HANDLE: $(#id)
2777
+ } else {
2778
+ elem = document.getElementById( match[2] );
2779
+
2780
+ // Check parentNode to catch when Blackberry 4.6 returns
2781
+ // nodes that are no longer in the document #6963
2782
+ if ( elem && elem.parentNode ) {
2783
+ // Handle the case where IE and Opera return items
2784
+ // by name instead of ID
2785
+ if ( elem.id !== match[2] ) {
2786
+ return rootjQuery.find( selector );
2787
+ }
2788
+
2789
+ // Otherwise, we inject the element directly into the jQuery object
2790
+ this.length = 1;
2791
+ this[0] = elem;
2792
+ }
2793
+
2794
+ this.context = document;
2795
+ this.selector = selector;
2796
+ return this;
2797
+ }
2798
+
2799
+ // HANDLE: $(expr, $(...))
2800
+ } else if ( !context || context.jquery ) {
2801
+ return ( context || rootjQuery ).find( selector );
2802
+
2803
+ // HANDLE: $(expr, context)
2804
+ // (which is just equivalent to: $(context).find(expr)
2805
+ } else {
2806
+ return this.constructor( context ).find( selector );
2807
+ }
2808
+
2809
+ // HANDLE: $(DOMElement)
2810
+ } else if ( selector.nodeType ) {
2811
+ this.context = this[0] = selector;
2812
+ this.length = 1;
2813
+ return this;
2814
+
2815
+ // HANDLE: $(function)
2816
+ // Shortcut for document ready
2817
+ } else if ( jQuery.isFunction( selector ) ) {
2818
+ return typeof rootjQuery.ready !== "undefined" ?
2819
+ rootjQuery.ready( selector ) :
2820
+ // Execute immediately if ready is not present
2821
+ selector( jQuery );
2822
+ }
2823
+
2824
+ if ( selector.selector !== undefined ) {
2825
+ this.selector = selector.selector;
2826
+ this.context = selector.context;
2827
+ }
2828
+
2829
+ return jQuery.makeArray( selector, this );
2830
+ };
2831
+
2832
+ // Give the init function the jQuery prototype for later instantiation
2833
+ init.prototype = jQuery.fn;
2834
+
2835
+ // Initialize central reference
2836
+ rootjQuery = jQuery( document );
2837
+
2838
+
2839
+ var rparentsprev = /^(?:parents|prev(?:Until|All))/,
2840
+ // methods guaranteed to produce a unique set when starting from a unique set
2841
+ guaranteedUnique = {
2842
+ children: true,
2843
+ contents: true,
2844
+ next: true,
2845
+ prev: true
2846
+ };
2847
+
2848
+ jQuery.extend({
2849
+ dir: function( elem, dir, until ) {
2850
+ var matched = [],
2851
+ cur = elem[ dir ];
2852
+
2853
+ while ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) {
2854
+ if ( cur.nodeType === 1 ) {
2855
+ matched.push( cur );
2856
+ }
2857
+ cur = cur[dir];
2858
+ }
2859
+ return matched;
2860
+ },
2861
+
2862
+ sibling: function( n, elem ) {
2863
+ var r = [];
2864
+
2865
+ for ( ; n; n = n.nextSibling ) {
2866
+ if ( n.nodeType === 1 && n !== elem ) {
2867
+ r.push( n );
2868
+ }
2869
+ }
2870
+
2871
+ return r;
2872
+ }
2873
+ });
2874
+
2875
+ jQuery.fn.extend({
2876
+ has: function( target ) {
2877
+ var i,
2878
+ targets = jQuery( target, this ),
2879
+ len = targets.length;
2880
+
2881
+ return this.filter(function() {
2882
+ for ( i = 0; i < len; i++ ) {
2883
+ if ( jQuery.contains( this, targets[i] ) ) {
2884
+ return true;
2885
+ }
2886
+ }
2887
+ });
2888
+ },
2889
+
2890
+ closest: function( selectors, context ) {
2891
+ var cur,
2892
+ i = 0,
2893
+ l = this.length,
2894
+ matched = [],
2895
+ pos = rneedsContext.test( selectors ) || typeof selectors !== "string" ?
2896
+ jQuery( selectors, context || this.context ) :
2897
+ 0;
2898
+
2899
+ for ( ; i < l; i++ ) {
2900
+ for ( cur = this[i]; cur && cur !== context; cur = cur.parentNode ) {
2901
+ // Always skip document fragments
2902
+ if ( cur.nodeType < 11 && (pos ?
2903
+ pos.index(cur) > -1 :
2904
+
2905
+ // Don't pass non-elements to Sizzle
2906
+ cur.nodeType === 1 &&
2907
+ jQuery.find.matchesSelector(cur, selectors)) ) {
2908
+
2909
+ matched.push( cur );
2910
+ break;
2911
+ }
2912
+ }
2913
+ }
2914
+
2915
+ return this.pushStack( matched.length > 1 ? jQuery.unique( matched ) : matched );
2916
+ },
2917
+
2918
+ // Determine the position of an element within
2919
+ // the matched set of elements
2920
+ index: function( elem ) {
2921
+
2922
+ // No argument, return index in parent
2923
+ if ( !elem ) {
2924
+ return ( this[0] && this[0].parentNode ) ? this.first().prevAll().length : -1;
2925
+ }
2926
+
2927
+ // index in selector
2928
+ if ( typeof elem === "string" ) {
2929
+ return jQuery.inArray( this[0], jQuery( elem ) );
2930
+ }
2931
+
2932
+ // Locate the position of the desired element
2933
+ return jQuery.inArray(
2934
+ // If it receives a jQuery object, the first element is used
2935
+ elem.jquery ? elem[0] : elem, this );
2936
+ },
2937
+
2938
+ add: function( selector, context ) {
2939
+ return this.pushStack(
2940
+ jQuery.unique(
2941
+ jQuery.merge( this.get(), jQuery( selector, context ) )
2942
+ )
2943
+ );
2944
+ },
2945
+
2946
+ addBack: function( selector ) {
2947
+ return this.add( selector == null ?
2948
+ this.prevObject : this.prevObject.filter(selector)
2949
+ );
2950
+ }
2951
+ });
2952
+
2953
+ function sibling( cur, dir ) {
2954
+ do {
2955
+ cur = cur[ dir ];
2956
+ } while ( cur && cur.nodeType !== 1 );
2957
+
2958
+ return cur;
2959
+ }
2960
+
2961
+ jQuery.each({
2962
+ parent: function( elem ) {
2963
+ var parent = elem.parentNode;
2964
+ return parent && parent.nodeType !== 11 ? parent : null;
2965
+ },
2966
+ parents: function( elem ) {
2967
+ return jQuery.dir( elem, "parentNode" );
2968
+ },
2969
+ parentsUntil: function( elem, i, until ) {
2970
+ return jQuery.dir( elem, "parentNode", until );
2971
+ },
2972
+ next: function( elem ) {
2973
+ return sibling( elem, "nextSibling" );
2974
+ },
2975
+ prev: function( elem ) {
2976
+ return sibling( elem, "previousSibling" );
2977
+ },
2978
+ nextAll: function( elem ) {
2979
+ return jQuery.dir( elem, "nextSibling" );
2980
+ },
2981
+ prevAll: function( elem ) {
2982
+ return jQuery.dir( elem, "previousSibling" );
2983
+ },
2984
+ nextUntil: function( elem, i, until ) {
2985
+ return jQuery.dir( elem, "nextSibling", until );
2986
+ },
2987
+ prevUntil: function( elem, i, until ) {
2988
+ return jQuery.dir( elem, "previousSibling", until );
2989
+ },
2990
+ siblings: function( elem ) {
2991
+ return jQuery.sibling( ( elem.parentNode || {} ).firstChild, elem );
2992
+ },
2993
+ children: function( elem ) {
2994
+ return jQuery.sibling( elem.firstChild );
2995
+ },
2996
+ contents: function( elem ) {
2997
+ return jQuery.nodeName( elem, "iframe" ) ?
2998
+ elem.contentDocument || elem.contentWindow.document :
2999
+ jQuery.merge( [], elem.childNodes );
3000
+ }
3001
+ }, function( name, fn ) {
3002
+ jQuery.fn[ name ] = function( until, selector ) {
3003
+ var ret = jQuery.map( this, fn, until );
3004
+
3005
+ if ( name.slice( -5 ) !== "Until" ) {
3006
+ selector = until;
3007
+ }
3008
+
3009
+ if ( selector && typeof selector === "string" ) {
3010
+ ret = jQuery.filter( selector, ret );
3011
+ }
3012
+
3013
+ if ( this.length > 1 ) {
3014
+ // Remove duplicates
3015
+ if ( !guaranteedUnique[ name ] ) {
3016
+ ret = jQuery.unique( ret );
3017
+ }
3018
+
3019
+ // Reverse order for parents* and prev-derivatives
3020
+ if ( rparentsprev.test( name ) ) {
3021
+ ret = ret.reverse();
3022
+ }
3023
+ }
3024
+
3025
+ return this.pushStack( ret );
3026
+ };
3027
+ });
3028
+ var rnotwhite = (/\S+/g);
3029
+
3030
+
3031
+
3032
+ // String to Object options format cache
3033
+ var optionsCache = {};
3034
+
3035
+ // Convert String-formatted options into Object-formatted ones and store in cache
3036
+ function createOptions( options ) {
3037
+ var object = optionsCache[ options ] = {};
3038
+ jQuery.each( options.match( rnotwhite ) || [], function( _, flag ) {
3039
+ object[ flag ] = true;
3040
+ });
3041
+ return object;
3042
+ }
3043
+
3044
+ /*
3045
+ * Create a callback list using the following parameters:
3046
+ *
3047
+ * options: an optional list of space-separated options that will change how
3048
+ * the callback list behaves or a more traditional option object
3049
+ *
3050
+ * By default a callback list will act like an event callback list and can be
3051
+ * "fired" multiple times.
3052
+ *
3053
+ * Possible options:
3054
+ *
3055
+ * once: will ensure the callback list can only be fired once (like a Deferred)
3056
+ *
3057
+ * memory: will keep track of previous values and will call any callback added
3058
+ * after the list has been fired right away with the latest "memorized"
3059
+ * values (like a Deferred)
3060
+ *
3061
+ * unique: will ensure a callback can only be added once (no duplicate in the list)
3062
+ *
3063
+ * stopOnFalse: interrupt callings when a callback returns false
3064
+ *
3065
+ */
3066
+ jQuery.Callbacks = function( options ) {
3067
+
3068
+ // Convert options from String-formatted to Object-formatted if needed
3069
+ // (we check in cache first)
3070
+ options = typeof options === "string" ?
3071
+ ( optionsCache[ options ] || createOptions( options ) ) :
3072
+ jQuery.extend( {}, options );
3073
+
3074
+ var // Flag to know if list is currently firing
3075
+ firing,
3076
+ // Last fire value (for non-forgettable lists)
3077
+ memory,
3078
+ // Flag to know if list was already fired
3079
+ fired,
3080
+ // End of the loop when firing
3081
+ firingLength,
3082
+ // Index of currently firing callback (modified by remove if needed)
3083
+ firingIndex,
3084
+ // First callback to fire (used internally by add and fireWith)
3085
+ firingStart,
3086
+ // Actual callback list
3087
+ list = [],
3088
+ // Stack of fire calls for repeatable lists
3089
+ stack = !options.once && [],
3090
+ // Fire callbacks
3091
+ fire = function( data ) {
3092
+ memory = options.memory && data;
3093
+ fired = true;
3094
+ firingIndex = firingStart || 0;
3095
+ firingStart = 0;
3096
+ firingLength = list.length;
3097
+ firing = true;
3098
+ for ( ; list && firingIndex < firingLength; firingIndex++ ) {
3099
+ if ( list[ firingIndex ].apply( data[ 0 ], data[ 1 ] ) === false && options.stopOnFalse ) {
3100
+ memory = false; // To prevent further calls using add
3101
+ break;
3102
+ }
3103
+ }
3104
+ firing = false;
3105
+ if ( list ) {
3106
+ if ( stack ) {
3107
+ if ( stack.length ) {
3108
+ fire( stack.shift() );
3109
+ }
3110
+ } else if ( memory ) {
3111
+ list = [];
3112
+ } else {
3113
+ self.disable();
3114
+ }
3115
+ }
3116
+ },
3117
+ // Actual Callbacks object
3118
+ self = {
3119
+ // Add a callback or a collection of callbacks to the list
3120
+ add: function() {
3121
+ if ( list ) {
3122
+ // First, we save the current length
3123
+ var start = list.length;
3124
+ (function add( args ) {
3125
+ jQuery.each( args, function( _, arg ) {
3126
+ var type = jQuery.type( arg );
3127
+ if ( type === "function" ) {
3128
+ if ( !options.unique || !self.has( arg ) ) {
3129
+ list.push( arg );
3130
+ }
3131
+ } else if ( arg && arg.length && type !== "string" ) {
3132
+ // Inspect recursively
3133
+ add( arg );
3134
+ }
3135
+ });
3136
+ })( arguments );
3137
+ // Do we need to add the callbacks to the
3138
+ // current firing batch?
3139
+ if ( firing ) {
3140
+ firingLength = list.length;
3141
+ // With memory, if we're not firing then
3142
+ // we should call right away
3143
+ } else if ( memory ) {
3144
+ firingStart = start;
3145
+ fire( memory );
3146
+ }
3147
+ }
3148
+ return this;
3149
+ },
3150
+ // Remove a callback from the list
3151
+ remove: function() {
3152
+ if ( list ) {
3153
+ jQuery.each( arguments, function( _, arg ) {
3154
+ var index;
3155
+ while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) {
3156
+ list.splice( index, 1 );
3157
+ // Handle firing indexes
3158
+ if ( firing ) {
3159
+ if ( index <= firingLength ) {
3160
+ firingLength--;
3161
+ }
3162
+ if ( index <= firingIndex ) {
3163
+ firingIndex--;
3164
+ }
3165
+ }
3166
+ }
3167
+ });
3168
+ }
3169
+ return this;
3170
+ },
3171
+ // Check if a given callback is in the list.
3172
+ // If no argument is given, return whether or not list has callbacks attached.
3173
+ has: function( fn ) {
3174
+ return fn ? jQuery.inArray( fn, list ) > -1 : !!( list && list.length );
3175
+ },
3176
+ // Remove all callbacks from the list
3177
+ empty: function() {
3178
+ list = [];
3179
+ firingLength = 0;
3180
+ return this;
3181
+ },
3182
+ // Have the list do nothing anymore
3183
+ disable: function() {
3184
+ list = stack = memory = undefined;
3185
+ return this;
3186
+ },
3187
+ // Is it disabled?
3188
+ disabled: function() {
3189
+ return !list;
3190
+ },
3191
+ // Lock the list in its current state
3192
+ lock: function() {
3193
+ stack = undefined;
3194
+ if ( !memory ) {
3195
+ self.disable();
3196
+ }
3197
+ return this;
3198
+ },
3199
+ // Is it locked?
3200
+ locked: function() {
3201
+ return !stack;
3202
+ },
3203
+ // Call all callbacks with the given context and arguments
3204
+ fireWith: function( context, args ) {
3205
+ if ( list && ( !fired || stack ) ) {
3206
+ args = args || [];
3207
+ args = [ context, args.slice ? args.slice() : args ];
3208
+ if ( firing ) {
3209
+ stack.push( args );
3210
+ } else {
3211
+ fire( args );
3212
+ }
3213
+ }
3214
+ return this;
3215
+ },
3216
+ // Call all the callbacks with the given arguments
3217
+ fire: function() {
3218
+ self.fireWith( this, arguments );
3219
+ return this;
3220
+ },
3221
+ // To know if the callbacks have already been called at least once
3222
+ fired: function() {
3223
+ return !!fired;
3224
+ }
3225
+ };
3226
+
3227
+ return self;
3228
+ };
3229
+
3230
+
3231
+ jQuery.extend({
3232
+
3233
+ Deferred: function( func ) {
3234
+ var tuples = [
3235
+ // action, add listener, listener list, final state
3236
+ [ "resolve", "done", jQuery.Callbacks("once memory"), "resolved" ],
3237
+ [ "reject", "fail", jQuery.Callbacks("once memory"), "rejected" ],
3238
+ [ "notify", "progress", jQuery.Callbacks("memory") ]
3239
+ ],
3240
+ state = "pending",
3241
+ promise = {
3242
+ state: function() {
3243
+ return state;
3244
+ },
3245
+ always: function() {
3246
+ deferred.done( arguments ).fail( arguments );
3247
+ return this;
3248
+ },
3249
+ then: function( /* fnDone, fnFail, fnProgress */ ) {
3250
+ var fns = arguments;
3251
+ return jQuery.Deferred(function( newDefer ) {
3252
+ jQuery.each( tuples, function( i, tuple ) {
3253
+ var fn = jQuery.isFunction( fns[ i ] ) && fns[ i ];
3254
+ // deferred[ done | fail | progress ] for forwarding actions to newDefer
3255
+ deferred[ tuple[1] ](function() {
3256
+ var returned = fn && fn.apply( this, arguments );
3257
+ if ( returned && jQuery.isFunction( returned.promise ) ) {
3258
+ returned.promise()
3259
+ .done( newDefer.resolve )
3260
+ .fail( newDefer.reject )
3261
+ .progress( newDefer.notify );
3262
+ } else {
3263
+ newDefer[ tuple[ 0 ] + "With" ]( this === promise ? newDefer.promise() : this, fn ? [ returned ] : arguments );
3264
+ }
3265
+ });
3266
+ });
3267
+ fns = null;
3268
+ }).promise();
3269
+ },
3270
+ // Get a promise for this deferred
3271
+ // If obj is provided, the promise aspect is added to the object
3272
+ promise: function( obj ) {
3273
+ return obj != null ? jQuery.extend( obj, promise ) : promise;
3274
+ }
3275
+ },
3276
+ deferred = {};
3277
+
3278
+ // Keep pipe for back-compat
3279
+ promise.pipe = promise.then;
3280
+
3281
+ // Add list-specific methods
3282
+ jQuery.each( tuples, function( i, tuple ) {
3283
+ var list = tuple[ 2 ],
3284
+ stateString = tuple[ 3 ];
3285
+
3286
+ // promise[ done | fail | progress ] = list.add
3287
+ promise[ tuple[1] ] = list.add;
3288
+
3289
+ // Handle state
3290
+ if ( stateString ) {
3291
+ list.add(function() {
3292
+ // state = [ resolved | rejected ]
3293
+ state = stateString;
3294
+
3295
+ // [ reject_list | resolve_list ].disable; progress_list.lock
3296
+ }, tuples[ i ^ 1 ][ 2 ].disable, tuples[ 2 ][ 2 ].lock );
3297
+ }
3298
+
3299
+ // deferred[ resolve | reject | notify ]
3300
+ deferred[ tuple[0] ] = function() {
3301
+ deferred[ tuple[0] + "With" ]( this === deferred ? promise : this, arguments );
3302
+ return this;
3303
+ };
3304
+ deferred[ tuple[0] + "With" ] = list.fireWith;
3305
+ });
3306
+
3307
+ // Make the deferred a promise
3308
+ promise.promise( deferred );
3309
+
3310
+ // Call given func if any
3311
+ if ( func ) {
3312
+ func.call( deferred, deferred );
3313
+ }
3314
+
3315
+ // All done!
3316
+ return deferred;
3317
+ },
3318
+
3319
+ // Deferred helper
3320
+ when: function( subordinate /* , ..., subordinateN */ ) {
3321
+ var i = 0,
3322
+ resolveValues = slice.call( arguments ),
3323
+ length = resolveValues.length,
3324
+
3325
+ // the count of uncompleted subordinates
3326
+ remaining = length !== 1 || ( subordinate && jQuery.isFunction( subordinate.promise ) ) ? length : 0,
3327
+
3328
+ // the master Deferred. If resolveValues consist of only a single Deferred, just use that.
3329
+ deferred = remaining === 1 ? subordinate : jQuery.Deferred(),
3330
+
3331
+ // Update function for both resolve and progress values
3332
+ updateFunc = function( i, contexts, values ) {
3333
+ return function( value ) {
3334
+ contexts[ i ] = this;
3335
+ values[ i ] = arguments.length > 1 ? slice.call( arguments ) : value;
3336
+ if ( values === progressValues ) {
3337
+ deferred.notifyWith( contexts, values );
3338
+
3339
+ } else if ( !(--remaining) ) {
3340
+ deferred.resolveWith( contexts, values );
3341
+ }
3342
+ };
3343
+ },
3344
+
3345
+ progressValues, progressContexts, resolveContexts;
3346
+
3347
+ // add listeners to Deferred subordinates; treat others as resolved
3348
+ if ( length > 1 ) {
3349
+ progressValues = new Array( length );
3350
+ progressContexts = new Array( length );
3351
+ resolveContexts = new Array( length );
3352
+ for ( ; i < length; i++ ) {
3353
+ if ( resolveValues[ i ] && jQuery.isFunction( resolveValues[ i ].promise ) ) {
3354
+ resolveValues[ i ].promise()
3355
+ .done( updateFunc( i, resolveContexts, resolveValues ) )
3356
+ .fail( deferred.reject )
3357
+ .progress( updateFunc( i, progressContexts, progressValues ) );
3358
+ } else {
3359
+ --remaining;
3360
+ }
3361
+ }
3362
+ }
3363
+
3364
+ // if we're not waiting on anything, resolve the master
3365
+ if ( !remaining ) {
3366
+ deferred.resolveWith( resolveContexts, resolveValues );
3367
+ }
3368
+
3369
+ return deferred.promise();
3370
+ }
3371
+ });
3372
+
3373
+
3374
+ // The deferred used on DOM ready
3375
+ var readyList;
3376
+
3377
+ jQuery.fn.ready = function( fn ) {
3378
+ // Add the callback
3379
+ jQuery.ready.promise().done( fn );
3380
+
3381
+ return this;
3382
+ };
3383
+
3384
+ jQuery.extend({
3385
+ // Is the DOM ready to be used? Set to true once it occurs.
3386
+ isReady: false,
3387
+
3388
+ // A counter to track how many items to wait for before
3389
+ // the ready event fires. See #6781
3390
+ readyWait: 1,
3391
+
3392
+ // Hold (or release) the ready event
3393
+ holdReady: function( hold ) {
3394
+ if ( hold ) {
3395
+ jQuery.readyWait++;
3396
+ } else {
3397
+ jQuery.ready( true );
3398
+ }
3399
+ },
3400
+
3401
+ // Handle when the DOM is ready
3402
+ ready: function( wait ) {
3403
+
3404
+ // Abort if there are pending holds or we're already ready
3405
+ if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) {
3406
+ return;
3407
+ }
3408
+
3409
+ // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443).
3410
+ if ( !document.body ) {
3411
+ return setTimeout( jQuery.ready );
3412
+ }
3413
+
3414
+ // Remember that the DOM is ready
3415
+ jQuery.isReady = true;
3416
+
3417
+ // If a normal DOM Ready event fired, decrement, and wait if need be
3418
+ if ( wait !== true && --jQuery.readyWait > 0 ) {
3419
+ return;
3420
+ }
3421
+
3422
+ // If there are functions bound, to execute
3423
+ readyList.resolveWith( document, [ jQuery ] );
3424
+
3425
+ // Trigger any bound ready events
3426
+ if ( jQuery.fn.trigger ) {
3427
+ jQuery( document ).trigger("ready").off("ready");
3428
+ }
3429
+ }
3430
+ });
3431
+
3432
+ /**
3433
+ * Clean-up method for dom ready events
3434
+ */
3435
+ function detach() {
3436
+ if ( document.addEventListener ) {
3437
+ document.removeEventListener( "DOMContentLoaded", completed, false );
3438
+ window.removeEventListener( "load", completed, false );
3439
+
3440
+ } else {
3441
+ document.detachEvent( "onreadystatechange", completed );
3442
+ window.detachEvent( "onload", completed );
3443
+ }
3444
+ }
3445
+
3446
+ /**
3447
+ * The ready event handler and self cleanup method
3448
+ */
3449
+ function completed() {
3450
+ // readyState === "complete" is good enough for us to call the dom ready in oldIE
3451
+ if ( document.addEventListener || event.type === "load" || document.readyState === "complete" ) {
3452
+ detach();
3453
+ jQuery.ready();
3454
+ }
3455
+ }
3456
+
3457
+ jQuery.ready.promise = function( obj ) {
3458
+ if ( !readyList ) {
3459
+
3460
+ readyList = jQuery.Deferred();
3461
+
3462
+ // Catch cases where $(document).ready() is called after the browser event has already occurred.
3463
+ // we once tried to use readyState "interactive" here, but it caused issues like the one
3464
+ // discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15
3465
+ if ( document.readyState === "complete" ) {
3466
+ // Handle it asynchronously to allow scripts the opportunity to delay ready
3467
+ setTimeout( jQuery.ready );
3468
+
3469
+ // Standards-based browsers support DOMContentLoaded
3470
+ } else if ( document.addEventListener ) {
3471
+ // Use the handy event callback
3472
+ document.addEventListener( "DOMContentLoaded", completed, false );
3473
+
3474
+ // A fallback to window.onload, that will always work
3475
+ window.addEventListener( "load", completed, false );
3476
+
3477
+ // If IE event model is used
3478
+ } else {
3479
+ // Ensure firing before onload, maybe late but safe also for iframes
3480
+ document.attachEvent( "onreadystatechange", completed );
3481
+
3482
+ // A fallback to window.onload, that will always work
3483
+ window.attachEvent( "onload", completed );
3484
+
3485
+ // If IE and not a frame
3486
+ // continually check to see if the document is ready
3487
+ var top = false;
3488
+
3489
+ try {
3490
+ top = window.frameElement == null && document.documentElement;
3491
+ } catch(e) {}
3492
+
3493
+ if ( top && top.doScroll ) {
3494
+ (function doScrollCheck() {
3495
+ if ( !jQuery.isReady ) {
3496
+
3497
+ try {
3498
+ // Use the trick by Diego Perini
3499
+ // http://javascript.nwbox.com/IEContentLoaded/
3500
+ top.doScroll("left");
3501
+ } catch(e) {
3502
+ return setTimeout( doScrollCheck, 50 );
3503
+ }
3504
+
3505
+ // detach all dom ready events
3506
+ detach();
3507
+
3508
+ // and execute any waiting functions
3509
+ jQuery.ready();
3510
+ }
3511
+ })();
3512
+ }
3513
+ }
3514
+ }
3515
+ return readyList.promise( obj );
3516
+ };
3517
+
3518
+
3519
+ var strundefined = typeof undefined;
3520
+
3521
+
3522
+
3523
+ // Support: IE<9
3524
+ // Iteration over object's inherited properties before its own
3525
+ var i;
3526
+ for ( i in jQuery( support ) ) {
3527
+ break;
3528
+ }
3529
+ support.ownLast = i !== "0";
3530
+
3531
+ // Note: most support tests are defined in their respective modules.
3532
+ // false until the test is run
3533
+ support.inlineBlockNeedsLayout = false;
3534
+
3535
+ jQuery(function() {
3536
+ // We need to execute this one support test ASAP because we need to know
3537
+ // if body.style.zoom needs to be set.
3538
+
3539
+ var container, div,
3540
+ body = document.getElementsByTagName("body")[0];
3541
+
3542
+ if ( !body ) {
3543
+ // Return for frameset docs that don't have a body
3544
+ return;
3545
+ }
3546
+
3547
+ // Setup
3548
+ container = document.createElement( "div" );
3549
+ container.style.cssText = "border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px";
3550
+
3551
+ div = document.createElement( "div" );
3552
+ body.appendChild( container ).appendChild( div );
3553
+
3554
+ if ( typeof div.style.zoom !== strundefined ) {
3555
+ // Support: IE<8
3556
+ // Check if natively block-level elements act like inline-block
3557
+ // elements when setting their display to 'inline' and giving
3558
+ // them layout
3559
+ div.style.cssText = "border:0;margin:0;width:1px;padding:1px;display:inline;zoom:1";
3560
+
3561
+ if ( (support.inlineBlockNeedsLayout = ( div.offsetWidth === 3 )) ) {
3562
+ // Prevent IE 6 from affecting layout for positioned elements #11048
3563
+ // Prevent IE from shrinking the body in IE 7 mode #12869
3564
+ // Support: IE<8
3565
+ body.style.zoom = 1;
3566
+ }
3567
+ }
3568
+
3569
+ body.removeChild( container );
3570
+
3571
+ // Null elements to avoid leaks in IE
3572
+ container = div = null;
3573
+ });
3574
+
3575
+
3576
+
3577
+
3578
+ (function() {
3579
+ var div = document.createElement( "div" );
3580
+
3581
+ // Execute the test only if not already executed in another module.
3582
+ if (support.deleteExpando == null) {
3583
+ // Support: IE<9
3584
+ support.deleteExpando = true;
3585
+ try {
3586
+ delete div.test;
3587
+ } catch( e ) {
3588
+ support.deleteExpando = false;
3589
+ }
3590
+ }
3591
+
3592
+ // Null elements to avoid leaks in IE.
3593
+ div = null;
3594
+ })();
3595
+
3596
+
3597
+ /**
3598
+ * Determines whether an object can have data
3599
+ */
3600
+ jQuery.acceptData = function( elem ) {
3601
+ var noData = jQuery.noData[ (elem.nodeName + " ").toLowerCase() ],
3602
+ nodeType = +elem.nodeType || 1;
3603
+
3604
+ // Do not set data on non-element DOM nodes because it will not be cleared (#8335).
3605
+ return nodeType !== 1 && nodeType !== 9 ?
3606
+ false :
3607
+
3608
+ // Nodes accept data unless otherwise specified; rejection can be conditional
3609
+ !noData || noData !== true && elem.getAttribute("classid") === noData;
3610
+ };
3611
+
3612
+
3613
+ var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,
3614
+ rmultiDash = /([A-Z])/g;
3615
+
3616
+ function dataAttr( elem, key, data ) {
3617
+ // If nothing was found internally, try to fetch any
3618
+ // data from the HTML5 data-* attribute
3619
+ if ( data === undefined && elem.nodeType === 1 ) {
3620
+
3621
+ var name = "data-" + key.replace( rmultiDash, "-$1" ).toLowerCase();
3622
+
3623
+ data = elem.getAttribute( name );
3624
+
3625
+ if ( typeof data === "string" ) {
3626
+ try {
3627
+ data = data === "true" ? true :
3628
+ data === "false" ? false :
3629
+ data === "null" ? null :
3630
+ // Only convert to a number if it doesn't change the string
3631
+ +data + "" === data ? +data :
3632
+ rbrace.test( data ) ? jQuery.parseJSON( data ) :
3633
+ data;
3634
+ } catch( e ) {}
3635
+
3636
+ // Make sure we set the data so it isn't changed later
3637
+ jQuery.data( elem, key, data );
3638
+
3639
+ } else {
3640
+ data = undefined;
3641
+ }
3642
+ }
3643
+
3644
+ return data;
3645
+ }
3646
+
3647
+ // checks a cache object for emptiness
3648
+ function isEmptyDataObject( obj ) {
3649
+ var name;
3650
+ for ( name in obj ) {
3651
+
3652
+ // if the public data object is empty, the private is still empty
3653
+ if ( name === "data" && jQuery.isEmptyObject( obj[name] ) ) {
3654
+ continue;
3655
+ }
3656
+ if ( name !== "toJSON" ) {
3657
+ return false;
3658
+ }
3659
+ }
3660
+
3661
+ return true;
3662
+ }
3663
+
3664
+ function internalData( elem, name, data, pvt /* Internal Use Only */ ) {
3665
+ if ( !jQuery.acceptData( elem ) ) {
3666
+ return;
3667
+ }
3668
+
3669
+ var ret, thisCache,
3670
+ internalKey = jQuery.expando,
3671
+
3672
+ // We have to handle DOM nodes and JS objects differently because IE6-7
3673
+ // can't GC object references properly across the DOM-JS boundary
3674
+ isNode = elem.nodeType,
3675
+
3676
+ // Only DOM nodes need the global jQuery cache; JS object data is
3677
+ // attached directly to the object so GC can occur automatically
3678
+ cache = isNode ? jQuery.cache : elem,
3679
+
3680
+ // Only defining an ID for JS objects if its cache already exists allows
3681
+ // the code to shortcut on the same path as a DOM node with no cache
3682
+ id = isNode ? elem[ internalKey ] : elem[ internalKey ] && internalKey;
3683
+
3684
+ // Avoid doing any more work than we need to when trying to get data on an
3685
+ // object that has no data at all
3686
+ if ( (!id || !cache[id] || (!pvt && !cache[id].data)) && data === undefined && typeof name === "string" ) {
3687
+ return;
3688
+ }
3689
+
3690
+ if ( !id ) {
3691
+ // Only DOM nodes need a new unique ID for each element since their data
3692
+ // ends up in the global cache
3693
+ if ( isNode ) {
3694
+ id = elem[ internalKey ] = deletedIds.pop() || jQuery.guid++;
3695
+ } else {
3696
+ id = internalKey;
3697
+ }
3698
+ }
3699
+
3700
+ if ( !cache[ id ] ) {
3701
+ // Avoid exposing jQuery metadata on plain JS objects when the object
3702
+ // is serialized using JSON.stringify
3703
+ cache[ id ] = isNode ? {} : { toJSON: jQuery.noop };
3704
+ }
3705
+
3706
+ // An object can be passed to jQuery.data instead of a key/value pair; this gets
3707
+ // shallow copied over onto the existing cache
3708
+ if ( typeof name === "object" || typeof name === "function" ) {
3709
+ if ( pvt ) {
3710
+ cache[ id ] = jQuery.extend( cache[ id ], name );
3711
+ } else {
3712
+ cache[ id ].data = jQuery.extend( cache[ id ].data, name );
3713
+ }
3714
+ }
3715
+
3716
+ thisCache = cache[ id ];
3717
+
3718
+ // jQuery data() is stored in a separate object inside the object's internal data
3719
+ // cache in order to avoid key collisions between internal data and user-defined
3720
+ // data.
3721
+ if ( !pvt ) {
3722
+ if ( !thisCache.data ) {
3723
+ thisCache.data = {};
3724
+ }
3725
+
3726
+ thisCache = thisCache.data;
3727
+ }
3728
+
3729
+ if ( data !== undefined ) {
3730
+ thisCache[ jQuery.camelCase( name ) ] = data;
3731
+ }
3732
+
3733
+ // Check for both converted-to-camel and non-converted data property names
3734
+ // If a data property was specified
3735
+ if ( typeof name === "string" ) {
3736
+
3737
+ // First Try to find as-is property data
3738
+ ret = thisCache[ name ];
3739
+
3740
+ // Test for null|undefined property data
3741
+ if ( ret == null ) {
3742
+
3743
+ // Try to find the camelCased property
3744
+ ret = thisCache[ jQuery.camelCase( name ) ];
3745
+ }
3746
+ } else {
3747
+ ret = thisCache;
3748
+ }
3749
+
3750
+ return ret;
3751
+ }
3752
+
3753
+ function internalRemoveData( elem, name, pvt ) {
3754
+ if ( !jQuery.acceptData( elem ) ) {
3755
+ return;
3756
+ }
3757
+
3758
+ var thisCache, i,
3759
+ isNode = elem.nodeType,
3760
+
3761
+ // See jQuery.data for more information
3762
+ cache = isNode ? jQuery.cache : elem,
3763
+ id = isNode ? elem[ jQuery.expando ] : jQuery.expando;
3764
+
3765
+ // If there is already no cache entry for this object, there is no
3766
+ // purpose in continuing
3767
+ if ( !cache[ id ] ) {
3768
+ return;
3769
+ }
3770
+
3771
+ if ( name ) {
3772
+
3773
+ thisCache = pvt ? cache[ id ] : cache[ id ].data;
3774
+
3775
+ if ( thisCache ) {
3776
+
3777
+ // Support array or space separated string names for data keys
3778
+ if ( !jQuery.isArray( name ) ) {
3779
+
3780
+ // try the string as a key before any manipulation
3781
+ if ( name in thisCache ) {
3782
+ name = [ name ];
3783
+ } else {
3784
+
3785
+ // split the camel cased version by spaces unless a key with the spaces exists
3786
+ name = jQuery.camelCase( name );
3787
+ if ( name in thisCache ) {
3788
+ name = [ name ];
3789
+ } else {
3790
+ name = name.split(" ");
3791
+ }
3792
+ }
3793
+ } else {
3794
+ // If "name" is an array of keys...
3795
+ // When data is initially created, via ("key", "val") signature,
3796
+ // keys will be converted to camelCase.
3797
+ // Since there is no way to tell _how_ a key was added, remove
3798
+ // both plain key and camelCase key. #12786
3799
+ // This will only penalize the array argument path.
3800
+ name = name.concat( jQuery.map( name, jQuery.camelCase ) );
3801
+ }
3802
+
3803
+ i = name.length;
3804
+ while ( i-- ) {
3805
+ delete thisCache[ name[i] ];
3806
+ }
3807
+
3808
+ // If there is no data left in the cache, we want to continue
3809
+ // and let the cache object itself get destroyed
3810
+ if ( pvt ? !isEmptyDataObject(thisCache) : !jQuery.isEmptyObject(thisCache) ) {
3811
+ return;
3812
+ }
3813
+ }
3814
+ }
3815
+
3816
+ // See jQuery.data for more information
3817
+ if ( !pvt ) {
3818
+ delete cache[ id ].data;
3819
+
3820
+ // Don't destroy the parent cache unless the internal data object
3821
+ // had been the only thing left in it
3822
+ if ( !isEmptyDataObject( cache[ id ] ) ) {
3823
+ return;
3824
+ }
3825
+ }
3826
+
3827
+ // Destroy the cache
3828
+ if ( isNode ) {
3829
+ jQuery.cleanData( [ elem ], true );
3830
+
3831
+ // Use delete when supported for expandos or `cache` is not a window per isWindow (#10080)
3832
+ /* jshint eqeqeq: false */
3833
+ } else if ( support.deleteExpando || cache != cache.window ) {
3834
+ /* jshint eqeqeq: true */
3835
+ delete cache[ id ];
3836
+
3837
+ // When all else fails, null
3838
+ } else {
3839
+ cache[ id ] = null;
3840
+ }
3841
+ }
3842
+
3843
+ jQuery.extend({
3844
+ cache: {},
3845
+
3846
+ // The following elements (space-suffixed to avoid Object.prototype collisions)
3847
+ // throw uncatchable exceptions if you attempt to set expando properties
3848
+ noData: {
3849
+ "applet ": true,
3850
+ "embed ": true,
3851
+ // ...but Flash objects (which have this classid) *can* handle expandos
3852
+ "object ": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
3853
+ },
3854
+
3855
+ hasData: function( elem ) {
3856
+ elem = elem.nodeType ? jQuery.cache[ elem[jQuery.expando] ] : elem[ jQuery.expando ];
3857
+ return !!elem && !isEmptyDataObject( elem );
3858
+ },
3859
+
3860
+ data: function( elem, name, data ) {
3861
+ return internalData( elem, name, data );
3862
+ },
3863
+
3864
+ removeData: function( elem, name ) {
3865
+ return internalRemoveData( elem, name );
3866
+ },
3867
+
3868
+ // For internal use only.
3869
+ _data: function( elem, name, data ) {
3870
+ return internalData( elem, name, data, true );
3871
+ },
3872
+
3873
+ _removeData: function( elem, name ) {
3874
+ return internalRemoveData( elem, name, true );
3875
+ }
3876
+ });
3877
+
3878
+ jQuery.fn.extend({
3879
+ data: function( key, value ) {
3880
+ var i, name, data,
3881
+ elem = this[0],
3882
+ attrs = elem && elem.attributes;
3883
+
3884
+ // Special expections of .data basically thwart jQuery.access,
3885
+ // so implement the relevant behavior ourselves
3886
+
3887
+ // Gets all values
3888
+ if ( key === undefined ) {
3889
+ if ( this.length ) {
3890
+ data = jQuery.data( elem );
3891
+
3892
+ if ( elem.nodeType === 1 && !jQuery._data( elem, "parsedAttrs" ) ) {
3893
+ i = attrs.length;
3894
+ while ( i-- ) {
3895
+ name = attrs[i].name;
3896
+
3897
+ if ( name.indexOf("data-") === 0 ) {
3898
+ name = jQuery.camelCase( name.slice(5) );
3899
+
3900
+ dataAttr( elem, name, data[ name ] );
3901
+ }
3902
+ }
3903
+ jQuery._data( elem, "parsedAttrs", true );
3904
+ }
3905
+ }
3906
+
3907
+ return data;
3908
+ }
3909
+
3910
+ // Sets multiple values
3911
+ if ( typeof key === "object" ) {
3912
+ return this.each(function() {
3913
+ jQuery.data( this, key );
3914
+ });
3915
+ }
3916
+
3917
+ return arguments.length > 1 ?
3918
+
3919
+ // Sets one value
3920
+ this.each(function() {
3921
+ jQuery.data( this, key, value );
3922
+ }) :
3923
+
3924
+ // Gets one value
3925
+ // Try to fetch any internally stored data first
3926
+ elem ? dataAttr( elem, key, jQuery.data( elem, key ) ) : undefined;
3927
+ },
3928
+
3929
+ removeData: function( key ) {
3930
+ return this.each(function() {
3931
+ jQuery.removeData( this, key );
3932
+ });
3933
+ }
3934
+ });
3935
+
3936
+
3937
+ jQuery.extend({
3938
+ queue: function( elem, type, data ) {
3939
+ var queue;
3940
+
3941
+ if ( elem ) {
3942
+ type = ( type || "fx" ) + "queue";
3943
+ queue = jQuery._data( elem, type );
3944
+
3945
+ // Speed up dequeue by getting out quickly if this is just a lookup
3946
+ if ( data ) {
3947
+ if ( !queue || jQuery.isArray(data) ) {
3948
+ queue = jQuery._data( elem, type, jQuery.makeArray(data) );
3949
+ } else {
3950
+ queue.push( data );
3951
+ }
3952
+ }
3953
+ return queue || [];
3954
+ }
3955
+ },
3956
+
3957
+ dequeue: function( elem, type ) {
3958
+ type = type || "fx";
3959
+
3960
+ var queue = jQuery.queue( elem, type ),
3961
+ startLength = queue.length,
3962
+ fn = queue.shift(),
3963
+ hooks = jQuery._queueHooks( elem, type ),
3964
+ next = function() {
3965
+ jQuery.dequeue( elem, type );
3966
+ };
3967
+
3968
+ // If the fx queue is dequeued, always remove the progress sentinel
3969
+ if ( fn === "inprogress" ) {
3970
+ fn = queue.shift();
3971
+ startLength--;
3972
+ }
3973
+
3974
+ if ( fn ) {
3975
+
3976
+ // Add a progress sentinel to prevent the fx queue from being
3977
+ // automatically dequeued
3978
+ if ( type === "fx" ) {
3979
+ queue.unshift( "inprogress" );
3980
+ }
3981
+
3982
+ // clear up the last queue stop function
3983
+ delete hooks.stop;
3984
+ fn.call( elem, next, hooks );
3985
+ }
3986
+
3987
+ if ( !startLength && hooks ) {
3988
+ hooks.empty.fire();
3989
+ }
3990
+ },
3991
+
3992
+ // not intended for public consumption - generates a queueHooks object, or returns the current one
3993
+ _queueHooks: function( elem, type ) {
3994
+ var key = type + "queueHooks";
3995
+ return jQuery._data( elem, key ) || jQuery._data( elem, key, {
3996
+ empty: jQuery.Callbacks("once memory").add(function() {
3997
+ jQuery._removeData( elem, type + "queue" );
3998
+ jQuery._removeData( elem, key );
3999
+ })
4000
+ });
4001
+ }
4002
+ });
4003
+
4004
+ jQuery.fn.extend({
4005
+ queue: function( type, data ) {
4006
+ var setter = 2;
4007
+
4008
+ if ( typeof type !== "string" ) {
4009
+ data = type;
4010
+ type = "fx";
4011
+ setter--;
4012
+ }
4013
+
4014
+ if ( arguments.length < setter ) {
4015
+ return jQuery.queue( this[0], type );
4016
+ }
4017
+
4018
+ return data === undefined ?
4019
+ this :
4020
+ this.each(function() {
4021
+ var queue = jQuery.queue( this, type, data );
4022
+
4023
+ // ensure a hooks for this queue
4024
+ jQuery._queueHooks( this, type );
4025
+
4026
+ if ( type === "fx" && queue[0] !== "inprogress" ) {
4027
+ jQuery.dequeue( this, type );
4028
+ }
4029
+ });
4030
+ },
4031
+ dequeue: function( type ) {
4032
+ return this.each(function() {
4033
+ jQuery.dequeue( this, type );
4034
+ });
4035
+ },
4036
+ clearQueue: function( type ) {
4037
+ return this.queue( type || "fx", [] );
4038
+ },
4039
+ // Get a promise resolved when queues of a certain type
4040
+ // are emptied (fx is the type by default)
4041
+ promise: function( type, obj ) {
4042
+ var tmp,
4043
+ count = 1,
4044
+ defer = jQuery.Deferred(),
4045
+ elements = this,
4046
+ i = this.length,
4047
+ resolve = function() {
4048
+ if ( !( --count ) ) {
4049
+ defer.resolveWith( elements, [ elements ] );
4050
+ }
4051
+ };
4052
+
4053
+ if ( typeof type !== "string" ) {
4054
+ obj = type;
4055
+ type = undefined;
4056
+ }
4057
+ type = type || "fx";
4058
+
4059
+ while ( i-- ) {
4060
+ tmp = jQuery._data( elements[ i ], type + "queueHooks" );
4061
+ if ( tmp && tmp.empty ) {
4062
+ count++;
4063
+ tmp.empty.add( resolve );
4064
+ }
4065
+ }
4066
+ resolve();
4067
+ return defer.promise( obj );
4068
+ }
4069
+ });
4070
+ var pnum = (/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/).source;
4071
+
4072
+ var cssExpand = [ "Top", "Right", "Bottom", "Left" ];
4073
+
4074
+ var isHidden = function( elem, el ) {
4075
+ // isHidden might be called from jQuery#filter function;
4076
+ // in that case, element will be second argument
4077
+ elem = el || elem;
4078
+ return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem );
4079
+ };
4080
+
4081
+
4082
+
4083
+ // Multifunctional method to get and set values of a collection
4084
+ // The value/s can optionally be executed if it's a function
4085
+ var access = jQuery.access = function( elems, fn, key, value, chainable, emptyGet, raw ) {
4086
+ var i = 0,
4087
+ length = elems.length,
4088
+ bulk = key == null;
4089
+
4090
+ // Sets many values
4091
+ if ( jQuery.type( key ) === "object" ) {
4092
+ chainable = true;
4093
+ for ( i in key ) {
4094
+ jQuery.access( elems, fn, i, key[i], true, emptyGet, raw );
4095
+ }
4096
+
4097
+ // Sets one value
4098
+ } else if ( value !== undefined ) {
4099
+ chainable = true;
4100
+
4101
+ if ( !jQuery.isFunction( value ) ) {
4102
+ raw = true;
4103
+ }
4104
+
4105
+ if ( bulk ) {
4106
+ // Bulk operations run against the entire set
4107
+ if ( raw ) {
4108
+ fn.call( elems, value );
4109
+ fn = null;
4110
+
4111
+ // ...except when executing function values
4112
+ } else {
4113
+ bulk = fn;
4114
+ fn = function( elem, key, value ) {
4115
+ return bulk.call( jQuery( elem ), value );
4116
+ };
4117
+ }
4118
+ }
4119
+
4120
+ if ( fn ) {
4121
+ for ( ; i < length; i++ ) {
4122
+ fn( elems[i], key, raw ? value : value.call( elems[i], i, fn( elems[i], key ) ) );
4123
+ }
4124
+ }
4125
+ }
4126
+
4127
+ return chainable ?
4128
+ elems :
4129
+
4130
+ // Gets
4131
+ bulk ?
4132
+ fn.call( elems ) :
4133
+ length ? fn( elems[0], key ) : emptyGet;
4134
+ };
4135
+ var rcheckableType = (/^(?:checkbox|radio)$/i);
4136
+
4137
+
4138
+
4139
+ (function() {
4140
+ var fragment = document.createDocumentFragment(),
4141
+ div = document.createElement("div"),
4142
+ input = document.createElement("input");
4143
+
4144
+ // Setup
4145
+ div.setAttribute( "className", "t" );
4146
+ div.innerHTML = " <link/><table></table><a href='/a'>a</a>";
4147
+
4148
+ // IE strips leading whitespace when .innerHTML is used
4149
+ support.leadingWhitespace = div.firstChild.nodeType === 3;
4150
+
4151
+ // Make sure that tbody elements aren't automatically inserted
4152
+ // IE will insert them into empty tables
4153
+ support.tbody = !div.getElementsByTagName( "tbody" ).length;
4154
+
4155
+ // Make sure that link elements get serialized correctly by innerHTML
4156
+ // This requires a wrapper element in IE
4157
+ support.htmlSerialize = !!div.getElementsByTagName( "link" ).length;
4158
+
4159
+ // Makes sure cloning an html5 element does not cause problems
4160
+ // Where outerHTML is undefined, this still works
4161
+ support.html5Clone =
4162
+ document.createElement( "nav" ).cloneNode( true ).outerHTML !== "<:nav></:nav>";
4163
+
4164
+ // Check if a disconnected checkbox will retain its checked
4165
+ // value of true after appended to the DOM (IE6/7)
4166
+ input.type = "checkbox";
4167
+ input.checked = true;
4168
+ fragment.appendChild( input );
4169
+ support.appendChecked = input.checked;
4170
+
4171
+ // Make sure textarea (and checkbox) defaultValue is properly cloned
4172
+ // Support: IE6-IE11+
4173
+ div.innerHTML = "<textarea>x</textarea>";
4174
+ support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue;
4175
+
4176
+ // #11217 - WebKit loses check when the name is after the checked attribute
4177
+ fragment.appendChild( div );
4178
+ div.innerHTML = "<input type='radio' checked='checked' name='t'/>";
4179
+
4180
+ // Support: Safari 5.1, iOS 5.1, Android 4.x, Android 2.3
4181
+ // old WebKit doesn't clone checked state correctly in fragments
4182
+ support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked;
4183
+
4184
+ // Support: IE<9
4185
+ // Opera does not clone events (and typeof div.attachEvent === undefined).
4186
+ // IE9-10 clones events bound via attachEvent, but they don't trigger with .click()
4187
+ support.noCloneEvent = true;
4188
+ if ( div.attachEvent ) {
4189
+ div.attachEvent( "onclick", function() {
4190
+ support.noCloneEvent = false;
4191
+ });
4192
+
4193
+ div.cloneNode( true ).click();
4194
+ }
4195
+
4196
+ // Execute the test only if not already executed in another module.
4197
+ if (support.deleteExpando == null) {
4198
+ // Support: IE<9
4199
+ support.deleteExpando = true;
4200
+ try {
4201
+ delete div.test;
4202
+ } catch( e ) {
4203
+ support.deleteExpando = false;
4204
+ }
4205
+ }
4206
+
4207
+ // Null elements to avoid leaks in IE.
4208
+ fragment = div = input = null;
4209
+ })();
4210
+
4211
+
4212
+ (function() {
4213
+ var i, eventName,
4214
+ div = document.createElement( "div" );
4215
+
4216
+ // Support: IE<9 (lack submit/change bubble), Firefox 23+ (lack focusin event)
4217
+ for ( i in { submit: true, change: true, focusin: true }) {
4218
+ eventName = "on" + i;
4219
+
4220
+ if ( !(support[ i + "Bubbles" ] = eventName in window) ) {
4221
+ // Beware of CSP restrictions (https://developer.mozilla.org/en/Security/CSP)
4222
+ div.setAttribute( eventName, "t" );
4223
+ support[ i + "Bubbles" ] = div.attributes[ eventName ].expando === false;
4224
+ }
4225
+ }
4226
+
4227
+ // Null elements to avoid leaks in IE.
4228
+ div = null;
4229
+ })();
4230
+
4231
+
4232
+ var rformElems = /^(?:input|select|textarea)$/i,
4233
+ rkeyEvent = /^key/,
4234
+ rmouseEvent = /^(?:mouse|contextmenu)|click/,
4235
+ rfocusMorph = /^(?:focusinfocus|focusoutblur)$/,
4236
+ rtypenamespace = /^([^.]*)(?:\.(.+)|)$/;
4237
+
4238
+ function returnTrue() {
4239
+ return true;
4240
+ }
4241
+
4242
+ function returnFalse() {
4243
+ return false;
4244
+ }
4245
+
4246
+ function safeActiveElement() {
4247
+ try {
4248
+ return document.activeElement;
4249
+ } catch ( err ) { }
4250
+ }
4251
+
4252
+ /*
4253
+ * Helper functions for managing events -- not part of the public interface.
4254
+ * Props to Dean Edwards' addEvent library for many of the ideas.
4255
+ */
4256
+ jQuery.event = {
4257
+
4258
+ global: {},
4259
+
4260
+ add: function( elem, types, handler, data, selector ) {
4261
+ var tmp, events, t, handleObjIn,
4262
+ special, eventHandle, handleObj,
4263
+ handlers, type, namespaces, origType,
4264
+ elemData = jQuery._data( elem );
4265
+
4266
+ // Don't attach events to noData or text/comment nodes (but allow plain objects)
4267
+ if ( !elemData ) {
4268
+ return;
4269
+ }
4270
+
4271
+ // Caller can pass in an object of custom data in lieu of the handler
4272
+ if ( handler.handler ) {
4273
+ handleObjIn = handler;
4274
+ handler = handleObjIn.handler;
4275
+ selector = handleObjIn.selector;
4276
+ }
4277
+
4278
+ // Make sure that the handler has a unique ID, used to find/remove it later
4279
+ if ( !handler.guid ) {
4280
+ handler.guid = jQuery.guid++;
4281
+ }
4282
+
4283
+ // Init the element's event structure and main handler, if this is the first
4284
+ if ( !(events = elemData.events) ) {
4285
+ events = elemData.events = {};
4286
+ }
4287
+ if ( !(eventHandle = elemData.handle) ) {
4288
+ eventHandle = elemData.handle = function( e ) {
4289
+ // Discard the second event of a jQuery.event.trigger() and
4290
+ // when an event is called after a page has unloaded
4291
+ return typeof jQuery !== strundefined && (!e || jQuery.event.triggered !== e.type) ?
4292
+ jQuery.event.dispatch.apply( eventHandle.elem, arguments ) :
4293
+ undefined;
4294
+ };
4295
+ // Add elem as a property of the handle fn to prevent a memory leak with IE non-native events
4296
+ eventHandle.elem = elem;
4297
+ }
4298
+
4299
+ // Handle multiple events separated by a space
4300
+ types = ( types || "" ).match( rnotwhite ) || [ "" ];
4301
+ t = types.length;
4302
+ while ( t-- ) {
4303
+ tmp = rtypenamespace.exec( types[t] ) || [];
4304
+ type = origType = tmp[1];
4305
+ namespaces = ( tmp[2] || "" ).split( "." ).sort();
4306
+
4307
+ // There *must* be a type, no attaching namespace-only handlers
4308
+ if ( !type ) {
4309
+ continue;
4310
+ }
4311
+
4312
+ // If event changes its type, use the special event handlers for the changed type
4313
+ special = jQuery.event.special[ type ] || {};
4314
+
4315
+ // If selector defined, determine special event api type, otherwise given type
4316
+ type = ( selector ? special.delegateType : special.bindType ) || type;
4317
+
4318
+ // Update special based on newly reset type
4319
+ special = jQuery.event.special[ type ] || {};
4320
+
4321
+ // handleObj is passed to all event handlers
4322
+ handleObj = jQuery.extend({
4323
+ type: type,
4324
+ origType: origType,
4325
+ data: data,
4326
+ handler: handler,
4327
+ guid: handler.guid,
4328
+ selector: selector,
4329
+ needsContext: selector && jQuery.expr.match.needsContext.test( selector ),
4330
+ namespace: namespaces.join(".")
4331
+ }, handleObjIn );
4332
+
4333
+ // Init the event handler queue if we're the first
4334
+ if ( !(handlers = events[ type ]) ) {
4335
+ handlers = events[ type ] = [];
4336
+ handlers.delegateCount = 0;
4337
+
4338
+ // Only use addEventListener/attachEvent if the special events handler returns false
4339
+ if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) {
4340
+ // Bind the global event handler to the element
4341
+ if ( elem.addEventListener ) {
4342
+ elem.addEventListener( type, eventHandle, false );
4343
+
4344
+ } else if ( elem.attachEvent ) {
4345
+ elem.attachEvent( "on" + type, eventHandle );
4346
+ }
4347
+ }
4348
+ }
4349
+
4350
+ if ( special.add ) {
4351
+ special.add.call( elem, handleObj );
4352
+
4353
+ if ( !handleObj.handler.guid ) {
4354
+ handleObj.handler.guid = handler.guid;
4355
+ }
4356
+ }
4357
+
4358
+ // Add to the element's handler list, delegates in front
4359
+ if ( selector ) {
4360
+ handlers.splice( handlers.delegateCount++, 0, handleObj );
4361
+ } else {
4362
+ handlers.push( handleObj );
4363
+ }
4364
+
4365
+ // Keep track of which events have ever been used, for event optimization
4366
+ jQuery.event.global[ type ] = true;
4367
+ }
4368
+
4369
+ // Nullify elem to prevent memory leaks in IE
4370
+ elem = null;
4371
+ },
4372
+
4373
+ // Detach an event or set of events from an element
4374
+ remove: function( elem, types, handler, selector, mappedTypes ) {
4375
+ var j, handleObj, tmp,
4376
+ origCount, t, events,
4377
+ special, handlers, type,
4378
+ namespaces, origType,
4379
+ elemData = jQuery.hasData( elem ) && jQuery._data( elem );
4380
+
4381
+ if ( !elemData || !(events = elemData.events) ) {
4382
+ return;
4383
+ }
4384
+
4385
+ // Once for each type.namespace in types; type may be omitted
4386
+ types = ( types || "" ).match( rnotwhite ) || [ "" ];
4387
+ t = types.length;
4388
+ while ( t-- ) {
4389
+ tmp = rtypenamespace.exec( types[t] ) || [];
4390
+ type = origType = tmp[1];
4391
+ namespaces = ( tmp[2] || "" ).split( "." ).sort();
4392
+
4393
+ // Unbind all events (on this namespace, if provided) for the element
4394
+ if ( !type ) {
4395
+ for ( type in events ) {
4396
+ jQuery.event.remove( elem, type + types[ t ], handler, selector, true );
4397
+ }
4398
+ continue;
4399
+ }
4400
+
4401
+ special = jQuery.event.special[ type ] || {};
4402
+ type = ( selector ? special.delegateType : special.bindType ) || type;
4403
+ handlers = events[ type ] || [];
4404
+ tmp = tmp[2] && new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" );
4405
+
4406
+ // Remove matching events
4407
+ origCount = j = handlers.length;
4408
+ while ( j-- ) {
4409
+ handleObj = handlers[ j ];
4410
+
4411
+ if ( ( mappedTypes || origType === handleObj.origType ) &&
4412
+ ( !handler || handler.guid === handleObj.guid ) &&
4413
+ ( !tmp || tmp.test( handleObj.namespace ) ) &&
4414
+ ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) {
4415
+ handlers.splice( j, 1 );
4416
+
4417
+ if ( handleObj.selector ) {
4418
+ handlers.delegateCount--;
4419
+ }
4420
+ if ( special.remove ) {
4421
+ special.remove.call( elem, handleObj );
4422
+ }
4423
+ }
4424
+ }
4425
+
4426
+ // Remove generic event handler if we removed something and no more handlers exist
4427
+ // (avoids potential for endless recursion during removal of special event handlers)
4428
+ if ( origCount && !handlers.length ) {
4429
+ if ( !special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false ) {
4430
+ jQuery.removeEvent( elem, type, elemData.handle );
4431
+ }
4432
+
4433
+ delete events[ type ];
4434
+ }
4435
+ }
4436
+
4437
+ // Remove the expando if it's no longer used
4438
+ if ( jQuery.isEmptyObject( events ) ) {
4439
+ delete elemData.handle;
4440
+
4441
+ // removeData also checks for emptiness and clears the expando if empty
4442
+ // so use it instead of delete
4443
+ jQuery._removeData( elem, "events" );
4444
+ }
4445
+ },
4446
+
4447
+ trigger: function( event, data, elem, onlyHandlers ) {
4448
+ var handle, ontype, cur,
4449
+ bubbleType, special, tmp, i,
4450
+ eventPath = [ elem || document ],
4451
+ type = hasOwn.call( event, "type" ) ? event.type : event,
4452
+ namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split(".") : [];
4453
+
4454
+ cur = tmp = elem = elem || document;
4455
+
4456
+ // Don't do events on text and comment nodes
4457
+ if ( elem.nodeType === 3 || elem.nodeType === 8 ) {
4458
+ return;
4459
+ }
4460
+
4461
+ // focus/blur morphs to focusin/out; ensure we're not firing them right now
4462
+ if ( rfocusMorph.test( type + jQuery.event.triggered ) ) {
4463
+ return;
4464
+ }
4465
+
4466
+ if ( type.indexOf(".") >= 0 ) {
4467
+ // Namespaced trigger; create a regexp to match event type in handle()
4468
+ namespaces = type.split(".");
4469
+ type = namespaces.shift();
4470
+ namespaces.sort();
4471
+ }
4472
+ ontype = type.indexOf(":") < 0 && "on" + type;
4473
+
4474
+ // Caller can pass in a jQuery.Event object, Object, or just an event type string
4475
+ event = event[ jQuery.expando ] ?
4476
+ event :
4477
+ new jQuery.Event( type, typeof event === "object" && event );
4478
+
4479
+ // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true)
4480
+ event.isTrigger = onlyHandlers ? 2 : 3;
4481
+ event.namespace = namespaces.join(".");
4482
+ event.namespace_re = event.namespace ?
4483
+ new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ) :
4484
+ null;
4485
+
4486
+ // Clean up the event in case it is being reused
4487
+ event.result = undefined;
4488
+ if ( !event.target ) {
4489
+ event.target = elem;
4490
+ }
4491
+
4492
+ // Clone any incoming data and prepend the event, creating the handler arg list
4493
+ data = data == null ?
4494
+ [ event ] :
4495
+ jQuery.makeArray( data, [ event ] );
4496
+
4497
+ // Allow special events to draw outside the lines
4498
+ special = jQuery.event.special[ type ] || {};
4499
+ if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) {
4500
+ return;
4501
+ }
4502
+
4503
+ // Determine event propagation path in advance, per W3C events spec (#9951)
4504
+ // Bubble up to document, then to window; watch for a global ownerDocument var (#9724)
4505
+ if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) {
4506
+
4507
+ bubbleType = special.delegateType || type;
4508
+ if ( !rfocusMorph.test( bubbleType + type ) ) {
4509
+ cur = cur.parentNode;
4510
+ }
4511
+ for ( ; cur; cur = cur.parentNode ) {
4512
+ eventPath.push( cur );
4513
+ tmp = cur;
4514
+ }
4515
+
4516
+ // Only add window if we got to document (e.g., not plain obj or detached DOM)
4517
+ if ( tmp === (elem.ownerDocument || document) ) {
4518
+ eventPath.push( tmp.defaultView || tmp.parentWindow || window );
4519
+ }
4520
+ }
4521
+
4522
+ // Fire handlers on the event path
4523
+ i = 0;
4524
+ while ( (cur = eventPath[i++]) && !event.isPropagationStopped() ) {
4525
+
4526
+ event.type = i > 1 ?
4527
+ bubbleType :
4528
+ special.bindType || type;
4529
+
4530
+ // jQuery handler
4531
+ handle = ( jQuery._data( cur, "events" ) || {} )[ event.type ] && jQuery._data( cur, "handle" );
4532
+ if ( handle ) {
4533
+ handle.apply( cur, data );
4534
+ }
4535
+
4536
+ // Native handler
4537
+ handle = ontype && cur[ ontype ];
4538
+ if ( handle && handle.apply && jQuery.acceptData( cur ) ) {
4539
+ event.result = handle.apply( cur, data );
4540
+ if ( event.result === false ) {
4541
+ event.preventDefault();
4542
+ }
4543
+ }
4544
+ }
4545
+ event.type = type;
4546
+
4547
+ // If nobody prevented the default action, do it now
4548
+ if ( !onlyHandlers && !event.isDefaultPrevented() ) {
4549
+
4550
+ if ( (!special._default || special._default.apply( eventPath.pop(), data ) === false) &&
4551
+ jQuery.acceptData( elem ) ) {
4552
+
4553
+ // Call a native DOM method on the target with the same name name as the event.
4554
+ // Can't use an .isFunction() check here because IE6/7 fails that test.
4555
+ // Don't do default actions on window, that's where global variables be (#6170)
4556
+ if ( ontype && elem[ type ] && !jQuery.isWindow( elem ) ) {
4557
+
4558
+ // Don't re-trigger an onFOO event when we call its FOO() method
4559
+ tmp = elem[ ontype ];
4560
+
4561
+ if ( tmp ) {
4562
+ elem[ ontype ] = null;
4563
+ }
4564
+
4565
+ // Prevent re-triggering of the same event, since we already bubbled it above
4566
+ jQuery.event.triggered = type;
4567
+ try {
4568
+ elem[ type ]();
4569
+ } catch ( e ) {
4570
+ // IE<9 dies on focus/blur to hidden element (#1486,#12518)
4571
+ // only reproducible on winXP IE8 native, not IE9 in IE8 mode
4572
+ }
4573
+ jQuery.event.triggered = undefined;
4574
+
4575
+ if ( tmp ) {
4576
+ elem[ ontype ] = tmp;
4577
+ }
4578
+ }
4579
+ }
4580
+ }
4581
+
4582
+ return event.result;
4583
+ },
4584
+
4585
+ dispatch: function( event ) {
4586
+
4587
+ // Make a writable jQuery.Event from the native event object
4588
+ event = jQuery.event.fix( event );
4589
+
4590
+ var i, ret, handleObj, matched, j,
4591
+ handlerQueue = [],
4592
+ args = slice.call( arguments ),
4593
+ handlers = ( jQuery._data( this, "events" ) || {} )[ event.type ] || [],
4594
+ special = jQuery.event.special[ event.type ] || {};
4595
+
4596
+ // Use the fix-ed jQuery.Event rather than the (read-only) native event
4597
+ args[0] = event;
4598
+ event.delegateTarget = this;
4599
+
4600
+ // Call the preDispatch hook for the mapped type, and let it bail if desired
4601
+ if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) {
4602
+ return;
4603
+ }
4604
+
4605
+ // Determine handlers
4606
+ handlerQueue = jQuery.event.handlers.call( this, event, handlers );
4607
+
4608
+ // Run delegates first; they may want to stop propagation beneath us
4609
+ i = 0;
4610
+ while ( (matched = handlerQueue[ i++ ]) && !event.isPropagationStopped() ) {
4611
+ event.currentTarget = matched.elem;
4612
+
4613
+ j = 0;
4614
+ while ( (handleObj = matched.handlers[ j++ ]) && !event.isImmediatePropagationStopped() ) {
4615
+
4616
+ // Triggered event must either 1) have no namespace, or
4617
+ // 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace).
4618
+ if ( !event.namespace_re || event.namespace_re.test( handleObj.namespace ) ) {
4619
+
4620
+ event.handleObj = handleObj;
4621
+ event.data = handleObj.data;
4622
+
4623
+ ret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler )
4624
+ .apply( matched.elem, args );
4625
+
4626
+ if ( ret !== undefined ) {
4627
+ if ( (event.result = ret) === false ) {
4628
+ event.preventDefault();
4629
+ event.stopPropagation();
4630
+ }
4631
+ }
4632
+ }
4633
+ }
4634
+ }
4635
+
4636
+ // Call the postDispatch hook for the mapped type
4637
+ if ( special.postDispatch ) {
4638
+ special.postDispatch.call( this, event );
4639
+ }
4640
+
4641
+ return event.result;
4642
+ },
4643
+
4644
+ handlers: function( event, handlers ) {
4645
+ var sel, handleObj, matches, i,
4646
+ handlerQueue = [],
4647
+ delegateCount = handlers.delegateCount,
4648
+ cur = event.target;
4649
+
4650
+ // Find delegate handlers
4651
+ // Black-hole SVG <use> instance trees (#13180)
4652
+ // Avoid non-left-click bubbling in Firefox (#3861)
4653
+ if ( delegateCount && cur.nodeType && (!event.button || event.type !== "click") ) {
4654
+
4655
+ /* jshint eqeqeq: false */
4656
+ for ( ; cur != this; cur = cur.parentNode || this ) {
4657
+ /* jshint eqeqeq: true */
4658
+
4659
+ // Don't check non-elements (#13208)
4660
+ // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764)
4661
+ if ( cur.nodeType === 1 && (cur.disabled !== true || event.type !== "click") ) {
4662
+ matches = [];
4663
+ for ( i = 0; i < delegateCount; i++ ) {
4664
+ handleObj = handlers[ i ];
4665
+
4666
+ // Don't conflict with Object.prototype properties (#13203)
4667
+ sel = handleObj.selector + " ";
4668
+
4669
+ if ( matches[ sel ] === undefined ) {
4670
+ matches[ sel ] = handleObj.needsContext ?
4671
+ jQuery( sel, this ).index( cur ) >= 0 :
4672
+ jQuery.find( sel, this, null, [ cur ] ).length;
4673
+ }
4674
+ if ( matches[ sel ] ) {
4675
+ matches.push( handleObj );
4676
+ }
4677
+ }
4678
+ if ( matches.length ) {
4679
+ handlerQueue.push({ elem: cur, handlers: matches });
4680
+ }
4681
+ }
4682
+ }
4683
+ }
4684
+
4685
+ // Add the remaining (directly-bound) handlers
4686
+ if ( delegateCount < handlers.length ) {
4687
+ handlerQueue.push({ elem: this, handlers: handlers.slice( delegateCount ) });
4688
+ }
4689
+
4690
+ return handlerQueue;
4691
+ },
4692
+
4693
+ fix: function( event ) {
4694
+ if ( event[ jQuery.expando ] ) {
4695
+ return event;
4696
+ }
4697
+
4698
+ // Create a writable copy of the event object and normalize some properties
4699
+ var i, prop, copy,
4700
+ type = event.type,
4701
+ originalEvent = event,
4702
+ fixHook = this.fixHooks[ type ];
4703
+
4704
+ if ( !fixHook ) {
4705
+ this.fixHooks[ type ] = fixHook =
4706
+ rmouseEvent.test( type ) ? this.mouseHooks :
4707
+ rkeyEvent.test( type ) ? this.keyHooks :
4708
+ {};
4709
+ }
4710
+ copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props;
4711
+
4712
+ event = new jQuery.Event( originalEvent );
4713
+
4714
+ i = copy.length;
4715
+ while ( i-- ) {
4716
+ prop = copy[ i ];
4717
+ event[ prop ] = originalEvent[ prop ];
4718
+ }
4719
+
4720
+ // Support: IE<9
4721
+ // Fix target property (#1925)
4722
+ if ( !event.target ) {
4723
+ event.target = originalEvent.srcElement || document;
4724
+ }
4725
+
4726
+ // Support: Chrome 23+, Safari?
4727
+ // Target should not be a text node (#504, #13143)
4728
+ if ( event.target.nodeType === 3 ) {
4729
+ event.target = event.target.parentNode;
4730
+ }
4731
+
4732
+ // Support: IE<9
4733
+ // For mouse/key events, metaKey==false if it's undefined (#3368, #11328)
4734
+ event.metaKey = !!event.metaKey;
4735
+
4736
+ return fixHook.filter ? fixHook.filter( event, originalEvent ) : event;
4737
+ },
4738
+
4739
+ // Includes some event props shared by KeyEvent and MouseEvent
4740
+ props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),
4741
+
4742
+ fixHooks: {},
4743
+
4744
+ keyHooks: {
4745
+ props: "char charCode key keyCode".split(" "),
4746
+ filter: function( event, original ) {
4747
+
4748
+ // Add which for key events
4749
+ if ( event.which == null ) {
4750
+ event.which = original.charCode != null ? original.charCode : original.keyCode;
4751
+ }
4752
+
4753
+ return event;
4754
+ }
4755
+ },
4756
+
4757
+ mouseHooks: {
4758
+ props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),
4759
+ filter: function( event, original ) {
4760
+ var body, eventDoc, doc,
4761
+ button = original.button,
4762
+ fromElement = original.fromElement;
4763
+
4764
+ // Calculate pageX/Y if missing and clientX/Y available
4765
+ if ( event.pageX == null && original.clientX != null ) {
4766
+ eventDoc = event.target.ownerDocument || document;
4767
+ doc = eventDoc.documentElement;
4768
+ body = eventDoc.body;
4769
+
4770
+ event.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 );
4771
+ event.pageY = original.clientY + ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - ( doc && doc.clientTop || body && body.clientTop || 0 );
4772
+ }
4773
+
4774
+ // Add relatedTarget, if necessary
4775
+ if ( !event.relatedTarget && fromElement ) {
4776
+ event.relatedTarget = fromElement === event.target ? original.toElement : fromElement;
4777
+ }
4778
+
4779
+ // Add which for click: 1 === left; 2 === middle; 3 === right
4780
+ // Note: button is not normalized, so don't use it
4781
+ if ( !event.which && button !== undefined ) {
4782
+ event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) );
4783
+ }
4784
+
4785
+ return event;
4786
+ }
4787
+ },
4788
+
4789
+ special: {
4790
+ load: {
4791
+ // Prevent triggered image.load events from bubbling to window.load
4792
+ noBubble: true
4793
+ },
4794
+ focus: {
4795
+ // Fire native event if possible so blur/focus sequence is correct
4796
+ trigger: function() {
4797
+ if ( this !== safeActiveElement() && this.focus ) {
4798
+ try {
4799
+ this.focus();
4800
+ return false;
4801
+ } catch ( e ) {
4802
+ // Support: IE<9
4803
+ // If we error on focus to hidden element (#1486, #12518),
4804
+ // let .trigger() run the handlers
4805
+ }
4806
+ }
4807
+ },
4808
+ delegateType: "focusin"
4809
+ },
4810
+ blur: {
4811
+ trigger: function() {
4812
+ if ( this === safeActiveElement() && this.blur ) {
4813
+ this.blur();
4814
+ return false;
4815
+ }
4816
+ },
4817
+ delegateType: "focusout"
4818
+ },
4819
+ click: {
4820
+ // For checkbox, fire native event so checked state will be right
4821
+ trigger: function() {
4822
+ if ( jQuery.nodeName( this, "input" ) && this.type === "checkbox" && this.click ) {
4823
+ this.click();
4824
+ return false;
4825
+ }
4826
+ },
4827
+
4828
+ // For cross-browser consistency, don't fire native .click() on links
4829
+ _default: function( event ) {
4830
+ return jQuery.nodeName( event.target, "a" );
4831
+ }
4832
+ },
4833
+
4834
+ beforeunload: {
4835
+ postDispatch: function( event ) {
4836
+
4837
+ // Even when returnValue equals to undefined Firefox will still show alert
4838
+ if ( event.result !== undefined ) {
4839
+ event.originalEvent.returnValue = event.result;
4840
+ }
4841
+ }
4842
+ }
4843
+ },
4844
+
4845
+ simulate: function( type, elem, event, bubble ) {
4846
+ // Piggyback on a donor event to simulate a different one.
4847
+ // Fake originalEvent to avoid donor's stopPropagation, but if the
4848
+ // simulated event prevents default then we do the same on the donor.
4849
+ var e = jQuery.extend(
4850
+ new jQuery.Event(),
4851
+ event,
4852
+ {
4853
+ type: type,
4854
+ isSimulated: true,
4855
+ originalEvent: {}
4856
+ }
4857
+ );
4858
+ if ( bubble ) {
4859
+ jQuery.event.trigger( e, null, elem );
4860
+ } else {
4861
+ jQuery.event.dispatch.call( elem, e );
4862
+ }
4863
+ if ( e.isDefaultPrevented() ) {
4864
+ event.preventDefault();
4865
+ }
4866
+ }
4867
+ };
4868
+
4869
+ jQuery.removeEvent = document.removeEventListener ?
4870
+ function( elem, type, handle ) {
4871
+ if ( elem.removeEventListener ) {
4872
+ elem.removeEventListener( type, handle, false );
4873
+ }
4874
+ } :
4875
+ function( elem, type, handle ) {
4876
+ var name = "on" + type;
4877
+
4878
+ if ( elem.detachEvent ) {
4879
+
4880
+ // #8545, #7054, preventing memory leaks for custom events in IE6-8
4881
+ // detachEvent needed property on element, by name of that event, to properly expose it to GC
4882
+ if ( typeof elem[ name ] === strundefined ) {
4883
+ elem[ name ] = null;
4884
+ }
4885
+
4886
+ elem.detachEvent( name, handle );
4887
+ }
4888
+ };
4889
+
4890
+ jQuery.Event = function( src, props ) {
4891
+ // Allow instantiation without the 'new' keyword
4892
+ if ( !(this instanceof jQuery.Event) ) {
4893
+ return new jQuery.Event( src, props );
4894
+ }
4895
+
4896
+ // Event object
4897
+ if ( src && src.type ) {
4898
+ this.originalEvent = src;
4899
+ this.type = src.type;
4900
+
4901
+ // Events bubbling up the document may have been marked as prevented
4902
+ // by a handler lower down the tree; reflect the correct value.
4903
+ this.isDefaultPrevented = src.defaultPrevented ||
4904
+ src.defaultPrevented === undefined && (
4905
+ // Support: IE < 9
4906
+ src.returnValue === false ||
4907
+ // Support: Android < 4.0
4908
+ src.getPreventDefault && src.getPreventDefault() ) ?
4909
+ returnTrue :
4910
+ returnFalse;
4911
+
4912
+ // Event type
4913
+ } else {
4914
+ this.type = src;
4915
+ }
4916
+
4917
+ // Put explicitly provided properties onto the event object
4918
+ if ( props ) {
4919
+ jQuery.extend( this, props );
4920
+ }
4921
+
4922
+ // Create a timestamp if incoming event doesn't have one
4923
+ this.timeStamp = src && src.timeStamp || jQuery.now();
4924
+
4925
+ // Mark it as fixed
4926
+ this[ jQuery.expando ] = true;
4927
+ };
4928
+
4929
+ // jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding
4930
+ // http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html
4931
+ jQuery.Event.prototype = {
4932
+ isDefaultPrevented: returnFalse,
4933
+ isPropagationStopped: returnFalse,
4934
+ isImmediatePropagationStopped: returnFalse,
4935
+
4936
+ preventDefault: function() {
4937
+ var e = this.originalEvent;
4938
+
4939
+ this.isDefaultPrevented = returnTrue;
4940
+ if ( !e ) {
4941
+ return;
4942
+ }
4943
+
4944
+ // If preventDefault exists, run it on the original event
4945
+ if ( e.preventDefault ) {
4946
+ e.preventDefault();
4947
+
4948
+ // Support: IE
4949
+ // Otherwise set the returnValue property of the original event to false
4950
+ } else {
4951
+ e.returnValue = false;
4952
+ }
4953
+ },
4954
+ stopPropagation: function() {
4955
+ var e = this.originalEvent;
4956
+
4957
+ this.isPropagationStopped = returnTrue;
4958
+ if ( !e ) {
4959
+ return;
4960
+ }
4961
+ // If stopPropagation exists, run it on the original event
4962
+ if ( e.stopPropagation ) {
4963
+ e.stopPropagation();
4964
+ }
4965
+
4966
+ // Support: IE
4967
+ // Set the cancelBubble property of the original event to true
4968
+ e.cancelBubble = true;
4969
+ },
4970
+ stopImmediatePropagation: function() {
4971
+ this.isImmediatePropagationStopped = returnTrue;
4972
+ this.stopPropagation();
4973
+ }
4974
+ };
4975
+
4976
+ // Create mouseenter/leave events using mouseover/out and event-time checks
4977
+ jQuery.each({
4978
+ mouseenter: "mouseover",
4979
+ mouseleave: "mouseout"
4980
+ }, function( orig, fix ) {
4981
+ jQuery.event.special[ orig ] = {
4982
+ delegateType: fix,
4983
+ bindType: fix,
4984
+
4985
+ handle: function( event ) {
4986
+ var ret,
4987
+ target = this,
4988
+ related = event.relatedTarget,
4989
+ handleObj = event.handleObj;
4990
+
4991
+ // For mousenter/leave call the handler if related is outside the target.
4992
+ // NB: No relatedTarget if the mouse left/entered the browser window
4993
+ if ( !related || (related !== target && !jQuery.contains( target, related )) ) {
4994
+ event.type = handleObj.origType;
4995
+ ret = handleObj.handler.apply( this, arguments );
4996
+ event.type = fix;
4997
+ }
4998
+ return ret;
4999
+ }
5000
+ };
5001
+ });
5002
+
5003
+ // IE submit delegation
5004
+ if ( !support.submitBubbles ) {
5005
+
5006
+ jQuery.event.special.submit = {
5007
+ setup: function() {
5008
+ // Only need this for delegated form submit events
5009
+ if ( jQuery.nodeName( this, "form" ) ) {
5010
+ return false;
5011
+ }
5012
+
5013
+ // Lazy-add a submit handler when a descendant form may potentially be submitted
5014
+ jQuery.event.add( this, "click._submit keypress._submit", function( e ) {
5015
+ // Node name check avoids a VML-related crash in IE (#9807)
5016
+ var elem = e.target,
5017
+ form = jQuery.nodeName( elem, "input" ) || jQuery.nodeName( elem, "button" ) ? elem.form : undefined;
5018
+ if ( form && !jQuery._data( form, "submitBubbles" ) ) {
5019
+ jQuery.event.add( form, "submit._submit", function( event ) {
5020
+ event._submit_bubble = true;
5021
+ });
5022
+ jQuery._data( form, "submitBubbles", true );
5023
+ }
5024
+ });
5025
+ // return undefined since we don't need an event listener
5026
+ },
5027
+
5028
+ postDispatch: function( event ) {
5029
+ // If form was submitted by the user, bubble the event up the tree
5030
+ if ( event._submit_bubble ) {
5031
+ delete event._submit_bubble;
5032
+ if ( this.parentNode && !event.isTrigger ) {
5033
+ jQuery.event.simulate( "submit", this.parentNode, event, true );
5034
+ }
5035
+ }
5036
+ },
5037
+
5038
+ teardown: function() {
5039
+ // Only need this for delegated form submit events
5040
+ if ( jQuery.nodeName( this, "form" ) ) {
5041
+ return false;
5042
+ }
5043
+
5044
+ // Remove delegated handlers; cleanData eventually reaps submit handlers attached above
5045
+ jQuery.event.remove( this, "._submit" );
5046
+ }
5047
+ };
5048
+ }
5049
+
5050
+ // IE change delegation and checkbox/radio fix
5051
+ if ( !support.changeBubbles ) {
5052
+
5053
+ jQuery.event.special.change = {
5054
+
5055
+ setup: function() {
5056
+
5057
+ if ( rformElems.test( this.nodeName ) ) {
5058
+ // IE doesn't fire change on a check/radio until blur; trigger it on click
5059
+ // after a propertychange. Eat the blur-change in special.change.handle.
5060
+ // This still fires onchange a second time for check/radio after blur.
5061
+ if ( this.type === "checkbox" || this.type === "radio" ) {
5062
+ jQuery.event.add( this, "propertychange._change", function( event ) {
5063
+ if ( event.originalEvent.propertyName === "checked" ) {
5064
+ this._just_changed = true;
5065
+ }
5066
+ });
5067
+ jQuery.event.add( this, "click._change", function( event ) {
5068
+ if ( this._just_changed && !event.isTrigger ) {
5069
+ this._just_changed = false;
5070
+ }
5071
+ // Allow triggered, simulated change events (#11500)
5072
+ jQuery.event.simulate( "change", this, event, true );
5073
+ });
5074
+ }
5075
+ return false;
5076
+ }
5077
+ // Delegated event; lazy-add a change handler on descendant inputs
5078
+ jQuery.event.add( this, "beforeactivate._change", function( e ) {
5079
+ var elem = e.target;
5080
+
5081
+ if ( rformElems.test( elem.nodeName ) && !jQuery._data( elem, "changeBubbles" ) ) {
5082
+ jQuery.event.add( elem, "change._change", function( event ) {
5083
+ if ( this.parentNode && !event.isSimulated && !event.isTrigger ) {
5084
+ jQuery.event.simulate( "change", this.parentNode, event, true );
5085
+ }
5086
+ });
5087
+ jQuery._data( elem, "changeBubbles", true );
5088
+ }
5089
+ });
5090
+ },
5091
+
5092
+ handle: function( event ) {
5093
+ var elem = event.target;
5094
+
5095
+ // Swallow native change events from checkbox/radio, we already triggered them above
5096
+ if ( this !== elem || event.isSimulated || event.isTrigger || (elem.type !== "radio" && elem.type !== "checkbox") ) {
5097
+ return event.handleObj.handler.apply( this, arguments );
5098
+ }
5099
+ },
5100
+
5101
+ teardown: function() {
5102
+ jQuery.event.remove( this, "._change" );
5103
+
5104
+ return !rformElems.test( this.nodeName );
5105
+ }
5106
+ };
5107
+ }
5108
+
5109
+ // Create "bubbling" focus and blur events
5110
+ if ( !support.focusinBubbles ) {
5111
+ jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) {
5112
+
5113
+ // Attach a single capturing handler on the document while someone wants focusin/focusout
5114
+ var handler = function( event ) {
5115
+ jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ), true );
5116
+ };
5117
+
5118
+ jQuery.event.special[ fix ] = {
5119
+ setup: function() {
5120
+ var doc = this.ownerDocument || this,
5121
+ attaches = jQuery._data( doc, fix );
5122
+
5123
+ if ( !attaches ) {
5124
+ doc.addEventListener( orig, handler, true );
5125
+ }
5126
+ jQuery._data( doc, fix, ( attaches || 0 ) + 1 );
5127
+ },
5128
+ teardown: function() {
5129
+ var doc = this.ownerDocument || this,
5130
+ attaches = jQuery._data( doc, fix ) - 1;
5131
+
5132
+ if ( !attaches ) {
5133
+ doc.removeEventListener( orig, handler, true );
5134
+ jQuery._removeData( doc, fix );
5135
+ } else {
5136
+ jQuery._data( doc, fix, attaches );
5137
+ }
5138
+ }
5139
+ };
5140
+ });
5141
+ }
5142
+
5143
+ jQuery.fn.extend({
5144
+
5145
+ on: function( types, selector, data, fn, /*INTERNAL*/ one ) {
5146
+ var type, origFn;
5147
+
5148
+ // Types can be a map of types/handlers
5149
+ if ( typeof types === "object" ) {
5150
+ // ( types-Object, selector, data )
5151
+ if ( typeof selector !== "string" ) {
5152
+ // ( types-Object, data )
5153
+ data = data || selector;
5154
+ selector = undefined;
5155
+ }
5156
+ for ( type in types ) {
5157
+ this.on( type, selector, data, types[ type ], one );
5158
+ }
5159
+ return this;
5160
+ }
5161
+
5162
+ if ( data == null && fn == null ) {
5163
+ // ( types, fn )
5164
+ fn = selector;
5165
+ data = selector = undefined;
5166
+ } else if ( fn == null ) {
5167
+ if ( typeof selector === "string" ) {
5168
+ // ( types, selector, fn )
5169
+ fn = data;
5170
+ data = undefined;
5171
+ } else {
5172
+ // ( types, data, fn )
5173
+ fn = data;
5174
+ data = selector;
5175
+ selector = undefined;
5176
+ }
5177
+ }
5178
+ if ( fn === false ) {
5179
+ fn = returnFalse;
5180
+ } else if ( !fn ) {
5181
+ return this;
5182
+ }
5183
+
5184
+ if ( one === 1 ) {
5185
+ origFn = fn;
5186
+ fn = function( event ) {
5187
+ // Can use an empty set, since event contains the info
5188
+ jQuery().off( event );
5189
+ return origFn.apply( this, arguments );
5190
+ };
5191
+ // Use same guid so caller can remove using origFn
5192
+ fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ );
5193
+ }
5194
+ return this.each( function() {
5195
+ jQuery.event.add( this, types, fn, data, selector );
5196
+ });
5197
+ },
5198
+ one: function( types, selector, data, fn ) {
5199
+ return this.on( types, selector, data, fn, 1 );
5200
+ },
5201
+ off: function( types, selector, fn ) {
5202
+ var handleObj, type;
5203
+ if ( types && types.preventDefault && types.handleObj ) {
5204
+ // ( event ) dispatched jQuery.Event
5205
+ handleObj = types.handleObj;
5206
+ jQuery( types.delegateTarget ).off(
5207
+ handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType,
5208
+ handleObj.selector,
5209
+ handleObj.handler
5210
+ );
5211
+ return this;
5212
+ }
5213
+ if ( typeof types === "object" ) {
5214
+ // ( types-object [, selector] )
5215
+ for ( type in types ) {
5216
+ this.off( type, selector, types[ type ] );
5217
+ }
5218
+ return this;
5219
+ }
5220
+ if ( selector === false || typeof selector === "function" ) {
5221
+ // ( types [, fn] )
5222
+ fn = selector;
5223
+ selector = undefined;
5224
+ }
5225
+ if ( fn === false ) {
5226
+ fn = returnFalse;
5227
+ }
5228
+ return this.each(function() {
5229
+ jQuery.event.remove( this, types, fn, selector );
5230
+ });
5231
+ },
5232
+
5233
+ trigger: function( type, data ) {
5234
+ return this.each(function() {
5235
+ jQuery.event.trigger( type, data, this );
5236
+ });
5237
+ },
5238
+ triggerHandler: function( type, data ) {
5239
+ var elem = this[0];
5240
+ if ( elem ) {
5241
+ return jQuery.event.trigger( type, data, elem, true );
5242
+ }
5243
+ }
5244
+ });
5245
+
5246
+
5247
+ function createSafeFragment( document ) {
5248
+ var list = nodeNames.split( "|" ),
5249
+ safeFrag = document.createDocumentFragment();
5250
+
5251
+ if ( safeFrag.createElement ) {
5252
+ while ( list.length ) {
5253
+ safeFrag.createElement(
5254
+ list.pop()
5255
+ );
5256
+ }
5257
+ }
5258
+ return safeFrag;
5259
+ }
5260
+
5261
+ var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|" +
5262
+ "header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",
5263
+ rinlinejQuery = / jQuery\d+="(?:null|\d+)"/g,
5264
+ rnoshimcache = new RegExp("<(?:" + nodeNames + ")[\\s/>]", "i"),
5265
+ rleadingWhitespace = /^\s+/,
5266
+ rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,
5267
+ rtagName = /<([\w:]+)/,
5268
+ rtbody = /<tbody/i,
5269
+ rhtml = /<|&#?\w+;/,
5270
+ rnoInnerhtml = /<(?:script|style|link)/i,
5271
+ // checked="checked" or checked
5272
+ rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i,
5273
+ rscriptType = /^$|\/(?:java|ecma)script/i,
5274
+ rscriptTypeMasked = /^true\/(.*)/,
5275
+ rcleanScript = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,
5276
+
5277
+ // We have to close these tags to support XHTML (#13200)
5278
+ wrapMap = {
5279
+ option: [ 1, "<select multiple='multiple'>", "</select>" ],
5280
+ legend: [ 1, "<fieldset>", "</fieldset>" ],
5281
+ area: [ 1, "<map>", "</map>" ],
5282
+ param: [ 1, "<object>", "</object>" ],
5283
+ thead: [ 1, "<table>", "</table>" ],
5284
+ tr: [ 2, "<table><tbody>", "</tbody></table>" ],
5285
+ col: [ 2, "<table><tbody></tbody><colgroup>", "</colgroup></table>" ],
5286
+ td: [ 3, "<table><tbody><tr>", "</tr></tbody></table>" ],
5287
+
5288
+ // IE6-8 can't serialize link, script, style, or any html5 (NoScope) tags,
5289
+ // unless wrapped in a div with non-breaking characters in front of it.
5290
+ _default: support.htmlSerialize ? [ 0, "", "" ] : [ 1, "X<div>", "</div>" ]
5291
+ },
5292
+ safeFragment = createSafeFragment( document ),
5293
+ fragmentDiv = safeFragment.appendChild( document.createElement("div") );
5294
+
5295
+ wrapMap.optgroup = wrapMap.option;
5296
+ wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;
5297
+ wrapMap.th = wrapMap.td;
5298
+
5299
+ function getAll( context, tag ) {
5300
+ var elems, elem,
5301
+ i = 0,
5302
+ found = typeof context.getElementsByTagName !== strundefined ? context.getElementsByTagName( tag || "*" ) :
5303
+ typeof context.querySelectorAll !== strundefined ? context.querySelectorAll( tag || "*" ) :
5304
+ undefined;
5305
+
5306
+ if ( !found ) {
5307
+ for ( found = [], elems = context.childNodes || context; (elem = elems[i]) != null; i++ ) {
5308
+ if ( !tag || jQuery.nodeName( elem, tag ) ) {
5309
+ found.push( elem );
5310
+ } else {
5311
+ jQuery.merge( found, getAll( elem, tag ) );
5312
+ }
5313
+ }
5314
+ }
5315
+
5316
+ return tag === undefined || tag && jQuery.nodeName( context, tag ) ?
5317
+ jQuery.merge( [ context ], found ) :
5318
+ found;
5319
+ }
5320
+
5321
+ // Used in buildFragment, fixes the defaultChecked property
5322
+ function fixDefaultChecked( elem ) {
5323
+ if ( rcheckableType.test( elem.type ) ) {
5324
+ elem.defaultChecked = elem.checked;
5325
+ }
5326
+ }
5327
+
5328
+ // Support: IE<8
5329
+ // Manipulating tables requires a tbody
5330
+ function manipulationTarget( elem, content ) {
5331
+ return jQuery.nodeName( elem, "table" ) &&
5332
+ jQuery.nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ?
5333
+
5334
+ elem.getElementsByTagName("tbody")[0] ||
5335
+ elem.appendChild( elem.ownerDocument.createElement("tbody") ) :
5336
+ elem;
5337
+ }
5338
+
5339
+ // Replace/restore the type attribute of script elements for safe DOM manipulation
5340
+ function disableScript( elem ) {
5341
+ elem.type = (jQuery.find.attr( elem, "type" ) !== null) + "/" + elem.type;
5342
+ return elem;
5343
+ }
5344
+ function restoreScript( elem ) {
5345
+ var match = rscriptTypeMasked.exec( elem.type );
5346
+ if ( match ) {
5347
+ elem.type = match[1];
5348
+ } else {
5349
+ elem.removeAttribute("type");
5350
+ }
5351
+ return elem;
5352
+ }
5353
+
5354
+ // Mark scripts as having already been evaluated
5355
+ function setGlobalEval( elems, refElements ) {
5356
+ var elem,
5357
+ i = 0;
5358
+ for ( ; (elem = elems[i]) != null; i++ ) {
5359
+ jQuery._data( elem, "globalEval", !refElements || jQuery._data( refElements[i], "globalEval" ) );
5360
+ }
5361
+ }
5362
+
5363
+ function cloneCopyEvent( src, dest ) {
5364
+
5365
+ if ( dest.nodeType !== 1 || !jQuery.hasData( src ) ) {
5366
+ return;
5367
+ }
5368
+
5369
+ var type, i, l,
5370
+ oldData = jQuery._data( src ),
5371
+ curData = jQuery._data( dest, oldData ),
5372
+ events = oldData.events;
5373
+
5374
+ if ( events ) {
5375
+ delete curData.handle;
5376
+ curData.events = {};
5377
+
5378
+ for ( type in events ) {
5379
+ for ( i = 0, l = events[ type ].length; i < l; i++ ) {
5380
+ jQuery.event.add( dest, type, events[ type ][ i ] );
5381
+ }
5382
+ }
5383
+ }
5384
+
5385
+ // make the cloned public data object a copy from the original
5386
+ if ( curData.data ) {
5387
+ curData.data = jQuery.extend( {}, curData.data );
5388
+ }
5389
+ }
5390
+
5391
+ function fixCloneNodeIssues( src, dest ) {
5392
+ var nodeName, e, data;
5393
+
5394
+ // We do not need to do anything for non-Elements
5395
+ if ( dest.nodeType !== 1 ) {
5396
+ return;
5397
+ }
5398
+
5399
+ nodeName = dest.nodeName.toLowerCase();
5400
+
5401
+ // IE6-8 copies events bound via attachEvent when using cloneNode.
5402
+ if ( !support.noCloneEvent && dest[ jQuery.expando ] ) {
5403
+ data = jQuery._data( dest );
5404
+
5405
+ for ( e in data.events ) {
5406
+ jQuery.removeEvent( dest, e, data.handle );
5407
+ }
5408
+
5409
+ // Event data gets referenced instead of copied if the expando gets copied too
5410
+ dest.removeAttribute( jQuery.expando );
5411
+ }
5412
+
5413
+ // IE blanks contents when cloning scripts, and tries to evaluate newly-set text
5414
+ if ( nodeName === "script" && dest.text !== src.text ) {
5415
+ disableScript( dest ).text = src.text;
5416
+ restoreScript( dest );
5417
+
5418
+ // IE6-10 improperly clones children of object elements using classid.
5419
+ // IE10 throws NoModificationAllowedError if parent is null, #12132.
5420
+ } else if ( nodeName === "object" ) {
5421
+ if ( dest.parentNode ) {
5422
+ dest.outerHTML = src.outerHTML;
5423
+ }
5424
+
5425
+ // This path appears unavoidable for IE9. When cloning an object
5426
+ // element in IE9, the outerHTML strategy above is not sufficient.
5427
+ // If the src has innerHTML and the destination does not,
5428
+ // copy the src.innerHTML into the dest.innerHTML. #10324
5429
+ if ( support.html5Clone && ( src.innerHTML && !jQuery.trim(dest.innerHTML) ) ) {
5430
+ dest.innerHTML = src.innerHTML;
5431
+ }
5432
+
5433
+ } else if ( nodeName === "input" && rcheckableType.test( src.type ) ) {
5434
+ // IE6-8 fails to persist the checked state of a cloned checkbox
5435
+ // or radio button. Worse, IE6-7 fail to give the cloned element
5436
+ // a checked appearance if the defaultChecked value isn't also set
5437
+
5438
+ dest.defaultChecked = dest.checked = src.checked;
5439
+
5440
+ // IE6-7 get confused and end up setting the value of a cloned
5441
+ // checkbox/radio button to an empty string instead of "on"
5442
+ if ( dest.value !== src.value ) {
5443
+ dest.value = src.value;
5444
+ }
5445
+
5446
+ // IE6-8 fails to return the selected option to the default selected
5447
+ // state when cloning options
5448
+ } else if ( nodeName === "option" ) {
5449
+ dest.defaultSelected = dest.selected = src.defaultSelected;
5450
+
5451
+ // IE6-8 fails to set the defaultValue to the correct value when
5452
+ // cloning other types of input fields
5453
+ } else if ( nodeName === "input" || nodeName === "textarea" ) {
5454
+ dest.defaultValue = src.defaultValue;
5455
+ }
5456
+ }
5457
+
5458
+ jQuery.extend({
5459
+ clone: function( elem, dataAndEvents, deepDataAndEvents ) {
5460
+ var destElements, node, clone, i, srcElements,
5461
+ inPage = jQuery.contains( elem.ownerDocument, elem );
5462
+
5463
+ if ( support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test( "<" + elem.nodeName + ">" ) ) {
5464
+ clone = elem.cloneNode( true );
5465
+
5466
+ // IE<=8 does not properly clone detached, unknown element nodes
5467
+ } else {
5468
+ fragmentDiv.innerHTML = elem.outerHTML;
5469
+ fragmentDiv.removeChild( clone = fragmentDiv.firstChild );
5470
+ }
5471
+
5472
+ if ( (!support.noCloneEvent || !support.noCloneChecked) &&
5473
+ (elem.nodeType === 1 || elem.nodeType === 11) && !jQuery.isXMLDoc(elem) ) {
5474
+
5475
+ // We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2
5476
+ destElements = getAll( clone );
5477
+ srcElements = getAll( elem );
5478
+
5479
+ // Fix all IE cloning issues
5480
+ for ( i = 0; (node = srcElements[i]) != null; ++i ) {
5481
+ // Ensure that the destination node is not null; Fixes #9587
5482
+ if ( destElements[i] ) {
5483
+ fixCloneNodeIssues( node, destElements[i] );
5484
+ }
5485
+ }
5486
+ }
5487
+
5488
+ // Copy the events from the original to the clone
5489
+ if ( dataAndEvents ) {
5490
+ if ( deepDataAndEvents ) {
5491
+ srcElements = srcElements || getAll( elem );
5492
+ destElements = destElements || getAll( clone );
5493
+
5494
+ for ( i = 0; (node = srcElements[i]) != null; i++ ) {
5495
+ cloneCopyEvent( node, destElements[i] );
5496
+ }
5497
+ } else {
5498
+ cloneCopyEvent( elem, clone );
5499
+ }
5500
+ }
5501
+
5502
+ // Preserve script evaluation history
5503
+ destElements = getAll( clone, "script" );
5504
+ if ( destElements.length > 0 ) {
5505
+ setGlobalEval( destElements, !inPage && getAll( elem, "script" ) );
5506
+ }
5507
+
5508
+ destElements = srcElements = node = null;
5509
+
5510
+ // Return the cloned set
5511
+ return clone;
5512
+ },
5513
+
5514
+ buildFragment: function( elems, context, scripts, selection ) {
5515
+ var j, elem, contains,
5516
+ tmp, tag, tbody, wrap,
5517
+ l = elems.length,
5518
+
5519
+ // Ensure a safe fragment
5520
+ safe = createSafeFragment( context ),
5521
+
5522
+ nodes = [],
5523
+ i = 0;
5524
+
5525
+ for ( ; i < l; i++ ) {
5526
+ elem = elems[ i ];
5527
+
5528
+ if ( elem || elem === 0 ) {
5529
+
5530
+ // Add nodes directly
5531
+ if ( jQuery.type( elem ) === "object" ) {
5532
+ jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem );
5533
+
5534
+ // Convert non-html into a text node
5535
+ } else if ( !rhtml.test( elem ) ) {
5536
+ nodes.push( context.createTextNode( elem ) );
5537
+
5538
+ // Convert html into DOM nodes
5539
+ } else {
5540
+ tmp = tmp || safe.appendChild( context.createElement("div") );
5541
+
5542
+ // Deserialize a standard representation
5543
+ tag = (rtagName.exec( elem ) || [ "", "" ])[ 1 ].toLowerCase();
5544
+ wrap = wrapMap[ tag ] || wrapMap._default;
5545
+
5546
+ tmp.innerHTML = wrap[1] + elem.replace( rxhtmlTag, "<$1></$2>" ) + wrap[2];
5547
+
5548
+ // Descend through wrappers to the right content
5549
+ j = wrap[0];
5550
+ while ( j-- ) {
5551
+ tmp = tmp.lastChild;
5552
+ }
5553
+
5554
+ // Manually add leading whitespace removed by IE
5555
+ if ( !support.leadingWhitespace && rleadingWhitespace.test( elem ) ) {
5556
+ nodes.push( context.createTextNode( rleadingWhitespace.exec( elem )[0] ) );
5557
+ }
5558
+
5559
+ // Remove IE's autoinserted <tbody> from table fragments
5560
+ if ( !support.tbody ) {
5561
+
5562
+ // String was a <table>, *may* have spurious <tbody>
5563
+ elem = tag === "table" && !rtbody.test( elem ) ?
5564
+ tmp.firstChild :
5565
+
5566
+ // String was a bare <thead> or <tfoot>
5567
+ wrap[1] === "<table>" && !rtbody.test( elem ) ?
5568
+ tmp :
5569
+ 0;
5570
+
5571
+ j = elem && elem.childNodes.length;
5572
+ while ( j-- ) {
5573
+ if ( jQuery.nodeName( (tbody = elem.childNodes[j]), "tbody" ) && !tbody.childNodes.length ) {
5574
+ elem.removeChild( tbody );
5575
+ }
5576
+ }
5577
+ }
5578
+
5579
+ jQuery.merge( nodes, tmp.childNodes );
5580
+
5581
+ // Fix #12392 for WebKit and IE > 9
5582
+ tmp.textContent = "";
5583
+
5584
+ // Fix #12392 for oldIE
5585
+ while ( tmp.firstChild ) {
5586
+ tmp.removeChild( tmp.firstChild );
5587
+ }
5588
+
5589
+ // Remember the top-level container for proper cleanup
5590
+ tmp = safe.lastChild;
5591
+ }
5592
+ }
5593
+ }
5594
+
5595
+ // Fix #11356: Clear elements from fragment
5596
+ if ( tmp ) {
5597
+ safe.removeChild( tmp );
5598
+ }
5599
+
5600
+ // Reset defaultChecked for any radios and checkboxes
5601
+ // about to be appended to the DOM in IE 6/7 (#8060)
5602
+ if ( !support.appendChecked ) {
5603
+ jQuery.grep( getAll( nodes, "input" ), fixDefaultChecked );
5604
+ }
5605
+
5606
+ i = 0;
5607
+ while ( (elem = nodes[ i++ ]) ) {
5608
+
5609
+ // #4087 - If origin and destination elements are the same, and this is
5610
+ // that element, do not do anything
5611
+ if ( selection && jQuery.inArray( elem, selection ) !== -1 ) {
5612
+ continue;
5613
+ }
5614
+
5615
+ contains = jQuery.contains( elem.ownerDocument, elem );
5616
+
5617
+ // Append to fragment
5618
+ tmp = getAll( safe.appendChild( elem ), "script" );
5619
+
5620
+ // Preserve script evaluation history
5621
+ if ( contains ) {
5622
+ setGlobalEval( tmp );
5623
+ }
5624
+
5625
+ // Capture executables
5626
+ if ( scripts ) {
5627
+ j = 0;
5628
+ while ( (elem = tmp[ j++ ]) ) {
5629
+ if ( rscriptType.test( elem.type || "" ) ) {
5630
+ scripts.push( elem );
5631
+ }
5632
+ }
5633
+ }
5634
+ }
5635
+
5636
+ tmp = null;
5637
+
5638
+ return safe;
5639
+ },
5640
+
5641
+ cleanData: function( elems, /* internal */ acceptData ) {
5642
+ var elem, type, id, data,
5643
+ i = 0,
5644
+ internalKey = jQuery.expando,
5645
+ cache = jQuery.cache,
5646
+ deleteExpando = support.deleteExpando,
5647
+ special = jQuery.event.special;
5648
+
5649
+ for ( ; (elem = elems[i]) != null; i++ ) {
5650
+ if ( acceptData || jQuery.acceptData( elem ) ) {
5651
+
5652
+ id = elem[ internalKey ];
5653
+ data = id && cache[ id ];
5654
+
5655
+ if ( data ) {
5656
+ if ( data.events ) {
5657
+ for ( type in data.events ) {
5658
+ if ( special[ type ] ) {
5659
+ jQuery.event.remove( elem, type );
5660
+
5661
+ // This is a shortcut to avoid jQuery.event.remove's overhead
5662
+ } else {
5663
+ jQuery.removeEvent( elem, type, data.handle );
5664
+ }
5665
+ }
5666
+ }
5667
+
5668
+ // Remove cache only if it was not already removed by jQuery.event.remove
5669
+ if ( cache[ id ] ) {
5670
+
5671
+ delete cache[ id ];
5672
+
5673
+ // IE does not allow us to delete expando properties from nodes,
5674
+ // nor does it have a removeAttribute function on Document nodes;
5675
+ // we must handle all of these cases
5676
+ if ( deleteExpando ) {
5677
+ delete elem[ internalKey ];
5678
+
5679
+ } else if ( typeof elem.removeAttribute !== strundefined ) {
5680
+ elem.removeAttribute( internalKey );
5681
+
5682
+ } else {
5683
+ elem[ internalKey ] = null;
5684
+ }
5685
+
5686
+ deletedIds.push( id );
5687
+ }
5688
+ }
5689
+ }
5690
+ }
5691
+ }
5692
+ });
5693
+
5694
+ jQuery.fn.extend({
5695
+ text: function( value ) {
5696
+ return access( this, function( value ) {
5697
+ return value === undefined ?
5698
+ jQuery.text( this ) :
5699
+ this.empty().append( ( this[0] && this[0].ownerDocument || document ).createTextNode( value ) );
5700
+ }, null, value, arguments.length );
5701
+ },
5702
+
5703
+ append: function() {
5704
+ return this.domManip( arguments, function( elem ) {
5705
+ if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {
5706
+ var target = manipulationTarget( this, elem );
5707
+ target.appendChild( elem );
5708
+ }
5709
+ });
5710
+ },
5711
+
5712
+ prepend: function() {
5713
+ return this.domManip( arguments, function( elem ) {
5714
+ if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {
5715
+ var target = manipulationTarget( this, elem );
5716
+ target.insertBefore( elem, target.firstChild );
5717
+ }
5718
+ });
5719
+ },
5720
+
5721
+ before: function() {
5722
+ return this.domManip( arguments, function( elem ) {
5723
+ if ( this.parentNode ) {
5724
+ this.parentNode.insertBefore( elem, this );
5725
+ }
5726
+ });
5727
+ },
5728
+
5729
+ after: function() {
5730
+ return this.domManip( arguments, function( elem ) {
5731
+ if ( this.parentNode ) {
5732
+ this.parentNode.insertBefore( elem, this.nextSibling );
5733
+ }
5734
+ });
5735
+ },
5736
+
5737
+ remove: function( selector, keepData /* Internal Use Only */ ) {
5738
+ var elem,
5739
+ elems = selector ? jQuery.filter( selector, this ) : this,
5740
+ i = 0;
5741
+
5742
+ for ( ; (elem = elems[i]) != null; i++ ) {
5743
+
5744
+ if ( !keepData && elem.nodeType === 1 ) {
5745
+ jQuery.cleanData( getAll( elem ) );
5746
+ }
5747
+
5748
+ if ( elem.parentNode ) {
5749
+ if ( keepData && jQuery.contains( elem.ownerDocument, elem ) ) {
5750
+ setGlobalEval( getAll( elem, "script" ) );
5751
+ }
5752
+ elem.parentNode.removeChild( elem );
5753
+ }
5754
+ }
5755
+
5756
+ return this;
5757
+ },
5758
+
5759
+ empty: function() {
5760
+ var elem,
5761
+ i = 0;
5762
+
5763
+ for ( ; (elem = this[i]) != null; i++ ) {
5764
+ // Remove element nodes and prevent memory leaks
5765
+ if ( elem.nodeType === 1 ) {
5766
+ jQuery.cleanData( getAll( elem, false ) );
5767
+ }
5768
+
5769
+ // Remove any remaining nodes
5770
+ while ( elem.firstChild ) {
5771
+ elem.removeChild( elem.firstChild );
5772
+ }
5773
+
5774
+ // If this is a select, ensure that it displays empty (#12336)
5775
+ // Support: IE<9
5776
+ if ( elem.options && jQuery.nodeName( elem, "select" ) ) {
5777
+ elem.options.length = 0;
5778
+ }
5779
+ }
5780
+
5781
+ return this;
5782
+ },
5783
+
5784
+ clone: function( dataAndEvents, deepDataAndEvents ) {
5785
+ dataAndEvents = dataAndEvents == null ? false : dataAndEvents;
5786
+ deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents;
5787
+
5788
+ return this.map(function() {
5789
+ return jQuery.clone( this, dataAndEvents, deepDataAndEvents );
5790
+ });
5791
+ },
5792
+
5793
+ html: function( value ) {
5794
+ return access( this, function( value ) {
5795
+ var elem = this[ 0 ] || {},
5796
+ i = 0,
5797
+ l = this.length;
5798
+
5799
+ if ( value === undefined ) {
5800
+ return elem.nodeType === 1 ?
5801
+ elem.innerHTML.replace( rinlinejQuery, "" ) :
5802
+ undefined;
5803
+ }
5804
+
5805
+ // See if we can take a shortcut and just use innerHTML
5806
+ if ( typeof value === "string" && !rnoInnerhtml.test( value ) &&
5807
+ ( support.htmlSerialize || !rnoshimcache.test( value ) ) &&
5808
+ ( support.leadingWhitespace || !rleadingWhitespace.test( value ) ) &&
5809
+ !wrapMap[ (rtagName.exec( value ) || [ "", "" ])[ 1 ].toLowerCase() ] ) {
5810
+
5811
+ value = value.replace( rxhtmlTag, "<$1></$2>" );
5812
+
5813
+ try {
5814
+ for (; i < l; i++ ) {
5815
+ // Remove element nodes and prevent memory leaks
5816
+ elem = this[i] || {};
5817
+ if ( elem.nodeType === 1 ) {
5818
+ jQuery.cleanData( getAll( elem, false ) );
5819
+ elem.innerHTML = value;
5820
+ }
5821
+ }
5822
+
5823
+ elem = 0;
5824
+
5825
+ // If using innerHTML throws an exception, use the fallback method
5826
+ } catch(e) {}
5827
+ }
5828
+
5829
+ if ( elem ) {
5830
+ this.empty().append( value );
5831
+ }
5832
+ }, null, value, arguments.length );
5833
+ },
5834
+
5835
+ replaceWith: function() {
5836
+ var arg = arguments[ 0 ];
5837
+
5838
+ // Make the changes, replacing each context element with the new content
5839
+ this.domManip( arguments, function( elem ) {
5840
+ arg = this.parentNode;
5841
+
5842
+ jQuery.cleanData( getAll( this ) );
5843
+
5844
+ if ( arg ) {
5845
+ arg.replaceChild( elem, this );
5846
+ }
5847
+ });
5848
+
5849
+ // Force removal if there was no new content (e.g., from empty arguments)
5850
+ return arg && (arg.length || arg.nodeType) ? this : this.remove();
5851
+ },
5852
+
5853
+ detach: function( selector ) {
5854
+ return this.remove( selector, true );
5855
+ },
5856
+
5857
+ domManip: function( args, callback ) {
5858
+
5859
+ // Flatten any nested arrays
5860
+ args = concat.apply( [], args );
5861
+
5862
+ var first, node, hasScripts,
5863
+ scripts, doc, fragment,
5864
+ i = 0,
5865
+ l = this.length,
5866
+ set = this,
5867
+ iNoClone = l - 1,
5868
+ value = args[0],
5869
+ isFunction = jQuery.isFunction( value );
5870
+
5871
+ // We can't cloneNode fragments that contain checked, in WebKit
5872
+ if ( isFunction ||
5873
+ ( l > 1 && typeof value === "string" &&
5874
+ !support.checkClone && rchecked.test( value ) ) ) {
5875
+ return this.each(function( index ) {
5876
+ var self = set.eq( index );
5877
+ if ( isFunction ) {
5878
+ args[0] = value.call( this, index, self.html() );
5879
+ }
5880
+ self.domManip( args, callback );
5881
+ });
5882
+ }
5883
+
5884
+ if ( l ) {
5885
+ fragment = jQuery.buildFragment( args, this[ 0 ].ownerDocument, false, this );
5886
+ first = fragment.firstChild;
5887
+
5888
+ if ( fragment.childNodes.length === 1 ) {
5889
+ fragment = first;
5890
+ }
5891
+
5892
+ if ( first ) {
5893
+ scripts = jQuery.map( getAll( fragment, "script" ), disableScript );
5894
+ hasScripts = scripts.length;
5895
+
5896
+ // Use the original fragment for the last item instead of the first because it can end up
5897
+ // being emptied incorrectly in certain situations (#8070).
5898
+ for ( ; i < l; i++ ) {
5899
+ node = fragment;
5900
+
5901
+ if ( i !== iNoClone ) {
5902
+ node = jQuery.clone( node, true, true );
5903
+
5904
+ // Keep references to cloned scripts for later restoration
5905
+ if ( hasScripts ) {
5906
+ jQuery.merge( scripts, getAll( node, "script" ) );
5907
+ }
5908
+ }
5909
+
5910
+ callback.call( this[i], node, i );
5911
+ }
5912
+
5913
+ if ( hasScripts ) {
5914
+ doc = scripts[ scripts.length - 1 ].ownerDocument;
5915
+
5916
+ // Reenable scripts
5917
+ jQuery.map( scripts, restoreScript );
5918
+
5919
+ // Evaluate executable scripts on first document insertion
5920
+ for ( i = 0; i < hasScripts; i++ ) {
5921
+ node = scripts[ i ];
5922
+ if ( rscriptType.test( node.type || "" ) &&
5923
+ !jQuery._data( node, "globalEval" ) && jQuery.contains( doc, node ) ) {
5924
+
5925
+ if ( node.src ) {
5926
+ // Optional AJAX dependency, but won't run scripts if not present
5927
+ if ( jQuery._evalUrl ) {
5928
+ jQuery._evalUrl( node.src );
5929
+ }
5930
+ } else {
5931
+ jQuery.globalEval( ( node.text || node.textContent || node.innerHTML || "" ).replace( rcleanScript, "" ) );
5932
+ }
5933
+ }
5934
+ }
5935
+ }
5936
+
5937
+ // Fix #11809: Avoid leaking memory
5938
+ fragment = first = null;
5939
+ }
5940
+ }
5941
+
5942
+ return this;
5943
+ }
5944
+ });
5945
+
5946
+ jQuery.each({
5947
+ appendTo: "append",
5948
+ prependTo: "prepend",
5949
+ insertBefore: "before",
5950
+ insertAfter: "after",
5951
+ replaceAll: "replaceWith"
5952
+ }, function( name, original ) {
5953
+ jQuery.fn[ name ] = function( selector ) {
5954
+ var elems,
5955
+ i = 0,
5956
+ ret = [],
5957
+ insert = jQuery( selector ),
5958
+ last = insert.length - 1;
5959
+
5960
+ for ( ; i <= last; i++ ) {
5961
+ elems = i === last ? this : this.clone(true);
5962
+ jQuery( insert[i] )[ original ]( elems );
5963
+
5964
+ // Modern browsers can apply jQuery collections as arrays, but oldIE needs a .get()
5965
+ push.apply( ret, elems.get() );
5966
+ }
5967
+
5968
+ return this.pushStack( ret );
5969
+ };
5970
+ });
5971
+
5972
+
5973
+ var iframe,
5974
+ elemdisplay = {};
5975
+
5976
+ /**
5977
+ * Retrieve the actual display of a element
5978
+ * @param {String} name nodeName of the element
5979
+ * @param {Object} doc Document object
5980
+ */
5981
+ // Called only from within defaultDisplay
5982
+ function actualDisplay( name, doc ) {
5983
+ var elem = jQuery( doc.createElement( name ) ).appendTo( doc.body ),
5984
+
5985
+ // getDefaultComputedStyle might be reliably used only on attached element
5986
+ display = window.getDefaultComputedStyle ?
5987
+
5988
+ // Use of this method is a temporary fix (more like optmization) until something better comes along,
5989
+ // since it was removed from specification and supported only in FF
5990
+ window.getDefaultComputedStyle( elem[ 0 ] ).display : jQuery.css( elem[ 0 ], "display" );
5991
+
5992
+ // We don't have any data stored on the element,
5993
+ // so use "detach" method as fast way to get rid of the element
5994
+ elem.detach();
5995
+
5996
+ return display;
5997
+ }
5998
+
5999
+ /**
6000
+ * Try to determine the default display value of an element
6001
+ * @param {String} nodeName
6002
+ */
6003
+ function defaultDisplay( nodeName ) {
6004
+ var doc = document,
6005
+ display = elemdisplay[ nodeName ];
6006
+
6007
+ if ( !display ) {
6008
+ display = actualDisplay( nodeName, doc );
6009
+
6010
+ // If the simple way fails, read from inside an iframe
6011
+ if ( display === "none" || !display ) {
6012
+
6013
+ // Use the already-created iframe if possible
6014
+ iframe = (iframe || jQuery( "<iframe frameborder='0' width='0' height='0'/>" )).appendTo( doc.documentElement );
6015
+
6016
+ // Always write a new HTML skeleton so Webkit and Firefox don't choke on reuse
6017
+ doc = ( iframe[ 0 ].contentWindow || iframe[ 0 ].contentDocument ).document;
6018
+
6019
+ // Support: IE
6020
+ doc.write();
6021
+ doc.close();
6022
+
6023
+ display = actualDisplay( nodeName, doc );
6024
+ iframe.detach();
6025
+ }
6026
+
6027
+ // Store the correct default display
6028
+ elemdisplay[ nodeName ] = display;
6029
+ }
6030
+
6031
+ return display;
6032
+ }
6033
+
6034
+
6035
+ (function() {
6036
+ var a, shrinkWrapBlocksVal,
6037
+ div = document.createElement( "div" ),
6038
+ divReset =
6039
+ "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;" +
6040
+ "display:block;padding:0;margin:0;border:0";
6041
+
6042
+ // Setup
6043
+ div.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";
6044
+ a = div.getElementsByTagName( "a" )[ 0 ];
6045
+
6046
+ a.style.cssText = "float:left;opacity:.5";
6047
+
6048
+ // Make sure that element opacity exists
6049
+ // (IE uses filter instead)
6050
+ // Use a regex to work around a WebKit issue. See #5145
6051
+ support.opacity = /^0.5/.test( a.style.opacity );
6052
+
6053
+ // Verify style float existence
6054
+ // (IE uses styleFloat instead of cssFloat)
6055
+ support.cssFloat = !!a.style.cssFloat;
6056
+
6057
+ div.style.backgroundClip = "content-box";
6058
+ div.cloneNode( true ).style.backgroundClip = "";
6059
+ support.clearCloneStyle = div.style.backgroundClip === "content-box";
6060
+
6061
+ // Null elements to avoid leaks in IE.
6062
+ a = div = null;
6063
+
6064
+ support.shrinkWrapBlocks = function() {
6065
+ var body, container, div, containerStyles;
6066
+
6067
+ if ( shrinkWrapBlocksVal == null ) {
6068
+ body = document.getElementsByTagName( "body" )[ 0 ];
6069
+ if ( !body ) {
6070
+ // Test fired too early or in an unsupported environment, exit.
6071
+ return;
6072
+ }
6073
+
6074
+ containerStyles = "border:0;width:0;height:0;position:absolute;top:0;left:-9999px";
6075
+ container = document.createElement( "div" );
6076
+ div = document.createElement( "div" );
6077
+
6078
+ body.appendChild( container ).appendChild( div );
6079
+
6080
+ // Will be changed later if needed.
6081
+ shrinkWrapBlocksVal = false;
6082
+
6083
+ if ( typeof div.style.zoom !== strundefined ) {
6084
+ // Support: IE6
6085
+ // Check if elements with layout shrink-wrap their children
6086
+ div.style.cssText = divReset + ";width:1px;padding:1px;zoom:1";
6087
+ div.innerHTML = "<div></div>";
6088
+ div.firstChild.style.width = "5px";
6089
+ shrinkWrapBlocksVal = div.offsetWidth !== 3;
6090
+ }
6091
+
6092
+ body.removeChild( container );
6093
+
6094
+ // Null elements to avoid leaks in IE.
6095
+ body = container = div = null;
6096
+ }
6097
+
6098
+ return shrinkWrapBlocksVal;
6099
+ };
6100
+
6101
+ })();
6102
+ var rmargin = (/^margin/);
6103
+
6104
+ var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" );
6105
+
6106
+
6107
+
6108
+ var getStyles, curCSS,
6109
+ rposition = /^(top|right|bottom|left)$/;
6110
+
6111
+ if ( window.getComputedStyle ) {
6112
+ getStyles = function( elem ) {
6113
+ return elem.ownerDocument.defaultView.getComputedStyle( elem, null );
6114
+ };
6115
+
6116
+ curCSS = function( elem, name, computed ) {
6117
+ var width, minWidth, maxWidth, ret,
6118
+ style = elem.style;
6119
+
6120
+ computed = computed || getStyles( elem );
6121
+
6122
+ // getPropertyValue is only needed for .css('filter') in IE9, see #12537
6123
+ ret = computed ? computed.getPropertyValue( name ) || computed[ name ] : undefined;
6124
+
6125
+ if ( computed ) {
6126
+
6127
+ if ( ret === "" && !jQuery.contains( elem.ownerDocument, elem ) ) {
6128
+ ret = jQuery.style( elem, name );
6129
+ }
6130
+
6131
+ // A tribute to the "awesome hack by Dean Edwards"
6132
+ // Chrome < 17 and Safari 5.0 uses "computed value" instead of "used value" for margin-right
6133
+ // Safari 5.1.7 (at least) returns percentage for a larger set of values, but width seems to be reliably pixels
6134
+ // this is against the CSSOM draft spec: http://dev.w3.org/csswg/cssom/#resolved-values
6135
+ if ( rnumnonpx.test( ret ) && rmargin.test( name ) ) {
6136
+
6137
+ // Remember the original values
6138
+ width = style.width;
6139
+ minWidth = style.minWidth;
6140
+ maxWidth = style.maxWidth;
6141
+
6142
+ // Put in the new values to get a computed value out
6143
+ style.minWidth = style.maxWidth = style.width = ret;
6144
+ ret = computed.width;
6145
+
6146
+ // Revert the changed values
6147
+ style.width = width;
6148
+ style.minWidth = minWidth;
6149
+ style.maxWidth = maxWidth;
6150
+ }
6151
+ }
6152
+
6153
+ // Support: IE
6154
+ // IE returns zIndex value as an integer.
6155
+ return ret === undefined ?
6156
+ ret :
6157
+ ret + "";
6158
+ };
6159
+ } else if ( document.documentElement.currentStyle ) {
6160
+ getStyles = function( elem ) {
6161
+ return elem.currentStyle;
6162
+ };
6163
+
6164
+ curCSS = function( elem, name, computed ) {
6165
+ var left, rs, rsLeft, ret,
6166
+ style = elem.style;
6167
+
6168
+ computed = computed || getStyles( elem );
6169
+ ret = computed ? computed[ name ] : undefined;
6170
+
6171
+ // Avoid setting ret to empty string here
6172
+ // so we don't default to auto
6173
+ if ( ret == null && style && style[ name ] ) {
6174
+ ret = style[ name ];
6175
+ }
6176
+
6177
+ // From the awesome hack by Dean Edwards
6178
+ // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291
6179
+
6180
+ // If we're not dealing with a regular pixel number
6181
+ // but a number that has a weird ending, we need to convert it to pixels
6182
+ // but not position css attributes, as those are proportional to the parent element instead
6183
+ // and we can't measure the parent instead because it might trigger a "stacking dolls" problem
6184
+ if ( rnumnonpx.test( ret ) && !rposition.test( name ) ) {
6185
+
6186
+ // Remember the original values
6187
+ left = style.left;
6188
+ rs = elem.runtimeStyle;
6189
+ rsLeft = rs && rs.left;
6190
+
6191
+ // Put in the new values to get a computed value out
6192
+ if ( rsLeft ) {
6193
+ rs.left = elem.currentStyle.left;
6194
+ }
6195
+ style.left = name === "fontSize" ? "1em" : ret;
6196
+ ret = style.pixelLeft + "px";
6197
+
6198
+ // Revert the changed values
6199
+ style.left = left;
6200
+ if ( rsLeft ) {
6201
+ rs.left = rsLeft;
6202
+ }
6203
+ }
6204
+
6205
+ // Support: IE
6206
+ // IE returns zIndex value as an integer.
6207
+ return ret === undefined ?
6208
+ ret :
6209
+ ret + "" || "auto";
6210
+ };
6211
+ }
6212
+
6213
+
6214
+
6215
+
6216
+ function addGetHookIf( conditionFn, hookFn ) {
6217
+ // Define the hook, we'll check on the first run if it's really needed.
6218
+ return {
6219
+ get: function() {
6220
+ var condition = conditionFn();
6221
+
6222
+ if ( condition == null ) {
6223
+ // The test was not ready at this point; screw the hook this time
6224
+ // but check again when needed next time.
6225
+ return;
6226
+ }
6227
+
6228
+ if ( condition ) {
6229
+ // Hook not needed (or it's not possible to use it due to missing dependency),
6230
+ // remove it.
6231
+ // Since there are no other hooks for marginRight, remove the whole object.
6232
+ delete this.get;
6233
+ return;
6234
+ }
6235
+
6236
+ // Hook needed; redefine it so that the support test is not executed again.
6237
+
6238
+ return (this.get = hookFn).apply( this, arguments );
6239
+ }
6240
+ };
6241
+ }
6242
+
6243
+
6244
+ (function() {
6245
+ var a, reliableHiddenOffsetsVal, boxSizingVal, boxSizingReliableVal,
6246
+ pixelPositionVal, reliableMarginRightVal,
6247
+ div = document.createElement( "div" ),
6248
+ containerStyles = "border:0;width:0;height:0;position:absolute;top:0;left:-9999px",
6249
+ divReset =
6250
+ "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;" +
6251
+ "display:block;padding:0;margin:0;border:0";
6252
+
6253
+ // Setup
6254
+ div.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";
6255
+ a = div.getElementsByTagName( "a" )[ 0 ];
6256
+
6257
+ a.style.cssText = "float:left;opacity:.5";
6258
+
6259
+ // Make sure that element opacity exists
6260
+ // (IE uses filter instead)
6261
+ // Use a regex to work around a WebKit issue. See #5145
6262
+ support.opacity = /^0.5/.test( a.style.opacity );
6263
+
6264
+ // Verify style float existence
6265
+ // (IE uses styleFloat instead of cssFloat)
6266
+ support.cssFloat = !!a.style.cssFloat;
6267
+
6268
+ div.style.backgroundClip = "content-box";
6269
+ div.cloneNode( true ).style.backgroundClip = "";
6270
+ support.clearCloneStyle = div.style.backgroundClip === "content-box";
6271
+
6272
+ // Null elements to avoid leaks in IE.
6273
+ a = div = null;
6274
+
6275
+ jQuery.extend(support, {
6276
+ reliableHiddenOffsets: function() {
6277
+ if ( reliableHiddenOffsetsVal != null ) {
6278
+ return reliableHiddenOffsetsVal;
6279
+ }
6280
+
6281
+ var container, tds, isSupported,
6282
+ div = document.createElement( "div" ),
6283
+ body = document.getElementsByTagName( "body" )[ 0 ];
6284
+
6285
+ if ( !body ) {
6286
+ // Return for frameset docs that don't have a body
6287
+ return;
6288
+ }
6289
+
6290
+ // Setup
6291
+ div.setAttribute( "className", "t" );
6292
+ div.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";
6293
+
6294
+ container = document.createElement( "div" );
6295
+ container.style.cssText = containerStyles;
6296
+
6297
+ body.appendChild( container ).appendChild( div );
6298
+
6299
+ // Support: IE8
6300
+ // Check if table cells still have offsetWidth/Height when they are set
6301
+ // to display:none and there are still other visible table cells in a
6302
+ // table row; if so, offsetWidth/Height are not reliable for use when
6303
+ // determining if an element has been hidden directly using
6304
+ // display:none (it is still safe to use offsets if a parent element is
6305
+ // hidden; don safety goggles and see bug #4512 for more information).
6306
+ div.innerHTML = "<table><tr><td></td><td>t</td></tr></table>";
6307
+ tds = div.getElementsByTagName( "td" );
6308
+ tds[ 0 ].style.cssText = "padding:0;margin:0;border:0;display:none";
6309
+ isSupported = ( tds[ 0 ].offsetHeight === 0 );
6310
+
6311
+ tds[ 0 ].style.display = "";
6312
+ tds[ 1 ].style.display = "none";
6313
+
6314
+ // Support: IE8
6315
+ // Check if empty table cells still have offsetWidth/Height
6316
+ reliableHiddenOffsetsVal = isSupported && ( tds[ 0 ].offsetHeight === 0 );
6317
+
6318
+ body.removeChild( container );
6319
+
6320
+ // Null elements to avoid leaks in IE.
6321
+ div = body = null;
6322
+
6323
+ return reliableHiddenOffsetsVal;
6324
+ },
6325
+
6326
+ boxSizing: function() {
6327
+ if ( boxSizingVal == null ) {
6328
+ computeStyleTests();
6329
+ }
6330
+ return boxSizingVal;
6331
+ },
6332
+
6333
+ boxSizingReliable: function() {
6334
+ if ( boxSizingReliableVal == null ) {
6335
+ computeStyleTests();
6336
+ }
6337
+ return boxSizingReliableVal;
6338
+ },
6339
+
6340
+ pixelPosition: function() {
6341
+ if ( pixelPositionVal == null ) {
6342
+ computeStyleTests();
6343
+ }
6344
+ return pixelPositionVal;
6345
+ },
6346
+
6347
+ reliableMarginRight: function() {
6348
+ var body, container, div, marginDiv;
6349
+
6350
+ // Use window.getComputedStyle because jsdom on node.js will break without it.
6351
+ if ( reliableMarginRightVal == null && window.getComputedStyle ) {
6352
+ body = document.getElementsByTagName( "body" )[ 0 ];
6353
+ if ( !body ) {
6354
+ // Test fired too early or in an unsupported environment, exit.
6355
+ return;
6356
+ }
6357
+
6358
+ container = document.createElement( "div" );
6359
+ div = document.createElement( "div" );
6360
+ container.style.cssText = containerStyles;
6361
+
6362
+ body.appendChild( container ).appendChild( div );
6363
+
6364
+ // Check if div with explicit width and no margin-right incorrectly
6365
+ // gets computed margin-right based on width of container. (#3333)
6366
+ // Fails in WebKit before Feb 2011 nightlies
6367
+ // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right
6368
+ marginDiv = div.appendChild( document.createElement( "div" ) );
6369
+ marginDiv.style.cssText = div.style.cssText = divReset;
6370
+ marginDiv.style.marginRight = marginDiv.style.width = "0";
6371
+ div.style.width = "1px";
6372
+
6373
+ reliableMarginRightVal =
6374
+ !parseFloat( ( window.getComputedStyle( marginDiv, null ) || {} ).marginRight );
6375
+
6376
+ body.removeChild( container );
6377
+ }
6378
+
6379
+ return reliableMarginRightVal;
6380
+ }
6381
+ });
6382
+
6383
+ function computeStyleTests() {
6384
+ var container, div,
6385
+ body = document.getElementsByTagName( "body" )[ 0 ];
6386
+
6387
+ if ( !body ) {
6388
+ // Test fired too early or in an unsupported environment, exit.
6389
+ return;
6390
+ }
6391
+
6392
+ container = document.createElement( "div" );
6393
+ div = document.createElement( "div" );
6394
+ container.style.cssText = containerStyles;
6395
+
6396
+ body.appendChild( container ).appendChild( div );
6397
+
6398
+ div.style.cssText =
6399
+ "-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;" +
6400
+ "position:absolute;display:block;padding:1px;border:1px;width:4px;" +
6401
+ "margin-top:1%;top:1%";
6402
+
6403
+ // Workaround failing boxSizing test due to offsetWidth returning wrong value
6404
+ // with some non-1 values of body zoom, ticket #13543
6405
+ jQuery.swap( body, body.style.zoom != null ? { zoom: 1 } : {}, function() {
6406
+ boxSizingVal = div.offsetWidth === 4;
6407
+ });
6408
+
6409
+ // Will be changed later if needed.
6410
+ boxSizingReliableVal = true;
6411
+ pixelPositionVal = false;
6412
+ reliableMarginRightVal = true;
6413
+
6414
+ // Use window.getComputedStyle because jsdom on node.js will break without it.
6415
+ if ( window.getComputedStyle ) {
6416
+ pixelPositionVal = ( window.getComputedStyle( div, null ) || {} ).top !== "1%";
6417
+ boxSizingReliableVal =
6418
+ ( window.getComputedStyle( div, null ) || { width: "4px" } ).width === "4px";
6419
+ }
6420
+
6421
+ body.removeChild( container );
6422
+
6423
+ // Null elements to avoid leaks in IE.
6424
+ div = body = null;
6425
+ }
6426
+
6427
+ })();
6428
+
6429
+
6430
+ // A method for quickly swapping in/out CSS properties to get correct calculations.
6431
+ jQuery.swap = function( elem, options, callback, args ) {
6432
+ var ret, name,
6433
+ old = {};
6434
+
6435
+ // Remember the old values, and insert the new ones
6436
+ for ( name in options ) {
6437
+ old[ name ] = elem.style[ name ];
6438
+ elem.style[ name ] = options[ name ];
6439
+ }
6440
+
6441
+ ret = callback.apply( elem, args || [] );
6442
+
6443
+ // Revert the old values
6444
+ for ( name in options ) {
6445
+ elem.style[ name ] = old[ name ];
6446
+ }
6447
+
6448
+ return ret;
6449
+ };
6450
+
6451
+
6452
+ var
6453
+ ralpha = /alpha\([^)]*\)/i,
6454
+ ropacity = /opacity\s*=\s*([^)]*)/,
6455
+
6456
+ // swappable if display is none or starts with table except "table", "table-cell", or "table-caption"
6457
+ // see here for display values: https://developer.mozilla.org/en-US/docs/CSS/display
6458
+ rdisplayswap = /^(none|table(?!-c[ea]).+)/,
6459
+ rnumsplit = new RegExp( "^(" + pnum + ")(.*)$", "i" ),
6460
+ rrelNum = new RegExp( "^([+-])=(" + pnum + ")", "i" ),
6461
+
6462
+ cssShow = { position: "absolute", visibility: "hidden", display: "block" },
6463
+ cssNormalTransform = {
6464
+ letterSpacing: 0,
6465
+ fontWeight: 400
6466
+ },
6467
+
6468
+ cssPrefixes = [ "Webkit", "O", "Moz", "ms" ];
6469
+
6470
+
6471
+ // return a css property mapped to a potentially vendor prefixed property
6472
+ function vendorPropName( style, name ) {
6473
+
6474
+ // shortcut for names that are not vendor prefixed
6475
+ if ( name in style ) {
6476
+ return name;
6477
+ }
6478
+
6479
+ // check for vendor prefixed names
6480
+ var capName = name.charAt(0).toUpperCase() + name.slice(1),
6481
+ origName = name,
6482
+ i = cssPrefixes.length;
6483
+
6484
+ while ( i-- ) {
6485
+ name = cssPrefixes[ i ] + capName;
6486
+ if ( name in style ) {
6487
+ return name;
6488
+ }
6489
+ }
6490
+
6491
+ return origName;
6492
+ }
6493
+
6494
+ function showHide( elements, show ) {
6495
+ var display, elem, hidden,
6496
+ values = [],
6497
+ index = 0,
6498
+ length = elements.length;
6499
+
6500
+ for ( ; index < length; index++ ) {
6501
+ elem = elements[ index ];
6502
+ if ( !elem.style ) {
6503
+ continue;
6504
+ }
6505
+
6506
+ values[ index ] = jQuery._data( elem, "olddisplay" );
6507
+ display = elem.style.display;
6508
+ if ( show ) {
6509
+ // Reset the inline display of this element to learn if it is
6510
+ // being hidden by cascaded rules or not
6511
+ if ( !values[ index ] && display === "none" ) {
6512
+ elem.style.display = "";
6513
+ }
6514
+
6515
+ // Set elements which have been overridden with display: none
6516
+ // in a stylesheet to whatever the default browser style is
6517
+ // for such an element
6518
+ if ( elem.style.display === "" && isHidden( elem ) ) {
6519
+ values[ index ] = jQuery._data( elem, "olddisplay", defaultDisplay(elem.nodeName) );
6520
+ }
6521
+ } else {
6522
+
6523
+ if ( !values[ index ] ) {
6524
+ hidden = isHidden( elem );
6525
+
6526
+ if ( display && display !== "none" || !hidden ) {
6527
+ jQuery._data( elem, "olddisplay", hidden ? display : jQuery.css( elem, "display" ) );
6528
+ }
6529
+ }
6530
+ }
6531
+ }
6532
+
6533
+ // Set the display of most of the elements in a second loop
6534
+ // to avoid the constant reflow
6535
+ for ( index = 0; index < length; index++ ) {
6536
+ elem = elements[ index ];
6537
+ if ( !elem.style ) {
6538
+ continue;
6539
+ }
6540
+ if ( !show || elem.style.display === "none" || elem.style.display === "" ) {
6541
+ elem.style.display = show ? values[ index ] || "" : "none";
6542
+ }
6543
+ }
6544
+
6545
+ return elements;
6546
+ }
6547
+
6548
+ function setPositiveNumber( elem, value, subtract ) {
6549
+ var matches = rnumsplit.exec( value );
6550
+ return matches ?
6551
+ // Guard against undefined "subtract", e.g., when used as in cssHooks
6552
+ Math.max( 0, matches[ 1 ] - ( subtract || 0 ) ) + ( matches[ 2 ] || "px" ) :
6553
+ value;
6554
+ }
6555
+
6556
+ function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) {
6557
+ var i = extra === ( isBorderBox ? "border" : "content" ) ?
6558
+ // If we already have the right measurement, avoid augmentation
6559
+ 4 :
6560
+ // Otherwise initialize for horizontal or vertical properties
6561
+ name === "width" ? 1 : 0,
6562
+
6563
+ val = 0;
6564
+
6565
+ for ( ; i < 4; i += 2 ) {
6566
+ // both box models exclude margin, so add it if we want it
6567
+ if ( extra === "margin" ) {
6568
+ val += jQuery.css( elem, extra + cssExpand[ i ], true, styles );
6569
+ }
6570
+
6571
+ if ( isBorderBox ) {
6572
+ // border-box includes padding, so remove it if we want content
6573
+ if ( extra === "content" ) {
6574
+ val -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles );
6575
+ }
6576
+
6577
+ // at this point, extra isn't border nor margin, so remove border
6578
+ if ( extra !== "margin" ) {
6579
+ val -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles );
6580
+ }
6581
+ } else {
6582
+ // at this point, extra isn't content, so add padding
6583
+ val += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles );
6584
+
6585
+ // at this point, extra isn't content nor padding, so add border
6586
+ if ( extra !== "padding" ) {
6587
+ val += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles );
6588
+ }
6589
+ }
6590
+ }
6591
+
6592
+ return val;
6593
+ }
6594
+
6595
+ function getWidthOrHeight( elem, name, extra ) {
6596
+
6597
+ // Start with offset property, which is equivalent to the border-box value
6598
+ var valueIsBorderBox = true,
6599
+ val = name === "width" ? elem.offsetWidth : elem.offsetHeight,
6600
+ styles = getStyles( elem ),
6601
+ isBorderBox = support.boxSizing() && jQuery.css( elem, "boxSizing", false, styles ) === "border-box";
6602
+
6603
+ // some non-html elements return undefined for offsetWidth, so check for null/undefined
6604
+ // svg - https://bugzilla.mozilla.org/show_bug.cgi?id=649285
6605
+ // MathML - https://bugzilla.mozilla.org/show_bug.cgi?id=491668
6606
+ if ( val <= 0 || val == null ) {
6607
+ // Fall back to computed then uncomputed css if necessary
6608
+ val = curCSS( elem, name, styles );
6609
+ if ( val < 0 || val == null ) {
6610
+ val = elem.style[ name ];
6611
+ }
6612
+
6613
+ // Computed unit is not pixels. Stop here and return.
6614
+ if ( rnumnonpx.test(val) ) {
6615
+ return val;
6616
+ }
6617
+
6618
+ // we need the check for style in case a browser which returns unreliable values
6619
+ // for getComputedStyle silently falls back to the reliable elem.style
6620
+ valueIsBorderBox = isBorderBox && ( support.boxSizingReliable() || val === elem.style[ name ] );
6621
+
6622
+ // Normalize "", auto, and prepare for extra
6623
+ val = parseFloat( val ) || 0;
6624
+ }
6625
+
6626
+ // use the active box-sizing model to add/subtract irrelevant styles
6627
+ return ( val +
6628
+ augmentWidthOrHeight(
6629
+ elem,
6630
+ name,
6631
+ extra || ( isBorderBox ? "border" : "content" ),
6632
+ valueIsBorderBox,
6633
+ styles
6634
+ )
6635
+ ) + "px";
6636
+ }
6637
+
6638
+ jQuery.extend({
6639
+ // Add in style property hooks for overriding the default
6640
+ // behavior of getting and setting a style property
6641
+ cssHooks: {
6642
+ opacity: {
6643
+ get: function( elem, computed ) {
6644
+ if ( computed ) {
6645
+ // We should always get a number back from opacity
6646
+ var ret = curCSS( elem, "opacity" );
6647
+ return ret === "" ? "1" : ret;
6648
+ }
6649
+ }
6650
+ }
6651
+ },
6652
+
6653
+ // Don't automatically add "px" to these possibly-unitless properties
6654
+ cssNumber: {
6655
+ "columnCount": true,
6656
+ "fillOpacity": true,
6657
+ "fontWeight": true,
6658
+ "lineHeight": true,
6659
+ "opacity": true,
6660
+ "order": true,
6661
+ "orphans": true,
6662
+ "widows": true,
6663
+ "zIndex": true,
6664
+ "zoom": true
6665
+ },
6666
+
6667
+ // Add in properties whose names you wish to fix before
6668
+ // setting or getting the value
6669
+ cssProps: {
6670
+ // normalize float css property
6671
+ "float": support.cssFloat ? "cssFloat" : "styleFloat"
6672
+ },
6673
+
6674
+ // Get and set the style property on a DOM Node
6675
+ style: function( elem, name, value, extra ) {
6676
+ // Don't set styles on text and comment nodes
6677
+ if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) {
6678
+ return;
6679
+ }
6680
+
6681
+ // Make sure that we're working with the right name
6682
+ var ret, type, hooks,
6683
+ origName = jQuery.camelCase( name ),
6684
+ style = elem.style;
6685
+
6686
+ name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( style, origName ) );
6687
+
6688
+ // gets hook for the prefixed version
6689
+ // followed by the unprefixed version
6690
+ hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];
6691
+
6692
+ // Check if we're setting a value
6693
+ if ( value !== undefined ) {
6694
+ type = typeof value;
6695
+
6696
+ // convert relative number strings (+= or -=) to relative numbers. #7345
6697
+ if ( type === "string" && (ret = rrelNum.exec( value )) ) {
6698
+ value = ( ret[1] + 1 ) * ret[2] + parseFloat( jQuery.css( elem, name ) );
6699
+ // Fixes bug #9237
6700
+ type = "number";
6701
+ }
6702
+
6703
+ // Make sure that null and NaN values aren't set. See: #7116
6704
+ if ( value == null || value !== value ) {
6705
+ return;
6706
+ }
6707
+
6708
+ // If a number was passed in, add 'px' to the (except for certain CSS properties)
6709
+ if ( type === "number" && !jQuery.cssNumber[ origName ] ) {
6710
+ value += "px";
6711
+ }
6712
+
6713
+ // Fixes #8908, it can be done more correctly by specifing setters in cssHooks,
6714
+ // but it would mean to define eight (for every problematic property) identical functions
6715
+ if ( !support.clearCloneStyle && value === "" && name.indexOf("background") === 0 ) {
6716
+ style[ name ] = "inherit";
6717
+ }
6718
+
6719
+ // If a hook was provided, use that value, otherwise just set the specified value
6720
+ if ( !hooks || !("set" in hooks) || (value = hooks.set( elem, value, extra )) !== undefined ) {
6721
+
6722
+ // Support: IE
6723
+ // Swallow errors from 'invalid' CSS values (#5509)
6724
+ try {
6725
+ // Support: Chrome, Safari
6726
+ // Setting style to blank string required to delete "style: x !important;"
6727
+ style[ name ] = "";
6728
+ style[ name ] = value;
6729
+ } catch(e) {}
6730
+ }
6731
+
6732
+ } else {
6733
+ // If a hook was provided get the non-computed value from there
6734
+ if ( hooks && "get" in hooks && (ret = hooks.get( elem, false, extra )) !== undefined ) {
6735
+ return ret;
6736
+ }
6737
+
6738
+ // Otherwise just get the value from the style object
6739
+ return style[ name ];
6740
+ }
6741
+ },
6742
+
6743
+ css: function( elem, name, extra, styles ) {
6744
+ var num, val, hooks,
6745
+ origName = jQuery.camelCase( name );
6746
+
6747
+ // Make sure that we're working with the right name
6748
+ name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( elem.style, origName ) );
6749
+
6750
+ // gets hook for the prefixed version
6751
+ // followed by the unprefixed version
6752
+ hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];
6753
+
6754
+ // If a hook was provided get the computed value from there
6755
+ if ( hooks && "get" in hooks ) {
6756
+ val = hooks.get( elem, true, extra );
6757
+ }
6758
+
6759
+ // Otherwise, if a way to get the computed value exists, use that
6760
+ if ( val === undefined ) {
6761
+ val = curCSS( elem, name, styles );
6762
+ }
6763
+
6764
+ //convert "normal" to computed value
6765
+ if ( val === "normal" && name in cssNormalTransform ) {
6766
+ val = cssNormalTransform[ name ];
6767
+ }
6768
+
6769
+ // Return, converting to number if forced or a qualifier was provided and val looks numeric
6770
+ if ( extra === "" || extra ) {
6771
+ num = parseFloat( val );
6772
+ return extra === true || jQuery.isNumeric( num ) ? num || 0 : val;
6773
+ }
6774
+ return val;
6775
+ }
6776
+ });
6777
+
6778
+ jQuery.each([ "height", "width" ], function( i, name ) {
6779
+ jQuery.cssHooks[ name ] = {
6780
+ get: function( elem, computed, extra ) {
6781
+ if ( computed ) {
6782
+ // certain elements can have dimension info if we invisibly show them
6783
+ // however, it must have a current display style that would benefit from this
6784
+ return elem.offsetWidth === 0 && rdisplayswap.test( jQuery.css( elem, "display" ) ) ?
6785
+ jQuery.swap( elem, cssShow, function() {
6786
+ return getWidthOrHeight( elem, name, extra );
6787
+ }) :
6788
+ getWidthOrHeight( elem, name, extra );
6789
+ }
6790
+ },
6791
+
6792
+ set: function( elem, value, extra ) {
6793
+ var styles = extra && getStyles( elem );
6794
+ return setPositiveNumber( elem, value, extra ?
6795
+ augmentWidthOrHeight(
6796
+ elem,
6797
+ name,
6798
+ extra,
6799
+ support.boxSizing() && jQuery.css( elem, "boxSizing", false, styles ) === "border-box",
6800
+ styles
6801
+ ) : 0
6802
+ );
6803
+ }
6804
+ };
6805
+ });
6806
+
6807
+ if ( !support.opacity ) {
6808
+ jQuery.cssHooks.opacity = {
6809
+ get: function( elem, computed ) {
6810
+ // IE uses filters for opacity
6811
+ return ropacity.test( (computed && elem.currentStyle ? elem.currentStyle.filter : elem.style.filter) || "" ) ?
6812
+ ( 0.01 * parseFloat( RegExp.$1 ) ) + "" :
6813
+ computed ? "1" : "";
6814
+ },
6815
+
6816
+ set: function( elem, value ) {
6817
+ var style = elem.style,
6818
+ currentStyle = elem.currentStyle,
6819
+ opacity = jQuery.isNumeric( value ) ? "alpha(opacity=" + value * 100 + ")" : "",
6820
+ filter = currentStyle && currentStyle.filter || style.filter || "";
6821
+
6822
+ // IE has trouble with opacity if it does not have layout
6823
+ // Force it by setting the zoom level
6824
+ style.zoom = 1;
6825
+
6826
+ // if setting opacity to 1, and no other filters exist - attempt to remove filter attribute #6652
6827
+ // if value === "", then remove inline opacity #12685
6828
+ if ( ( value >= 1 || value === "" ) &&
6829
+ jQuery.trim( filter.replace( ralpha, "" ) ) === "" &&
6830
+ style.removeAttribute ) {
6831
+
6832
+ // Setting style.filter to null, "" & " " still leave "filter:" in the cssText
6833
+ // if "filter:" is present at all, clearType is disabled, we want to avoid this
6834
+ // style.removeAttribute is IE Only, but so apparently is this code path...
6835
+ style.removeAttribute( "filter" );
6836
+
6837
+ // if there is no filter style applied in a css rule or unset inline opacity, we are done
6838
+ if ( value === "" || currentStyle && !currentStyle.filter ) {
6839
+ return;
6840
+ }
6841
+ }
6842
+
6843
+ // otherwise, set new filter values
6844
+ style.filter = ralpha.test( filter ) ?
6845
+ filter.replace( ralpha, opacity ) :
6846
+ filter + " " + opacity;
6847
+ }
6848
+ };
6849
+ }
6850
+
6851
+ jQuery.cssHooks.marginRight = addGetHookIf( support.reliableMarginRight,
6852
+ function( elem, computed ) {
6853
+ if ( computed ) {
6854
+ // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right
6855
+ // Work around by temporarily setting element display to inline-block
6856
+ return jQuery.swap( elem, { "display": "inline-block" },
6857
+ curCSS, [ elem, "marginRight" ] );
6858
+ }
6859
+ }
6860
+ );
6861
+
6862
+ // These hooks are used by animate to expand properties
6863
+ jQuery.each({
6864
+ margin: "",
6865
+ padding: "",
6866
+ border: "Width"
6867
+ }, function( prefix, suffix ) {
6868
+ jQuery.cssHooks[ prefix + suffix ] = {
6869
+ expand: function( value ) {
6870
+ var i = 0,
6871
+ expanded = {},
6872
+
6873
+ // assumes a single number if not a string
6874
+ parts = typeof value === "string" ? value.split(" ") : [ value ];
6875
+
6876
+ for ( ; i < 4; i++ ) {
6877
+ expanded[ prefix + cssExpand[ i ] + suffix ] =
6878
+ parts[ i ] || parts[ i - 2 ] || parts[ 0 ];
6879
+ }
6880
+
6881
+ return expanded;
6882
+ }
6883
+ };
6884
+
6885
+ if ( !rmargin.test( prefix ) ) {
6886
+ jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber;
6887
+ }
6888
+ });
6889
+
6890
+ jQuery.fn.extend({
6891
+ css: function( name, value ) {
6892
+ return access( this, function( elem, name, value ) {
6893
+ var styles, len,
6894
+ map = {},
6895
+ i = 0;
6896
+
6897
+ if ( jQuery.isArray( name ) ) {
6898
+ styles = getStyles( elem );
6899
+ len = name.length;
6900
+
6901
+ for ( ; i < len; i++ ) {
6902
+ map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles );
6903
+ }
6904
+
6905
+ return map;
6906
+ }
6907
+
6908
+ return value !== undefined ?
6909
+ jQuery.style( elem, name, value ) :
6910
+ jQuery.css( elem, name );
6911
+ }, name, value, arguments.length > 1 );
6912
+ },
6913
+ show: function() {
6914
+ return showHide( this, true );
6915
+ },
6916
+ hide: function() {
6917
+ return showHide( this );
6918
+ },
6919
+ toggle: function( state ) {
6920
+ if ( typeof state === "boolean" ) {
6921
+ return state ? this.show() : this.hide();
6922
+ }
6923
+
6924
+ return this.each(function() {
6925
+ if ( isHidden( this ) ) {
6926
+ jQuery( this ).show();
6927
+ } else {
6928
+ jQuery( this ).hide();
6929
+ }
6930
+ });
6931
+ }
6932
+ });
6933
+
6934
+
6935
+ function Tween( elem, options, prop, end, easing ) {
6936
+ return new Tween.prototype.init( elem, options, prop, end, easing );
6937
+ }
6938
+ jQuery.Tween = Tween;
6939
+
6940
+ Tween.prototype = {
6941
+ constructor: Tween,
6942
+ init: function( elem, options, prop, end, easing, unit ) {
6943
+ this.elem = elem;
6944
+ this.prop = prop;
6945
+ this.easing = easing || "swing";
6946
+ this.options = options;
6947
+ this.start = this.now = this.cur();
6948
+ this.end = end;
6949
+ this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" );
6950
+ },
6951
+ cur: function() {
6952
+ var hooks = Tween.propHooks[ this.prop ];
6953
+
6954
+ return hooks && hooks.get ?
6955
+ hooks.get( this ) :
6956
+ Tween.propHooks._default.get( this );
6957
+ },
6958
+ run: function( percent ) {
6959
+ var eased,
6960
+ hooks = Tween.propHooks[ this.prop ];
6961
+
6962
+ if ( this.options.duration ) {
6963
+ this.pos = eased = jQuery.easing[ this.easing ](
6964
+ percent, this.options.duration * percent, 0, 1, this.options.duration
6965
+ );
6966
+ } else {
6967
+ this.pos = eased = percent;
6968
+ }
6969
+ this.now = ( this.end - this.start ) * eased + this.start;
6970
+
6971
+ if ( this.options.step ) {
6972
+ this.options.step.call( this.elem, this.now, this );
6973
+ }
6974
+
6975
+ if ( hooks && hooks.set ) {
6976
+ hooks.set( this );
6977
+ } else {
6978
+ Tween.propHooks._default.set( this );
6979
+ }
6980
+ return this;
6981
+ }
6982
+ };
6983
+
6984
+ Tween.prototype.init.prototype = Tween.prototype;
6985
+
6986
+ Tween.propHooks = {
6987
+ _default: {
6988
+ get: function( tween ) {
6989
+ var result;
6990
+
6991
+ if ( tween.elem[ tween.prop ] != null &&
6992
+ (!tween.elem.style || tween.elem.style[ tween.prop ] == null) ) {
6993
+ return tween.elem[ tween.prop ];
6994
+ }
6995
+
6996
+ // passing an empty string as a 3rd parameter to .css will automatically
6997
+ // attempt a parseFloat and fallback to a string if the parse fails
6998
+ // so, simple values such as "10px" are parsed to Float.
6999
+ // complex values such as "rotate(1rad)" are returned as is.
7000
+ result = jQuery.css( tween.elem, tween.prop, "" );
7001
+ // Empty strings, null, undefined and "auto" are converted to 0.
7002
+ return !result || result === "auto" ? 0 : result;
7003
+ },
7004
+ set: function( tween ) {
7005
+ // use step hook for back compat - use cssHook if its there - use .style if its
7006
+ // available and use plain properties where available
7007
+ if ( jQuery.fx.step[ tween.prop ] ) {
7008
+ jQuery.fx.step[ tween.prop ]( tween );
7009
+ } else if ( tween.elem.style && ( tween.elem.style[ jQuery.cssProps[ tween.prop ] ] != null || jQuery.cssHooks[ tween.prop ] ) ) {
7010
+ jQuery.style( tween.elem, tween.prop, tween.now + tween.unit );
7011
+ } else {
7012
+ tween.elem[ tween.prop ] = tween.now;
7013
+ }
7014
+ }
7015
+ }
7016
+ };
7017
+
7018
+ // Support: IE <=9
7019
+ // Panic based approach to setting things on disconnected nodes
7020
+
7021
+ Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = {
7022
+ set: function( tween ) {
7023
+ if ( tween.elem.nodeType && tween.elem.parentNode ) {
7024
+ tween.elem[ tween.prop ] = tween.now;
7025
+ }
7026
+ }
7027
+ };
7028
+
7029
+ jQuery.easing = {
7030
+ linear: function( p ) {
7031
+ return p;
7032
+ },
7033
+ swing: function( p ) {
7034
+ return 0.5 - Math.cos( p * Math.PI ) / 2;
7035
+ }
7036
+ };
7037
+
7038
+ jQuery.fx = Tween.prototype.init;
7039
+
7040
+ // Back Compat <1.8 extension point
7041
+ jQuery.fx.step = {};
7042
+
7043
+
7044
+
7045
+
7046
+ var
7047
+ fxNow, timerId,
7048
+ rfxtypes = /^(?:toggle|show|hide)$/,
7049
+ rfxnum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ),
7050
+ rrun = /queueHooks$/,
7051
+ animationPrefilters = [ defaultPrefilter ],
7052
+ tweeners = {
7053
+ "*": [ function( prop, value ) {
7054
+ var tween = this.createTween( prop, value ),
7055
+ target = tween.cur(),
7056
+ parts = rfxnum.exec( value ),
7057
+ unit = parts && parts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ),
7058
+
7059
+ // Starting value computation is required for potential unit mismatches
7060
+ start = ( jQuery.cssNumber[ prop ] || unit !== "px" && +target ) &&
7061
+ rfxnum.exec( jQuery.css( tween.elem, prop ) ),
7062
+ scale = 1,
7063
+ maxIterations = 20;
7064
+
7065
+ if ( start && start[ 3 ] !== unit ) {
7066
+ // Trust units reported by jQuery.css
7067
+ unit = unit || start[ 3 ];
7068
+
7069
+ // Make sure we update the tween properties later on
7070
+ parts = parts || [];
7071
+
7072
+ // Iteratively approximate from a nonzero starting point
7073
+ start = +target || 1;
7074
+
7075
+ do {
7076
+ // If previous iteration zeroed out, double until we get *something*
7077
+ // Use a string for doubling factor so we don't accidentally see scale as unchanged below
7078
+ scale = scale || ".5";
7079
+
7080
+ // Adjust and apply
7081
+ start = start / scale;
7082
+ jQuery.style( tween.elem, prop, start + unit );
7083
+
7084
+ // Update scale, tolerating zero or NaN from tween.cur()
7085
+ // And breaking the loop if scale is unchanged or perfect, or if we've just had enough
7086
+ } while ( scale !== (scale = tween.cur() / target) && scale !== 1 && --maxIterations );
7087
+ }
7088
+
7089
+ // Update tween properties
7090
+ if ( parts ) {
7091
+ start = tween.start = +start || +target || 0;
7092
+ tween.unit = unit;
7093
+ // If a +=/-= token was provided, we're doing a relative animation
7094
+ tween.end = parts[ 1 ] ?
7095
+ start + ( parts[ 1 ] + 1 ) * parts[ 2 ] :
7096
+ +parts[ 2 ];
7097
+ }
7098
+
7099
+ return tween;
7100
+ } ]
7101
+ };
7102
+
7103
+ // Animations created synchronously will run synchronously
7104
+ function createFxNow() {
7105
+ setTimeout(function() {
7106
+ fxNow = undefined;
7107
+ });
7108
+ return ( fxNow = jQuery.now() );
7109
+ }
7110
+
7111
+ // Generate parameters to create a standard animation
7112
+ function genFx( type, includeWidth ) {
7113
+ var which,
7114
+ attrs = { height: type },
7115
+ i = 0;
7116
+
7117
+ // if we include width, step value is 1 to do all cssExpand values,
7118
+ // if we don't include width, step value is 2 to skip over Left and Right
7119
+ includeWidth = includeWidth ? 1 : 0;
7120
+ for ( ; i < 4 ; i += 2 - includeWidth ) {
7121
+ which = cssExpand[ i ];
7122
+ attrs[ "margin" + which ] = attrs[ "padding" + which ] = type;
7123
+ }
7124
+
7125
+ if ( includeWidth ) {
7126
+ attrs.opacity = attrs.width = type;
7127
+ }
7128
+
7129
+ return attrs;
7130
+ }
7131
+
7132
+ function createTween( value, prop, animation ) {
7133
+ var tween,
7134
+ collection = ( tweeners[ prop ] || [] ).concat( tweeners[ "*" ] ),
7135
+ index = 0,
7136
+ length = collection.length;
7137
+ for ( ; index < length; index++ ) {
7138
+ if ( (tween = collection[ index ].call( animation, prop, value )) ) {
7139
+
7140
+ // we're done with this property
7141
+ return tween;
7142
+ }
7143
+ }
7144
+ }
7145
+
7146
+ function defaultPrefilter( elem, props, opts ) {
7147
+ /* jshint validthis: true */
7148
+ var prop, value, toggle, tween, hooks, oldfire, display, dDisplay,
7149
+ anim = this,
7150
+ orig = {},
7151
+ style = elem.style,
7152
+ hidden = elem.nodeType && isHidden( elem ),
7153
+ dataShow = jQuery._data( elem, "fxshow" );
7154
+
7155
+ // handle queue: false promises
7156
+ if ( !opts.queue ) {
7157
+ hooks = jQuery._queueHooks( elem, "fx" );
7158
+ if ( hooks.unqueued == null ) {
7159
+ hooks.unqueued = 0;
7160
+ oldfire = hooks.empty.fire;
7161
+ hooks.empty.fire = function() {
7162
+ if ( !hooks.unqueued ) {
7163
+ oldfire();
7164
+ }
7165
+ };
7166
+ }
7167
+ hooks.unqueued++;
7168
+
7169
+ anim.always(function() {
7170
+ // doing this makes sure that the complete handler will be called
7171
+ // before this completes
7172
+ anim.always(function() {
7173
+ hooks.unqueued--;
7174
+ if ( !jQuery.queue( elem, "fx" ).length ) {
7175
+ hooks.empty.fire();
7176
+ }
7177
+ });
7178
+ });
7179
+ }
7180
+
7181
+ // height/width overflow pass
7182
+ if ( elem.nodeType === 1 && ( "height" in props || "width" in props ) ) {
7183
+ // Make sure that nothing sneaks out
7184
+ // Record all 3 overflow attributes because IE does not
7185
+ // change the overflow attribute when overflowX and
7186
+ // overflowY are set to the same value
7187
+ opts.overflow = [ style.overflow, style.overflowX, style.overflowY ];
7188
+
7189
+ // Set display property to inline-block for height/width
7190
+ // animations on inline elements that are having width/height animated
7191
+ display = jQuery.css( elem, "display" );
7192
+ dDisplay = defaultDisplay( elem.nodeName );
7193
+ if ( display === "none" ) {
7194
+ display = dDisplay;
7195
+ }
7196
+ if ( display === "inline" &&
7197
+ jQuery.css( elem, "float" ) === "none" ) {
7198
+
7199
+ // inline-level elements accept inline-block;
7200
+ // block-level elements need to be inline with layout
7201
+ if ( !support.inlineBlockNeedsLayout || dDisplay === "inline" ) {
7202
+ style.display = "inline-block";
7203
+ } else {
7204
+ style.zoom = 1;
7205
+ }
7206
+ }
7207
+ }
7208
+
7209
+ if ( opts.overflow ) {
7210
+ style.overflow = "hidden";
7211
+ if ( !support.shrinkWrapBlocks() ) {
7212
+ anim.always(function() {
7213
+ style.overflow = opts.overflow[ 0 ];
7214
+ style.overflowX = opts.overflow[ 1 ];
7215
+ style.overflowY = opts.overflow[ 2 ];
7216
+ });
7217
+ }
7218
+ }
7219
+
7220
+ // show/hide pass
7221
+ for ( prop in props ) {
7222
+ value = props[ prop ];
7223
+ if ( rfxtypes.exec( value ) ) {
7224
+ delete props[ prop ];
7225
+ toggle = toggle || value === "toggle";
7226
+ if ( value === ( hidden ? "hide" : "show" ) ) {
7227
+
7228
+ // If there is dataShow left over from a stopped hide or show and we are going to proceed with show, we should pretend to be hidden
7229
+ if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) {
7230
+ hidden = true;
7231
+ } else {
7232
+ continue;
7233
+ }
7234
+ }
7235
+ orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop );
7236
+ }
7237
+ }
7238
+
7239
+ if ( !jQuery.isEmptyObject( orig ) ) {
7240
+ if ( dataShow ) {
7241
+ if ( "hidden" in dataShow ) {
7242
+ hidden = dataShow.hidden;
7243
+ }
7244
+ } else {
7245
+ dataShow = jQuery._data( elem, "fxshow", {} );
7246
+ }
7247
+
7248
+ // store state if its toggle - enables .stop().toggle() to "reverse"
7249
+ if ( toggle ) {
7250
+ dataShow.hidden = !hidden;
7251
+ }
7252
+ if ( hidden ) {
7253
+ jQuery( elem ).show();
7254
+ } else {
7255
+ anim.done(function() {
7256
+ jQuery( elem ).hide();
7257
+ });
7258
+ }
7259
+ anim.done(function() {
7260
+ var prop;
7261
+ jQuery._removeData( elem, "fxshow" );
7262
+ for ( prop in orig ) {
7263
+ jQuery.style( elem, prop, orig[ prop ] );
7264
+ }
7265
+ });
7266
+ for ( prop in orig ) {
7267
+ tween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim );
7268
+
7269
+ if ( !( prop in dataShow ) ) {
7270
+ dataShow[ prop ] = tween.start;
7271
+ if ( hidden ) {
7272
+ tween.end = tween.start;
7273
+ tween.start = prop === "width" || prop === "height" ? 1 : 0;
7274
+ }
7275
+ }
7276
+ }
7277
+ }
7278
+ }
7279
+
7280
+ function propFilter( props, specialEasing ) {
7281
+ var index, name, easing, value, hooks;
7282
+
7283
+ // camelCase, specialEasing and expand cssHook pass
7284
+ for ( index in props ) {
7285
+ name = jQuery.camelCase( index );
7286
+ easing = specialEasing[ name ];
7287
+ value = props[ index ];
7288
+ if ( jQuery.isArray( value ) ) {
7289
+ easing = value[ 1 ];
7290
+ value = props[ index ] = value[ 0 ];
7291
+ }
7292
+
7293
+ if ( index !== name ) {
7294
+ props[ name ] = value;
7295
+ delete props[ index ];
7296
+ }
7297
+
7298
+ hooks = jQuery.cssHooks[ name ];
7299
+ if ( hooks && "expand" in hooks ) {
7300
+ value = hooks.expand( value );
7301
+ delete props[ name ];
7302
+
7303
+ // not quite $.extend, this wont overwrite keys already present.
7304
+ // also - reusing 'index' from above because we have the correct "name"
7305
+ for ( index in value ) {
7306
+ if ( !( index in props ) ) {
7307
+ props[ index ] = value[ index ];
7308
+ specialEasing[ index ] = easing;
7309
+ }
7310
+ }
7311
+ } else {
7312
+ specialEasing[ name ] = easing;
7313
+ }
7314
+ }
7315
+ }
7316
+
7317
+ function Animation( elem, properties, options ) {
7318
+ var result,
7319
+ stopped,
7320
+ index = 0,
7321
+ length = animationPrefilters.length,
7322
+ deferred = jQuery.Deferred().always( function() {
7323
+ // don't match elem in the :animated selector
7324
+ delete tick.elem;
7325
+ }),
7326
+ tick = function() {
7327
+ if ( stopped ) {
7328
+ return false;
7329
+ }
7330
+ var currentTime = fxNow || createFxNow(),
7331
+ remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ),
7332
+ // archaic crash bug won't allow us to use 1 - ( 0.5 || 0 ) (#12497)
7333
+ temp = remaining / animation.duration || 0,
7334
+ percent = 1 - temp,
7335
+ index = 0,
7336
+ length = animation.tweens.length;
7337
+
7338
+ for ( ; index < length ; index++ ) {
7339
+ animation.tweens[ index ].run( percent );
7340
+ }
7341
+
7342
+ deferred.notifyWith( elem, [ animation, percent, remaining ]);
7343
+
7344
+ if ( percent < 1 && length ) {
7345
+ return remaining;
7346
+ } else {
7347
+ deferred.resolveWith( elem, [ animation ] );
7348
+ return false;
7349
+ }
7350
+ },
7351
+ animation = deferred.promise({
7352
+ elem: elem,
7353
+ props: jQuery.extend( {}, properties ),
7354
+ opts: jQuery.extend( true, { specialEasing: {} }, options ),
7355
+ originalProperties: properties,
7356
+ originalOptions: options,
7357
+ startTime: fxNow || createFxNow(),
7358
+ duration: options.duration,
7359
+ tweens: [],
7360
+ createTween: function( prop, end ) {
7361
+ var tween = jQuery.Tween( elem, animation.opts, prop, end,
7362
+ animation.opts.specialEasing[ prop ] || animation.opts.easing );
7363
+ animation.tweens.push( tween );
7364
+ return tween;
7365
+ },
7366
+ stop: function( gotoEnd ) {
7367
+ var index = 0,
7368
+ // if we are going to the end, we want to run all the tweens
7369
+ // otherwise we skip this part
7370
+ length = gotoEnd ? animation.tweens.length : 0;
7371
+ if ( stopped ) {
7372
+ return this;
7373
+ }
7374
+ stopped = true;
7375
+ for ( ; index < length ; index++ ) {
7376
+ animation.tweens[ index ].run( 1 );
7377
+ }
7378
+
7379
+ // resolve when we played the last frame
7380
+ // otherwise, reject
7381
+ if ( gotoEnd ) {
7382
+ deferred.resolveWith( elem, [ animation, gotoEnd ] );
7383
+ } else {
7384
+ deferred.rejectWith( elem, [ animation, gotoEnd ] );
7385
+ }
7386
+ return this;
7387
+ }
7388
+ }),
7389
+ props = animation.props;
7390
+
7391
+ propFilter( props, animation.opts.specialEasing );
7392
+
7393
+ for ( ; index < length ; index++ ) {
7394
+ result = animationPrefilters[ index ].call( animation, elem, props, animation.opts );
7395
+ if ( result ) {
7396
+ return result;
7397
+ }
7398
+ }
7399
+
7400
+ jQuery.map( props, createTween, animation );
7401
+
7402
+ if ( jQuery.isFunction( animation.opts.start ) ) {
7403
+ animation.opts.start.call( elem, animation );
7404
+ }
7405
+
7406
+ jQuery.fx.timer(
7407
+ jQuery.extend( tick, {
7408
+ elem: elem,
7409
+ anim: animation,
7410
+ queue: animation.opts.queue
7411
+ })
7412
+ );
7413
+
7414
+ // attach callbacks from options
7415
+ return animation.progress( animation.opts.progress )
7416
+ .done( animation.opts.done, animation.opts.complete )
7417
+ .fail( animation.opts.fail )
7418
+ .always( animation.opts.always );
7419
+ }
7420
+
7421
+ jQuery.Animation = jQuery.extend( Animation, {
7422
+ tweener: function( props, callback ) {
7423
+ if ( jQuery.isFunction( props ) ) {
7424
+ callback = props;
7425
+ props = [ "*" ];
7426
+ } else {
7427
+ props = props.split(" ");
7428
+ }
7429
+
7430
+ var prop,
7431
+ index = 0,
7432
+ length = props.length;
7433
+
7434
+ for ( ; index < length ; index++ ) {
7435
+ prop = props[ index ];
7436
+ tweeners[ prop ] = tweeners[ prop ] || [];
7437
+ tweeners[ prop ].unshift( callback );
7438
+ }
7439
+ },
7440
+
7441
+ prefilter: function( callback, prepend ) {
7442
+ if ( prepend ) {
7443
+ animationPrefilters.unshift( callback );
7444
+ } else {
7445
+ animationPrefilters.push( callback );
7446
+ }
7447
+ }
7448
+ });
7449
+
7450
+ jQuery.speed = function( speed, easing, fn ) {
7451
+ var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : {
7452
+ complete: fn || !fn && easing ||
7453
+ jQuery.isFunction( speed ) && speed,
7454
+ duration: speed,
7455
+ easing: fn && easing || easing && !jQuery.isFunction( easing ) && easing
7456
+ };
7457
+
7458
+ opt.duration = jQuery.fx.off ? 0 : typeof opt.duration === "number" ? opt.duration :
7459
+ opt.duration in jQuery.fx.speeds ? jQuery.fx.speeds[ opt.duration ] : jQuery.fx.speeds._default;
7460
+
7461
+ // normalize opt.queue - true/undefined/null -> "fx"
7462
+ if ( opt.queue == null || opt.queue === true ) {
7463
+ opt.queue = "fx";
7464
+ }
7465
+
7466
+ // Queueing
7467
+ opt.old = opt.complete;
7468
+
7469
+ opt.complete = function() {
7470
+ if ( jQuery.isFunction( opt.old ) ) {
7471
+ opt.old.call( this );
7472
+ }
7473
+
7474
+ if ( opt.queue ) {
7475
+ jQuery.dequeue( this, opt.queue );
7476
+ }
7477
+ };
7478
+
7479
+ return opt;
7480
+ };
7481
+
7482
+ jQuery.fn.extend({
7483
+ fadeTo: function( speed, to, easing, callback ) {
7484
+
7485
+ // show any hidden elements after setting opacity to 0
7486
+ return this.filter( isHidden ).css( "opacity", 0 ).show()
7487
+
7488
+ // animate to the value specified
7489
+ .end().animate({ opacity: to }, speed, easing, callback );
7490
+ },
7491
+ animate: function( prop, speed, easing, callback ) {
7492
+ var empty = jQuery.isEmptyObject( prop ),
7493
+ optall = jQuery.speed( speed, easing, callback ),
7494
+ doAnimation = function() {
7495
+ // Operate on a copy of prop so per-property easing won't be lost
7496
+ var anim = Animation( this, jQuery.extend( {}, prop ), optall );
7497
+
7498
+ // Empty animations, or finishing resolves immediately
7499
+ if ( empty || jQuery._data( this, "finish" ) ) {
7500
+ anim.stop( true );
7501
+ }
7502
+ };
7503
+ doAnimation.finish = doAnimation;
7504
+
7505
+ return empty || optall.queue === false ?
7506
+ this.each( doAnimation ) :
7507
+ this.queue( optall.queue, doAnimation );
7508
+ },
7509
+ stop: function( type, clearQueue, gotoEnd ) {
7510
+ var stopQueue = function( hooks ) {
7511
+ var stop = hooks.stop;
7512
+ delete hooks.stop;
7513
+ stop( gotoEnd );
7514
+ };
7515
+
7516
+ if ( typeof type !== "string" ) {
7517
+ gotoEnd = clearQueue;
7518
+ clearQueue = type;
7519
+ type = undefined;
7520
+ }
7521
+ if ( clearQueue && type !== false ) {
7522
+ this.queue( type || "fx", [] );
7523
+ }
7524
+
7525
+ return this.each(function() {
7526
+ var dequeue = true,
7527
+ index = type != null && type + "queueHooks",
7528
+ timers = jQuery.timers,
7529
+ data = jQuery._data( this );
7530
+
7531
+ if ( index ) {
7532
+ if ( data[ index ] && data[ index ].stop ) {
7533
+ stopQueue( data[ index ] );
7534
+ }
7535
+ } else {
7536
+ for ( index in data ) {
7537
+ if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) {
7538
+ stopQueue( data[ index ] );
7539
+ }
7540
+ }
7541
+ }
7542
+
7543
+ for ( index = timers.length; index--; ) {
7544
+ if ( timers[ index ].elem === this && (type == null || timers[ index ].queue === type) ) {
7545
+ timers[ index ].anim.stop( gotoEnd );
7546
+ dequeue = false;
7547
+ timers.splice( index, 1 );
7548
+ }
7549
+ }
7550
+
7551
+ // start the next in the queue if the last step wasn't forced
7552
+ // timers currently will call their complete callbacks, which will dequeue
7553
+ // but only if they were gotoEnd
7554
+ if ( dequeue || !gotoEnd ) {
7555
+ jQuery.dequeue( this, type );
7556
+ }
7557
+ });
7558
+ },
7559
+ finish: function( type ) {
7560
+ if ( type !== false ) {
7561
+ type = type || "fx";
7562
+ }
7563
+ return this.each(function() {
7564
+ var index,
7565
+ data = jQuery._data( this ),
7566
+ queue = data[ type + "queue" ],
7567
+ hooks = data[ type + "queueHooks" ],
7568
+ timers = jQuery.timers,
7569
+ length = queue ? queue.length : 0;
7570
+
7571
+ // enable finishing flag on private data
7572
+ data.finish = true;
7573
+
7574
+ // empty the queue first
7575
+ jQuery.queue( this, type, [] );
7576
+
7577
+ if ( hooks && hooks.stop ) {
7578
+ hooks.stop.call( this, true );
7579
+ }
7580
+
7581
+ // look for any active animations, and finish them
7582
+ for ( index = timers.length; index--; ) {
7583
+ if ( timers[ index ].elem === this && timers[ index ].queue === type ) {
7584
+ timers[ index ].anim.stop( true );
7585
+ timers.splice( index, 1 );
7586
+ }
7587
+ }
7588
+
7589
+ // look for any animations in the old queue and finish them
7590
+ for ( index = 0; index < length; index++ ) {
7591
+ if ( queue[ index ] && queue[ index ].finish ) {
7592
+ queue[ index ].finish.call( this );
7593
+ }
7594
+ }
7595
+
7596
+ // turn off finishing flag
7597
+ delete data.finish;
7598
+ });
7599
+ }
7600
+ });
7601
+
7602
+ jQuery.each([ "toggle", "show", "hide" ], function( i, name ) {
7603
+ var cssFn = jQuery.fn[ name ];
7604
+ jQuery.fn[ name ] = function( speed, easing, callback ) {
7605
+ return speed == null || typeof speed === "boolean" ?
7606
+ cssFn.apply( this, arguments ) :
7607
+ this.animate( genFx( name, true ), speed, easing, callback );
7608
+ };
7609
+ });
7610
+
7611
+ // Generate shortcuts for custom animations
7612
+ jQuery.each({
7613
+ slideDown: genFx("show"),
7614
+ slideUp: genFx("hide"),
7615
+ slideToggle: genFx("toggle"),
7616
+ fadeIn: { opacity: "show" },
7617
+ fadeOut: { opacity: "hide" },
7618
+ fadeToggle: { opacity: "toggle" }
7619
+ }, function( name, props ) {
7620
+ jQuery.fn[ name ] = function( speed, easing, callback ) {
7621
+ return this.animate( props, speed, easing, callback );
7622
+ };
7623
+ });
7624
+
7625
+ jQuery.timers = [];
7626
+ jQuery.fx.tick = function() {
7627
+ var timer,
7628
+ timers = jQuery.timers,
7629
+ i = 0;
7630
+
7631
+ fxNow = jQuery.now();
7632
+
7633
+ for ( ; i < timers.length; i++ ) {
7634
+ timer = timers[ i ];
7635
+ // Checks the timer has not already been removed
7636
+ if ( !timer() && timers[ i ] === timer ) {
7637
+ timers.splice( i--, 1 );
7638
+ }
7639
+ }
7640
+
7641
+ if ( !timers.length ) {
7642
+ jQuery.fx.stop();
7643
+ }
7644
+ fxNow = undefined;
7645
+ };
7646
+
7647
+ jQuery.fx.timer = function( timer ) {
7648
+ jQuery.timers.push( timer );
7649
+ if ( timer() ) {
7650
+ jQuery.fx.start();
7651
+ } else {
7652
+ jQuery.timers.pop();
7653
+ }
7654
+ };
7655
+
7656
+ jQuery.fx.interval = 13;
7657
+
7658
+ jQuery.fx.start = function() {
7659
+ if ( !timerId ) {
7660
+ timerId = setInterval( jQuery.fx.tick, jQuery.fx.interval );
7661
+ }
7662
+ };
7663
+
7664
+ jQuery.fx.stop = function() {
7665
+ clearInterval( timerId );
7666
+ timerId = null;
7667
+ };
7668
+
7669
+ jQuery.fx.speeds = {
7670
+ slow: 600,
7671
+ fast: 200,
7672
+ // Default speed
7673
+ _default: 400
7674
+ };
7675
+
7676
+
7677
+ // Based off of the plugin by Clint Helfers, with permission.
7678
+ // http://blindsignals.com/index.php/2009/07/jquery-delay/
7679
+ jQuery.fn.delay = function( time, type ) {
7680
+ time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time;
7681
+ type = type || "fx";
7682
+
7683
+ return this.queue( type, function( next, hooks ) {
7684
+ var timeout = setTimeout( next, time );
7685
+ hooks.stop = function() {
7686
+ clearTimeout( timeout );
7687
+ };
7688
+ });
7689
+ };
7690
+
7691
+
7692
+ (function() {
7693
+ var a, input, select, opt,
7694
+ div = document.createElement("div" );
7695
+
7696
+ // Setup
7697
+ div.setAttribute( "className", "t" );
7698
+ div.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";
7699
+ a = div.getElementsByTagName("a")[ 0 ];
7700
+
7701
+ // First batch of tests.
7702
+ select = document.createElement("select");
7703
+ opt = select.appendChild( document.createElement("option") );
7704
+ input = div.getElementsByTagName("input")[ 0 ];
7705
+
7706
+ a.style.cssText = "top:1px";
7707
+
7708
+ // Test setAttribute on camelCase class. If it works, we need attrFixes when doing get/setAttribute (ie6/7)
7709
+ support.getSetAttribute = div.className !== "t";
7710
+
7711
+ // Get the style information from getAttribute
7712
+ // (IE uses .cssText instead)
7713
+ support.style = /top/.test( a.getAttribute("style") );
7714
+
7715
+ // Make sure that URLs aren't manipulated
7716
+ // (IE normalizes it by default)
7717
+ support.hrefNormalized = a.getAttribute("href") === "/a";
7718
+
7719
+ // Check the default checkbox/radio value ("" on WebKit; "on" elsewhere)
7720
+ support.checkOn = !!input.value;
7721
+
7722
+ // Make sure that a selected-by-default option has a working selected property.
7723
+ // (WebKit defaults to false instead of true, IE too, if it's in an optgroup)
7724
+ support.optSelected = opt.selected;
7725
+
7726
+ // Tests for enctype support on a form (#6743)
7727
+ support.enctype = !!document.createElement("form").enctype;
7728
+
7729
+ // Make sure that the options inside disabled selects aren't marked as disabled
7730
+ // (WebKit marks them as disabled)
7731
+ select.disabled = true;
7732
+ support.optDisabled = !opt.disabled;
7733
+
7734
+ // Support: IE8 only
7735
+ // Check if we can trust getAttribute("value")
7736
+ input = document.createElement( "input" );
7737
+ input.setAttribute( "value", "" );
7738
+ support.input = input.getAttribute( "value" ) === "";
7739
+
7740
+ // Check if an input maintains its value after becoming a radio
7741
+ input.value = "t";
7742
+ input.setAttribute( "type", "radio" );
7743
+ support.radioValue = input.value === "t";
7744
+
7745
+ // Null elements to avoid leaks in IE.
7746
+ a = input = select = opt = div = null;
7747
+ })();
7748
+
7749
+
7750
+ var rreturn = /\r/g;
7751
+
7752
+ jQuery.fn.extend({
7753
+ val: function( value ) {
7754
+ var hooks, ret, isFunction,
7755
+ elem = this[0];
7756
+
7757
+ if ( !arguments.length ) {
7758
+ if ( elem ) {
7759
+ hooks = jQuery.valHooks[ elem.type ] || jQuery.valHooks[ elem.nodeName.toLowerCase() ];
7760
+
7761
+ if ( hooks && "get" in hooks && (ret = hooks.get( elem, "value" )) !== undefined ) {
7762
+ return ret;
7763
+ }
7764
+
7765
+ ret = elem.value;
7766
+
7767
+ return typeof ret === "string" ?
7768
+ // handle most common string cases
7769
+ ret.replace(rreturn, "") :
7770
+ // handle cases where value is null/undef or number
7771
+ ret == null ? "" : ret;
7772
+ }
7773
+
7774
+ return;
7775
+ }
7776
+
7777
+ isFunction = jQuery.isFunction( value );
7778
+
7779
+ return this.each(function( i ) {
7780
+ var val;
7781
+
7782
+ if ( this.nodeType !== 1 ) {
7783
+ return;
7784
+ }
7785
+
7786
+ if ( isFunction ) {
7787
+ val = value.call( this, i, jQuery( this ).val() );
7788
+ } else {
7789
+ val = value;
7790
+ }
7791
+
7792
+ // Treat null/undefined as ""; convert numbers to string
7793
+ if ( val == null ) {
7794
+ val = "";
7795
+ } else if ( typeof val === "number" ) {
7796
+ val += "";
7797
+ } else if ( jQuery.isArray( val ) ) {
7798
+ val = jQuery.map( val, function( value ) {
7799
+ return value == null ? "" : value + "";
7800
+ });
7801
+ }
7802
+
7803
+ hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ];
7804
+
7805
+ // If set returns undefined, fall back to normal setting
7806
+ if ( !hooks || !("set" in hooks) || hooks.set( this, val, "value" ) === undefined ) {
7807
+ this.value = val;
7808
+ }
7809
+ });
7810
+ }
7811
+ });
7812
+
7813
+ jQuery.extend({
7814
+ valHooks: {
7815
+ option: {
7816
+ get: function( elem ) {
7817
+ var val = jQuery.find.attr( elem, "value" );
7818
+ return val != null ?
7819
+ val :
7820
+ jQuery.text( elem );
7821
+ }
7822
+ },
7823
+ select: {
7824
+ get: function( elem ) {
7825
+ var value, option,
7826
+ options = elem.options,
7827
+ index = elem.selectedIndex,
7828
+ one = elem.type === "select-one" || index < 0,
7829
+ values = one ? null : [],
7830
+ max = one ? index + 1 : options.length,
7831
+ i = index < 0 ?
7832
+ max :
7833
+ one ? index : 0;
7834
+
7835
+ // Loop through all the selected options
7836
+ for ( ; i < max; i++ ) {
7837
+ option = options[ i ];
7838
+
7839
+ // oldIE doesn't update selected after form reset (#2551)
7840
+ if ( ( option.selected || i === index ) &&
7841
+ // Don't return options that are disabled or in a disabled optgroup
7842
+ ( support.optDisabled ? !option.disabled : option.getAttribute("disabled") === null ) &&
7843
+ ( !option.parentNode.disabled || !jQuery.nodeName( option.parentNode, "optgroup" ) ) ) {
7844
+
7845
+ // Get the specific value for the option
7846
+ value = jQuery( option ).val();
7847
+
7848
+ // We don't need an array for one selects
7849
+ if ( one ) {
7850
+ return value;
7851
+ }
7852
+
7853
+ // Multi-Selects return an array
7854
+ values.push( value );
7855
+ }
7856
+ }
7857
+
7858
+ return values;
7859
+ },
7860
+
7861
+ set: function( elem, value ) {
7862
+ var optionSet, option,
7863
+ options = elem.options,
7864
+ values = jQuery.makeArray( value ),
7865
+ i = options.length;
7866
+
7867
+ while ( i-- ) {
7868
+ option = options[ i ];
7869
+
7870
+ if ( jQuery.inArray( jQuery.valHooks.option.get( option ), values ) >= 0 ) {
7871
+
7872
+ // Support: IE6
7873
+ // When new option element is added to select box we need to
7874
+ // force reflow of newly added node in order to workaround delay
7875
+ // of initialization properties
7876
+ try {
7877
+ option.selected = optionSet = true;
7878
+
7879
+ } catch ( _ ) {
7880
+
7881
+ // Will be executed only in IE6
7882
+ option.scrollHeight;
7883
+ }
7884
+
7885
+ } else {
7886
+ option.selected = false;
7887
+ }
7888
+ }
7889
+
7890
+ // Force browsers to behave consistently when non-matching value is set
7891
+ if ( !optionSet ) {
7892
+ elem.selectedIndex = -1;
7893
+ }
7894
+
7895
+ return options;
7896
+ }
7897
+ }
7898
+ }
7899
+ });
7900
+
7901
+ // Radios and checkboxes getter/setter
7902
+ jQuery.each([ "radio", "checkbox" ], function() {
7903
+ jQuery.valHooks[ this ] = {
7904
+ set: function( elem, value ) {
7905
+ if ( jQuery.isArray( value ) ) {
7906
+ return ( elem.checked = jQuery.inArray( jQuery(elem).val(), value ) >= 0 );
7907
+ }
7908
+ }
7909
+ };
7910
+ if ( !support.checkOn ) {
7911
+ jQuery.valHooks[ this ].get = function( elem ) {
7912
+ // Support: Webkit
7913
+ // "" is returned instead of "on" if a value isn't specified
7914
+ return elem.getAttribute("value") === null ? "on" : elem.value;
7915
+ };
7916
+ }
7917
+ });
7918
+
7919
+
7920
+
7921
+
7922
+ var nodeHook, boolHook,
7923
+ attrHandle = jQuery.expr.attrHandle,
7924
+ ruseDefault = /^(?:checked|selected)$/i,
7925
+ getSetAttribute = support.getSetAttribute,
7926
+ getSetInput = support.input;
7927
+
7928
+ jQuery.fn.extend({
7929
+ attr: function( name, value ) {
7930
+ return access( this, jQuery.attr, name, value, arguments.length > 1 );
7931
+ },
7932
+
7933
+ removeAttr: function( name ) {
7934
+ return this.each(function() {
7935
+ jQuery.removeAttr( this, name );
7936
+ });
7937
+ }
7938
+ });
7939
+
7940
+ jQuery.extend({
7941
+ attr: function( elem, name, value ) {
7942
+ var hooks, ret,
7943
+ nType = elem.nodeType;
7944
+
7945
+ // don't get/set attributes on text, comment and attribute nodes
7946
+ if ( !elem || nType === 3 || nType === 8 || nType === 2 ) {
7947
+ return;
7948
+ }
7949
+
7950
+ // Fallback to prop when attributes are not supported
7951
+ if ( typeof elem.getAttribute === strundefined ) {
7952
+ return jQuery.prop( elem, name, value );
7953
+ }
7954
+
7955
+ // All attributes are lowercase
7956
+ // Grab necessary hook if one is defined
7957
+ if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) {
7958
+ name = name.toLowerCase();
7959
+ hooks = jQuery.attrHooks[ name ] ||
7960
+ ( jQuery.expr.match.bool.test( name ) ? boolHook : nodeHook );
7961
+ }
7962
+
7963
+ if ( value !== undefined ) {
7964
+
7965
+ if ( value === null ) {
7966
+ jQuery.removeAttr( elem, name );
7967
+
7968
+ } else if ( hooks && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ) {
7969
+ return ret;
7970
+
7971
+ } else {
7972
+ elem.setAttribute( name, value + "" );
7973
+ return value;
7974
+ }
7975
+
7976
+ } else if ( hooks && "get" in hooks && (ret = hooks.get( elem, name )) !== null ) {
7977
+ return ret;
7978
+
7979
+ } else {
7980
+ ret = jQuery.find.attr( elem, name );
7981
+
7982
+ // Non-existent attributes return null, we normalize to undefined
7983
+ return ret == null ?
7984
+ undefined :
7985
+ ret;
7986
+ }
7987
+ },
7988
+
7989
+ removeAttr: function( elem, value ) {
7990
+ var name, propName,
7991
+ i = 0,
7992
+ attrNames = value && value.match( rnotwhite );
7993
+
7994
+ if ( attrNames && elem.nodeType === 1 ) {
7995
+ while ( (name = attrNames[i++]) ) {
7996
+ propName = jQuery.propFix[ name ] || name;
7997
+
7998
+ // Boolean attributes get special treatment (#10870)
7999
+ if ( jQuery.expr.match.bool.test( name ) ) {
8000
+ // Set corresponding property to false
8001
+ if ( getSetInput && getSetAttribute || !ruseDefault.test( name ) ) {
8002
+ elem[ propName ] = false;
8003
+ // Support: IE<9
8004
+ // Also clear defaultChecked/defaultSelected (if appropriate)
8005
+ } else {
8006
+ elem[ jQuery.camelCase( "default-" + name ) ] =
8007
+ elem[ propName ] = false;
8008
+ }
8009
+
8010
+ // See #9699 for explanation of this approach (setting first, then removal)
8011
+ } else {
8012
+ jQuery.attr( elem, name, "" );
8013
+ }
8014
+
8015
+ elem.removeAttribute( getSetAttribute ? name : propName );
8016
+ }
8017
+ }
8018
+ },
8019
+
8020
+ attrHooks: {
8021
+ type: {
8022
+ set: function( elem, value ) {
8023
+ if ( !support.radioValue && value === "radio" && jQuery.nodeName(elem, "input") ) {
8024
+ // Setting the type on a radio button after the value resets the value in IE6-9
8025
+ // Reset value to default in case type is set after value during creation
8026
+ var val = elem.value;
8027
+ elem.setAttribute( "type", value );
8028
+ if ( val ) {
8029
+ elem.value = val;
8030
+ }
8031
+ return value;
8032
+ }
8033
+ }
8034
+ }
8035
+ }
8036
+ });
8037
+
8038
+ // Hook for boolean attributes
8039
+ boolHook = {
8040
+ set: function( elem, value, name ) {
8041
+ if ( value === false ) {
8042
+ // Remove boolean attributes when set to false
8043
+ jQuery.removeAttr( elem, name );
8044
+ } else if ( getSetInput && getSetAttribute || !ruseDefault.test( name ) ) {
8045
+ // IE<8 needs the *property* name
8046
+ elem.setAttribute( !getSetAttribute && jQuery.propFix[ name ] || name, name );
8047
+
8048
+ // Use defaultChecked and defaultSelected for oldIE
8049
+ } else {
8050
+ elem[ jQuery.camelCase( "default-" + name ) ] = elem[ name ] = true;
8051
+ }
8052
+
8053
+ return name;
8054
+ }
8055
+ };
8056
+
8057
+ // Retrieve booleans specially
8058
+ jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( i, name ) {
8059
+
8060
+ var getter = attrHandle[ name ] || jQuery.find.attr;
8061
+
8062
+ attrHandle[ name ] = getSetInput && getSetAttribute || !ruseDefault.test( name ) ?
8063
+ function( elem, name, isXML ) {
8064
+ var ret, handle;
8065
+ if ( !isXML ) {
8066
+ // Avoid an infinite loop by temporarily removing this function from the getter
8067
+ handle = attrHandle[ name ];
8068
+ attrHandle[ name ] = ret;
8069
+ ret = getter( elem, name, isXML ) != null ?
8070
+ name.toLowerCase() :
8071
+ null;
8072
+ attrHandle[ name ] = handle;
8073
+ }
8074
+ return ret;
8075
+ } :
8076
+ function( elem, name, isXML ) {
8077
+ if ( !isXML ) {
8078
+ return elem[ jQuery.camelCase( "default-" + name ) ] ?
8079
+ name.toLowerCase() :
8080
+ null;
8081
+ }
8082
+ };
8083
+ });
8084
+
8085
+ // fix oldIE attroperties
8086
+ if ( !getSetInput || !getSetAttribute ) {
8087
+ jQuery.attrHooks.value = {
8088
+ set: function( elem, value, name ) {
8089
+ if ( jQuery.nodeName( elem, "input" ) ) {
8090
+ // Does not return so that setAttribute is also used
8091
+ elem.defaultValue = value;
8092
+ } else {
8093
+ // Use nodeHook if defined (#1954); otherwise setAttribute is fine
8094
+ return nodeHook && nodeHook.set( elem, value, name );
8095
+ }
8096
+ }
8097
+ };
8098
+ }
8099
+
8100
+ // IE6/7 do not support getting/setting some attributes with get/setAttribute
8101
+ if ( !getSetAttribute ) {
8102
+
8103
+ // Use this for any attribute in IE6/7
8104
+ // This fixes almost every IE6/7 issue
8105
+ nodeHook = {
8106
+ set: function( elem, value, name ) {
8107
+ // Set the existing or create a new attribute node
8108
+ var ret = elem.getAttributeNode( name );
8109
+ if ( !ret ) {
8110
+ elem.setAttributeNode(
8111
+ (ret = elem.ownerDocument.createAttribute( name ))
8112
+ );
8113
+ }
8114
+
8115
+ ret.value = value += "";
8116
+
8117
+ // Break association with cloned elements by also using setAttribute (#9646)
8118
+ if ( name === "value" || value === elem.getAttribute( name ) ) {
8119
+ return value;
8120
+ }
8121
+ }
8122
+ };
8123
+
8124
+ // Some attributes are constructed with empty-string values when not defined
8125
+ attrHandle.id = attrHandle.name = attrHandle.coords =
8126
+ function( elem, name, isXML ) {
8127
+ var ret;
8128
+ if ( !isXML ) {
8129
+ return (ret = elem.getAttributeNode( name )) && ret.value !== "" ?
8130
+ ret.value :
8131
+ null;
8132
+ }
8133
+ };
8134
+
8135
+ // Fixing value retrieval on a button requires this module
8136
+ jQuery.valHooks.button = {
8137
+ get: function( elem, name ) {
8138
+ var ret = elem.getAttributeNode( name );
8139
+ if ( ret && ret.specified ) {
8140
+ return ret.value;
8141
+ }
8142
+ },
8143
+ set: nodeHook.set
8144
+ };
8145
+
8146
+ // Set contenteditable to false on removals(#10429)
8147
+ // Setting to empty string throws an error as an invalid value
8148
+ jQuery.attrHooks.contenteditable = {
8149
+ set: function( elem, value, name ) {
8150
+ nodeHook.set( elem, value === "" ? false : value, name );
8151
+ }
8152
+ };
8153
+
8154
+ // Set width and height to auto instead of 0 on empty string( Bug #8150 )
8155
+ // This is for removals
8156
+ jQuery.each([ "width", "height" ], function( i, name ) {
8157
+ jQuery.attrHooks[ name ] = {
8158
+ set: function( elem, value ) {
8159
+ if ( value === "" ) {
8160
+ elem.setAttribute( name, "auto" );
8161
+ return value;
8162
+ }
8163
+ }
8164
+ };
8165
+ });
8166
+ }
8167
+
8168
+ if ( !support.style ) {
8169
+ jQuery.attrHooks.style = {
8170
+ get: function( elem ) {
8171
+ // Return undefined in the case of empty string
8172
+ // Note: IE uppercases css property names, but if we were to .toLowerCase()
8173
+ // .cssText, that would destroy case senstitivity in URL's, like in "background"
8174
+ return elem.style.cssText || undefined;
8175
+ },
8176
+ set: function( elem, value ) {
8177
+ return ( elem.style.cssText = value + "" );
8178
+ }
8179
+ };
8180
+ }
8181
+
8182
+
8183
+
8184
+
8185
+ var rfocusable = /^(?:input|select|textarea|button|object)$/i,
8186
+ rclickable = /^(?:a|area)$/i;
8187
+
8188
+ jQuery.fn.extend({
8189
+ prop: function( name, value ) {
8190
+ return access( this, jQuery.prop, name, value, arguments.length > 1 );
8191
+ },
8192
+
8193
+ removeProp: function( name ) {
8194
+ name = jQuery.propFix[ name ] || name;
8195
+ return this.each(function() {
8196
+ // try/catch handles cases where IE balks (such as removing a property on window)
8197
+ try {
8198
+ this[ name ] = undefined;
8199
+ delete this[ name ];
8200
+ } catch( e ) {}
8201
+ });
8202
+ }
8203
+ });
8204
+
8205
+ jQuery.extend({
8206
+ propFix: {
8207
+ "for": "htmlFor",
8208
+ "class": "className"
8209
+ },
8210
+
8211
+ prop: function( elem, name, value ) {
8212
+ var ret, hooks, notxml,
8213
+ nType = elem.nodeType;
8214
+
8215
+ // don't get/set properties on text, comment and attribute nodes
8216
+ if ( !elem || nType === 3 || nType === 8 || nType === 2 ) {
8217
+ return;
8218
+ }
8219
+
8220
+ notxml = nType !== 1 || !jQuery.isXMLDoc( elem );
8221
+
8222
+ if ( notxml ) {
8223
+ // Fix name and attach hooks
8224
+ name = jQuery.propFix[ name ] || name;
8225
+ hooks = jQuery.propHooks[ name ];
8226
+ }
8227
+
8228
+ if ( value !== undefined ) {
8229
+ return hooks && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ?
8230
+ ret :
8231
+ ( elem[ name ] = value );
8232
+
8233
+ } else {
8234
+ return hooks && "get" in hooks && (ret = hooks.get( elem, name )) !== null ?
8235
+ ret :
8236
+ elem[ name ];
8237
+ }
8238
+ },
8239
+
8240
+ propHooks: {
8241
+ tabIndex: {
8242
+ get: function( elem ) {
8243
+ // elem.tabIndex doesn't always return the correct value when it hasn't been explicitly set
8244
+ // http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/
8245
+ // Use proper attribute retrieval(#12072)
8246
+ var tabindex = jQuery.find.attr( elem, "tabindex" );
8247
+
8248
+ return tabindex ?
8249
+ parseInt( tabindex, 10 ) :
8250
+ rfocusable.test( elem.nodeName ) || rclickable.test( elem.nodeName ) && elem.href ?
8251
+ 0 :
8252
+ -1;
8253
+ }
8254
+ }
8255
+ }
8256
+ });
8257
+
8258
+ // Some attributes require a special call on IE
8259
+ // http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx
8260
+ if ( !support.hrefNormalized ) {
8261
+ // href/src property should get the full normalized URL (#10299/#12915)
8262
+ jQuery.each([ "href", "src" ], function( i, name ) {
8263
+ jQuery.propHooks[ name ] = {
8264
+ get: function( elem ) {
8265
+ return elem.getAttribute( name, 4 );
8266
+ }
8267
+ };
8268
+ });
8269
+ }
8270
+
8271
+ // Support: Safari, IE9+
8272
+ // mis-reports the default selected property of an option
8273
+ // Accessing the parent's selectedIndex property fixes it
8274
+ if ( !support.optSelected ) {
8275
+ jQuery.propHooks.selected = {
8276
+ get: function( elem ) {
8277
+ var parent = elem.parentNode;
8278
+
8279
+ if ( parent ) {
8280
+ parent.selectedIndex;
8281
+
8282
+ // Make sure that it also works with optgroups, see #5701
8283
+ if ( parent.parentNode ) {
8284
+ parent.parentNode.selectedIndex;
8285
+ }
8286
+ }
8287
+ return null;
8288
+ }
8289
+ };
8290
+ }
8291
+
8292
+ jQuery.each([
8293
+ "tabIndex",
8294
+ "readOnly",
8295
+ "maxLength",
8296
+ "cellSpacing",
8297
+ "cellPadding",
8298
+ "rowSpan",
8299
+ "colSpan",
8300
+ "useMap",
8301
+ "frameBorder",
8302
+ "contentEditable"
8303
+ ], function() {
8304
+ jQuery.propFix[ this.toLowerCase() ] = this;
8305
+ });
8306
+
8307
+ // IE6/7 call enctype encoding
8308
+ if ( !support.enctype ) {
8309
+ jQuery.propFix.enctype = "encoding";
8310
+ }
8311
+
8312
+
8313
+
8314
+
8315
+ var rclass = /[\t\r\n\f]/g;
8316
+
8317
+ jQuery.fn.extend({
8318
+ addClass: function( value ) {
8319
+ var classes, elem, cur, clazz, j, finalValue,
8320
+ i = 0,
8321
+ len = this.length,
8322
+ proceed = typeof value === "string" && value;
8323
+
8324
+ if ( jQuery.isFunction( value ) ) {
8325
+ return this.each(function( j ) {
8326
+ jQuery( this ).addClass( value.call( this, j, this.className ) );
8327
+ });
8328
+ }
8329
+
8330
+ if ( proceed ) {
8331
+ // The disjunction here is for better compressibility (see removeClass)
8332
+ classes = ( value || "" ).match( rnotwhite ) || [];
8333
+
8334
+ for ( ; i < len; i++ ) {
8335
+ elem = this[ i ];
8336
+ cur = elem.nodeType === 1 && ( elem.className ?
8337
+ ( " " + elem.className + " " ).replace( rclass, " " ) :
8338
+ " "
8339
+ );
8340
+
8341
+ if ( cur ) {
8342
+ j = 0;
8343
+ while ( (clazz = classes[j++]) ) {
8344
+ if ( cur.indexOf( " " + clazz + " " ) < 0 ) {
8345
+ cur += clazz + " ";
8346
+ }
8347
+ }
8348
+
8349
+ // only assign if different to avoid unneeded rendering.
8350
+ finalValue = jQuery.trim( cur );
8351
+ if ( elem.className !== finalValue ) {
8352
+ elem.className = finalValue;
8353
+ }
8354
+ }
8355
+ }
8356
+ }
8357
+
8358
+ return this;
8359
+ },
8360
+
8361
+ removeClass: function( value ) {
8362
+ var classes, elem, cur, clazz, j, finalValue,
8363
+ i = 0,
8364
+ len = this.length,
8365
+ proceed = arguments.length === 0 || typeof value === "string" && value;
8366
+
8367
+ if ( jQuery.isFunction( value ) ) {
8368
+ return this.each(function( j ) {
8369
+ jQuery( this ).removeClass( value.call( this, j, this.className ) );
8370
+ });
8371
+ }
8372
+ if ( proceed ) {
8373
+ classes = ( value || "" ).match( rnotwhite ) || [];
8374
+
8375
+ for ( ; i < len; i++ ) {
8376
+ elem = this[ i ];
8377
+ // This expression is here for better compressibility (see addClass)
8378
+ cur = elem.nodeType === 1 && ( elem.className ?
8379
+ ( " " + elem.className + " " ).replace( rclass, " " ) :
8380
+ ""
8381
+ );
8382
+
8383
+ if ( cur ) {
8384
+ j = 0;
8385
+ while ( (clazz = classes[j++]) ) {
8386
+ // Remove *all* instances
8387
+ while ( cur.indexOf( " " + clazz + " " ) >= 0 ) {
8388
+ cur = cur.replace( " " + clazz + " ", " " );
8389
+ }
8390
+ }
8391
+
8392
+ // only assign if different to avoid unneeded rendering.
8393
+ finalValue = value ? jQuery.trim( cur ) : "";
8394
+ if ( elem.className !== finalValue ) {
8395
+ elem.className = finalValue;
8396
+ }
8397
+ }
8398
+ }
8399
+ }
8400
+
8401
+ return this;
8402
+ },
8403
+
8404
+ toggleClass: function( value, stateVal ) {
8405
+ var type = typeof value;
8406
+
8407
+ if ( typeof stateVal === "boolean" && type === "string" ) {
8408
+ return stateVal ? this.addClass( value ) : this.removeClass( value );
8409
+ }
8410
+
8411
+ if ( jQuery.isFunction( value ) ) {
8412
+ return this.each(function( i ) {
8413
+ jQuery( this ).toggleClass( value.call(this, i, this.className, stateVal), stateVal );
8414
+ });
8415
+ }
8416
+
8417
+ return this.each(function() {
8418
+ if ( type === "string" ) {
8419
+ // toggle individual class names
8420
+ var className,
8421
+ i = 0,
8422
+ self = jQuery( this ),
8423
+ classNames = value.match( rnotwhite ) || [];
8424
+
8425
+ while ( (className = classNames[ i++ ]) ) {
8426
+ // check each className given, space separated list
8427
+ if ( self.hasClass( className ) ) {
8428
+ self.removeClass( className );
8429
+ } else {
8430
+ self.addClass( className );
8431
+ }
8432
+ }
8433
+
8434
+ // Toggle whole class name
8435
+ } else if ( type === strundefined || type === "boolean" ) {
8436
+ if ( this.className ) {
8437
+ // store className if set
8438
+ jQuery._data( this, "__className__", this.className );
8439
+ }
8440
+
8441
+ // If the element has a class name or if we're passed "false",
8442
+ // then remove the whole classname (if there was one, the above saved it).
8443
+ // Otherwise bring back whatever was previously saved (if anything),
8444
+ // falling back to the empty string if nothing was stored.
8445
+ this.className = this.className || value === false ? "" : jQuery._data( this, "__className__" ) || "";
8446
+ }
8447
+ });
8448
+ },
8449
+
8450
+ hasClass: function( selector ) {
8451
+ var className = " " + selector + " ",
8452
+ i = 0,
8453
+ l = this.length;
8454
+ for ( ; i < l; i++ ) {
8455
+ if ( this[i].nodeType === 1 && (" " + this[i].className + " ").replace(rclass, " ").indexOf( className ) >= 0 ) {
8456
+ return true;
8457
+ }
8458
+ }
8459
+
8460
+ return false;
8461
+ }
8462
+ });
8463
+
8464
+
8465
+
8466
+
8467
+ // Return jQuery for attributes-only inclusion
8468
+
8469
+
8470
+ jQuery.each( ("blur focus focusin focusout load resize scroll unload click dblclick " +
8471
+ "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " +
8472
+ "change select submit keydown keypress keyup error contextmenu").split(" "), function( i, name ) {
8473
+
8474
+ // Handle event binding
8475
+ jQuery.fn[ name ] = function( data, fn ) {
8476
+ return arguments.length > 0 ?
8477
+ this.on( name, null, data, fn ) :
8478
+ this.trigger( name );
8479
+ };
8480
+ });
8481
+
8482
+ jQuery.fn.extend({
8483
+ hover: function( fnOver, fnOut ) {
8484
+ return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver );
8485
+ },
8486
+
8487
+ bind: function( types, data, fn ) {
8488
+ return this.on( types, null, data, fn );
8489
+ },
8490
+ unbind: function( types, fn ) {
8491
+ return this.off( types, null, fn );
8492
+ },
8493
+
8494
+ delegate: function( selector, types, data, fn ) {
8495
+ return this.on( types, selector, data, fn );
8496
+ },
8497
+ undelegate: function( selector, types, fn ) {
8498
+ // ( namespace ) or ( selector, types [, fn] )
8499
+ return arguments.length === 1 ? this.off( selector, "**" ) : this.off( types, selector || "**", fn );
8500
+ }
8501
+ });
8502
+
8503
+
8504
+ var nonce = jQuery.now();
8505
+
8506
+ var rquery = (/\?/);
8507
+
8508
+
8509
+
8510
+ var rvalidtokens = /(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;
8511
+
8512
+ jQuery.parseJSON = function( data ) {
8513
+ // Attempt to parse using the native JSON parser first
8514
+ if ( window.JSON && window.JSON.parse ) {
8515
+ // Support: Android 2.3
8516
+ // Workaround failure to string-cast null input
8517
+ return window.JSON.parse( data + "" );
8518
+ }
8519
+
8520
+ var requireNonComma,
8521
+ depth = null,
8522
+ str = jQuery.trim( data + "" );
8523
+
8524
+ // Guard against invalid (and possibly dangerous) input by ensuring that nothing remains
8525
+ // after removing valid tokens
8526
+ return str && !jQuery.trim( str.replace( rvalidtokens, function( token, comma, open, close ) {
8527
+
8528
+ // Force termination if we see a misplaced comma
8529
+ if ( requireNonComma && comma ) {
8530
+ depth = 0;
8531
+ }
8532
+
8533
+ // Perform no more replacements after returning to outermost depth
8534
+ if ( depth === 0 ) {
8535
+ return token;
8536
+ }
8537
+
8538
+ // Commas must not follow "[", "{", or ","
8539
+ requireNonComma = open || comma;
8540
+
8541
+ // Determine new depth
8542
+ // array/object open ("[" or "{"): depth += true - false (increment)
8543
+ // array/object close ("]" or "}"): depth += false - true (decrement)
8544
+ // other cases ("," or primitive): depth += true - true (numeric cast)
8545
+ depth += !close - !open;
8546
+
8547
+ // Remove this token
8548
+ return "";
8549
+ }) ) ?
8550
+ ( Function( "return " + str ) )() :
8551
+ jQuery.error( "Invalid JSON: " + data );
8552
+ };
8553
+
8554
+
8555
+ // Cross-browser xml parsing
8556
+ jQuery.parseXML = function( data ) {
8557
+ var xml, tmp;
8558
+ if ( !data || typeof data !== "string" ) {
8559
+ return null;
8560
+ }
8561
+ try {
8562
+ if ( window.DOMParser ) { // Standard
8563
+ tmp = new DOMParser();
8564
+ xml = tmp.parseFromString( data, "text/xml" );
8565
+ } else { // IE
8566
+ xml = new ActiveXObject( "Microsoft.XMLDOM" );
8567
+ xml.async = "false";
8568
+ xml.loadXML( data );
8569
+ }
8570
+ } catch( e ) {
8571
+ xml = undefined;
8572
+ }
8573
+ if ( !xml || !xml.documentElement || xml.getElementsByTagName( "parsererror" ).length ) {
8574
+ jQuery.error( "Invalid XML: " + data );
8575
+ }
8576
+ return xml;
8577
+ };
8578
+
8579
+
8580
+ var
8581
+ // Document location
8582
+ ajaxLocParts,
8583
+ ajaxLocation,
8584
+
8585
+ rhash = /#.*$/,
8586
+ rts = /([?&])_=[^&]*/,
8587
+ rheaders = /^(.*?):[ \t]*([^\r\n]*)\r?$/mg, // IE leaves an \r character at EOL
8588
+ // #7653, #8125, #8152: local protocol detection
8589
+ rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,
8590
+ rnoContent = /^(?:GET|HEAD)$/,
8591
+ rprotocol = /^\/\//,
8592
+ rurl = /^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,
8593
+
8594
+ /* Prefilters
8595
+ * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example)
8596
+ * 2) These are called:
8597
+ * - BEFORE asking for a transport
8598
+ * - AFTER param serialization (s.data is a string if s.processData is true)
8599
+ * 3) key is the dataType
8600
+ * 4) the catchall symbol "*" can be used
8601
+ * 5) execution will start with transport dataType and THEN continue down to "*" if needed
8602
+ */
8603
+ prefilters = {},
8604
+
8605
+ /* Transports bindings
8606
+ * 1) key is the dataType
8607
+ * 2) the catchall symbol "*" can be used
8608
+ * 3) selection will start with transport dataType and THEN go to "*" if needed
8609
+ */
8610
+ transports = {},
8611
+
8612
+ // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression
8613
+ allTypes = "*/".concat("*");
8614
+
8615
+ // #8138, IE may throw an exception when accessing
8616
+ // a field from window.location if document.domain has been set
8617
+ try {
8618
+ ajaxLocation = location.href;
8619
+ } catch( e ) {
8620
+ // Use the href attribute of an A element
8621
+ // since IE will modify it given document.location
8622
+ ajaxLocation = document.createElement( "a" );
8623
+ ajaxLocation.href = "";
8624
+ ajaxLocation = ajaxLocation.href;
8625
+ }
8626
+
8627
+ // Segment location into parts
8628
+ ajaxLocParts = rurl.exec( ajaxLocation.toLowerCase() ) || [];
8629
+
8630
+ // Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport
8631
+ function addToPrefiltersOrTransports( structure ) {
8632
+
8633
+ // dataTypeExpression is optional and defaults to "*"
8634
+ return function( dataTypeExpression, func ) {
8635
+
8636
+ if ( typeof dataTypeExpression !== "string" ) {
8637
+ func = dataTypeExpression;
8638
+ dataTypeExpression = "*";
8639
+ }
8640
+
8641
+ var dataType,
8642
+ i = 0,
8643
+ dataTypes = dataTypeExpression.toLowerCase().match( rnotwhite ) || [];
8644
+
8645
+ if ( jQuery.isFunction( func ) ) {
8646
+ // For each dataType in the dataTypeExpression
8647
+ while ( (dataType = dataTypes[i++]) ) {
8648
+ // Prepend if requested
8649
+ if ( dataType.charAt( 0 ) === "+" ) {
8650
+ dataType = dataType.slice( 1 ) || "*";
8651
+ (structure[ dataType ] = structure[ dataType ] || []).unshift( func );
8652
+
8653
+ // Otherwise append
8654
+ } else {
8655
+ (structure[ dataType ] = structure[ dataType ] || []).push( func );
8656
+ }
8657
+ }
8658
+ }
8659
+ };
8660
+ }
8661
+
8662
+ // Base inspection function for prefilters and transports
8663
+ function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) {
8664
+
8665
+ var inspected = {},
8666
+ seekingTransport = ( structure === transports );
8667
+
8668
+ function inspect( dataType ) {
8669
+ var selected;
8670
+ inspected[ dataType ] = true;
8671
+ jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) {
8672
+ var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR );
8673
+ if ( typeof dataTypeOrTransport === "string" && !seekingTransport && !inspected[ dataTypeOrTransport ] ) {
8674
+ options.dataTypes.unshift( dataTypeOrTransport );
8675
+ inspect( dataTypeOrTransport );
8676
+ return false;
8677
+ } else if ( seekingTransport ) {
8678
+ return !( selected = dataTypeOrTransport );
8679
+ }
8680
+ });
8681
+ return selected;
8682
+ }
8683
+
8684
+ return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" );
8685
+ }
8686
+
8687
+ // A special extend for ajax options
8688
+ // that takes "flat" options (not to be deep extended)
8689
+ // Fixes #9887
8690
+ function ajaxExtend( target, src ) {
8691
+ var deep, key,
8692
+ flatOptions = jQuery.ajaxSettings.flatOptions || {};
8693
+
8694
+ for ( key in src ) {
8695
+ if ( src[ key ] !== undefined ) {
8696
+ ( flatOptions[ key ] ? target : ( deep || (deep = {}) ) )[ key ] = src[ key ];
8697
+ }
8698
+ }
8699
+ if ( deep ) {
8700
+ jQuery.extend( true, target, deep );
8701
+ }
8702
+
8703
+ return target;
8704
+ }
8705
+
8706
+ /* Handles responses to an ajax request:
8707
+ * - finds the right dataType (mediates between content-type and expected dataType)
8708
+ * - returns the corresponding response
8709
+ */
8710
+ function ajaxHandleResponses( s, jqXHR, responses ) {
8711
+ var firstDataType, ct, finalDataType, type,
8712
+ contents = s.contents,
8713
+ dataTypes = s.dataTypes;
8714
+
8715
+ // Remove auto dataType and get content-type in the process
8716
+ while ( dataTypes[ 0 ] === "*" ) {
8717
+ dataTypes.shift();
8718
+ if ( ct === undefined ) {
8719
+ ct = s.mimeType || jqXHR.getResponseHeader("Content-Type");
8720
+ }
8721
+ }
8722
+
8723
+ // Check if we're dealing with a known content-type
8724
+ if ( ct ) {
8725
+ for ( type in contents ) {
8726
+ if ( contents[ type ] && contents[ type ].test( ct ) ) {
8727
+ dataTypes.unshift( type );
8728
+ break;
8729
+ }
8730
+ }
8731
+ }
8732
+
8733
+ // Check to see if we have a response for the expected dataType
8734
+ if ( dataTypes[ 0 ] in responses ) {
8735
+ finalDataType = dataTypes[ 0 ];
8736
+ } else {
8737
+ // Try convertible dataTypes
8738
+ for ( type in responses ) {
8739
+ if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[0] ] ) {
8740
+ finalDataType = type;
8741
+ break;
8742
+ }
8743
+ if ( !firstDataType ) {
8744
+ firstDataType = type;
8745
+ }
8746
+ }
8747
+ // Or just use first one
8748
+ finalDataType = finalDataType || firstDataType;
8749
+ }
8750
+
8751
+ // If we found a dataType
8752
+ // We add the dataType to the list if needed
8753
+ // and return the corresponding response
8754
+ if ( finalDataType ) {
8755
+ if ( finalDataType !== dataTypes[ 0 ] ) {
8756
+ dataTypes.unshift( finalDataType );
8757
+ }
8758
+ return responses[ finalDataType ];
8759
+ }
8760
+ }
8761
+
8762
+ /* Chain conversions given the request and the original response
8763
+ * Also sets the responseXXX fields on the jqXHR instance
8764
+ */
8765
+ function ajaxConvert( s, response, jqXHR, isSuccess ) {
8766
+ var conv2, current, conv, tmp, prev,
8767
+ converters = {},
8768
+ // Work with a copy of dataTypes in case we need to modify it for conversion
8769
+ dataTypes = s.dataTypes.slice();
8770
+
8771
+ // Create converters map with lowercased keys
8772
+ if ( dataTypes[ 1 ] ) {
8773
+ for ( conv in s.converters ) {
8774
+ converters[ conv.toLowerCase() ] = s.converters[ conv ];
8775
+ }
8776
+ }
8777
+
8778
+ current = dataTypes.shift();
8779
+
8780
+ // Convert to each sequential dataType
8781
+ while ( current ) {
8782
+
8783
+ if ( s.responseFields[ current ] ) {
8784
+ jqXHR[ s.responseFields[ current ] ] = response;
8785
+ }
8786
+
8787
+ // Apply the dataFilter if provided
8788
+ if ( !prev && isSuccess && s.dataFilter ) {
8789
+ response = s.dataFilter( response, s.dataType );
8790
+ }
8791
+
8792
+ prev = current;
8793
+ current = dataTypes.shift();
8794
+
8795
+ if ( current ) {
8796
+
8797
+ // There's only work to do if current dataType is non-auto
8798
+ if ( current === "*" ) {
8799
+
8800
+ current = prev;
8801
+
8802
+ // Convert response if prev dataType is non-auto and differs from current
8803
+ } else if ( prev !== "*" && prev !== current ) {
8804
+
8805
+ // Seek a direct converter
8806
+ conv = converters[ prev + " " + current ] || converters[ "* " + current ];
8807
+
8808
+ // If none found, seek a pair
8809
+ if ( !conv ) {
8810
+ for ( conv2 in converters ) {
8811
+
8812
+ // If conv2 outputs current
8813
+ tmp = conv2.split( " " );
8814
+ if ( tmp[ 1 ] === current ) {
8815
+
8816
+ // If prev can be converted to accepted input
8817
+ conv = converters[ prev + " " + tmp[ 0 ] ] ||
8818
+ converters[ "* " + tmp[ 0 ] ];
8819
+ if ( conv ) {
8820
+ // Condense equivalence converters
8821
+ if ( conv === true ) {
8822
+ conv = converters[ conv2 ];
8823
+
8824
+ // Otherwise, insert the intermediate dataType
8825
+ } else if ( converters[ conv2 ] !== true ) {
8826
+ current = tmp[ 0 ];
8827
+ dataTypes.unshift( tmp[ 1 ] );
8828
+ }
8829
+ break;
8830
+ }
8831
+ }
8832
+ }
8833
+ }
8834
+
8835
+ // Apply converter (if not an equivalence)
8836
+ if ( conv !== true ) {
8837
+
8838
+ // Unless errors are allowed to bubble, catch and return them
8839
+ if ( conv && s[ "throws" ] ) {
8840
+ response = conv( response );
8841
+ } else {
8842
+ try {
8843
+ response = conv( response );
8844
+ } catch ( e ) {
8845
+ return { state: "parsererror", error: conv ? e : "No conversion from " + prev + " to " + current };
8846
+ }
8847
+ }
8848
+ }
8849
+ }
8850
+ }
8851
+ }
8852
+
8853
+ return { state: "success", data: response };
8854
+ }
8855
+
8856
+ jQuery.extend({
8857
+
8858
+ // Counter for holding the number of active queries
8859
+ active: 0,
8860
+
8861
+ // Last-Modified header cache for next request
8862
+ lastModified: {},
8863
+ etag: {},
8864
+
8865
+ ajaxSettings: {
8866
+ url: ajaxLocation,
8867
+ type: "GET",
8868
+ isLocal: rlocalProtocol.test( ajaxLocParts[ 1 ] ),
8869
+ global: true,
8870
+ processData: true,
8871
+ async: true,
8872
+ contentType: "application/x-www-form-urlencoded; charset=UTF-8",
8873
+ /*
8874
+ timeout: 0,
8875
+ data: null,
8876
+ dataType: null,
8877
+ username: null,
8878
+ password: null,
8879
+ cache: null,
8880
+ throws: false,
8881
+ traditional: false,
8882
+ headers: {},
8883
+ */
8884
+
8885
+ accepts: {
8886
+ "*": allTypes,
8887
+ text: "text/plain",
8888
+ html: "text/html",
8889
+ xml: "application/xml, text/xml",
8890
+ json: "application/json, text/javascript"
8891
+ },
8892
+
8893
+ contents: {
8894
+ xml: /xml/,
8895
+ html: /html/,
8896
+ json: /json/
8897
+ },
8898
+
8899
+ responseFields: {
8900
+ xml: "responseXML",
8901
+ text: "responseText",
8902
+ json: "responseJSON"
8903
+ },
8904
+
8905
+ // Data converters
8906
+ // Keys separate source (or catchall "*") and destination types with a single space
8907
+ converters: {
8908
+
8909
+ // Convert anything to text
8910
+ "* text": String,
8911
+
8912
+ // Text to html (true = no transformation)
8913
+ "text html": true,
8914
+
8915
+ // Evaluate text as a json expression
8916
+ "text json": jQuery.parseJSON,
8917
+
8918
+ // Parse text as xml
8919
+ "text xml": jQuery.parseXML
8920
+ },
8921
+
8922
+ // For options that shouldn't be deep extended:
8923
+ // you can add your own custom options here if
8924
+ // and when you create one that shouldn't be
8925
+ // deep extended (see ajaxExtend)
8926
+ flatOptions: {
8927
+ url: true,
8928
+ context: true
8929
+ }
8930
+ },
8931
+
8932
+ // Creates a full fledged settings object into target
8933
+ // with both ajaxSettings and settings fields.
8934
+ // If target is omitted, writes into ajaxSettings.
8935
+ ajaxSetup: function( target, settings ) {
8936
+ return settings ?
8937
+
8938
+ // Building a settings object
8939
+ ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) :
8940
+
8941
+ // Extending ajaxSettings
8942
+ ajaxExtend( jQuery.ajaxSettings, target );
8943
+ },
8944
+
8945
+ ajaxPrefilter: addToPrefiltersOrTransports( prefilters ),
8946
+ ajaxTransport: addToPrefiltersOrTransports( transports ),
8947
+
8948
+ // Main method
8949
+ ajax: function( url, options ) {
8950
+
8951
+ // If url is an object, simulate pre-1.5 signature
8952
+ if ( typeof url === "object" ) {
8953
+ options = url;
8954
+ url = undefined;
8955
+ }
8956
+
8957
+ // Force options to be an object
8958
+ options = options || {};
8959
+
8960
+ var // Cross-domain detection vars
8961
+ parts,
8962
+ // Loop variable
8963
+ i,
8964
+ // URL without anti-cache param
8965
+ cacheURL,
8966
+ // Response headers as string
8967
+ responseHeadersString,
8968
+ // timeout handle
8969
+ timeoutTimer,
8970
+
8971
+ // To know if global events are to be dispatched
8972
+ fireGlobals,
8973
+
8974
+ transport,
8975
+ // Response headers
8976
+ responseHeaders,
8977
+ // Create the final options object
8978
+ s = jQuery.ajaxSetup( {}, options ),
8979
+ // Callbacks context
8980
+ callbackContext = s.context || s,
8981
+ // Context for global events is callbackContext if it is a DOM node or jQuery collection
8982
+ globalEventContext = s.context && ( callbackContext.nodeType || callbackContext.jquery ) ?
8983
+ jQuery( callbackContext ) :
8984
+ jQuery.event,
8985
+ // Deferreds
8986
+ deferred = jQuery.Deferred(),
8987
+ completeDeferred = jQuery.Callbacks("once memory"),
8988
+ // Status-dependent callbacks
8989
+ statusCode = s.statusCode || {},
8990
+ // Headers (they are sent all at once)
8991
+ requestHeaders = {},
8992
+ requestHeadersNames = {},
8993
+ // The jqXHR state
8994
+ state = 0,
8995
+ // Default abort message
8996
+ strAbort = "canceled",
8997
+ // Fake xhr
8998
+ jqXHR = {
8999
+ readyState: 0,
9000
+
9001
+ // Builds headers hashtable if needed
9002
+ getResponseHeader: function( key ) {
9003
+ var match;
9004
+ if ( state === 2 ) {
9005
+ if ( !responseHeaders ) {
9006
+ responseHeaders = {};
9007
+ while ( (match = rheaders.exec( responseHeadersString )) ) {
9008
+ responseHeaders[ match[1].toLowerCase() ] = match[ 2 ];
9009
+ }
9010
+ }
9011
+ match = responseHeaders[ key.toLowerCase() ];
9012
+ }
9013
+ return match == null ? null : match;
9014
+ },
9015
+
9016
+ // Raw string
9017
+ getAllResponseHeaders: function() {
9018
+ return state === 2 ? responseHeadersString : null;
9019
+ },
9020
+
9021
+ // Caches the header
9022
+ setRequestHeader: function( name, value ) {
9023
+ var lname = name.toLowerCase();
9024
+ if ( !state ) {
9025
+ name = requestHeadersNames[ lname ] = requestHeadersNames[ lname ] || name;
9026
+ requestHeaders[ name ] = value;
9027
+ }
9028
+ return this;
9029
+ },
9030
+
9031
+ // Overrides response content-type header
9032
+ overrideMimeType: function( type ) {
9033
+ if ( !state ) {
9034
+ s.mimeType = type;
9035
+ }
9036
+ return this;
9037
+ },
9038
+
9039
+ // Status-dependent callbacks
9040
+ statusCode: function( map ) {
9041
+ var code;
9042
+ if ( map ) {
9043
+ if ( state < 2 ) {
9044
+ for ( code in map ) {
9045
+ // Lazy-add the new callback in a way that preserves old ones
9046
+ statusCode[ code ] = [ statusCode[ code ], map[ code ] ];
9047
+ }
9048
+ } else {
9049
+ // Execute the appropriate callbacks
9050
+ jqXHR.always( map[ jqXHR.status ] );
9051
+ }
9052
+ }
9053
+ return this;
9054
+ },
9055
+
9056
+ // Cancel the request
9057
+ abort: function( statusText ) {
9058
+ var finalText = statusText || strAbort;
9059
+ if ( transport ) {
9060
+ transport.abort( finalText );
9061
+ }
9062
+ done( 0, finalText );
9063
+ return this;
9064
+ }
9065
+ };
9066
+
9067
+ // Attach deferreds
9068
+ deferred.promise( jqXHR ).complete = completeDeferred.add;
9069
+ jqXHR.success = jqXHR.done;
9070
+ jqXHR.error = jqXHR.fail;
9071
+
9072
+ // Remove hash character (#7531: and string promotion)
9073
+ // Add protocol if not provided (#5866: IE7 issue with protocol-less urls)
9074
+ // Handle falsy url in the settings object (#10093: consistency with old signature)
9075
+ // We also use the url parameter if available
9076
+ s.url = ( ( url || s.url || ajaxLocation ) + "" ).replace( rhash, "" ).replace( rprotocol, ajaxLocParts[ 1 ] + "//" );
9077
+
9078
+ // Alias method option to type as per ticket #12004
9079
+ s.type = options.method || options.type || s.method || s.type;
9080
+
9081
+ // Extract dataTypes list
9082
+ s.dataTypes = jQuery.trim( s.dataType || "*" ).toLowerCase().match( rnotwhite ) || [ "" ];
9083
+
9084
+ // A cross-domain request is in order when we have a protocol:host:port mismatch
9085
+ if ( s.crossDomain == null ) {
9086
+ parts = rurl.exec( s.url.toLowerCase() );
9087
+ s.crossDomain = !!( parts &&
9088
+ ( parts[ 1 ] !== ajaxLocParts[ 1 ] || parts[ 2 ] !== ajaxLocParts[ 2 ] ||
9089
+ ( parts[ 3 ] || ( parts[ 1 ] === "http:" ? "80" : "443" ) ) !==
9090
+ ( ajaxLocParts[ 3 ] || ( ajaxLocParts[ 1 ] === "http:" ? "80" : "443" ) ) )
9091
+ );
9092
+ }
9093
+
9094
+ // Convert data if not already a string
9095
+ if ( s.data && s.processData && typeof s.data !== "string" ) {
9096
+ s.data = jQuery.param( s.data, s.traditional );
9097
+ }
9098
+
9099
+ // Apply prefilters
9100
+ inspectPrefiltersOrTransports( prefilters, s, options, jqXHR );
9101
+
9102
+ // If request was aborted inside a prefilter, stop there
9103
+ if ( state === 2 ) {
9104
+ return jqXHR;
9105
+ }
9106
+
9107
+ // We can fire global events as of now if asked to
9108
+ fireGlobals = s.global;
9109
+
9110
+ // Watch for a new set of requests
9111
+ if ( fireGlobals && jQuery.active++ === 0 ) {
9112
+ jQuery.event.trigger("ajaxStart");
9113
+ }
9114
+
9115
+ // Uppercase the type
9116
+ s.type = s.type.toUpperCase();
9117
+
9118
+ // Determine if request has content
9119
+ s.hasContent = !rnoContent.test( s.type );
9120
+
9121
+ // Save the URL in case we're toying with the If-Modified-Since
9122
+ // and/or If-None-Match header later on
9123
+ cacheURL = s.url;
9124
+
9125
+ // More options handling for requests with no content
9126
+ if ( !s.hasContent ) {
9127
+
9128
+ // If data is available, append data to url
9129
+ if ( s.data ) {
9130
+ cacheURL = ( s.url += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data );
9131
+ // #9682: remove data so that it's not used in an eventual retry
9132
+ delete s.data;
9133
+ }
9134
+
9135
+ // Add anti-cache in url if needed
9136
+ if ( s.cache === false ) {
9137
+ s.url = rts.test( cacheURL ) ?
9138
+
9139
+ // If there is already a '_' parameter, set its value
9140
+ cacheURL.replace( rts, "$1_=" + nonce++ ) :
9141
+
9142
+ // Otherwise add one to the end
9143
+ cacheURL + ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + nonce++;
9144
+ }
9145
+ }
9146
+
9147
+ // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.
9148
+ if ( s.ifModified ) {
9149
+ if ( jQuery.lastModified[ cacheURL ] ) {
9150
+ jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] );
9151
+ }
9152
+ if ( jQuery.etag[ cacheURL ] ) {
9153
+ jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] );
9154
+ }
9155
+ }
9156
+
9157
+ // Set the correct header, if data is being sent
9158
+ if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) {
9159
+ jqXHR.setRequestHeader( "Content-Type", s.contentType );
9160
+ }
9161
+
9162
+ // Set the Accepts header for the server, depending on the dataType
9163
+ jqXHR.setRequestHeader(
9164
+ "Accept",
9165
+ s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[0] ] ?
9166
+ s.accepts[ s.dataTypes[0] ] + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) :
9167
+ s.accepts[ "*" ]
9168
+ );
9169
+
9170
+ // Check for headers option
9171
+ for ( i in s.headers ) {
9172
+ jqXHR.setRequestHeader( i, s.headers[ i ] );
9173
+ }
9174
+
9175
+ // Allow custom headers/mimetypes and early abort
9176
+ if ( s.beforeSend && ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || state === 2 ) ) {
9177
+ // Abort if not done already and return
9178
+ return jqXHR.abort();
9179
+ }
9180
+
9181
+ // aborting is no longer a cancellation
9182
+ strAbort = "abort";
9183
+
9184
+ // Install callbacks on deferreds
9185
+ for ( i in { success: 1, error: 1, complete: 1 } ) {
9186
+ jqXHR[ i ]( s[ i ] );
9187
+ }
9188
+
9189
+ // Get transport
9190
+ transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR );
9191
+
9192
+ // If no transport, we auto-abort
9193
+ if ( !transport ) {
9194
+ done( -1, "No Transport" );
9195
+ } else {
9196
+ jqXHR.readyState = 1;
9197
+
9198
+ // Send global event
9199
+ if ( fireGlobals ) {
9200
+ globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] );
9201
+ }
9202
+ // Timeout
9203
+ if ( s.async && s.timeout > 0 ) {
9204
+ timeoutTimer = setTimeout(function() {
9205
+ jqXHR.abort("timeout");
9206
+ }, s.timeout );
9207
+ }
9208
+
9209
+ try {
9210
+ state = 1;
9211
+ transport.send( requestHeaders, done );
9212
+ } catch ( e ) {
9213
+ // Propagate exception as error if not done
9214
+ if ( state < 2 ) {
9215
+ done( -1, e );
9216
+ // Simply rethrow otherwise
9217
+ } else {
9218
+ throw e;
9219
+ }
9220
+ }
9221
+ }
9222
+
9223
+ // Callback for when everything is done
9224
+ function done( status, nativeStatusText, responses, headers ) {
9225
+ var isSuccess, success, error, response, modified,
9226
+ statusText = nativeStatusText;
9227
+
9228
+ // Called once
9229
+ if ( state === 2 ) {
9230
+ return;
9231
+ }
9232
+
9233
+ // State is "done" now
9234
+ state = 2;
9235
+
9236
+ // Clear timeout if it exists
9237
+ if ( timeoutTimer ) {
9238
+ clearTimeout( timeoutTimer );
9239
+ }
9240
+
9241
+ // Dereference transport for early garbage collection
9242
+ // (no matter how long the jqXHR object will be used)
9243
+ transport = undefined;
9244
+
9245
+ // Cache response headers
9246
+ responseHeadersString = headers || "";
9247
+
9248
+ // Set readyState
9249
+ jqXHR.readyState = status > 0 ? 4 : 0;
9250
+
9251
+ // Determine if successful
9252
+ isSuccess = status >= 200 && status < 300 || status === 304;
9253
+
9254
+ // Get response data
9255
+ if ( responses ) {
9256
+ response = ajaxHandleResponses( s, jqXHR, responses );
9257
+ }
9258
+
9259
+ // Convert no matter what (that way responseXXX fields are always set)
9260
+ response = ajaxConvert( s, response, jqXHR, isSuccess );
9261
+
9262
+ // If successful, handle type chaining
9263
+ if ( isSuccess ) {
9264
+
9265
+ // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.
9266
+ if ( s.ifModified ) {
9267
+ modified = jqXHR.getResponseHeader("Last-Modified");
9268
+ if ( modified ) {
9269
+ jQuery.lastModified[ cacheURL ] = modified;
9270
+ }
9271
+ modified = jqXHR.getResponseHeader("etag");
9272
+ if ( modified ) {
9273
+ jQuery.etag[ cacheURL ] = modified;
9274
+ }
9275
+ }
9276
+
9277
+ // if no content
9278
+ if ( status === 204 || s.type === "HEAD" ) {
9279
+ statusText = "nocontent";
9280
+
9281
+ // if not modified
9282
+ } else if ( status === 304 ) {
9283
+ statusText = "notmodified";
9284
+
9285
+ // If we have data, let's convert it
9286
+ } else {
9287
+ statusText = response.state;
9288
+ success = response.data;
9289
+ error = response.error;
9290
+ isSuccess = !error;
9291
+ }
9292
+ } else {
9293
+ // We extract error from statusText
9294
+ // then normalize statusText and status for non-aborts
9295
+ error = statusText;
9296
+ if ( status || !statusText ) {
9297
+ statusText = "error";
9298
+ if ( status < 0 ) {
9299
+ status = 0;
9300
+ }
9301
+ }
9302
+ }
9303
+
9304
+ // Set data for the fake xhr object
9305
+ jqXHR.status = status;
9306
+ jqXHR.statusText = ( nativeStatusText || statusText ) + "";
9307
+
9308
+ // Success/Error
9309
+ if ( isSuccess ) {
9310
+ deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] );
9311
+ } else {
9312
+ deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] );
9313
+ }
9314
+
9315
+ // Status-dependent callbacks
9316
+ jqXHR.statusCode( statusCode );
9317
+ statusCode = undefined;
9318
+
9319
+ if ( fireGlobals ) {
9320
+ globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError",
9321
+ [ jqXHR, s, isSuccess ? success : error ] );
9322
+ }
9323
+
9324
+ // Complete
9325
+ completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] );
9326
+
9327
+ if ( fireGlobals ) {
9328
+ globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] );
9329
+ // Handle the global AJAX counter
9330
+ if ( !( --jQuery.active ) ) {
9331
+ jQuery.event.trigger("ajaxStop");
9332
+ }
9333
+ }
9334
+ }
9335
+
9336
+ return jqXHR;
9337
+ },
9338
+
9339
+ getJSON: function( url, data, callback ) {
9340
+ return jQuery.get( url, data, callback, "json" );
9341
+ },
9342
+
9343
+ getScript: function( url, callback ) {
9344
+ return jQuery.get( url, undefined, callback, "script" );
9345
+ }
9346
+ });
9347
+
9348
+ jQuery.each( [ "get", "post" ], function( i, method ) {
9349
+ jQuery[ method ] = function( url, data, callback, type ) {
9350
+ // shift arguments if data argument was omitted
9351
+ if ( jQuery.isFunction( data ) ) {
9352
+ type = type || callback;
9353
+ callback = data;
9354
+ data = undefined;
9355
+ }
9356
+
9357
+ return jQuery.ajax({
9358
+ url: url,
9359
+ type: method,
9360
+ dataType: type,
9361
+ data: data,
9362
+ success: callback
9363
+ });
9364
+ };
9365
+ });
9366
+
9367
+ // Attach a bunch of functions for handling common AJAX events
9368
+ jQuery.each( [ "ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend" ], function( i, type ) {
9369
+ jQuery.fn[ type ] = function( fn ) {
9370
+ return this.on( type, fn );
9371
+ };
9372
+ });
9373
+
9374
+
9375
+ jQuery._evalUrl = function( url ) {
9376
+ return jQuery.ajax({
9377
+ url: url,
9378
+ type: "GET",
9379
+ dataType: "script",
9380
+ async: false,
9381
+ global: false,
9382
+ "throws": true
9383
+ });
9384
+ };
9385
+
9386
+
9387
+ jQuery.fn.extend({
9388
+ wrapAll: function( html ) {
9389
+ if ( jQuery.isFunction( html ) ) {
9390
+ return this.each(function(i) {
9391
+ jQuery(this).wrapAll( html.call(this, i) );
9392
+ });
9393
+ }
9394
+
9395
+ if ( this[0] ) {
9396
+ // The elements to wrap the target around
9397
+ var wrap = jQuery( html, this[0].ownerDocument ).eq(0).clone(true);
9398
+
9399
+ if ( this[0].parentNode ) {
9400
+ wrap.insertBefore( this[0] );
9401
+ }
9402
+
9403
+ wrap.map(function() {
9404
+ var elem = this;
9405
+
9406
+ while ( elem.firstChild && elem.firstChild.nodeType === 1 ) {
9407
+ elem = elem.firstChild;
9408
+ }
9409
+
9410
+ return elem;
9411
+ }).append( this );
9412
+ }
9413
+
9414
+ return this;
9415
+ },
9416
+
9417
+ wrapInner: function( html ) {
9418
+ if ( jQuery.isFunction( html ) ) {
9419
+ return this.each(function(i) {
9420
+ jQuery(this).wrapInner( html.call(this, i) );
9421
+ });
9422
+ }
9423
+
9424
+ return this.each(function() {
9425
+ var self = jQuery( this ),
9426
+ contents = self.contents();
9427
+
9428
+ if ( contents.length ) {
9429
+ contents.wrapAll( html );
9430
+
9431
+ } else {
9432
+ self.append( html );
9433
+ }
9434
+ });
9435
+ },
9436
+
9437
+ wrap: function( html ) {
9438
+ var isFunction = jQuery.isFunction( html );
9439
+
9440
+ return this.each(function(i) {
9441
+ jQuery( this ).wrapAll( isFunction ? html.call(this, i) : html );
9442
+ });
9443
+ },
9444
+
9445
+ unwrap: function() {
9446
+ return this.parent().each(function() {
9447
+ if ( !jQuery.nodeName( this, "body" ) ) {
9448
+ jQuery( this ).replaceWith( this.childNodes );
9449
+ }
9450
+ }).end();
9451
+ }
9452
+ });
9453
+
9454
+
9455
+ jQuery.expr.filters.hidden = function( elem ) {
9456
+ // Support: Opera <= 12.12
9457
+ // Opera reports offsetWidths and offsetHeights less than zero on some elements
9458
+ return elem.offsetWidth <= 0 && elem.offsetHeight <= 0 ||
9459
+ (!support.reliableHiddenOffsets() &&
9460
+ ((elem.style && elem.style.display) || jQuery.css( elem, "display" )) === "none");
9461
+ };
9462
+
9463
+ jQuery.expr.filters.visible = function( elem ) {
9464
+ return !jQuery.expr.filters.hidden( elem );
9465
+ };
9466
+
9467
+
9468
+
9469
+
9470
+ var r20 = /%20/g,
9471
+ rbracket = /\[\]$/,
9472
+ rCRLF = /\r?\n/g,
9473
+ rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i,
9474
+ rsubmittable = /^(?:input|select|textarea|keygen)/i;
9475
+
9476
+ function buildParams( prefix, obj, traditional, add ) {
9477
+ var name;
9478
+
9479
+ if ( jQuery.isArray( obj ) ) {
9480
+ // Serialize array item.
9481
+ jQuery.each( obj, function( i, v ) {
9482
+ if ( traditional || rbracket.test( prefix ) ) {
9483
+ // Treat each array item as a scalar.
9484
+ add( prefix, v );
9485
+
9486
+ } else {
9487
+ // Item is non-scalar (array or object), encode its numeric index.
9488
+ buildParams( prefix + "[" + ( typeof v === "object" ? i : "" ) + "]", v, traditional, add );
9489
+ }
9490
+ });
9491
+
9492
+ } else if ( !traditional && jQuery.type( obj ) === "object" ) {
9493
+ // Serialize object item.
9494
+ for ( name in obj ) {
9495
+ buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add );
9496
+ }
9497
+
9498
+ } else {
9499
+ // Serialize scalar item.
9500
+ add( prefix, obj );
9501
+ }
9502
+ }
9503
+
9504
+ // Serialize an array of form elements or a set of
9505
+ // key/values into a query string
9506
+ jQuery.param = function( a, traditional ) {
9507
+ var prefix,
9508
+ s = [],
9509
+ add = function( key, value ) {
9510
+ // If value is a function, invoke it and return its value
9511
+ value = jQuery.isFunction( value ) ? value() : ( value == null ? "" : value );
9512
+ s[ s.length ] = encodeURIComponent( key ) + "=" + encodeURIComponent( value );
9513
+ };
9514
+
9515
+ // Set traditional to true for jQuery <= 1.3.2 behavior.
9516
+ if ( traditional === undefined ) {
9517
+ traditional = jQuery.ajaxSettings && jQuery.ajaxSettings.traditional;
9518
+ }
9519
+
9520
+ // If an array was passed in, assume that it is an array of form elements.
9521
+ if ( jQuery.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) {
9522
+ // Serialize the form elements
9523
+ jQuery.each( a, function() {
9524
+ add( this.name, this.value );
9525
+ });
9526
+
9527
+ } else {
9528
+ // If traditional, encode the "old" way (the way 1.3.2 or older
9529
+ // did it), otherwise encode params recursively.
9530
+ for ( prefix in a ) {
9531
+ buildParams( prefix, a[ prefix ], traditional, add );
9532
+ }
9533
+ }
9534
+
9535
+ // Return the resulting serialization
9536
+ return s.join( "&" ).replace( r20, "+" );
9537
+ };
9538
+
9539
+ jQuery.fn.extend({
9540
+ serialize: function() {
9541
+ return jQuery.param( this.serializeArray() );
9542
+ },
9543
+ serializeArray: function() {
9544
+ return this.map(function() {
9545
+ // Can add propHook for "elements" to filter or add form elements
9546
+ var elements = jQuery.prop( this, "elements" );
9547
+ return elements ? jQuery.makeArray( elements ) : this;
9548
+ })
9549
+ .filter(function() {
9550
+ var type = this.type;
9551
+ // Use .is(":disabled") so that fieldset[disabled] works
9552
+ return this.name && !jQuery( this ).is( ":disabled" ) &&
9553
+ rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) &&
9554
+ ( this.checked || !rcheckableType.test( type ) );
9555
+ })
9556
+ .map(function( i, elem ) {
9557
+ var val = jQuery( this ).val();
9558
+
9559
+ return val == null ?
9560
+ null :
9561
+ jQuery.isArray( val ) ?
9562
+ jQuery.map( val, function( val ) {
9563
+ return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) };
9564
+ }) :
9565
+ { name: elem.name, value: val.replace( rCRLF, "\r\n" ) };
9566
+ }).get();
9567
+ }
9568
+ });
9569
+
9570
+
9571
+ // Create the request object
9572
+ // (This is still attached to ajaxSettings for backward compatibility)
9573
+ jQuery.ajaxSettings.xhr = window.ActiveXObject !== undefined ?
9574
+ // Support: IE6+
9575
+ function() {
9576
+
9577
+ // XHR cannot access local files, always use ActiveX for that case
9578
+ return !this.isLocal &&
9579
+
9580
+ // Support: IE7-8
9581
+ // oldIE XHR does not support non-RFC2616 methods (#13240)
9582
+ // See http://msdn.microsoft.com/en-us/library/ie/ms536648(v=vs.85).aspx
9583
+ // and http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9
9584
+ // Although this check for six methods instead of eight
9585
+ // since IE also does not support "trace" and "connect"
9586
+ /^(get|post|head|put|delete|options)$/i.test( this.type ) &&
9587
+
9588
+ createStandardXHR() || createActiveXHR();
9589
+ } :
9590
+ // For all other browsers, use the standard XMLHttpRequest object
9591
+ createStandardXHR;
9592
+
9593
+ var xhrId = 0,
9594
+ xhrCallbacks = {},
9595
+ xhrSupported = jQuery.ajaxSettings.xhr();
9596
+
9597
+ // Support: IE<10
9598
+ // Open requests must be manually aborted on unload (#5280)
9599
+ if ( window.ActiveXObject ) {
9600
+ jQuery( window ).on( "unload", function() {
9601
+ for ( var key in xhrCallbacks ) {
9602
+ xhrCallbacks[ key ]( undefined, true );
9603
+ }
9604
+ });
9605
+ }
9606
+
9607
+ // Determine support properties
9608
+ support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported );
9609
+ xhrSupported = support.ajax = !!xhrSupported;
9610
+
9611
+ // Create transport if the browser can provide an xhr
9612
+ if ( xhrSupported ) {
9613
+
9614
+ jQuery.ajaxTransport(function( options ) {
9615
+ // Cross domain only allowed if supported through XMLHttpRequest
9616
+ if ( !options.crossDomain || support.cors ) {
9617
+
9618
+ var callback;
9619
+
9620
+ return {
9621
+ send: function( headers, complete ) {
9622
+ var i,
9623
+ xhr = options.xhr(),
9624
+ id = ++xhrId;
9625
+
9626
+ // Open the socket
9627
+ xhr.open( options.type, options.url, options.async, options.username, options.password );
9628
+
9629
+ // Apply custom fields if provided
9630
+ if ( options.xhrFields ) {
9631
+ for ( i in options.xhrFields ) {
9632
+ xhr[ i ] = options.xhrFields[ i ];
9633
+ }
9634
+ }
9635
+
9636
+ // Override mime type if needed
9637
+ if ( options.mimeType && xhr.overrideMimeType ) {
9638
+ xhr.overrideMimeType( options.mimeType );
9639
+ }
9640
+
9641
+ // X-Requested-With header
9642
+ // For cross-domain requests, seeing as conditions for a preflight are
9643
+ // akin to a jigsaw puzzle, we simply never set it to be sure.
9644
+ // (it can always be set on a per-request basis or even using ajaxSetup)
9645
+ // For same-domain requests, won't change header if already provided.
9646
+ if ( !options.crossDomain && !headers["X-Requested-With"] ) {
9647
+ headers["X-Requested-With"] = "XMLHttpRequest";
9648
+ }
9649
+
9650
+ // Set headers
9651
+ for ( i in headers ) {
9652
+ // Support: IE<9
9653
+ // IE's ActiveXObject throws a 'Type Mismatch' exception when setting
9654
+ // request header to a null-value.
9655
+ //
9656
+ // To keep consistent with other XHR implementations, cast the value
9657
+ // to string and ignore `undefined`.
9658
+ if ( headers[ i ] !== undefined ) {
9659
+ xhr.setRequestHeader( i, headers[ i ] + "" );
9660
+ }
9661
+ }
9662
+
9663
+ // Do send the request
9664
+ // This may raise an exception which is actually
9665
+ // handled in jQuery.ajax (so no try/catch here)
9666
+ xhr.send( ( options.hasContent && options.data ) || null );
9667
+
9668
+ // Listener
9669
+ callback = function( _, isAbort ) {
9670
+ var status, statusText, responses;
9671
+
9672
+ // Was never called and is aborted or complete
9673
+ if ( callback && ( isAbort || xhr.readyState === 4 ) ) {
9674
+ // Clean up
9675
+ delete xhrCallbacks[ id ];
9676
+ callback = undefined;
9677
+ xhr.onreadystatechange = jQuery.noop;
9678
+
9679
+ // Abort manually if needed
9680
+ if ( isAbort ) {
9681
+ if ( xhr.readyState !== 4 ) {
9682
+ xhr.abort();
9683
+ }
9684
+ } else {
9685
+ responses = {};
9686
+ status = xhr.status;
9687
+
9688
+ // Support: IE<10
9689
+ // Accessing binary-data responseText throws an exception
9690
+ // (#11426)
9691
+ if ( typeof xhr.responseText === "string" ) {
9692
+ responses.text = xhr.responseText;
9693
+ }
9694
+
9695
+ // Firefox throws an exception when accessing
9696
+ // statusText for faulty cross-domain requests
9697
+ try {
9698
+ statusText = xhr.statusText;
9699
+ } catch( e ) {
9700
+ // We normalize with Webkit giving an empty statusText
9701
+ statusText = "";
9702
+ }
9703
+
9704
+ // Filter status for non standard behaviors
9705
+
9706
+ // If the request is local and we have data: assume a success
9707
+ // (success with no data won't get notified, that's the best we
9708
+ // can do given current implementations)
9709
+ if ( !status && options.isLocal && !options.crossDomain ) {
9710
+ status = responses.text ? 200 : 404;
9711
+ // IE - #1450: sometimes returns 1223 when it should be 204
9712
+ } else if ( status === 1223 ) {
9713
+ status = 204;
9714
+ }
9715
+ }
9716
+ }
9717
+
9718
+ // Call complete if needed
9719
+ if ( responses ) {
9720
+ complete( status, statusText, responses, xhr.getAllResponseHeaders() );
9721
+ }
9722
+ };
9723
+
9724
+ if ( !options.async ) {
9725
+ // if we're in sync mode we fire the callback
9726
+ callback();
9727
+ } else if ( xhr.readyState === 4 ) {
9728
+ // (IE6 & IE7) if it's in cache and has been
9729
+ // retrieved directly we need to fire the callback
9730
+ setTimeout( callback );
9731
+ } else {
9732
+ // Add to the list of active xhr callbacks
9733
+ xhr.onreadystatechange = xhrCallbacks[ id ] = callback;
9734
+ }
9735
+ },
9736
+
9737
+ abort: function() {
9738
+ if ( callback ) {
9739
+ callback( undefined, true );
9740
+ }
9741
+ }
9742
+ };
9743
+ }
9744
+ });
9745
+ }
9746
+
9747
+ // Functions to create xhrs
9748
+ function createStandardXHR() {
9749
+ try {
9750
+ return new window.XMLHttpRequest();
9751
+ } catch( e ) {}
9752
+ }
9753
+
9754
+ function createActiveXHR() {
9755
+ try {
9756
+ return new window.ActiveXObject( "Microsoft.XMLHTTP" );
9757
+ } catch( e ) {}
9758
+ }
9759
+
9760
+
9761
+
9762
+
9763
+ // Install script dataType
9764
+ jQuery.ajaxSetup({
9765
+ accepts: {
9766
+ script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"
9767
+ },
9768
+ contents: {
9769
+ script: /(?:java|ecma)script/
9770
+ },
9771
+ converters: {
9772
+ "text script": function( text ) {
9773
+ jQuery.globalEval( text );
9774
+ return text;
9775
+ }
9776
+ }
9777
+ });
9778
+
9779
+ // Handle cache's special case and global
9780
+ jQuery.ajaxPrefilter( "script", function( s ) {
9781
+ if ( s.cache === undefined ) {
9782
+ s.cache = false;
9783
+ }
9784
+ if ( s.crossDomain ) {
9785
+ s.type = "GET";
9786
+ s.global = false;
9787
+ }
9788
+ });
9789
+
9790
+ // Bind script tag hack transport
9791
+ jQuery.ajaxTransport( "script", function(s) {
9792
+
9793
+ // This transport only deals with cross domain requests
9794
+ if ( s.crossDomain ) {
9795
+
9796
+ var script,
9797
+ head = document.head || jQuery("head")[0] || document.documentElement;
9798
+
9799
+ return {
9800
+
9801
+ send: function( _, callback ) {
9802
+
9803
+ script = document.createElement("script");
9804
+
9805
+ script.async = true;
9806
+
9807
+ if ( s.scriptCharset ) {
9808
+ script.charset = s.scriptCharset;
9809
+ }
9810
+
9811
+ script.src = s.url;
9812
+
9813
+ // Attach handlers for all browsers
9814
+ script.onload = script.onreadystatechange = function( _, isAbort ) {
9815
+
9816
+ if ( isAbort || !script.readyState || /loaded|complete/.test( script.readyState ) ) {
9817
+
9818
+ // Handle memory leak in IE
9819
+ script.onload = script.onreadystatechange = null;
9820
+
9821
+ // Remove the script
9822
+ if ( script.parentNode ) {
9823
+ script.parentNode.removeChild( script );
9824
+ }
9825
+
9826
+ // Dereference the script
9827
+ script = null;
9828
+
9829
+ // Callback if not abort
9830
+ if ( !isAbort ) {
9831
+ callback( 200, "success" );
9832
+ }
9833
+ }
9834
+ };
9835
+
9836
+ // Circumvent IE6 bugs with base elements (#2709 and #4378) by prepending
9837
+ // Use native DOM manipulation to avoid our domManip AJAX trickery
9838
+ head.insertBefore( script, head.firstChild );
9839
+ },
9840
+
9841
+ abort: function() {
9842
+ if ( script ) {
9843
+ script.onload( undefined, true );
9844
+ }
9845
+ }
9846
+ };
9847
+ }
9848
+ });
9849
+
9850
+
9851
+
9852
+
9853
+ var oldCallbacks = [],
9854
+ rjsonp = /(=)\?(?=&|$)|\?\?/;
9855
+
9856
+ // Default jsonp settings
9857
+ jQuery.ajaxSetup({
9858
+ jsonp: "callback",
9859
+ jsonpCallback: function() {
9860
+ var callback = oldCallbacks.pop() || ( jQuery.expando + "_" + ( nonce++ ) );
9861
+ this[ callback ] = true;
9862
+ return callback;
9863
+ }
9864
+ });
9865
+
9866
+ // Detect, normalize options and install callbacks for jsonp requests
9867
+ jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) {
9868
+
9869
+ var callbackName, overwritten, responseContainer,
9870
+ jsonProp = s.jsonp !== false && ( rjsonp.test( s.url ) ?
9871
+ "url" :
9872
+ typeof s.data === "string" && !( s.contentType || "" ).indexOf("application/x-www-form-urlencoded") && rjsonp.test( s.data ) && "data"
9873
+ );
9874
+
9875
+ // Handle iff the expected data type is "jsonp" or we have a parameter to set
9876
+ if ( jsonProp || s.dataTypes[ 0 ] === "jsonp" ) {
9877
+
9878
+ // Get callback name, remembering preexisting value associated with it
9879
+ callbackName = s.jsonpCallback = jQuery.isFunction( s.jsonpCallback ) ?
9880
+ s.jsonpCallback() :
9881
+ s.jsonpCallback;
9882
+
9883
+ // Insert callback into url or form data
9884
+ if ( jsonProp ) {
9885
+ s[ jsonProp ] = s[ jsonProp ].replace( rjsonp, "$1" + callbackName );
9886
+ } else if ( s.jsonp !== false ) {
9887
+ s.url += ( rquery.test( s.url ) ? "&" : "?" ) + s.jsonp + "=" + callbackName;
9888
+ }
9889
+
9890
+ // Use data converter to retrieve json after script execution
9891
+ s.converters["script json"] = function() {
9892
+ if ( !responseContainer ) {
9893
+ jQuery.error( callbackName + " was not called" );
9894
+ }
9895
+ return responseContainer[ 0 ];
9896
+ };
9897
+
9898
+ // force json dataType
9899
+ s.dataTypes[ 0 ] = "json";
9900
+
9901
+ // Install callback
9902
+ overwritten = window[ callbackName ];
9903
+ window[ callbackName ] = function() {
9904
+ responseContainer = arguments;
9905
+ };
9906
+
9907
+ // Clean-up function (fires after converters)
9908
+ jqXHR.always(function() {
9909
+ // Restore preexisting value
9910
+ window[ callbackName ] = overwritten;
9911
+
9912
+ // Save back as free
9913
+ if ( s[ callbackName ] ) {
9914
+ // make sure that re-using the options doesn't screw things around
9915
+ s.jsonpCallback = originalSettings.jsonpCallback;
9916
+
9917
+ // save the callback name for future use
9918
+ oldCallbacks.push( callbackName );
9919
+ }
9920
+
9921
+ // Call if it was a function and we have a response
9922
+ if ( responseContainer && jQuery.isFunction( overwritten ) ) {
9923
+ overwritten( responseContainer[ 0 ] );
9924
+ }
9925
+
9926
+ responseContainer = overwritten = undefined;
9927
+ });
9928
+
9929
+ // Delegate to script
9930
+ return "script";
9931
+ }
9932
+ });
9933
+
9934
+
9935
+
9936
+
9937
+ // data: string of html
9938
+ // context (optional): If specified, the fragment will be created in this context, defaults to document
9939
+ // keepScripts (optional): If true, will include scripts passed in the html string
9940
+ jQuery.parseHTML = function( data, context, keepScripts ) {
9941
+ if ( !data || typeof data !== "string" ) {
9942
+ return null;
9943
+ }
9944
+ if ( typeof context === "boolean" ) {
9945
+ keepScripts = context;
9946
+ context = false;
9947
+ }
9948
+ context = context || document;
9949
+
9950
+ var parsed = rsingleTag.exec( data ),
9951
+ scripts = !keepScripts && [];
9952
+
9953
+ // Single tag
9954
+ if ( parsed ) {
9955
+ return [ context.createElement( parsed[1] ) ];
9956
+ }
9957
+
9958
+ parsed = jQuery.buildFragment( [ data ], context, scripts );
9959
+
9960
+ if ( scripts && scripts.length ) {
9961
+ jQuery( scripts ).remove();
9962
+ }
9963
+
9964
+ return jQuery.merge( [], parsed.childNodes );
9965
+ };
9966
+
9967
+
9968
+ // Keep a copy of the old load method
9969
+ var _load = jQuery.fn.load;
9970
+
9971
+ /**
9972
+ * Load a url into a page
9973
+ */
9974
+ jQuery.fn.load = function( url, params, callback ) {
9975
+ if ( typeof url !== "string" && _load ) {
9976
+ return _load.apply( this, arguments );
9977
+ }
9978
+
9979
+ var selector, response, type,
9980
+ self = this,
9981
+ off = url.indexOf(" ");
9982
+
9983
+ if ( off >= 0 ) {
9984
+ selector = url.slice( off, url.length );
9985
+ url = url.slice( 0, off );
9986
+ }
9987
+
9988
+ // If it's a function
9989
+ if ( jQuery.isFunction( params ) ) {
9990
+
9991
+ // We assume that it's the callback
9992
+ callback = params;
9993
+ params = undefined;
9994
+
9995
+ // Otherwise, build a param string
9996
+ } else if ( params && typeof params === "object" ) {
9997
+ type = "POST";
9998
+ }
9999
+
10000
+ // If we have elements to modify, make the request
10001
+ if ( self.length > 0 ) {
10002
+ jQuery.ajax({
10003
+ url: url,
10004
+
10005
+ // if "type" variable is undefined, then "GET" method will be used
10006
+ type: type,
10007
+ dataType: "html",
10008
+ data: params
10009
+ }).done(function( responseText ) {
10010
+
10011
+ // Save response for use in complete callback
10012
+ response = arguments;
10013
+
10014
+ self.html( selector ?
10015
+
10016
+ // If a selector was specified, locate the right elements in a dummy div
10017
+ // Exclude scripts to avoid IE 'Permission Denied' errors
10018
+ jQuery("<div>").append( jQuery.parseHTML( responseText ) ).find( selector ) :
10019
+
10020
+ // Otherwise use the full result
10021
+ responseText );
10022
+
10023
+ }).complete( callback && function( jqXHR, status ) {
10024
+ self.each( callback, response || [ jqXHR.responseText, status, jqXHR ] );
10025
+ });
10026
+ }
10027
+
10028
+ return this;
10029
+ };
10030
+
10031
+
10032
+
10033
+
10034
+ jQuery.expr.filters.animated = function( elem ) {
10035
+ return jQuery.grep(jQuery.timers, function( fn ) {
10036
+ return elem === fn.elem;
10037
+ }).length;
10038
+ };
10039
+
10040
+
10041
+
10042
+
10043
+
10044
+ var docElem = window.document.documentElement;
10045
+
10046
+ /**
10047
+ * Gets a window from an element
10048
+ */
10049
+ function getWindow( elem ) {
10050
+ return jQuery.isWindow( elem ) ?
10051
+ elem :
10052
+ elem.nodeType === 9 ?
10053
+ elem.defaultView || elem.parentWindow :
10054
+ false;
10055
+ }
10056
+
10057
+ jQuery.offset = {
10058
+ setOffset: function( elem, options, i ) {
10059
+ var curPosition, curLeft, curCSSTop, curTop, curOffset, curCSSLeft, calculatePosition,
10060
+ position = jQuery.css( elem, "position" ),
10061
+ curElem = jQuery( elem ),
10062
+ props = {};
10063
+
10064
+ // set position first, in-case top/left are set even on static elem
10065
+ if ( position === "static" ) {
10066
+ elem.style.position = "relative";
10067
+ }
10068
+
10069
+ curOffset = curElem.offset();
10070
+ curCSSTop = jQuery.css( elem, "top" );
10071
+ curCSSLeft = jQuery.css( elem, "left" );
10072
+ calculatePosition = ( position === "absolute" || position === "fixed" ) &&
10073
+ jQuery.inArray("auto", [ curCSSTop, curCSSLeft ] ) > -1;
10074
+
10075
+ // need to be able to calculate position if either top or left is auto and position is either absolute or fixed
10076
+ if ( calculatePosition ) {
10077
+ curPosition = curElem.position();
10078
+ curTop = curPosition.top;
10079
+ curLeft = curPosition.left;
10080
+ } else {
10081
+ curTop = parseFloat( curCSSTop ) || 0;
10082
+ curLeft = parseFloat( curCSSLeft ) || 0;
10083
+ }
10084
+
10085
+ if ( jQuery.isFunction( options ) ) {
10086
+ options = options.call( elem, i, curOffset );
10087
+ }
10088
+
10089
+ if ( options.top != null ) {
10090
+ props.top = ( options.top - curOffset.top ) + curTop;
10091
+ }
10092
+ if ( options.left != null ) {
10093
+ props.left = ( options.left - curOffset.left ) + curLeft;
10094
+ }
10095
+
10096
+ if ( "using" in options ) {
10097
+ options.using.call( elem, props );
10098
+ } else {
10099
+ curElem.css( props );
10100
+ }
10101
+ }
10102
+ };
10103
+
10104
+ jQuery.fn.extend({
10105
+ offset: function( options ) {
10106
+ if ( arguments.length ) {
10107
+ return options === undefined ?
10108
+ this :
10109
+ this.each(function( i ) {
10110
+ jQuery.offset.setOffset( this, options, i );
10111
+ });
10112
+ }
10113
+
10114
+ var docElem, win,
10115
+ box = { top: 0, left: 0 },
10116
+ elem = this[ 0 ],
10117
+ doc = elem && elem.ownerDocument;
10118
+
10119
+ if ( !doc ) {
10120
+ return;
10121
+ }
10122
+
10123
+ docElem = doc.documentElement;
10124
+
10125
+ // Make sure it's not a disconnected DOM node
10126
+ if ( !jQuery.contains( docElem, elem ) ) {
10127
+ return box;
10128
+ }
10129
+
10130
+ // If we don't have gBCR, just use 0,0 rather than error
10131
+ // BlackBerry 5, iOS 3 (original iPhone)
10132
+ if ( typeof elem.getBoundingClientRect !== strundefined ) {
10133
+ box = elem.getBoundingClientRect();
10134
+ }
10135
+ win = getWindow( doc );
10136
+ return {
10137
+ top: box.top + ( win.pageYOffset || docElem.scrollTop ) - ( docElem.clientTop || 0 ),
10138
+ left: box.left + ( win.pageXOffset || docElem.scrollLeft ) - ( docElem.clientLeft || 0 )
10139
+ };
10140
+ },
10141
+
10142
+ position: function() {
10143
+ if ( !this[ 0 ] ) {
10144
+ return;
10145
+ }
10146
+
10147
+ var offsetParent, offset,
10148
+ parentOffset = { top: 0, left: 0 },
10149
+ elem = this[ 0 ];
10150
+
10151
+ // fixed elements are offset from window (parentOffset = {top:0, left: 0}, because it is its only offset parent
10152
+ if ( jQuery.css( elem, "position" ) === "fixed" ) {
10153
+ // we assume that getBoundingClientRect is available when computed position is fixed
10154
+ offset = elem.getBoundingClientRect();
10155
+ } else {
10156
+ // Get *real* offsetParent
10157
+ offsetParent = this.offsetParent();
10158
+
10159
+ // Get correct offsets
10160
+ offset = this.offset();
10161
+ if ( !jQuery.nodeName( offsetParent[ 0 ], "html" ) ) {
10162
+ parentOffset = offsetParent.offset();
10163
+ }
10164
+
10165
+ // Add offsetParent borders
10166
+ parentOffset.top += jQuery.css( offsetParent[ 0 ], "borderTopWidth", true );
10167
+ parentOffset.left += jQuery.css( offsetParent[ 0 ], "borderLeftWidth", true );
10168
+ }
10169
+
10170
+ // Subtract parent offsets and element margins
10171
+ // note: when an element has margin: auto the offsetLeft and marginLeft
10172
+ // are the same in Safari causing offset.left to incorrectly be 0
10173
+ return {
10174
+ top: offset.top - parentOffset.top - jQuery.css( elem, "marginTop", true ),
10175
+ left: offset.left - parentOffset.left - jQuery.css( elem, "marginLeft", true)
10176
+ };
10177
+ },
10178
+
10179
+ offsetParent: function() {
10180
+ return this.map(function() {
10181
+ var offsetParent = this.offsetParent || docElem;
10182
+
10183
+ while ( offsetParent && ( !jQuery.nodeName( offsetParent, "html" ) && jQuery.css( offsetParent, "position" ) === "static" ) ) {
10184
+ offsetParent = offsetParent.offsetParent;
10185
+ }
10186
+ return offsetParent || docElem;
10187
+ });
10188
+ }
10189
+ });
10190
+
10191
+ // Create scrollLeft and scrollTop methods
10192
+ jQuery.each( { scrollLeft: "pageXOffset", scrollTop: "pageYOffset" }, function( method, prop ) {
10193
+ var top = /Y/.test( prop );
10194
+
10195
+ jQuery.fn[ method ] = function( val ) {
10196
+ return access( this, function( elem, method, val ) {
10197
+ var win = getWindow( elem );
10198
+
10199
+ if ( val === undefined ) {
10200
+ return win ? (prop in win) ? win[ prop ] :
10201
+ win.document.documentElement[ method ] :
10202
+ elem[ method ];
10203
+ }
10204
+
10205
+ if ( win ) {
10206
+ win.scrollTo(
10207
+ !top ? val : jQuery( win ).scrollLeft(),
10208
+ top ? val : jQuery( win ).scrollTop()
10209
+ );
10210
+
10211
+ } else {
10212
+ elem[ method ] = val;
10213
+ }
10214
+ }, method, val, arguments.length, null );
10215
+ };
10216
+ });
10217
+
10218
+ // Add the top/left cssHooks using jQuery.fn.position
10219
+ // Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084
10220
+ // getComputedStyle returns percent when specified for top/left/bottom/right
10221
+ // rather than make the css module depend on the offset module, we just check for it here
10222
+ jQuery.each( [ "top", "left" ], function( i, prop ) {
10223
+ jQuery.cssHooks[ prop ] = addGetHookIf( support.pixelPosition,
10224
+ function( elem, computed ) {
10225
+ if ( computed ) {
10226
+ computed = curCSS( elem, prop );
10227
+ // if curCSS returns percentage, fallback to offset
10228
+ return rnumnonpx.test( computed ) ?
10229
+ jQuery( elem ).position()[ prop ] + "px" :
10230
+ computed;
10231
+ }
10232
+ }
10233
+ );
10234
+ });
10235
+
10236
+
10237
+ // Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods
10238
+ jQuery.each( { Height: "height", Width: "width" }, function( name, type ) {
10239
+ jQuery.each( { padding: "inner" + name, content: type, "": "outer" + name }, function( defaultExtra, funcName ) {
10240
+ // margin is only for outerHeight, outerWidth
10241
+ jQuery.fn[ funcName ] = function( margin, value ) {
10242
+ var chainable = arguments.length && ( defaultExtra || typeof margin !== "boolean" ),
10243
+ extra = defaultExtra || ( margin === true || value === true ? "margin" : "border" );
10244
+
10245
+ return access( this, function( elem, type, value ) {
10246
+ var doc;
10247
+
10248
+ if ( jQuery.isWindow( elem ) ) {
10249
+ // As of 5/8/2012 this will yield incorrect results for Mobile Safari, but there
10250
+ // isn't a whole lot we can do. See pull request at this URL for discussion:
10251
+ // https://github.com/jquery/jquery/pull/764
10252
+ return elem.document.documentElement[ "client" + name ];
10253
+ }
10254
+
10255
+ // Get document width or height
10256
+ if ( elem.nodeType === 9 ) {
10257
+ doc = elem.documentElement;
10258
+
10259
+ // Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height], whichever is greatest
10260
+ // unfortunately, this causes bug #3838 in IE6/8 only, but there is currently no good, small way to fix it.
10261
+ return Math.max(
10262
+ elem.body[ "scroll" + name ], doc[ "scroll" + name ],
10263
+ elem.body[ "offset" + name ], doc[ "offset" + name ],
10264
+ doc[ "client" + name ]
10265
+ );
10266
+ }
10267
+
10268
+ return value === undefined ?
10269
+ // Get width or height on the element, requesting but not forcing parseFloat
10270
+ jQuery.css( elem, type, extra ) :
10271
+
10272
+ // Set width or height on the element
10273
+ jQuery.style( elem, type, value, extra );
10274
+ }, type, chainable ? margin : undefined, chainable, null );
10275
+ };
10276
+ });
10277
+ });
10278
+
10279
+
10280
+ // The number of elements contained in the matched element set
10281
+ jQuery.fn.size = function() {
10282
+ return this.length;
10283
+ };
10284
+
10285
+ jQuery.fn.andSelf = jQuery.fn.addBack;
10286
+
10287
+
10288
+
10289
+
10290
+ // Register as a named AMD module, since jQuery can be concatenated with other
10291
+ // files that may use define, but not via a proper concatenation script that
10292
+ // understands anonymous AMD modules. A named AMD is safest and most robust
10293
+ // way to register. Lowercase jquery is used because AMD module names are
10294
+ // derived from file names, and jQuery is normally delivered in a lowercase
10295
+ // file name. Do this after creating the global so that if an AMD module wants
10296
+ // to call noConflict to hide this version of jQuery, it will work.
10297
+ if ( typeof define === "function" && define.amd ) {
10298
+ define( "jquery", [], function() {
10299
+ return jQuery;
10300
+ });
10301
+ }
10302
+
10303
+
10304
+
10305
+
10306
+ var
10307
+ // Map over jQuery in case of overwrite
10308
+ _jQuery = window.jQuery,
10309
+
10310
+ // Map over the $ in case of overwrite
10311
+ _$ = window.$;
10312
+
10313
+ jQuery.noConflict = function( deep ) {
10314
+ if ( window.$ === jQuery ) {
10315
+ window.$ = _$;
10316
+ }
10317
+
10318
+ if ( deep && window.jQuery === jQuery ) {
10319
+ window.jQuery = _jQuery;
10320
+ }
10321
+
10322
+ return jQuery;
10323
+ };
10324
+
10325
+ // Expose jQuery and $ identifiers, even in
10326
+ // AMD (#7102#comment:10, https://github.com/jquery/jquery/pull/557)
10327
+ // and CommonJS for browser emulators (#13566)
10328
+ if ( typeof noGlobal === strundefined ) {
10329
+ window.jQuery = window.$ = jQuery;
10330
+ }
10331
+
10332
+
10333
+
10334
+
10335
+ return jQuery;
10336
+
10337
+ }));
skin/frontend/default/default/ship/js/jquery.autoSuggest.js ADDED
@@ -0,0 +1,440 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * AutoSuggest
3
+ * Copyright 2009-2010 Drew Wilson
4
+ * www.drewwilson.com
5
+ * code.drewwilson.com/entry/autosuggest-jquery-plugin
6
+ *
7
+ * Forked by Wu Yuntao
8
+ * github.com/wuyuntao/jquery-autosuggest
9
+ *
10
+ * Version 1.6.2
11
+ *
12
+ * This Plug-In will auto-complete or auto-suggest completed search queries
13
+ * for you as you type. You can add multiple selections and remove them on
14
+ * the fly. It supports keybord navigation (UP + DOWN + RETURN), as well
15
+ * as multiple AutoSuggest fields on the same page.
16
+ *
17
+ * Inspired by the Autocomplete plugin by: Joern Zaefferer
18
+ * and the Facelist plugin by: Ian Tearle (iantearle.com)
19
+ *
20
+ * This AutoSuggest jQuery plug-in is dual licensed under the MIT and GPL licenses:
21
+ * http://www.opensource.org/licenses/mit-license.php
22
+ * http://www.gnu.org/licenses/gpl.html
23
+ */
24
+
25
+ (function($){
26
+ $.fn.autoSuggest = function(data, options) {
27
+ var defaults = {
28
+ asHtmlID: false,
29
+ startText: "Enter Suburb / Postcode Here",
30
+ usePlaceholder: false,
31
+ emptyText: "No Results Found",
32
+ preFill: {},
33
+ limitText: "No More Selections Are Allowed",
34
+ selectedItemProp: "value", //name of object property
35
+ selectedValuesProp: "value", //name of object property
36
+ searchObjProps: "value", //comma separated list of object property names
37
+ queryParam: "q",
38
+ retrieveLimit: false, //number for 'limit' param on ajax request
39
+ extraParams: "",
40
+ matchCase: false,
41
+ minChars: 1,
42
+ keyDelay: 400,
43
+ resultsHighlight: true,
44
+ neverSubmit: false,
45
+ selectionLimit: false,
46
+ showResultList: true,
47
+ showResultListWhenNoMatch: false,
48
+ canGenerateNewSelections: true,
49
+ start: function(){},
50
+ selectionClick: function(elem){},
51
+ selectionAdded: function(elem){},
52
+ selectionRemoved: function(elem){ elem.remove(); },
53
+ formatList: false, //callback function
54
+ beforeRetrieve: function(string){ return string; },
55
+ retrieveComplete: function(data){ return data; },
56
+ resultClick: function(data){},
57
+ resultsComplete: function(){}
58
+ };
59
+ var opts = $.extend(defaults, options);
60
+
61
+ function countValidItems(data) { var n = 0; for (k in data) if (data.hasOwnProperty(k)) n++; return n; }
62
+
63
+ function getExtraParams() {
64
+ var params = opts.extraParams;
65
+ if($.isFunction(params)) {
66
+ return params();
67
+ }
68
+ return params;
69
+ }
70
+
71
+ var d_fetcher;
72
+ var request = null;
73
+ if(typeof data == "function") {
74
+ d_fetcher = data;
75
+ } else if(typeof data == "string") {
76
+ d_fetcher = function(query, next) {
77
+ var limit = "";
78
+ if(opts.retrieveLimit){
79
+ limit = "&limit="+encodeURIComponent(opts.retrieveLimit);
80
+ }
81
+ request = $.getJSON(data+"?"+opts.queryParam+"="+encodeURIComponent(query)+limit+getExtraParams(), function(data){
82
+ var new_data = opts.retrieveComplete.call(this, data);
83
+ next(new_data, query);
84
+ });
85
+ };
86
+ } else if(typeof data == "object" && countValidItems(data) > 0) {
87
+ d_fetcher = function(query, next) { next(data, query); };
88
+ }
89
+
90
+ if(d_fetcher) {
91
+ return this.each(function(x){
92
+ if(!opts.asHtmlID){
93
+ x = x+""+Math.floor(Math.random()*100); //this ensures there will be unique IDs on the page if autoSuggest() is called multiple times
94
+ var x_id = "as-input-"+x;
95
+ } else {
96
+ x = opts.asHtmlID;
97
+ var x_id = x;
98
+ }
99
+ opts.start.call(this, {
100
+ add: function(data) {
101
+ add_selected_item(data, 'u' + $('li', selections_holder).length).addClass('blur');
102
+ },
103
+ remove: function(value) {
104
+ values_input.val(values_input.val().replace(","+value+",",","));
105
+ selections_holder.find('li[data-value = "' + value + '"]').remove();
106
+ }
107
+ });
108
+ var input = $(this);
109
+ input.attr("autocomplete","off").addClass("as-input").attr("id",x_id);
110
+ if (opts.usePlaceholder) {
111
+ input.attr('placeholder', opts.startText);
112
+ } else {
113
+ input.val(opts.startText);
114
+ }
115
+ var input_focus = false;
116
+
117
+ // Setup basic elements and render them to the DOM
118
+ input.wrap('<ul class="as-selections" id="as-selections-'+x+'"></ul>').wrap('<li class="as-original" id="as-original-'+x+'"></li>');
119
+ var selections_holder = $("#as-selections-"+x);
120
+ var org_li = $("#as-original-"+x);
121
+ var results_holder = $('<div class="as-results" id="as-results-'+x+'"></div>').hide();
122
+ var results_ul = $('<ul class="as-list"></ul>');
123
+ var values_input = $('<input type="hidden" class="as-values" name="as_values_'+x+'" id="as-values-'+x+'" />');
124
+ var prefill_value = "";
125
+ if(typeof opts.preFill == "string"){
126
+ var vals = opts.preFill.split(",");
127
+ for(var i=0; i < vals.length; i++){
128
+ var v_data = {};
129
+ v_data[opts.selectedValuesProp] = vals[i];
130
+ if(vals[i] != ""){
131
+ add_selected_item(v_data, "000"+i);
132
+ }
133
+ }
134
+ prefill_value = opts.preFill;
135
+ } else {
136
+ prefill_value = "";
137
+ var prefill_count = 0;
138
+ for (k in opts.preFill) if (opts.preFill.hasOwnProperty(k)) prefill_count++;
139
+ if(prefill_count > 0){
140
+ for(var i=0; i < prefill_count; i++){
141
+ var new_v = opts.preFill[i][opts.selectedValuesProp];
142
+ if(new_v == undefined){ new_v = ""; }
143
+ prefill_value = prefill_value+new_v+",";
144
+ if(new_v != ""){
145
+ add_selected_item(opts.preFill[i], "000"+i);
146
+ }
147
+ }
148
+ }
149
+ }
150
+ if(prefill_value != ""){
151
+ input.val("");
152
+ var lastChar = prefill_value.substring(prefill_value.length-1);
153
+ if(lastChar != ","){ prefill_value = prefill_value+","; }
154
+ values_input.val(","+prefill_value);
155
+ $("li.as-selection-item", selections_holder).addClass("blur").removeClass("selected");
156
+ }
157
+ input.after(values_input);
158
+ selections_holder.click(function(){
159
+ input_focus = true;
160
+ input.focus();
161
+ }).mousedown(function(){ input_focus = false; }).after(results_holder);
162
+
163
+ var interval = null;
164
+ var timeout = null;
165
+ var prev = "";
166
+ var totalSelections = 0;
167
+ var tab_press = false;
168
+ var lastKeyPressCode = null;
169
+
170
+ // Handle input field events
171
+ input.focus(function(){
172
+ if(!opts.usePlaceholder && $(this).val() == opts.startText && values_input.val() == ""){
173
+ $(this).val("");
174
+ } else if(input_focus){
175
+ $("li.as-selection-item", selections_holder).removeClass("blur");
176
+ if($(this).val() != ""){
177
+ results_ul.css("width",selections_holder.outerWidth());
178
+ results_holder.show();
179
+ }
180
+ }
181
+ if (interval) clearInterval(interval);
182
+ interval = setInterval(function() {
183
+ if(opts.showResultList){
184
+ if(opts.selectionLimit && $("li.as-selection-item", selections_holder).length >= opts.selectionLimit){
185
+ results_ul.html('<li class="as-message">'+opts.limitText+'</li>');
186
+ //results_holder.show(); // Nayan Code Added
187
+ } else {
188
+ keyChange();
189
+ }
190
+ }
191
+ }, opts.keyDelay);
192
+ input_focus = true;
193
+ if (opts.minChars == 0){
194
+ processRequest($(this).val());
195
+ }
196
+ return true;
197
+ }).blur(function(){
198
+ if (!opts.usePlaceholder && $(this).val() == "" && values_input.val() == "" && prefill_value == "" && opts.minChars > 0) {
199
+ $(this).val(opts.startText);
200
+ } else if(input_focus){
201
+ $("li.as-selection-item", selections_holder).addClass("blur").removeClass("selected");
202
+ results_holder.hide();
203
+ }
204
+ if (interval) clearInterval(interval);
205
+ }).keydown(function(e) {
206
+ // track last key pressed
207
+ lastKeyPressCode = e.keyCode;
208
+ first_focus = false;
209
+ switch(e.keyCode) {
210
+ case 38: // up
211
+ e.preventDefault();
212
+ moveSelection("up");
213
+ break;
214
+ case 40: // down
215
+ e.preventDefault();
216
+ moveSelection("down");
217
+ break;
218
+ case 8: // delete
219
+ if(input.val() == ""){
220
+ var last = values_input.val().split(",");
221
+ last = last[last.length - 2];
222
+ selections_holder.children().not(org_li.prev()).removeClass("selected");
223
+ if(org_li.prev().hasClass("selected")){
224
+ values_input.val(values_input.val().replace(","+last+",",","));
225
+ opts.selectionRemoved.call(this, org_li.prev());
226
+
227
+ $("li.as-original input").removeAttr("disabled"); //Nayan Code Added
228
+
229
+ } else {
230
+ opts.selectionClick.call(this, org_li.prev());
231
+ org_li.prev().addClass("selected");
232
+ }
233
+ }
234
+ if(input.val().length == 1){
235
+ results_holder.hide();
236
+ prev = "";
237
+ abortRequest();
238
+ }
239
+ if($(":visible",results_holder).length > 0){
240
+ if (timeout){ clearTimeout(timeout); }
241
+ timeout = setTimeout(function(){ keyChange(); }, opts.keyDelay);
242
+ }
243
+ break;
244
+ case 9: case 188: // tab or comm
245
+ if(opts.canGenerateNewSelections){
246
+ tab_press = true;
247
+ var i_input = input.val().replace(/(,)/g, "");
248
+ var active = $("li.active:first", results_holder);
249
+ // Generate a new bubble with text when no suggestion selected
250
+ if(i_input !== "" && values_input.val().search(","+i_input+",") < 0 && i_input.length >= opts.minChars && active.length === 0){
251
+ e.preventDefault();
252
+ var n_data = {};
253
+ n_data[opts.selectedItemProp] = i_input;
254
+ n_data[opts.selectedValuesProp] = i_input;
255
+ var lis = $("li", selections_holder).length;
256
+ add_selected_item(n_data, "00"+(lis+1));
257
+ input.val("");
258
+ // Cancel previous request when new tag is added
259
+ abortRequest();
260
+ break;
261
+ }
262
+ }
263
+ case 13: // return
264
+ tab_press = false;
265
+ var active = $("li.active:first", results_holder);
266
+ if(active.length > 0){
267
+ active.click();
268
+ results_holder.hide();
269
+ }
270
+ if(opts.neverSubmit || active.length > 0){
271
+ e.preventDefault();
272
+ }
273
+ break;
274
+ // ignore if the following keys are pressed: [escape] [shift] [capslock]
275
+ case 27: // escape
276
+ case 16: // shift
277
+ case 20: // capslock
278
+ abortRequest();
279
+ results_holder.hide();
280
+ break;
281
+ }
282
+ });
283
+
284
+ function keyChange() {
285
+ // Since most IME does not trigger any key events, if we press [del]
286
+ // and type some chinese character, `lastKeyPressCode` will still be [del].
287
+ // This might cause problem so we move the line to key events section;
288
+ // ignore if the following keys are pressed: [del] [shift] [capslock]
289
+ // if( lastKeyPressCode == 46 || (lastKeyPressCode > 8 && lastKeyPressCode < 32) ){ return results_holder.hide(); }
290
+ var string = input.val().replace(/[\\]+|[\/]+/g,"");
291
+ if (string == prev) return;
292
+ prev = string;
293
+ if (string.length >= opts.minChars) {
294
+ selections_holder.addClass("loading");
295
+ processRequest(string);
296
+ } else {
297
+ selections_holder.removeClass("loading");
298
+ results_holder.hide();
299
+ }
300
+ }
301
+ function processRequest(string){
302
+ if(opts.beforeRetrieve){
303
+ string = opts.beforeRetrieve.call(this, string);
304
+ }
305
+ abortRequest();
306
+ d_fetcher(string, processData);
307
+ }
308
+ var num_count = 0;
309
+ function processData(data, query){
310
+ if (!opts.matchCase){ query = query.toLowerCase(); }
311
+ query = query.replace("(", "\\(", "g").replace(")", "\\)", "g");
312
+ var matchCount = 0;
313
+ results_holder.html(results_ul.html("")).hide();
314
+ var d_count = countValidItems(data);
315
+ for(var i=0;i<d_count;i++){
316
+ var num = i;
317
+ num_count++;
318
+ var forward = false;
319
+ if(opts.searchObjProps == "value") {
320
+ var str = data[num].value;
321
+ } else {
322
+ var str = "";
323
+ var names = opts.searchObjProps.split(",");
324
+ for(var y=0;y<names.length;y++){
325
+ var name = $.trim(names[y]);
326
+ str = str+data[num][name]+" ";
327
+ }
328
+ }
329
+ if(str){
330
+ if (!opts.matchCase){ str = str.toLowerCase(); }
331
+ if(str.search(query) != -1 && values_input.val().search(","+data[num][opts.selectedValuesProp]+",") == -1){
332
+ forward = true;
333
+ }
334
+ }
335
+ if(forward){
336
+ var formatted = $('<li class="as-result-item" id="as-result-item-'+num+'"></li>').click(function(){
337
+ var raw_data = $(this).data("data");
338
+ var number = raw_data.num;
339
+ if($("#as-selection-"+number, selections_holder).length <= 0 && !tab_press){
340
+ var data = raw_data.attributes;
341
+ input.val("").focus();
342
+ prev = "";
343
+ add_selected_item(data, number);
344
+ opts.resultClick.call(this, raw_data);
345
+ results_holder.hide();
346
+ }
347
+ tab_press = false;
348
+ }).mousedown(function(){ input_focus = false; }).mouseover(function(){
349
+ $("li", results_ul).removeClass("active");
350
+ $(this).addClass("active");
351
+ }).data("data",{attributes: data[num], num: num_count});
352
+ var this_data = $.extend({},data[num]);
353
+ if (!opts.matchCase){
354
+ var regx = new RegExp("(?![^&;]+;)(?!<[^<>]*)(" + query + ")(?![^<>]*>)(?![^&;]+;)", "gi");
355
+ } else {
356
+ var regx = new RegExp("(?![^&;]+;)(?!<[^<>]*)(" + query + ")(?![^<>]*>)(?![^&;]+;)", "g");
357
+ }
358
+
359
+ if(opts.resultsHighlight && query.length > 0){
360
+ this_data[opts.selectedItemProp] = this_data[opts.selectedItemProp].replace(regx,"<em>$1</em>");
361
+ }
362
+ if(!opts.formatList){
363
+ formatted = formatted.html(this_data[opts.selectedItemProp]);
364
+ } else {
365
+ formatted = opts.formatList.call(this, this_data, formatted);
366
+ }
367
+ results_ul.append(formatted);
368
+ delete this_data;
369
+ matchCount++;
370
+ if(opts.retrieveLimit && opts.retrieveLimit == matchCount ){ break; }
371
+ }
372
+ }
373
+ selections_holder.removeClass("loading");
374
+ if(matchCount <= 0){
375
+ results_ul.html('<li class="as-message">'+opts.emptyText+'</li>');
376
+ }
377
+ results_ul.css("width", selections_holder.outerWidth());
378
+ if (matchCount > 0 || !opts.showResultListWhenNoMatch) {
379
+ results_holder.show();
380
+ }
381
+ opts.resultsComplete.call(this);
382
+ }
383
+
384
+ function add_selected_item(data, num){
385
+ values_input.val((values_input.val()||",")+data[opts.selectedValuesProp]+",");
386
+ var item = $('<li class="as-selection-item" id="as-selection-'+num+'" data-value="' + data[opts.selectedValuesProp] + '"></li>').click(function(){
387
+ opts.selectionClick.call(this, $(this));
388
+ selections_holder.children().removeClass("selected");
389
+ $(this).addClass("selected");
390
+ }).mousedown(function(){ input_focus = false; });
391
+ var close = $('<a class="as-close">&times;</a>').click(function(){
392
+ values_input.val(values_input.val().replace(","+data[opts.selectedValuesProp]+",",","));
393
+ opts.selectionRemoved.call(this, item);
394
+ $("li.as-original input").removeAttr("disabled"); //Nayan Code Added
395
+ $("ul.as-selections li.as-original").css("display","block");
396
+ $(".postcode_suburb #suburb").removeAttr("value");
397
+ $(".postcode_suburb #postcode").removeAttr("value");
398
+ input_focus = true;
399
+ input.focus();
400
+ return false;
401
+ });
402
+ org_li.before(item.html(data[opts.selectedItemProp]).prepend(close));
403
+ opts.selectionAdded.call(this, org_li.prev(), data[opts.selectedValuesProp]);
404
+ $("li.as-original input").attr("disabled",true); //Nayan Code Added
405
+ $("ul.as-selections li.as-original").css("display","none");
406
+ return org_li.prev();
407
+ }
408
+
409
+ function moveSelection(direction){
410
+ if($(":visible",results_holder).length > 0){
411
+ var lis = $("li", results_holder);
412
+ if(direction == "down"){
413
+ var start = lis.eq(0);
414
+ } else {
415
+ var start = lis.filter(":last");
416
+ }
417
+ var active = $("li.active:first", results_holder);
418
+ if(active.length > 0){
419
+ if(direction == "down"){
420
+ start = active.next();
421
+ } else {
422
+ start = active.prev();
423
+ }
424
+ }
425
+ lis.removeClass("active");
426
+ start.addClass("active");
427
+ }
428
+ }
429
+
430
+ function abortRequest() {
431
+ if (request) {
432
+ request.abort();
433
+ request = null;
434
+ }
435
+ }
436
+
437
+ });
438
+ }
439
+ };
440
+ })(jQuery);
skin/frontend/default/default/ship/js/location_script.js ADDED
@@ -0,0 +1 @@
 
1
+ var TDLocationsList = {"1":{"id":"1","locality":"AUSTRALIAN NATIONAL UNIVERSITY","postcode":"0200","state":"ACT"},"2":{"id":"2","locality":"BARTON","postcode":"0221","state":"ACT"},"3":{"id":"3","locality":"DARWIN","postcode":"0800","state":"NT"},"4":{"id":"4","locality":"DARWIN","postcode":"0801","state":"NT"},"5":{"id":"5","locality":"WAGAIT BEACH","postcode":"0803","state":"NT"},"6":{"id":"6","locality":"PARAP","postcode":"0804","state":"NT"},"7":{"id":"7","locality":"ALAWA","postcode":"0810","state":"NT"},"8":{"id":"8","locality":"BRINKIN","postcode":"0810","state":"NT"},"9":{"id":"9","locality":"CASUARINA","postcode":"0810","state":"NT"},"10":{"id":"10","locality":"COCONUT GROVE","postcode":"0810","state":"NT"},"11":{"id":"11","locality":"JINGILI","postcode":"0810","state":"NT"},"12":{"id":"12","locality":"LEE POINT","postcode":"0810","state":"NT"},"13":{"id":"13","locality":"LYONS","postcode":"0810","state":"NT"},"14":{"id":"14","locality":"MILLNER","postcode":"0810","state":"NT"},"15":{"id":"15","locality":"MOIL","postcode":"0810","state":"NT"},"16":{"id":"16","locality":"MUIRHEAD","postcode":"0810","state":"NT"},"17":{"id":"17","locality":"NAKARA","postcode":"0810","state":"NT"},"18":{"id":"18","locality":"NIGHTCLIFF","postcode":"0810","state":"NT"},"19":{"id":"19","locality":"RAPID CREEK","postcode":"0810","state":"NT"},"20":{"id":"20","locality":"TIWI","postcode":"0810","state":"NT"},"21":{"id":"21","locality":"WAGAMAN","postcode":"0810","state":"NT"},"22":{"id":"22","locality":"WANGURI","postcode":"0810","state":"NT"},"23":{"id":"23","locality":"CASUARINA","postcode":"0811","state":"NT"},"24":{"id":"24","locality":"ANULA","postcode":"0812","state":"NT"},"25":{"id":"25","locality":"BUFFALO CREEK","postcode":"0812","state":"NT"},"26":{"id":"26","locality":"HOLMES","postcode":"0812","state":"NT"},"27":{"id":"27","locality":"KARAMA","postcode":"0812","state":"NT"},"28":{"id":"28","locality":"LEANYER","postcode":"0812","state":"NT"},"29":{"id":"29","locality":"MALAK","postcode":"0812","state":"NT"},"30":{"id":"30","locality":"MARRARA","postcode":"0812","state":"NT"},"31":{"id":"31","locality":"NORTHLAKES","postcode":"0812","state":"NT"},"32":{"id":"32","locality":"WOODLEIGH GARDENS","postcode":"0812","state":"NT"},"33":{"id":"33","locality":"WULAGI","postcode":"0812","state":"NT"},"34":{"id":"34","locality":"KARAMA","postcode":"0813","state":"NT"},"35":{"id":"35","locality":"NIGHTCLIFF","postcode":"0814","state":"NT"},"36":{"id":"36","locality":"CHARLES DARWIN UNIVERSITY","postcode":"0815","state":"NT"},"37":{"id":"37","locality":"BAYVIEW","postcode":"0820","state":"NT"},"38":{"id":"38","locality":"CHARLES DARWIN","postcode":"0820","state":"NT"},"39":{"id":"39","locality":"COONAWARRA","postcode":"0820","state":"NT"},"40":{"id":"40","locality":"CULLEN BAY","postcode":"0820","state":"NT"},"41":{"id":"41","locality":"DARWIN DC","postcode":"0820","state":"NT"},"42":{"id":"42","locality":"DARWIN INTERNATIONAL AIRPORT","postcode":"0820","state":"NT"},"43":{"id":"43","locality":"EAST POINT","postcode":"0820","state":"NT"},"44":{"id":"44","locality":"EATON","postcode":"0820","state":"NT"},"45":{"id":"45","locality":"FANNIE BAY","postcode":"0820","state":"NT"},"46":{"id":"46","locality":"LARRAKEYAH","postcode":"0820","state":"NT"},"47":{"id":"47","locality":"LUDMILLA","postcode":"0820","state":"NT"},"48":{"id":"48","locality":"PARAP","postcode":"0820","state":"NT"},"49":{"id":"49","locality":"RAAF BASE DARWIN","postcode":"0820","state":"NT"},"50":{"id":"50","locality":"STUART PARK","postcode":"0820","state":"NT"},"51":{"id":"51","locality":"THE GARDENS","postcode":"0820","state":"NT"},"52":{"id":"52","locality":"THE NARROWS","postcode":"0820","state":"NT"},"53":{"id":"53","locality":"WINNELLIE","postcode":"0820","state":"NT"},"54":{"id":"54","locality":"WOOLNER","postcode":"0820","state":"NT"},"55":{"id":"55","locality":"WINNELLIE","postcode":"0821","state":"NT"},"56":{"id":"56","locality":"ACACIA HILLS","postcode":"0822","state":"NT"},"57":{"id":"57","locality":"ANGURUGU","postcode":"0822","state":"NT"},"58":{"id":"58","locality":"ANINDILYAKWA","postcode":"0822","state":"NT"},"59":{"id":"59","locality":"ANNIE RIVER","postcode":"0822","state":"NT"},"60":{"id":"60","locality":"BATHURST ISLAND","postcode":"0822","state":"NT"},"61":{"id":"61","locality":"BEES CREEK","postcode":"0822","state":"NT"},"62":{"id":"62","locality":"BELYUEN","postcode":"0822","state":"NT"},"63":{"id":"63","locality":"BLACK JUNGLE","postcode":"0822","state":"NT"},"64":{"id":"64","locality":"BLACKMORE","postcode":"0822","state":"NT"},"65":{"id":"65","locality":"BORDER STORE","postcode":"0822","state":"NT"},"66":{"id":"66","locality":"BURRUNDIE","postcode":"0822","state":"NT"},"67":{"id":"67","locality":"BYNOE","postcode":"0822","state":"NT"},"68":{"id":"68","locality":"BYNOE HARBOUR","postcode":"0822","state":"NT"},"69":{"id":"69","locality":"CAMP CREEK","postcode":"0822","state":"NT"},"70":{"id":"70","locality":"CHANNEL ISLAND","postcode":"0822","state":"NT"},"71":{"id":"71","locality":"CHARLES DARWIN","postcode":"0822","state":"NT"},"72":{"id":"72","locality":"CHARLOTTE","postcode":"0822","state":"NT"},"73":{"id":"73","locality":"CLARAVALE","postcode":"0822","state":"NT"},"74":{"id":"74","locality":"COBOURG","postcode":"0822","state":"NT"},"75":{"id":"75","locality":"COLLETT CREEK","postcode":"0822","state":"NT"},"76":{"id":"76","locality":"COOMALIE CREEK","postcode":"0822","state":"NT"},"77":{"id":"77","locality":"COX PENINSULA","postcode":"0822","state":"NT"},"78":{"id":"78","locality":"CROKER ISLAND","postcode":"0822","state":"NT"},"79":{"id":"79","locality":"DALY","postcode":"0822","state":"NT"},"80":{"id":"80","locality":"DALY RIVER","postcode":"0822","state":"NT"},"81":{"id":"81","locality":"DARWIN RIVER DAM","postcode":"0822","state":"NT"},"82":{"id":"82","locality":"DELISSAVILLE","postcode":"0822","state":"NT"},"83":{"id":"83","locality":"DOUGLAS-DALY","postcode":"0822","state":"NT"},"84":{"id":"84","locality":"EAST ARM","postcode":"0822","state":"NT"},"85":{"id":"85","locality":"EAST ARNHEM","postcode":"0822","state":"NT"},"86":{"id":"86","locality":"ELRUNDIE","postcode":"0822","state":"NT"},"87":{"id":"87","locality":"EVA VALLEY","postcode":"0822","state":"NT"},"88":{"id":"88","locality":"FINNISS VALLEY","postcode":"0822","state":"NT"},"89":{"id":"89","locality":"FLEMING","postcode":"0822","state":"NT"},"90":{"id":"90","locality":"FLY CREEK","postcode":"0822","state":"NT"},"91":{"id":"91","locality":"FREDS PASS","postcode":"0822","state":"NT"},"92":{"id":"92","locality":"GALIWINKU","postcode":"0822","state":"NT"},"93":{"id":"93","locality":"GLYDE POINT","postcode":"0822","state":"NT"},"94":{"id":"94","locality":"GOULBURN ISLAND","postcode":"0822","state":"NT"},"95":{"id":"95","locality":"GUNBALANYA","postcode":"0822","state":"NT"},"96":{"id":"96","locality":"GUNN POINT","postcode":"0822","state":"NT"},"97":{"id":"97","locality":"HAYES CREEK","postcode":"0822","state":"NT"},"98":{"id":"98","locality":"HIDDEN VALLEY","postcode":"0822","state":"NT"},"99":{"id":"99","locality":"HOTHAM","postcode":"0822","state":"NT"},"100":{"id":"100","locality":"HUGHES","postcode":"0822","state":"NT"},"101":{"id":"101","locality":"KAKADU","postcode":"0822","state":"NT"},"102":{"id":"102","locality":"KOOLPINYAH","postcode":"0822","state":"NT"},"103":{"id":"103","locality":"LAKE BENNETT","postcode":"0822","state":"NT"},"104":{"id":"104","locality":"LAMBELLS LAGOON","postcode":"0822","state":"NT"},"105":{"id":"105","locality":"LITCHFIELD PARK","postcode":"0822","state":"NT"},"106":{"id":"106","locality":"LIVINGSTONE","postcode":"0822","state":"NT"},"107":{"id":"107","locality":"LLOYD CREEK","postcode":"0822","state":"NT"},"108":{"id":"108","locality":"MANDORAH","postcode":"0822","state":"NT"},"109":{"id":"109","locality":"MANINGRIDA","postcode":"0822","state":"NT"},"110":{"id":"110","locality":"MAPURU","postcode":"0822","state":"NT"},"111":{"id":"111","locality":"MARANUNGA","postcode":"0822","state":"NT"},"112":{"id":"112","locality":"MARGARET RIVER","postcode":"0822","state":"NT"},"113":{"id":"113","locality":"MARRAKAI","postcode":"0822","state":"NT"},"114":{"id":"114","locality":"MCMINNS LAGOON","postcode":"0822","state":"NT"},"115":{"id":"115","locality":"MICKETT CREEK","postcode":"0822","state":"NT"},"116":{"id":"116","locality":"MIDDLE POINT","postcode":"0822","state":"NT"},"117":{"id":"117","locality":"MILIKAPITI","postcode":"0822","state":"NT"},"118":{"id":"118","locality":"MILINGIMBI","postcode":"0822","state":"NT"},"119":{"id":"119","locality":"MILLWOOD","postcode":"0822","state":"NT"},"120":{"id":"120","locality":"MILYAKBURRA","postcode":"0822","state":"NT"},"121":{"id":"121","locality":"MINJILANG","postcode":"0822","state":"NT"},"122":{"id":"122","locality":"MOUNT BUNDEY","postcode":"0822","state":"NT"},"123":{"id":"123","locality":"MURRUMUJUK","postcode":"0822","state":"NT"},"124":{"id":"124","locality":"NAUIYU","postcode":"0822","state":"NT"},"125":{"id":"125","locality":"NEMARLUK","postcode":"0822","state":"NT"},"126":{"id":"126","locality":"NGANMARRIYANGA","postcode":"0822","state":"NT"},"127":{"id":"127","locality":"NUMBULWAR","postcode":"0822","state":"NT"},"128":{"id":"128","locality":"NUMBURINDI","postcode":"0822","state":"NT"},"129":{"id":"129","locality":"OENPELLI","postcode":"0822","state":"NT"},"130":{"id":"130","locality":"PALUMPA","postcode":"0822","state":"NT"},"131":{"id":"131","locality":"PEPPIMENARTI","postcode":"0822","state":"NT"},"132":{"id":"132","locality":"PIRLANGIMPI","postcode":"0822","state":"NT"},"133":{"id":"133","locality":"POINT STEPHENS","postcode":"0822","state":"NT"},"134":{"id":"134","locality":"POINT STUART","postcode":"0822","state":"NT"},"135":{"id":"135","locality":"PULARUMPI","postcode":"0822","state":"NT"},"136":{"id":"136","locality":"RAKULA","postcode":"0822","state":"NT"},"137":{"id":"137","locality":"RAMINGINING","postcode":"0822","state":"NT"},"138":{"id":"138","locality":"ROBIN FALLS","postcode":"0822","state":"NT"},"139":{"id":"139","locality":"RUM JUNGLE","postcode":"0822","state":"NT"},"140":{"id":"140","locality":"SANDPALMS ROADHOUSE","postcode":"0822","state":"NT"},"141":{"id":"141","locality":"SOUTHPORT","postcode":"0822","state":"NT"},"142":{"id":"142","locality":"STAPLETON","postcode":"0822","state":"NT"},"143":{"id":"143","locality":"THAMARRURR","postcode":"0822","state":"NT"},"144":{"id":"144","locality":"TIPPERARY","postcode":"0822","state":"NT"},"145":{"id":"145","locality":"TIVENDALE","postcode":"0822","state":"NT"},"146":{"id":"146","locality":"TIWI ISLANDS","postcode":"0822","state":"NT"},"147":{"id":"147","locality":"TORTILLA FLATS","postcode":"0822","state":"NT"},"148":{"id":"148","locality":"TUMBLING WATERS","postcode":"0822","state":"NT"},"149":{"id":"149","locality":"UMBAKUMBA","postcode":"0822","state":"NT"},"150":{"id":"150","locality":"VERNON ISLANDS","postcode":"0822","state":"NT"},"151":{"id":"151","locality":"WADEYE","postcode":"0822","state":"NT"},"152":{"id":"152","locality":"WAGAIT BEACH","postcode":"0822","state":"NT"},"153":{"id":"153","locality":"WAK WAK","postcode":"0822","state":"NT"},"154":{"id":"154","locality":"WARRUWI","postcode":"0822","state":"NT"},"155":{"id":"155","locality":"WEDDELL","postcode":"0822","state":"NT"},"156":{"id":"156","locality":"WEST ARNHEM","postcode":"0822","state":"NT"},"157":{"id":"157","locality":"WICKHAM","postcode":"0822","state":"NT"},"158":{"id":"158","locality":"WINNELLIE","postcode":"0822","state":"NT"},"159":{"id":"159","locality":"WISHART","postcode":"0822","state":"NT"},"160":{"id":"160","locality":"WOOLANING","postcode":"0822","state":"NT"},"161":{"id":"161","locality":"WURRUMIYANGA","postcode":"0822","state":"NT"},"162":{"id":"162","locality":"BERRIMAH","postcode":"0828","state":"NT"},"163":{"id":"163","locality":"KNUCKEY LAGOON","postcode":"0828","state":"NT"},"164":{"id":"164","locality":"HOLTZE","postcode":"0829","state":"NT"},"165":{"id":"165","locality":"PINELANDS","postcode":"0829","state":"NT"},"166":{"id":"166","locality":"ARCHER","postcode":"0830","state":"NT"},"167":{"id":"167","locality":"DRIVER","postcode":"0830","state":"NT"},"168":{"id":"168","locality":"DURACK","postcode":"0830","state":"NT"},"169":{"id":"169","locality":"FARRAR","postcode":"0830","state":"NT"},"170":{"id":"170","locality":"GRAY","postcode":"0830","state":"NT"},"171":{"id":"171","locality":"MARLOW LAGOON","postcode":"0830","state":"NT"},"172":{"id":"172","locality":"MOULDEN","postcode":"0830","state":"NT"},"173":{"id":"173","locality":"PALMERSTON","postcode":"0830","state":"NT"},"174":{"id":"174","locality":"SHOAL BAY","postcode":"0830","state":"NT"},"175":{"id":"175","locality":"WOODROFFE","postcode":"0830","state":"NT"},"176":{"id":"176","locality":"YARRAWONGA","postcode":"0830","state":"NT"},"177":{"id":"177","locality":"PALMERSTON","postcode":"0831","state":"NT"},"178":{"id":"178","locality":"BAKEWELL","postcode":"0832","state":"NT"},"179":{"id":"179","locality":"BELLAMACK","postcode":"0832","state":"NT"},"180":{"id":"180","locality":"GUNN","postcode":"0832","state":"NT"},"181":{"id":"181","locality":"JOHNSTON","postcode":"0832","state":"NT"},"182":{"id":"182","locality":"MITCHELL","postcode":"0832","state":"NT"},"183":{"id":"183","locality":"ROSEBERY","postcode":"0832","state":"NT"},"184":{"id":"184","locality":"ROSEBERY HEIGHTS","postcode":"0832","state":"NT"},"185":{"id":"185","locality":"ZUCCOLI","postcode":"0832","state":"NT"},"186":{"id":"186","locality":"VIRGINIA","postcode":"0834","state":"NT"},"187":{"id":"187","locality":"HOWARD SPRINGS","postcode":"0835","state":"NT"},"188":{"id":"188","locality":"GIRRAWEEN","postcode":"0836","state":"NT"},"189":{"id":"189","locality":"HERBERT","postcode":"0836","state":"NT"},"190":{"id":"190","locality":"HUMPTY DOO","postcode":"0836","state":"NT"},"191":{"id":"191","locality":"MANTON","postcode":"0837","state":"NT"},"192":{"id":"192","locality":"NOONAMAH","postcode":"0837","state":"NT"},"193":{"id":"193","locality":"BERRY SPRINGS","postcode":"0838","state":"NT"},"194":{"id":"194","locality":"COOLALINGA","postcode":"0839","state":"NT"},"195":{"id":"195","locality":"DUNDEE BEACH","postcode":"0840","state":"NT"},"196":{"id":"196","locality":"DUNDEE DOWNS","postcode":"0840","state":"NT"},"197":{"id":"197","locality":"DUNDEE FOREST","postcode":"0840","state":"NT"},"198":{"id":"198","locality":"DARWIN RIVER","postcode":"0841","state":"NT"},"199":{"id":"199","locality":"BATCHELOR","postcode":"0845","state":"NT"},"200":{"id":"200","locality":"ADELAIDE RIVER","postcode":"0846","state":"NT"},"201":{"id":"201","locality":"PINE CREEK","postcode":"0847","state":"NT"},"202":{"id":"202","locality":"COSSACK","postcode":"0850","state":"NT"},"203":{"id":"203","locality":"EMUNGALAN","postcode":"0850","state":"NT"},"204":{"id":"204","locality":"KATHERINE","postcode":"0850","state":"NT"},"205":{"id":"205","locality":"KATHERINE EAST","postcode":"0850","state":"NT"},"206":{"id":"206","locality":"KATHERINE SOUTH","postcode":"0850","state":"NT"},"207":{"id":"207","locality":"LANSDOWNE","postcode":"0850","state":"NT"},"208":{"id":"208","locality":"KATHERINE","postcode":"0851","state":"NT"},"209":{"id":"209","locality":"ARNOLD","postcode":"0852","state":"NT"},"210":{"id":"210","locality":"BAINES","postcode":"0852","state":"NT"},"211":{"id":"211","locality":"BARUNGA","postcode":"0852","state":"NT"},"212":{"id":"212","locality":"BESWICK","postcode":"0852","state":"NT"},"213":{"id":"213","locality":"BESWICK CREEK","postcode":"0852","state":"NT"},"214":{"id":"214","locality":"BINJARI","postcode":"0852","state":"NT"},"215":{"id":"215","locality":"BIRDUM","postcode":"0852","state":"NT"},"216":{"id":"216","locality":"BRADSHAW","postcode":"0852","state":"NT"},"217":{"id":"217","locality":"BUCHANAN","postcode":"0852","state":"NT"},"218":{"id":"218","locality":"BULMAN WEEMOL","postcode":"0852","state":"NT"},"219":{"id":"219","locality":"CRESWELL","postcode":"0852","state":"NT"},"220":{"id":"220","locality":"DAGURAGU","postcode":"0852","state":"NT"},"221":{"id":"221","locality":"DALY WATERS","postcode":"0852","state":"NT"},"222":{"id":"222","locality":"DELAMERE","postcode":"0852","state":"NT"},"223":{"id":"223","locality":"DUNMARRA","postcode":"0852","state":"NT"},"224":{"id":"224","locality":"EDITH","postcode":"0852","state":"NT"},"225":{"id":"225","locality":"ELSEY","postcode":"0852","state":"NT"},"226":{"id":"226","locality":"ELSEY STATION","postcode":"0852","state":"NT"},"227":{"id":"227","locality":"FLORINA","postcode":"0852","state":"NT"},"228":{"id":"228","locality":"FLYING FOX","postcode":"0852","state":"NT"},"229":{"id":"229","locality":"GREGORY","postcode":"0852","state":"NT"},"230":{"id":"230","locality":"GULUNG MARDRULK","postcode":"0852","state":"NT"},"231":{"id":"231","locality":"GURINDJI","postcode":"0852","state":"NT"},"232":{"id":"232","locality":"JILKMINGGAN","postcode":"0852","state":"NT"},"233":{"id":"233","locality":"KALKARINDJI","postcode":"0852","state":"NT"},"234":{"id":"234","locality":"KATHERINE","postcode":"0852","state":"NT"},"235":{"id":"235","locality":"LAJAMANU","postcode":"0852","state":"NT"},"236":{"id":"236","locality":"LARRIMAH","postcode":"0852","state":"NT"},"237":{"id":"237","locality":"LIMMEN","postcode":"0852","state":"NT"},"238":{"id":"238","locality":"MANBULLOO","postcode":"0852","state":"NT"},"239":{"id":"239","locality":"MARANBOY","postcode":"0852","state":"NT"},"240":{"id":"240","locality":"MATARANKA","postcode":"0852","state":"NT"},"241":{"id":"241","locality":"MCARTHUR","postcode":"0852","state":"NT"},"242":{"id":"242","locality":"MINIYERI","postcode":"0852","state":"NT"},"243":{"id":"243","locality":"NGUKURR","postcode":"0852","state":"NT"},"244":{"id":"244","locality":"NITMILUK","postcode":"0852","state":"NT"},"245":{"id":"245","locality":"PELLEW ISLANDS","postcode":"0852","state":"NT"},"246":{"id":"246","locality":"PIGEON HOLE","postcode":"0852","state":"NT"},"247":{"id":"247","locality":"ROBINSON RIVER","postcode":"0852","state":"NT"},"248":{"id":"248","locality":"STURT PLATEAU","postcode":"0852","state":"NT"},"249":{"id":"249","locality":"TANAMI EAST","postcode":"0852","state":"NT"},"250":{"id":"250","locality":"TIMBER CREEK","postcode":"0852","state":"NT"},"251":{"id":"251","locality":"TOP SPRINGS","postcode":"0852","state":"NT"},"252":{"id":"252","locality":"URALLA","postcode":"0852","state":"NT"},"253":{"id":"253","locality":"VENN","postcode":"0852","state":"NT"},"254":{"id":"254","locality":"VICTORIA RIVER","postcode":"0852","state":"NT"},"255":{"id":"255","locality":"VICTORIA RIVER DOWNS","postcode":"0852","state":"NT"},"256":{"id":"256","locality":"WARUMUNGU","postcode":"0852","state":"NT"},"257":{"id":"257","locality":"WAVE HILL","postcode":"0852","state":"NT"},"258":{"id":"258","locality":"WILTON","postcode":"0852","state":"NT"},"259":{"id":"259","locality":"YARRALIN","postcode":"0852","state":"NT"},"260":{"id":"260","locality":"TINDAL","postcode":"0853","state":"NT"},"261":{"id":"261","locality":"BORROLOOLA","postcode":"0854","state":"NT"},"262":{"id":"262","locality":"KING ASH BAY","postcode":"0854","state":"NT"},"263":{"id":"263","locality":"TENNANT CREEK","postcode":"0860","state":"NT"},"264":{"id":"264","locality":"BRUNCHILLY","postcode":"0861","state":"NT"},"265":{"id":"265","locality":"TENNANT CREEK","postcode":"0861","state":"NT"},"266":{"id":"266","locality":"AVON DOWNS","postcode":"0862","state":"NT"},"267":{"id":"267","locality":"CALVERT","postcode":"0862","state":"NT"},"268":{"id":"268","locality":"CRESSWELL DOWNS","postcode":"0862","state":"NT"},"269":{"id":"269","locality":"ELLIOTT","postcode":"0862","state":"NT"},"270":{"id":"270","locality":"HELEN SPRINGS","postcode":"0862","state":"NT"},"271":{"id":"271","locality":"MUCKATY STATION","postcode":"0862","state":"NT"},"272":{"id":"272","locality":"NEWCASTLE WATERS","postcode":"0862","state":"NT"},"273":{"id":"273","locality":"NICHOLSON","postcode":"0862","state":"NT"},"274":{"id":"274","locality":"PAMAYU","postcode":"0862","state":"NT"},"275":{"id":"275","locality":"PHILLIP CREEK STATION","postcode":"0862","state":"NT"},"276":{"id":"276","locality":"RENNER SPRINGS","postcode":"0862","state":"NT"},"277":{"id":"277","locality":"TABLELANDS","postcode":"0862","state":"NT"},"278":{"id":"278","locality":"TENNANT CREEK","postcode":"0862","state":"NT"},"279":{"id":"279","locality":"THREE WAYS","postcode":"0862","state":"NT"},"280":{"id":"280","locality":"WARREGO","postcode":"0862","state":"NT"},"281":{"id":"281","locality":"WOLLOGORANG STATION","postcode":"0862","state":"NT"},"282":{"id":"282","locality":"WYCLIFFE WELL","postcode":"0862","state":"NT"},"283":{"id":"283","locality":"ALICE SPRINGS","postcode":"0870","state":"NT"},"284":{"id":"284","locality":"ARALUEN","postcode":"0870","state":"NT"},"285":{"id":"285","locality":"ARUMBERA","postcode":"0870","state":"NT"},"286":{"id":"286","locality":"BRAITLING","postcode":"0870","state":"NT"},"287":{"id":"287","locality":"CICCONE","postcode":"0870","state":"NT"},"288":{"id":"288","locality":"CONNELLAN","postcode":"0870","state":"NT"},"289":{"id":"289","locality":"DESERT SPRINGS","postcode":"0870","state":"NT"},"290":{"id":"290","locality":"EAST SIDE","postcode":"0870","state":"NT"},"291":{"id":"291","locality":"FLYNN","postcode":"0870","state":"NT"},"292":{"id":"292","locality":"GILLEN","postcode":"0870","state":"NT"},"293":{"id":"293","locality":"ILPARPA","postcode":"0870","state":"NT"},"294":{"id":"294","locality":"IRLPME","postcode":"0870","state":"NT"},"295":{"id":"295","locality":"LARAPINTA","postcode":"0870","state":"NT"},"296":{"id":"296","locality":"MOUNT JOHNS","postcode":"0870","state":"NT"},"297":{"id":"297","locality":"ROSS","postcode":"0870","state":"NT"},"298":{"id":"298","locality":"SADADEEN","postcode":"0870","state":"NT"},"299":{"id":"299","locality":"STUART","postcode":"0870","state":"NT"},"300":{"id":"300","locality":"THE GAP","postcode":"0870","state":"NT"},"301":{"id":"301","locality":"UNDOOLYA","postcode":"0870","state":"NT"},"302":{"id":"302","locality":"WHITE GUMS","postcode":"0870","state":"NT"},"303":{"id":"303","locality":"ALICE SPRINGS","postcode":"0871","state":"NT"},"304":{"id":"304","locality":"AHERRENGE","postcode":"0872","state":"NT"},"305":{"id":"305","locality":"ALI CURUNG","postcode":"0872","state":"NT"},"306":{"id":"306","locality":"ALICE SPRINGS","postcode":"0872","state":"NT"},"307":{"id":"307","locality":"AMATA","postcode":"0872","state":"SA"},"308":{"id":"308","locality":"AMOONGUNA","postcode":"0872","state":"NT"},"309":{"id":"309","locality":"AMPILATWATJA","postcode":"0872","state":"NT"},"310":{"id":"310","locality":"ANATYE","postcode":"0872","state":"NT"},"311":{"id":"311","locality":"ANMATJERE","postcode":"0872","state":"NT"},"312":{"id":"312","locality":"ANTEWENEGERRDE","postcode":"0872","state":"NT"},"313":{"id":"313","locality":"AREYONGA","postcode":"0872","state":"NT"},"314":{"id":"314","locality":"ATITJERE","postcode":"0872","state":"NT"},"315":{"id":"315","locality":"AYERS ROCK","postcode":"0872","state":"NT"},"316":{"id":"316","locality":"BARROW CREEK","postcode":"0872","state":"NT"},"317":{"id":"317","locality":"BURT PLAIN","postcode":"0872","state":"NT"},"318":{"id":"318","locality":"CANTEEN CREEK","postcode":"0872","state":"NT"},"319":{"id":"319","locality":"CHILLA WELL","postcode":"0872","state":"NT"},"320":{"id":"320","locality":"COSTELLO","postcode":"0872","state":"NT"},"321":{"id":"321","locality":"DAVENPORT","postcode":"0872","state":"NT"},"322":{"id":"322","locality":"DOCKER RIVER","postcode":"0872","state":"NT"},"323":{"id":"323","locality":"ENGAWALA","postcode":"0872","state":"NT"},"324":{"id":"324","locality":"ERLDUNDA","postcode":"0872","state":"NT"},"325":{"id":"325","locality":"ERNABELLA","postcode":"0872","state":"SA"},"326":{"id":"326","locality":"FINKE","postcode":"0872","state":"NT"},"327":{"id":"327","locality":"FREGON","postcode":"0872","state":"SA"},"328":{"id":"328","locality":"GHAN","postcode":"0872","state":"NT"},"329":{"id":"329","locality":"GIBSON DESERT NORTH","postcode":"0872","state":"WA"},"330":{"id":"330","locality":"GIBSON DESERT SOUTH","postcode":"0872","state":"WA"},"331":{"id":"331","locality":"HAASTS BLUFF","postcode":"0872","state":"NT"},"332":{"id":"332","locality":"HALE","postcode":"0872","state":"NT"},"333":{"id":"333","locality":"HART","postcode":"0872","state":"NT"},"334":{"id":"334","locality":"HART RANGE","postcode":"0872","state":"NT"},"335":{"id":"335","locality":"HERMANNSBURG","postcode":"0872","state":"NT"},"336":{"id":"336","locality":"HUGH","postcode":"0872","state":"NT"},"337":{"id":"337","locality":"IMANPA","postcode":"0872","state":"NT"},"338":{"id":"338","locality":"INDULKANA","postcode":"0872","state":"SA"},"339":{"id":"339","locality":"ININTI STORE","postcode":"0872","state":"NT"},"340":{"id":"340","locality":"JAY CREEK","postcode":"0872","state":"NT"},"341":{"id":"341","locality":"KALTUKATJARA","postcode":"0872","state":"NT"},"342":{"id":"342","locality":"KINTORE","postcode":"0872","state":"NT"},"343":{"id":"343","locality":"KIWIRRKURRA","postcode":"0872","state":"WA"},"344":{"id":"344","locality":"KULGERA","postcode":"0872","state":"NT"},"345":{"id":"345","locality":"KUNPARRKA","postcode":"0872","state":"NT"},"346":{"id":"346","locality":"LAKE MACKAY","postcode":"0872","state":"NT"},"347":{"id":"347","locality":"LARAMBA","postcode":"0872","state":"NT"},"348":{"id":"348","locality":"MEREENIE","postcode":"0872","state":"NT"},"349":{"id":"349","locality":"MIMILI","postcode":"0872","state":"SA"},"350":{"id":"350","locality":"MOUNT LIEBIG","postcode":"0872","state":"NT"},"351":{"id":"351","locality":"MOUNT ZEIL","postcode":"0872","state":"NT"},"352":{"id":"352","locality":"MULGA BORE","postcode":"0872","state":"NT"},"353":{"id":"353","locality":"MURPUTJA HOMELANDS","postcode":"0872","state":"SA"},"354":{"id":"354","locality":"MUTITJULU","postcode":"0872","state":"NT"},"355":{"id":"355","locality":"NAMATJIRA","postcode":"0872","state":"NT"},"356":{"id":"356","locality":"NGAANYATJARRA-GILES","postcode":"0872","state":"WA"},"357":{"id":"357","locality":"NYAPARI","postcode":"0872","state":"SA"},"358":{"id":"358","locality":"NYIRRIPI","postcode":"0872","state":"NT"},"359":{"id":"359","locality":"PAPUNYA","postcode":"0872","state":"NT"},"360":{"id":"360","locality":"PATJARR","postcode":"0872","state":"WA"},"361":{"id":"361","locality":"PETERMANN","postcode":"0872","state":"NT"},"362":{"id":"362","locality":"PITJANTJATJARA HOMELANDS","postcode":"0872","state":"SA"},"363":{"id":"363","locality":"SANDOVER","postcode":"0872","state":"NT"},"364":{"id":"364","locality":"SANTA TERESA","postcode":"0872","state":"NT"},"365":{"id":"365","locality":"SIMPSON","postcode":"0872","state":"NT"},"366":{"id":"366","locality":"TANAMI","postcode":"0872","state":"NT"},"367":{"id":"367","locality":"TARA","postcode":"0872","state":"NT"},"368":{"id":"368","locality":"THANGKENHARENGE","postcode":"0872","state":"NT"},"369":{"id":"369","locality":"TI TREE","postcode":"0872","state":"NT"},"370":{"id":"370","locality":"TITJIKALA","postcode":"0872","state":"NT"},"371":{"id":"371","locality":"TJIRRKARLI","postcode":"0872","state":"WA"},"372":{"id":"372","locality":"TJUKURLA","postcode":"0872","state":"WA"},"373":{"id":"373","locality":"ULURU","postcode":"0872","state":"NT"},"374":{"id":"374","locality":"UMPANGARA","postcode":"0872","state":"NT"},"375":{"id":"375","locality":"URAPUNTJA","postcode":"0872","state":"NT"},"376":{"id":"376","locality":"WALLACE ROCKHOLE","postcode":"0872","state":"NT"},"377":{"id":"377","locality":"WANNAN","postcode":"0872","state":"WA"},"378":{"id":"378","locality":"WILLOWRA","postcode":"0872","state":"NT"},"379":{"id":"379","locality":"WILORA","postcode":"0872","state":"NT"},"380":{"id":"380","locality":"WINGELLINA","postcode":"0872","state":"WA"},"381":{"id":"381","locality":"WUTUNUGURRA","postcode":"0872","state":"NT"},"382":{"id":"382","locality":"YUELAMU","postcode":"0872","state":"NT"},"383":{"id":"383","locality":"YUENDUMU","postcode":"0872","state":"NT"},"384":{"id":"384","locality":"YULARA","postcode":"0872","state":"NT"},"385":{"id":"385","locality":"HEAVITREE GAP CPA","postcode":"0873","state":"NT"},"386":{"id":"386","locality":"GAPUWIYAK","postcode":"0880","state":"NT"},"387":{"id":"387","locality":"GOVE","postcode":"0880","state":"NT"},"388":{"id":"388","locality":"GUNYANGARA","postcode":"0880","state":"NT"},"389":{"id":"389","locality":"NHULUNBUY","postcode":"0880","state":"NT"},"390":{"id":"390","locality":"YIRRKALA","postcode":"0880","state":"NT"},"391":{"id":"391","locality":"NHULUNBUY","postcode":"0881","state":"NT"},"392":{"id":"392","locality":"ALYANGULA","postcode":"0885","state":"NT"},"393":{"id":"393","locality":"JABIRU","postcode":"0886","state":"NT"},"394":{"id":"394","locality":"WINNELLIE","postcode":"0906","state":"NT"},"395":{"id":"395","locality":"WINNELLIE","postcode":"0907","state":"NT"},"396":{"id":"396","locality":"CHARLES DARWIN UNIVERSITY","postcode":"0909","state":"NT"},"712":{"id":"712","locality":"BARANGAROO","postcode":"2000","state":"NSW"},"713":{"id":"713","locality":"DAWES POINT","postcode":"2000","state":"NSW"},"714":{"id":"714","locality":"HAYMARKET","postcode":"2000","state":"NSW"},"715":{"id":"715","locality":"MILLERS POINT","postcode":"2000","state":"NSW"},"716":{"id":"716","locality":"PARLIAMENT HOUSE","postcode":"2000","state":"NSW"},"717":{"id":"717","locality":"SYDNEY","postcode":"2000","state":"NSW"},"718":{"id":"718","locality":"SYDNEY SOUTH","postcode":"2000","state":"NSW"},"719":{"id":"719","locality":"THE ROCKS","postcode":"2000","state":"NSW"},"720":{"id":"720","locality":"SYDNEY","postcode":"2001","state":"NSW"},"721":{"id":"721","locality":"WORLD SQUARE","postcode":"2002","state":"NSW"},"722":{"id":"722","locality":"ALEXANDRIA MC","postcode":"2004","state":"NSW"},"723":{"id":"723","locality":"EASTERN SUBURBS MC","postcode":"2004","state":"NSW"},"724":{"id":"724","locality":"THE UNIVERSITY OF SYDNEY","postcode":"2006","state":"NSW"},"725":{"id":"725","locality":"BROADWAY","postcode":"2007","state":"NSW"},"726":{"id":"726","locality":"ULTIMO","postcode":"2007","state":"NSW"},"727":{"id":"727","locality":"CHIPPENDALE","postcode":"2008","state":"NSW"},"728":{"id":"728","locality":"DARLINGTON","postcode":"2008","state":"NSW"},"729":{"id":"729","locality":"PYRMONT","postcode":"2009","state":"NSW"},"730":{"id":"730","locality":"DARLINGHURST","postcode":"2010","state":"NSW"},"731":{"id":"731","locality":"SURRY HILLS","postcode":"2010","state":"NSW"},"732":{"id":"732","locality":"ELIZABETH BAY","postcode":"2011","state":"NSW"},"733":{"id":"733","locality":"HMAS KUTTABUL","postcode":"2011","state":"NSW"},"734":{"id":"734","locality":"POTTS POINT","postcode":"2011","state":"NSW"},"735":{"id":"735","locality":"RUSHCUTTERS BAY","postcode":"2011","state":"NSW"},"736":{"id":"736","locality":"WOOLLOOMOOLOO","postcode":"2011","state":"NSW"},"737":{"id":"737","locality":"STRAWBERRY HILLS","postcode":"2012","state":"NSW"},"738":{"id":"738","locality":"STRAWBERRY HILLS","postcode":"2013","state":"NSW"},"739":{"id":"739","locality":"ALEXANDRIA","postcode":"2015","state":"NSW"},"740":{"id":"740","locality":"BEACONSFIELD","postcode":"2015","state":"NSW"},"741":{"id":"741","locality":"EVELEIGH","postcode":"2015","state":"NSW"},"742":{"id":"742","locality":"REDFERN","postcode":"2016","state":"NSW"},"743":{"id":"743","locality":"WATERLOO","postcode":"2017","state":"NSW"},"744":{"id":"744","locality":"ZETLAND","postcode":"2017","state":"NSW"},"745":{"id":"745","locality":"EASTLAKES","postcode":"2018","state":"NSW"},"746":{"id":"746","locality":"ROSEBERY","postcode":"2018","state":"NSW"},"747":{"id":"747","locality":"BANKSMEADOW","postcode":"2019","state":"NSW"},"748":{"id":"748","locality":"BOTANY","postcode":"2019","state":"NSW"},"749":{"id":"749","locality":"MASCOT","postcode":"2020","state":"NSW"},"750":{"id":"750","locality":"SYDNEY DOMESTIC AIRPORT","postcode":"2020","state":"NSW"},"751":{"id":"751","locality":"SYDNEY INTERNATIONAL AIRPORT","postcode":"2020","state":"NSW"},"752":{"id":"752","locality":"CENTENNIAL PARK","postcode":"2021","state":"NSW"},"753":{"id":"753","locality":"MOORE PARK","postcode":"2021","state":"NSW"},"754":{"id":"754","locality":"PADDINGTON","postcode":"2021","state":"NSW"},"755":{"id":"755","locality":"BONDI JUNCTION","postcode":"2022","state":"NSW"},"756":{"id":"756","locality":"QUEENS PARK","postcode":"2022","state":"NSW"},"757":{"id":"757","locality":"BELLEVUE HILL","postcode":"2023","state":"NSW"},"758":{"id":"758","locality":"BRONTE","postcode":"2024","state":"NSW"},"759":{"id":"759","locality":"WAVERLEY","postcode":"2024","state":"NSW"},"760":{"id":"760","locality":"WOOLLAHRA","postcode":"2025","state":"NSW"},"761":{"id":"761","locality":"BONDI","postcode":"2026","state":"NSW"},"762":{"id":"762","locality":"BONDI BEACH","postcode":"2026","state":"NSW"},"763":{"id":"763","locality":"NORTH BONDI","postcode":"2026","state":"NSW"},"764":{"id":"764","locality":"TAMARAMA","postcode":"2026","state":"NSW"},"765":{"id":"765","locality":"DARLING POINT","postcode":"2027","state":"NSW"},"766":{"id":"766","locality":"EDGECLIFF","postcode":"2027","state":"NSW"},"767":{"id":"767","locality":"HMAS RUSHCUTTERS","postcode":"2027","state":"NSW"},"768":{"id":"768","locality":"POINT PIPER","postcode":"2027","state":"NSW"},"769":{"id":"769","locality":"DOUBLE BAY","postcode":"2028","state":"NSW"},"770":{"id":"770","locality":"ROSE BAY","postcode":"2029","state":"NSW"},"771":{"id":"771","locality":"DOVER HEIGHTS","postcode":"2030","state":"NSW"},"772":{"id":"772","locality":"HMAS WATSON","postcode":"2030","state":"NSW"},"773":{"id":"773","locality":"ROSE BAY NORTH","postcode":"2030","state":"NSW"},"774":{"id":"774","locality":"VAUCLUSE","postcode":"2030","state":"NSW"},"775":{"id":"775","locality":"WATSONS BAY","postcode":"2030","state":"NSW"},"776":{"id":"776","locality":"CLOVELLY","postcode":"2031","state":"NSW"},"777":{"id":"777","locality":"CLOVELLY WEST","postcode":"2031","state":"NSW"},"778":{"id":"778","locality":"RANDWICK","postcode":"2031","state":"NSW"},"779":{"id":"779","locality":"ST PAULS","postcode":"2031","state":"NSW"},"780":{"id":"780","locality":"DACEYVILLE","postcode":"2032","state":"NSW"},"781":{"id":"781","locality":"KINGSFORD","postcode":"2032","state":"NSW"},"782":{"id":"782","locality":"KENSINGTON","postcode":"2033","state":"NSW"},"783":{"id":"783","locality":"COOGEE","postcode":"2034","state":"NSW"},"784":{"id":"784","locality":"SOUTH COOGEE","postcode":"2034","state":"NSW"},"785":{"id":"785","locality":"MAROUBRA","postcode":"2035","state":"NSW"},"786":{"id":"786","locality":"MAROUBRA SOUTH","postcode":"2035","state":"NSW"},"787":{"id":"787","locality":"PAGEWOOD","postcode":"2035","state":"NSW"},"788":{"id":"788","locality":"CHIFLEY","postcode":"2036","state":"NSW"},"789":{"id":"789","locality":"EASTGARDENS","postcode":"2036","state":"NSW"},"790":{"id":"790","locality":"HILLSDALE","postcode":"2036","state":"NSW"},"791":{"id":"791","locality":"LA PEROUSE","postcode":"2036","state":"NSW"},"792":{"id":"792","locality":"LITTLE BAY","postcode":"2036","state":"NSW"},"793":{"id":"793","locality":"MALABAR","postcode":"2036","state":"NSW"},"794":{"id":"794","locality":"MATRAVILLE","postcode":"2036","state":"NSW"},"795":{"id":"795","locality":"PHILLIP BAY","postcode":"2036","state":"NSW"},"796":{"id":"796","locality":"PORT BOTANY","postcode":"2036","state":"NSW"},"797":{"id":"797","locality":"FOREST LODGE","postcode":"2037","state":"NSW"},"798":{"id":"798","locality":"GLEBE","postcode":"2037","state":"NSW"},"799":{"id":"799","locality":"ANNANDALE","postcode":"2038","state":"NSW"},"800":{"id":"800","locality":"ROZELLE","postcode":"2039","state":"NSW"},"801":{"id":"801","locality":"LEICHHARDT","postcode":"2040","state":"NSW"},"802":{"id":"802","locality":"LILYFIELD","postcode":"2040","state":"NSW"},"803":{"id":"803","locality":"BALMAIN","postcode":"2041","state":"NSW"},"804":{"id":"804","locality":"BALMAIN EAST","postcode":"2041","state":"NSW"},"805":{"id":"805","locality":"BIRCHGROVE","postcode":"2041","state":"NSW"},"806":{"id":"806","locality":"ENMORE","postcode":"2042","state":"NSW"},"807":{"id":"807","locality":"NEWTOWN","postcode":"2042","state":"NSW"},"808":{"id":"808","locality":"ERSKINEVILLE","postcode":"2043","state":"NSW"},"809":{"id":"809","locality":"ST PETERS","postcode":"2044","state":"NSW"},"810":{"id":"810","locality":"SYDENHAM","postcode":"2044","state":"NSW"},"811":{"id":"811","locality":"TEMPE","postcode":"2044","state":"NSW"},"812":{"id":"812","locality":"HABERFIELD","postcode":"2045","state":"NSW"},"813":{"id":"813","locality":"ABBOTSFORD","postcode":"2046","state":"NSW"},"814":{"id":"814","locality":"CANADA BAY","postcode":"2046","state":"NSW"},"815":{"id":"815","locality":"CHISWICK","postcode":"2046","state":"NSW"},"816":{"id":"816","locality":"FIVE DOCK","postcode":"2046","state":"NSW"},"817":{"id":"817","locality":"RODD POINT","postcode":"2046","state":"NSW"},"818":{"id":"818","locality":"RUSSELL LEA","postcode":"2046","state":"NSW"},"819":{"id":"819","locality":"WAREEMBA","postcode":"2046","state":"NSW"},"820":{"id":"820","locality":"DRUMMOYNE","postcode":"2047","state":"NSW"},"821":{"id":"821","locality":"STANMORE","postcode":"2048","state":"NSW"},"822":{"id":"822","locality":"WESTGATE","postcode":"2048","state":"NSW"},"823":{"id":"823","locality":"LEWISHAM","postcode":"2049","state":"NSW"},"824":{"id":"824","locality":"PETERSHAM","postcode":"2049","state":"NSW"},"825":{"id":"825","locality":"PETERSHAM NORTH","postcode":"2049","state":"NSW"},"826":{"id":"826","locality":"CAMPERDOWN","postcode":"2050","state":"NSW"},"827":{"id":"827","locality":"MISSENDEN ROAD","postcode":"2050","state":"NSW"},"828":{"id":"828","locality":"UNSW SYDNEY","postcode":"2052","state":"NSW"},"829":{"id":"829","locality":"NORTH SYDNEY","postcode":"2055","state":"NSW"},"830":{"id":"830","locality":"CHATSWOOD","postcode":"2057","state":"NSW"},"831":{"id":"831","locality":"NORTHERN SUBURBS MC","postcode":"2058","state":"NSW"},"832":{"id":"832","locality":"NORTH SYDNEY","postcode":"2059","state":"NSW"},"833":{"id":"833","locality":"HMAS PLATYPUS","postcode":"2060","state":"NSW"},"834":{"id":"834","locality":"HMAS WATERHEN","postcode":"2060","state":"NSW"},"835":{"id":"835","locality":"LAVENDER BAY","postcode":"2060","state":"NSW"},"836":{"id":"836","locality":"MCMAHONS POINT","postcode":"2060","state":"NSW"},"837":{"id":"837","locality":"NORTH SYDNEY","postcode":"2060","state":"NSW"},"838":{"id":"838","locality":"NORTH SYDNEY SHOPPINGWORLD","postcode":"2060","state":"NSW"},"839":{"id":"839","locality":"WAVERTON","postcode":"2060","state":"NSW"},"840":{"id":"840","locality":"KIRRIBILLI","postcode":"2061","state":"NSW"},"841":{"id":"841","locality":"MILSONS POINT","postcode":"2061","state":"NSW"},"842":{"id":"842","locality":"CAMMERAY","postcode":"2062","state":"NSW"},"843":{"id":"843","locality":"NORTHBRIDGE","postcode":"2063","state":"NSW"},"844":{"id":"844","locality":"ARTARMON","postcode":"2064","state":"NSW"},"845":{"id":"845","locality":"CROWS NEST","postcode":"2065","state":"NSW"},"846":{"id":"846","locality":"GREENWICH","postcode":"2065","state":"NSW"},"847":{"id":"847","locality":"NAREMBURN","postcode":"2065","state":"NSW"},"848":{"id":"848","locality":"ROYAL NORTH SHORE HOSPITAL","postcode":"2065","state":"NSW"},"849":{"id":"849","locality":"ST LEONARDS","postcode":"2065","state":"NSW"},"850":{"id":"850","locality":"WOLLSTONECRAFT","postcode":"2065","state":"NSW"},"851":{"id":"851","locality":"LANE COVE","postcode":"2066","state":"NSW"},"852":{"id":"852","locality":"LANE COVE NORTH","postcode":"2066","state":"NSW"},"853":{"id":"853","locality":"LANE COVE WEST","postcode":"2066","state":"NSW"},"854":{"id":"854","locality":"LINLEY POINT","postcode":"2066","state":"NSW"},"855":{"id":"855","locality":"LONGUEVILLE","postcode":"2066","state":"NSW"},"856":{"id":"856","locality":"NORTHWOOD","postcode":"2066","state":"NSW"},"857":{"id":"857","locality":"RIVERVIEW","postcode":"2066","state":"NSW"},"858":{"id":"858","locality":"CHATSWOOD","postcode":"2067","state":"NSW"},"859":{"id":"859","locality":"CHATSWOOD WEST","postcode":"2067","state":"NSW"},"860":{"id":"860","locality":"CASTLECRAG","postcode":"2068","state":"NSW"},"861":{"id":"861","locality":"MIDDLE COVE","postcode":"2068","state":"NSW"},"862":{"id":"862","locality":"NORTH WILLOUGHBY","postcode":"2068","state":"NSW"},"863":{"id":"863","locality":"WILLOUGHBY","postcode":"2068","state":"NSW"},"864":{"id":"864","locality":"WILLOUGHBY EAST","postcode":"2068","state":"NSW"},"865":{"id":"865","locality":"WILLOUGHBY NORTH","postcode":"2068","state":"NSW"},"866":{"id":"866","locality":"CASTLE COVE","postcode":"2069","state":"NSW"},"867":{"id":"867","locality":"ROSEVILLE","postcode":"2069","state":"NSW"},"868":{"id":"868","locality":"ROSEVILLE CHASE","postcode":"2069","state":"NSW"},"869":{"id":"869","locality":"EAST LINDFIELD","postcode":"2070","state":"NSW"},"870":{"id":"870","locality":"LINDFIELD","postcode":"2070","state":"NSW"},"871":{"id":"871","locality":"LINDFIELD WEST","postcode":"2070","state":"NSW"},"872":{"id":"872","locality":"EAST KILLARA","postcode":"2071","state":"NSW"},"873":{"id":"873","locality":"KILLARA","postcode":"2071","state":"NSW"},"874":{"id":"874","locality":"GORDON","postcode":"2072","state":"NSW"},"875":{"id":"875","locality":"PYMBLE","postcode":"2073","state":"NSW"},"876":{"id":"876","locality":"WEST PYMBLE","postcode":"2073","state":"NSW"},"877":{"id":"877","locality":"NORTH TURRAMURRA","postcode":"2074","state":"NSW"},"878":{"id":"878","locality":"SOUTH TURRAMURRA","postcode":"2074","state":"NSW"},"879":{"id":"879","locality":"TURRAMURRA","postcode":"2074","state":"NSW"},"880":{"id":"880","locality":"WARRAWEE","postcode":"2074","state":"NSW"},"881":{"id":"881","locality":"ST IVES","postcode":"2075","state":"NSW"},"882":{"id":"882","locality":"ST IVES CHASE","postcode":"2075","state":"NSW"},"883":{"id":"883","locality":"NORMANHURST","postcode":"2076","state":"NSW"},"884":{"id":"884","locality":"NORTH WAHROONGA","postcode":"2076","state":"NSW"},"885":{"id":"885","locality":"WAHROONGA","postcode":"2076","state":"NSW"},"886":{"id":"886","locality":"ASQUITH","postcode":"2077","state":"NSW"},"887":{"id":"887","locality":"HORNSBY","postcode":"2077","state":"NSW"},"888":{"id":"888","locality":"HORNSBY HEIGHTS","postcode":"2077","state":"NSW"},"889":{"id":"889","locality":"WAITARA","postcode":"2077","state":"NSW"},"890":{"id":"890","locality":"MOUNT COLAH","postcode":"2079","state":"NSW"},"891":{"id":"891","locality":"MOUNT KURING-GAI","postcode":"2080","state":"NSW"},"892":{"id":"892","locality":"BEROWRA","postcode":"2081","state":"NSW"},"893":{"id":"893","locality":"COWAN","postcode":"2081","state":"NSW"},"894":{"id":"894","locality":"BEROWRA CREEK","postcode":"2082","state":"NSW"},"895":{"id":"895","locality":"BEROWRA HEIGHTS","postcode":"2082","state":"NSW"},"896":{"id":"896","locality":"BEROWRA WATERS","postcode":"2082","state":"NSW"},"897":{"id":"897","locality":"BAR POINT","postcode":"2083","state":"NSW"},"898":{"id":"898","locality":"BROOKLYN","postcode":"2083","state":"NSW"},"899":{"id":"899","locality":"CHEERO POINT","postcode":"2083","state":"NSW"},"900":{"id":"900","locality":"COGRA BAY","postcode":"2083","state":"NSW"},"901":{"id":"901","locality":"DANGAR ISLAND","postcode":"2083","state":"NSW"},"902":{"id":"902","locality":"MILSONS PASSAGE","postcode":"2083","state":"NSW"},"903":{"id":"903","locality":"MOONEY MOONEY","postcode":"2083","state":"NSW"},"904":{"id":"904","locality":"COTTAGE POINT","postcode":"2084","state":"NSW"},"905":{"id":"905","locality":"DUFFYS FOREST","postcode":"2084","state":"NSW"},"906":{"id":"906","locality":"TERREY HILLS","postcode":"2084","state":"NSW"},"907":{"id":"907","locality":"BELROSE","postcode":"2085","state":"NSW"},"908":{"id":"908","locality":"BELROSE WEST","postcode":"2085","state":"NSW"},"909":{"id":"909","locality":"DAVIDSON","postcode":"2085","state":"NSW"},"910":{"id":"910","locality":"FRENCHS FOREST","postcode":"2086","state":"NSW"},"911":{"id":"911","locality":"FRENCHS FOREST EAST","postcode":"2086","state":"NSW"},"912":{"id":"912","locality":"FORESTVILLE","postcode":"2087","state":"NSW"},"913":{"id":"913","locality":"KILLARNEY HEIGHTS","postcode":"2087","state":"NSW"},"914":{"id":"914","locality":"MOSMAN","postcode":"2088","state":"NSW"},"915":{"id":"915","locality":"SPIT JUNCTION","postcode":"2088","state":"NSW"},"916":{"id":"916","locality":"KURRABA POINT","postcode":"2089","state":"NSW"},"917":{"id":"917","locality":"NEUTRAL BAY","postcode":"2089","state":"NSW"},"918":{"id":"918","locality":"NEUTRAL BAY JUNCTION","postcode":"2089","state":"NSW"},"919":{"id":"919","locality":"CREMORNE","postcode":"2090","state":"NSW"},"920":{"id":"920","locality":"CREMORNE JUNCTION","postcode":"2090","state":"NSW"},"921":{"id":"921","locality":"CREMORNE POINT","postcode":"2090","state":"NSW"},"922":{"id":"922","locality":"HMAS PENGUIN","postcode":"2091","state":"NSW"},"923":{"id":"923","locality":"SEAFORTH","postcode":"2092","state":"NSW"},"924":{"id":"924","locality":"BALGOWLAH","postcode":"2093","state":"NSW"},"925":{"id":"925","locality":"BALGOWLAH HEIGHTS","postcode":"2093","state":"NSW"},"926":{"id":"926","locality":"CLONTARF","postcode":"2093","state":"NSW"},"927":{"id":"927","locality":"MANLY VALE","postcode":"2093","state":"NSW"},"928":{"id":"928","locality":"NORTH BALGOWLAH","postcode":"2093","state":"NSW"},"929":{"id":"929","locality":"FAIRLIGHT","postcode":"2094","state":"NSW"},"930":{"id":"930","locality":"MANLY","postcode":"2095","state":"NSW"},"931":{"id":"931","locality":"MANLY EAST","postcode":"2095","state":"NSW"},"932":{"id":"932","locality":"CURL CURL","postcode":"2096","state":"NSW"},"933":{"id":"933","locality":"FRESHWATER","postcode":"2096","state":"NSW"},"934":{"id":"934","locality":"QUEENSCLIFF","postcode":"2096","state":"NSW"},"935":{"id":"935","locality":"COLLAROY","postcode":"2097","state":"NSW"},"936":{"id":"936","locality":"COLLAROY BEACH","postcode":"2097","state":"NSW"},"937":{"id":"937","locality":"COLLAROY PLATEAU","postcode":"2097","state":"NSW"},"938":{"id":"938","locality":"WHEELER HEIGHTS","postcode":"2097","state":"NSW"},"939":{"id":"939","locality":"CROMER","postcode":"2099","state":"NSW"},"940":{"id":"940","locality":"DEE WHY","postcode":"2099","state":"NSW"},"941":{"id":"941","locality":"NARRAWEENA","postcode":"2099","state":"NSW"},"942":{"id":"942","locality":"NORTH CURL CURL","postcode":"2099","state":"NSW"},"943":{"id":"943","locality":"ALLAMBIE HEIGHTS","postcode":"2100","state":"NSW"},"944":{"id":"944","locality":"BEACON HILL","postcode":"2100","state":"NSW"},"945":{"id":"945","locality":"BROOKVALE","postcode":"2100","state":"NSW"},"946":{"id":"946","locality":"NORTH MANLY","postcode":"2100","state":"NSW"},"947":{"id":"947","locality":"OXFORD FALLS","postcode":"2100","state":"NSW"},"948":{"id":"948","locality":"WARRINGAH MALL","postcode":"2100","state":"NSW"},"949":{"id":"949","locality":"ELANORA HEIGHTS","postcode":"2101","state":"NSW"},"950":{"id":"950","locality":"INGLESIDE","postcode":"2101","state":"NSW"},"951":{"id":"951","locality":"NARRABEEN","postcode":"2101","state":"NSW"},"952":{"id":"952","locality":"NORTH NARRABEEN","postcode":"2101","state":"NSW"},"953":{"id":"953","locality":"WARRIEWOOD","postcode":"2102","state":"NSW"},"954":{"id":"954","locality":"WARRIEWOOD SHOPPING SQUARE","postcode":"2102","state":"NSW"},"955":{"id":"955","locality":"MONA VALE","postcode":"2103","state":"NSW"},"956":{"id":"956","locality":"BAYVIEW","postcode":"2104","state":"NSW"},"957":{"id":"957","locality":"CHURCH POINT","postcode":"2105","state":"NSW"},"958":{"id":"958","locality":"ELVINA BAY","postcode":"2105","state":"NSW"},"959":{"id":"959","locality":"LOVETT BAY","postcode":"2105","state":"NSW"},"960":{"id":"960","locality":"MCCARRS CREEK","postcode":"2105","state":"NSW"},"961":{"id":"961","locality":"MORNING BAY","postcode":"2105","state":"NSW"},"962":{"id":"962","locality":"SCOTLAND ISLAND","postcode":"2105","state":"NSW"},"963":{"id":"963","locality":"NEWPORT","postcode":"2106","state":"NSW"},"964":{"id":"964","locality":"NEWPORT BEACH","postcode":"2106","state":"NSW"},"965":{"id":"965","locality":"AVALON BEACH","postcode":"2107","state":"NSW"},"966":{"id":"966","locality":"BILGOLA BEACH","postcode":"2107","state":"NSW"},"967":{"id":"967","locality":"BILGOLA PLATEAU","postcode":"2107","state":"NSW"},"968":{"id":"968","locality":"CLAREVILLE","postcode":"2107","state":"NSW"},"969":{"id":"969","locality":"WHALE BEACH","postcode":"2107","state":"NSW"},"970":{"id":"970","locality":"COASTERS RETREAT","postcode":"2108","state":"NSW"},"971":{"id":"971","locality":"CURRAWONG BEACH","postcode":"2108","state":"NSW"},"972":{"id":"972","locality":"GREAT MACKEREL BEACH","postcode":"2108","state":"NSW"},"973":{"id":"973","locality":"PALM BEACH","postcode":"2108","state":"NSW"},"974":{"id":"974","locality":"MACQUARIE UNIVERSITY","postcode":"2109","state":"NSW"},"975":{"id":"975","locality":"HUNTERS HILL","postcode":"2110","state":"NSW"},"976":{"id":"976","locality":"WOOLWICH","postcode":"2110","state":"NSW"},"977":{"id":"977","locality":"BORONIA PARK","postcode":"2111","state":"NSW"},"978":{"id":"978","locality":"GLADESVILLE","postcode":"2111","state":"NSW"},"979":{"id":"979","locality":"HENLEY","postcode":"2111","state":"NSW"},"980":{"id":"980","locality":"HUNTLEYS COVE","postcode":"2111","state":"NSW"},"981":{"id":"981","locality":"HUNTLEYS POINT","postcode":"2111","state":"NSW"},"982":{"id":"982","locality":"MONASH PARK","postcode":"2111","state":"NSW"},"983":{"id":"983","locality":"TENNYSON POINT","postcode":"2111","state":"NSW"},"984":{"id":"984","locality":"DENISTONE EAST","postcode":"2112","state":"NSW"},"985":{"id":"985","locality":"PUTNEY","postcode":"2112","state":"NSW"},"986":{"id":"986","locality":"RYDE","postcode":"2112","state":"NSW"},"987":{"id":"987","locality":"BLENHEIM ROAD","postcode":"2113","state":"NSW"},"988":{"id":"988","locality":"EAST RYDE","postcode":"2113","state":"NSW"},"989":{"id":"989","locality":"MACQUARIE CENTRE","postcode":"2113","state":"NSW"},"990":{"id":"990","locality":"MACQUARIE PARK","postcode":"2113","state":"NSW"},"991":{"id":"991","locality":"NORTH RYDE","postcode":"2113","state":"NSW"},"992":{"id":"992","locality":"DENISTONE","postcode":"2114","state":"NSW"},"993":{"id":"993","locality":"DENISTONE WEST","postcode":"2114","state":"NSW"},"994":{"id":"994","locality":"MEADOWBANK","postcode":"2114","state":"NSW"},"995":{"id":"995","locality":"MELROSE PARK","postcode":"2114","state":"NSW"},"996":{"id":"996","locality":"WEST RYDE","postcode":"2114","state":"NSW"},"997":{"id":"997","locality":"ERMINGTON","postcode":"2115","state":"NSW"},"998":{"id":"998","locality":"RYDALMERE","postcode":"2116","state":"NSW"},"999":{"id":"999","locality":"DUNDAS","postcode":"2117","state":"NSW"},"1000":{"id":"1000","locality":"DUNDAS VALLEY","postcode":"2117","state":"NSW"},"1001":{"id":"1001","locality":"OATLANDS","postcode":"2117","state":"NSW"},"1002":{"id":"1002","locality":"TELOPEA","postcode":"2117","state":"NSW"},"1003":{"id":"1003","locality":"CARLINGFORD","postcode":"2118","state":"NSW"},"1004":{"id":"1004","locality":"CARLINGFORD COURT","postcode":"2118","state":"NSW"},"1005":{"id":"1005","locality":"CARLINGFORD NORTH","postcode":"2118","state":"NSW"},"1006":{"id":"1006","locality":"KINGSDENE","postcode":"2118","state":"NSW"},"1007":{"id":"1007","locality":"BEECROFT","postcode":"2119","state":"NSW"},"1008":{"id":"1008","locality":"CHELTENHAM","postcode":"2119","state":"NSW"},"1009":{"id":"1009","locality":"PENNANT HILLS","postcode":"2120","state":"NSW"},"1010":{"id":"1010","locality":"THORNLEIGH","postcode":"2120","state":"NSW"},"1011":{"id":"1011","locality":"WESTLEIGH","postcode":"2120","state":"NSW"},"1012":{"id":"1012","locality":"EPPING","postcode":"2121","state":"NSW"},"1013":{"id":"1013","locality":"NORTH EPPING","postcode":"2121","state":"NSW"},"1014":{"id":"1014","locality":"EASTWOOD","postcode":"2122","state":"NSW"},"1015":{"id":"1015","locality":"MARSFIELD","postcode":"2122","state":"NSW"},"1016":{"id":"1016","locality":"PARRAMATTA","postcode":"2123","state":"NSW"},"1017":{"id":"1017","locality":"PARRAMATTA","postcode":"2124","state":"NSW"},"1018":{"id":"1018","locality":"WEST PENNANT HILLS","postcode":"2125","state":"NSW"},"1019":{"id":"1019","locality":"CHERRYBROOK","postcode":"2126","state":"NSW"},"1020":{"id":"1020","locality":"NEWINGTON","postcode":"2127","state":"NSW"},"1021":{"id":"1021","locality":"SYDNEY OLYMPIC PARK","postcode":"2127","state":"NSW"},"1022":{"id":"1022","locality":"WENTWORTH POINT","postcode":"2127","state":"NSW"},"1023":{"id":"1023","locality":"SILVERWATER","postcode":"2128","state":"NSW"},"1024":{"id":"1024","locality":"SYDNEY MARKETS","postcode":"2129","state":"NSW"},"1025":{"id":"1025","locality":"SUMMER HILL","postcode":"2130","state":"NSW"},"1026":{"id":"1026","locality":"ASHFIELD","postcode":"2131","state":"NSW"},"1027":{"id":"1027","locality":"CROYDON","postcode":"2132","state":"NSW"},"1028":{"id":"1028","locality":"CROYDON PARK","postcode":"2133","state":"NSW"},"1029":{"id":"1029","locality":"ENFIELD SOUTH","postcode":"2133","state":"NSW"},"1030":{"id":"1030","locality":"BURWOOD","postcode":"2134","state":"NSW"},"1031":{"id":"1031","locality":"BURWOOD NORTH","postcode":"2134","state":"NSW"},"1032":{"id":"1032","locality":"STRATHFIELD","postcode":"2135","state":"NSW"},"1033":{"id":"1033","locality":"BURWOOD HEIGHTS","postcode":"2136","state":"NSW"},"1034":{"id":"1034","locality":"ENFIELD","postcode":"2136","state":"NSW"},"1035":{"id":"1035","locality":"STRATHFIELD SOUTH","postcode":"2136","state":"NSW"},"1036":{"id":"1036","locality":"BREAKFAST POINT","postcode":"2137","state":"NSW"},"1037":{"id":"1037","locality":"CABARITA","postcode":"2137","state":"NSW"},"1038":{"id":"1038","locality":"CONCORD","postcode":"2137","state":"NSW"},"1039":{"id":"1039","locality":"MORTLAKE","postcode":"2137","state":"NSW"},"1040":{"id":"1040","locality":"NORTH STRATHFIELD","postcode":"2137","state":"NSW"},"1041":{"id":"1041","locality":"CONCORD WEST","postcode":"2138","state":"NSW"},"1042":{"id":"1042","locality":"LIBERTY GROVE","postcode":"2138","state":"NSW"},"1043":{"id":"1043","locality":"RHODES","postcode":"2138","state":"NSW"},"1044":{"id":"1044","locality":"CONCORD REPATRIATION HOSPITAL","postcode":"2139","state":"NSW"},"1045":{"id":"1045","locality":"HOMEBUSH","postcode":"2140","state":"NSW"},"1046":{"id":"1046","locality":"HOMEBUSH SOUTH","postcode":"2140","state":"NSW"},"1047":{"id":"1047","locality":"HOMEBUSH WEST","postcode":"2140","state":"NSW"},"1048":{"id":"1048","locality":"BERALA","postcode":"2141","state":"NSW"},"1049":{"id":"1049","locality":"LIDCOMBE","postcode":"2141","state":"NSW"},"1050":{"id":"1050","locality":"LIDCOMBE NORTH","postcode":"2141","state":"NSW"},"1051":{"id":"1051","locality":"ROOKWOOD","postcode":"2141","state":"NSW"},"1052":{"id":"1052","locality":"BLAXCELL","postcode":"2142","state":"NSW"},"1053":{"id":"1053","locality":"CAMELLIA","postcode":"2142","state":"NSW"},"1054":{"id":"1054","locality":"CLYDE","postcode":"2142","state":"NSW"},"1055":{"id":"1055","locality":"GRANVILLE","postcode":"2142","state":"NSW"},"1056":{"id":"1056","locality":"HOLROYD","postcode":"2142","state":"NSW"},"1057":{"id":"1057","locality":"ROSEHILL","postcode":"2142","state":"NSW"},"1058":{"id":"1058","locality":"SOUTH GRANVILLE","postcode":"2142","state":"NSW"},"1059":{"id":"1059","locality":"BIRRONG","postcode":"2143","state":"NSW"},"1060":{"id":"1060","locality":"POTTS HILL","postcode":"2143","state":"NSW"},"1061":{"id":"1061","locality":"REGENTS PARK","postcode":"2143","state":"NSW"},"1062":{"id":"1062","locality":"AUBURN","postcode":"2144","state":"NSW"},"1063":{"id":"1063","locality":"CONSTITUTION HILL","postcode":"2145","state":"NSW"},"1064":{"id":"1064","locality":"GIRRAWEEN","postcode":"2145","state":"NSW"},"1065":{"id":"1065","locality":"GREYSTANES","postcode":"2145","state":"NSW"},"1066":{"id":"1066","locality":"MAYS HILL","postcode":"2145","state":"NSW"},"1067":{"id":"1067","locality":"PEMULWUY","postcode":"2145","state":"NSW"},"1068":{"id":"1068","locality":"PENDLE HILL","postcode":"2145","state":"NSW"},"1069":{"id":"1069","locality":"SOUTH WENTWORTHVILLE","postcode":"2145","state":"NSW"},"1070":{"id":"1070","locality":"WENTWORTHVILLE","postcode":"2145","state":"NSW"},"1071":{"id":"1071","locality":"WESTMEAD","postcode":"2145","state":"NSW"},"1072":{"id":"1072","locality":"OLD TOONGABBIE","postcode":"2146","state":"NSW"},"1073":{"id":"1073","locality":"TOONGABBIE","postcode":"2146","state":"NSW"},"1074":{"id":"1074","locality":"TOONGABBIE EAST","postcode":"2146","state":"NSW"},"1075":{"id":"1075","locality":"KINGS LANGLEY","postcode":"2147","state":"NSW"},"1076":{"id":"1076","locality":"LALOR PARK","postcode":"2147","state":"NSW"},"1077":{"id":"1077","locality":"SEVEN HILLS","postcode":"2147","state":"NSW"},"1078":{"id":"1078","locality":"SEVEN HILLS WEST","postcode":"2147","state":"NSW"},"1079":{"id":"1079","locality":"ARNDELL PARK","postcode":"2148","state":"NSW"},"1080":{"id":"1080","locality":"BLACKTOWN","postcode":"2148","state":"NSW"},"1081":{"id":"1081","locality":"BLACKTOWN WESTPOINT","postcode":"2148","state":"NSW"},"1082":{"id":"1082","locality":"HUNTINGWOOD","postcode":"2148","state":"NSW"},"1083":{"id":"1083","locality":"KINGS PARK","postcode":"2148","state":"NSW"},"1084":{"id":"1084","locality":"MARAYONG","postcode":"2148","state":"NSW"},"1085":{"id":"1085","locality":"PROSPECT","postcode":"2148","state":"NSW"},"1086":{"id":"1086","locality":"HARRIS PARK","postcode":"2150","state":"NSW"},"1087":{"id":"1087","locality":"PARRAMATTA","postcode":"2150","state":"NSW"},"1088":{"id":"1088","locality":"PARRAMATTA WESTFIELD","postcode":"2150","state":"NSW"},"1089":{"id":"1089","locality":"NORTH PARRAMATTA","postcode":"2151","state":"NSW"},"1090":{"id":"1090","locality":"NORTH ROCKS","postcode":"2151","state":"NSW"},"1091":{"id":"1091","locality":"NORTHMEAD","postcode":"2152","state":"NSW"},"1092":{"id":"1092","locality":"BAULKHAM HILLS","postcode":"2153","state":"NSW"},"1093":{"id":"1093","locality":"BELLA VISTA","postcode":"2153","state":"NSW"},"1094":{"id":"1094","locality":"WINSTON HILLS","postcode":"2153","state":"NSW"},"1095":{"id":"1095","locality":"CASTLE HILL","postcode":"2154","state":"NSW"},"1096":{"id":"1096","locality":"BEAUMONT HILLS","postcode":"2155","state":"NSW"},"1097":{"id":"1097","locality":"KELLYVILLE","postcode":"2155","state":"NSW"},"1098":{"id":"1098","locality":"KELLYVILLE RIDGE","postcode":"2155","state":"NSW"},"1099":{"id":"1099","locality":"ROUSE HILL","postcode":"2155","state":"NSW"},"1100":{"id":"1100","locality":"ANNANGROVE","postcode":"2156","state":"NSW"},"1101":{"id":"1101","locality":"GLENHAVEN","postcode":"2156","state":"NSW"},"1102":{"id":"1102","locality":"KENTHURST","postcode":"2156","state":"NSW"},"1103":{"id":"1103","locality":"CANOELANDS","postcode":"2157","state":"NSW"},"1104":{"id":"1104","locality":"FOREST GLEN","postcode":"2157","state":"NSW"},"1105":{"id":"1105","locality":"GLENORIE","postcode":"2157","state":"NSW"},"1106":{"id":"1106","locality":"DURAL","postcode":"2158","state":"NSW"},"1107":{"id":"1107","locality":"MIDDLE DURAL","postcode":"2158","state":"NSW"},"1108":{"id":"1108","locality":"ROUND CORNER","postcode":"2158","state":"NSW"},"1109":{"id":"1109","locality":"ARCADIA","postcode":"2159","state":"NSW"},"1110":{"id":"1110","locality":"BERRILEE","postcode":"2159","state":"NSW"},"1111":{"id":"1111","locality":"FIDDLETOWN","postcode":"2159","state":"NSW"},"1112":{"id":"1112","locality":"GALSTON","postcode":"2159","state":"NSW"},"1113":{"id":"1113","locality":"MERRYLANDS","postcode":"2160","state":"NSW"},"1114":{"id":"1114","locality":"MERRYLANDS WEST","postcode":"2160","state":"NSW"},"1115":{"id":"1115","locality":"GUILDFORD","postcode":"2161","state":"NSW"},"1116":{"id":"1116","locality":"GUILDFORD WEST","postcode":"2161","state":"NSW"},"1117":{"id":"1117","locality":"OLD GUILDFORD","postcode":"2161","state":"NSW"},"1118":{"id":"1118","locality":"YENNORA","postcode":"2161","state":"NSW"},"1119":{"id":"1119","locality":"CHESTER HILL","postcode":"2162","state":"NSW"},"1120":{"id":"1120","locality":"SEFTON","postcode":"2162","state":"NSW"},"1121":{"id":"1121","locality":"CARRAMAR","postcode":"2163","state":"NSW"},"1122":{"id":"1122","locality":"LANSDOWNE","postcode":"2163","state":"NSW"},"1123":{"id":"1123","locality":"VILLAWOOD","postcode":"2163","state":"NSW"},"1124":{"id":"1124","locality":"SMITHFIELD","postcode":"2164","state":"NSW"},"1125":{"id":"1125","locality":"SMITHFIELD WEST","postcode":"2164","state":"NSW"},"1126":{"id":"1126","locality":"WETHERILL PARK","postcode":"2164","state":"NSW"},"1127":{"id":"1127","locality":"WOODPARK","postcode":"2164","state":"NSW"},"1128":{"id":"1128","locality":"FAIRFIELD","postcode":"2165","state":"NSW"},"1129":{"id":"1129","locality":"FAIRFIELD EAST","postcode":"2165","state":"NSW"},"1130":{"id":"1130","locality":"FAIRFIELD HEIGHTS","postcode":"2165","state":"NSW"},"1131":{"id":"1131","locality":"FAIRFIELD WEST","postcode":"2165","state":"NSW"},"1132":{"id":"1132","locality":"CABRAMATTA","postcode":"2166","state":"NSW"},"1133":{"id":"1133","locality":"CABRAMATTA WEST","postcode":"2166","state":"NSW"},"1134":{"id":"1134","locality":"CANLEY HEIGHTS","postcode":"2166","state":"NSW"},"1135":{"id":"1135","locality":"CANLEY VALE","postcode":"2166","state":"NSW"},"1136":{"id":"1136","locality":"LANSVALE","postcode":"2166","state":"NSW"},"1137":{"id":"1137","locality":"GLENFIELD","postcode":"2167","state":"NSW"},"1138":{"id":"1138","locality":"ASHCROFT","postcode":"2168","state":"NSW"},"1139":{"id":"1139","locality":"BUSBY","postcode":"2168","state":"NSW"},"1140":{"id":"1140","locality":"CARTWRIGHT","postcode":"2168","state":"NSW"},"1141":{"id":"1141","locality":"GREEN VALLEY","postcode":"2168","state":"NSW"},"1142":{"id":"1142","locality":"HECKENBERG","postcode":"2168","state":"NSW"},"1143":{"id":"1143","locality":"HINCHINBROOK","postcode":"2168","state":"NSW"},"1144":{"id":"1144","locality":"MILLER","postcode":"2168","state":"NSW"},"1145":{"id":"1145","locality":"SADLEIR","postcode":"2168","state":"NSW"},"1146":{"id":"1146","locality":"CASULA","postcode":"2170","state":"NSW"},"1147":{"id":"1147","locality":"CASULA MALL","postcode":"2170","state":"NSW"},"1148":{"id":"1148","locality":"CHIPPING NORTON","postcode":"2170","state":"NSW"},"1149":{"id":"1149","locality":"HAMMONDVILLE","postcode":"2170","state":"NSW"},"1150":{"id":"1150","locality":"LIVERPOOL","postcode":"2170","state":"NSW"},"1151":{"id":"1151","locality":"LIVERPOOL SOUTH","postcode":"2170","state":"NSW"},"1152":{"id":"1152","locality":"LIVERPOOL WESTFIELD","postcode":"2170","state":"NSW"},"1153":{"id":"1153","locality":"LURNEA","postcode":"2170","state":"NSW"},"1154":{"id":"1154","locality":"MOOREBANK","postcode":"2170","state":"NSW"},"1155":{"id":"1155","locality":"MOUNT PRITCHARD","postcode":"2170","state":"NSW"},"1156":{"id":"1156","locality":"PRESTONS","postcode":"2170","state":"NSW"},"1157":{"id":"1157","locality":"WARWICK FARM","postcode":"2170","state":"NSW"},"1158":{"id":"1158","locality":"CARNES HILL","postcode":"2171","state":"NSW"},"1159":{"id":"1159","locality":"CECIL HILLS","postcode":"2171","state":"NSW"},"1160":{"id":"1160","locality":"ELIZABETH HILLS","postcode":"2171","state":"NSW"},"1161":{"id":"1161","locality":"HORNINGSEA PARK","postcode":"2171","state":"NSW"},"1162":{"id":"1162","locality":"HOXTON PARK","postcode":"2171","state":"NSW"},"1163":{"id":"1163","locality":"LEN WATERS ESTATE","postcode":"2171","state":"NSW"},"1164":{"id":"1164","locality":"MIDDLETON GRANGE","postcode":"2171","state":"NSW"},"1165":{"id":"1165","locality":"WEST HOXTON","postcode":"2171","state":"NSW"},"1166":{"id":"1166","locality":"PLEASURE POINT","postcode":"2172","state":"NSW"},"1167":{"id":"1167","locality":"SANDY POINT","postcode":"2172","state":"NSW"},"1168":{"id":"1168","locality":"VOYAGER POINT","postcode":"2172","state":"NSW"},"1169":{"id":"1169","locality":"HOLSWORTHY","postcode":"2173","state":"NSW"},"1170":{"id":"1170","locality":"WATTLE GROVE","postcode":"2173","state":"NSW"},"1171":{"id":"1171","locality":"EDMONDSON PARK","postcode":"2174","state":"NSW"},"1172":{"id":"1172","locality":"HORSLEY PARK","postcode":"2175","state":"NSW"},"1173":{"id":"1173","locality":"ABBOTSBURY","postcode":"2176","state":"NSW"},"1174":{"id":"1174","locality":"BOSSLEY PARK","postcode":"2176","state":"NSW"},"1175":{"id":"1175","locality":"EDENSOR PARK","postcode":"2176","state":"NSW"},"1176":{"id":"1176","locality":"GREENFIELD PARK","postcode":"2176","state":"NSW"},"1177":{"id":"1177","locality":"PRAIRIEWOOD","postcode":"2176","state":"NSW"},"1178":{"id":"1178","locality":"ST JOHNS PARK","postcode":"2176","state":"NSW"},"1179":{"id":"1179","locality":"WAKELEY","postcode":"2176","state":"NSW"},"1180":{"id":"1180","locality":"BONNYRIGG","postcode":"2177","state":"NSW"},"1181":{"id":"1181","locality":"BONNYRIGG HEIGHTS","postcode":"2177","state":"NSW"},"1182":{"id":"1182","locality":"CECIL PARK","postcode":"2178","state":"NSW"},"1183":{"id":"1183","locality":"KEMPS CREEK","postcode":"2178","state":"NSW"},"1184":{"id":"1184","locality":"MOUNT VERNON","postcode":"2178","state":"NSW"},"1185":{"id":"1185","locality":"AUSTRAL","postcode":"2179","state":"NSW"},"1186":{"id":"1186","locality":"LEPPINGTON","postcode":"2179","state":"NSW"},"1187":{"id":"1187","locality":"CHULLORA","postcode":"2190","state":"NSW"},"1188":{"id":"1188","locality":"GREENACRE","postcode":"2190","state":"NSW"},"1189":{"id":"1189","locality":"MOUNT LEWIS","postcode":"2190","state":"NSW"},"1190":{"id":"1190","locality":"BELFIELD","postcode":"2191","state":"NSW"},"1191":{"id":"1191","locality":"BELMORE","postcode":"2192","state":"NSW"},"1192":{"id":"1192","locality":"ASHBURY","postcode":"2193","state":"NSW"},"1193":{"id":"1193","locality":"CANTERBURY","postcode":"2193","state":"NSW"},"1194":{"id":"1194","locality":"HURLSTONE PARK","postcode":"2193","state":"NSW"},"1195":{"id":"1195","locality":"CAMPSIE","postcode":"2194","state":"NSW"},"1196":{"id":"1196","locality":"LAKEMBA","postcode":"2195","state":"NSW"},"1197":{"id":"1197","locality":"WILEY PARK","postcode":"2195","state":"NSW"},"1198":{"id":"1198","locality":"PUNCHBOWL","postcode":"2196","state":"NSW"},"1199":{"id":"1199","locality":"ROSELANDS","postcode":"2196","state":"NSW"},"1200":{"id":"1200","locality":"BASS HILL","postcode":"2197","state":"NSW"},"1201":{"id":"1201","locality":"GEORGES HALL","postcode":"2198","state":"NSW"},"1202":{"id":"1202","locality":"YAGOONA","postcode":"2199","state":"NSW"},"1203":{"id":"1203","locality":"YAGOONA WEST","postcode":"2199","state":"NSW"},"1204":{"id":"1204","locality":"BANKSTOWN","postcode":"2200","state":"NSW"},"1205":{"id":"1205","locality":"BANKSTOWN AERODROME","postcode":"2200","state":"NSW"},"1206":{"id":"1206","locality":"BANKSTOWN NORTH","postcode":"2200","state":"NSW"},"1207":{"id":"1207","locality":"BANKSTOWN SQUARE","postcode":"2200","state":"NSW"},"1208":{"id":"1208","locality":"CONDELL PARK","postcode":"2200","state":"NSW"},"1209":{"id":"1209","locality":"MANAHAN","postcode":"2200","state":"NSW"},"1210":{"id":"1210","locality":"MOUNT LEWIS","postcode":"2200","state":"NSW"},"1211":{"id":"1211","locality":"DULWICH HILL","postcode":"2203","state":"NSW"},"1212":{"id":"1212","locality":"MARRICKVILLE","postcode":"2204","state":"NSW"},"1213":{"id":"1213","locality":"MARRICKVILLE METRO","postcode":"2204","state":"NSW"},"1214":{"id":"1214","locality":"MARRICKVILLE SOUTH","postcode":"2204","state":"NSW"},"1215":{"id":"1215","locality":"ARNCLIFFE","postcode":"2205","state":"NSW"},"1216":{"id":"1216","locality":"TURRELLA","postcode":"2205","state":"NSW"},"1217":{"id":"1217","locality":"WOLLI CREEK","postcode":"2205","state":"NSW"},"1218":{"id":"1218","locality":"CLEMTON PARK","postcode":"2206","state":"NSW"},"1219":{"id":"1219","locality":"EARLWOOD","postcode":"2206","state":"NSW"},"1220":{"id":"1220","locality":"BARDWELL PARK","postcode":"2207","state":"NSW"},"1221":{"id":"1221","locality":"BARDWELL VALLEY","postcode":"2207","state":"NSW"},"1222":{"id":"1222","locality":"BEXLEY","postcode":"2207","state":"NSW"},"1223":{"id":"1223","locality":"BEXLEY NORTH","postcode":"2207","state":"NSW"},"1224":{"id":"1224","locality":"BEXLEY SOUTH","postcode":"2207","state":"NSW"},"1225":{"id":"1225","locality":"KINGSGROVE","postcode":"2208","state":"NSW"},"1226":{"id":"1226","locality":"KINGSWAY WEST","postcode":"2208","state":"NSW"},"1227":{"id":"1227","locality":"BEVERLY HILLS","postcode":"2209","state":"NSW"},"1228":{"id":"1228","locality":"NARWEE","postcode":"2209","state":"NSW"},"1229":{"id":"1229","locality":"LUGARNO","postcode":"2210","state":"NSW"},"1230":{"id":"1230","locality":"PEAKHURST","postcode":"2210","state":"NSW"},"1231":{"id":"1231","locality":"PEAKHURST HEIGHTS","postcode":"2210","state":"NSW"},"1232":{"id":"1232","locality":"RIVERWOOD","postcode":"2210","state":"NSW"},"1233":{"id":"1233","locality":"PADSTOW","postcode":"2211","state":"NSW"},"1234":{"id":"1234","locality":"PADSTOW HEIGHTS","postcode":"2211","state":"NSW"},"1235":{"id":"1235","locality":"REVESBY","postcode":"2212","state":"NSW"},"1236":{"id":"1236","locality":"REVESBY HEIGHTS","postcode":"2212","state":"NSW"},"1237":{"id":"1237","locality":"REVESBY NORTH","postcode":"2212","state":"NSW"},"1238":{"id":"1238","locality":"EAST HILLS","postcode":"2213","state":"NSW"},"1239":{"id":"1239","locality":"PANANIA","postcode":"2213","state":"NSW"},"1240":{"id":"1240","locality":"PICNIC POINT","postcode":"2213","state":"NSW"},"1241":{"id":"1241","locality":"MILPERRA","postcode":"2214","state":"NSW"},"1242":{"id":"1242","locality":"BANKSIA","postcode":"2216","state":"NSW"},"1243":{"id":"1243","locality":"BRIGHTON-LE-SANDS","postcode":"2216","state":"NSW"},"1244":{"id":"1244","locality":"KYEEMAGH","postcode":"2216","state":"NSW"},"1245":{"id":"1245","locality":"ROCKDALE","postcode":"2216","state":"NSW"},"1246":{"id":"1246","locality":"BEVERLEY PARK","postcode":"2217","state":"NSW"},"1247":{"id":"1247","locality":"KOGARAH","postcode":"2217","state":"NSW"},"1248":{"id":"1248","locality":"KOGARAH BAY","postcode":"2217","state":"NSW"},"1249":{"id":"1249","locality":"MONTEREY","postcode":"2217","state":"NSW"},"1250":{"id":"1250","locality":"RAMSGATE","postcode":"2217","state":"NSW"},"1251":{"id":"1251","locality":"RAMSGATE BEACH","postcode":"2217","state":"NSW"},"1252":{"id":"1252","locality":"ALLAWAH","postcode":"2218","state":"NSW"},"1253":{"id":"1253","locality":"CARLTON","postcode":"2218","state":"NSW"},"1254":{"id":"1254","locality":"DOLLS POINT","postcode":"2219","state":"NSW"},"1255":{"id":"1255","locality":"SANDRINGHAM","postcode":"2219","state":"NSW"},"1256":{"id":"1256","locality":"SANS SOUCI","postcode":"2219","state":"NSW"},"1257":{"id":"1257","locality":"HURSTVILLE","postcode":"2220","state":"NSW"},"1258":{"id":"1258","locality":"HURSTVILLE GROVE","postcode":"2220","state":"NSW"},"1259":{"id":"1259","locality":"HURSTVILLE WESTFIELD","postcode":"2220","state":"NSW"},"1260":{"id":"1260","locality":"BLAKEHURST","postcode":"2221","state":"NSW"},"1261":{"id":"1261","locality":"CARSS PARK","postcode":"2221","state":"NSW"},"1262":{"id":"1262","locality":"CONNELLS POINT","postcode":"2221","state":"NSW"},"1263":{"id":"1263","locality":"KYLE BAY","postcode":"2221","state":"NSW"},"1264":{"id":"1264","locality":"SOUTH HURSTVILLE","postcode":"2221","state":"NSW"},"1265":{"id":"1265","locality":"PENSHURST","postcode":"2222","state":"NSW"},"1266":{"id":"1266","locality":"MORTDALE","postcode":"2223","state":"NSW"},"1267":{"id":"1267","locality":"OATLEY","postcode":"2223","state":"NSW"},"1268":{"id":"1268","locality":"KANGAROO POINT","postcode":"2224","state":"NSW"},"1269":{"id":"1269","locality":"SYLVANIA","postcode":"2224","state":"NSW"},"1270":{"id":"1270","locality":"SYLVANIA SOUTHGATE","postcode":"2224","state":"NSW"},"1271":{"id":"1271","locality":"SYLVANIA WATERS","postcode":"2224","state":"NSW"},"1272":{"id":"1272","locality":"OYSTER BAY","postcode":"2225","state":"NSW"},"1273":{"id":"1273","locality":"BONNET BAY","postcode":"2226","state":"NSW"},"1274":{"id":"1274","locality":"COMO","postcode":"2226","state":"NSW"},"1275":{"id":"1275","locality":"JANNALI","postcode":"2226","state":"NSW"},"1276":{"id":"1276","locality":"GYMEA","postcode":"2227","state":"NSW"},"1277":{"id":"1277","locality":"GYMEA BAY","postcode":"2227","state":"NSW"},"1278":{"id":"1278","locality":"MIRANDA","postcode":"2228","state":"NSW"},"1279":{"id":"1279","locality":"YOWIE BAY","postcode":"2228","state":"NSW"},"1280":{"id":"1280","locality":"CARINGBAH","postcode":"2229","state":"NSW"},"1281":{"id":"1281","locality":"CARINGBAH SOUTH","postcode":"2229","state":"NSW"},"1282":{"id":"1282","locality":"DOLANS BAY","postcode":"2229","state":"NSW"},"1283":{"id":"1283","locality":"LILLI PILLI","postcode":"2229","state":"NSW"},"1284":{"id":"1284","locality":"PORT HACKING","postcode":"2229","state":"NSW"},"1285":{"id":"1285","locality":"TAREN POINT","postcode":"2229","state":"NSW"},"1286":{"id":"1286","locality":"BUNDEENA","postcode":"2230","state":"NSW"},"1287":{"id":"1287","locality":"BURRANEER","postcode":"2230","state":"NSW"},"1288":{"id":"1288","locality":"CRONULLA","postcode":"2230","state":"NSW"},"1289":{"id":"1289","locality":"GREENHILLS BEACH","postcode":"2230","state":"NSW"},"1290":{"id":"1290","locality":"MAIANBAR","postcode":"2230","state":"NSW"},"1291":{"id":"1291","locality":"WOOLOOWARE","postcode":"2230","state":"NSW"},"1292":{"id":"1292","locality":"KURNELL","postcode":"2231","state":"NSW"},"1293":{"id":"1293","locality":"AUDLEY","postcode":"2232","state":"NSW"},"1294":{"id":"1294","locality":"GARIE","postcode":"2232","state":"NSW"},"1295":{"id":"1295","locality":"GRAYS POINT","postcode":"2232","state":"NSW"},"1296":{"id":"1296","locality":"KAREELA","postcode":"2232","state":"NSW"},"1297":{"id":"1297","locality":"KIRRAWEE","postcode":"2232","state":"NSW"},"1298":{"id":"1298","locality":"LOFTUS","postcode":"2232","state":"NSW"},"1299":{"id":"1299","locality":"SUTHERLAND","postcode":"2232","state":"NSW"},"1300":{"id":"1300","locality":"WORONORA","postcode":"2232","state":"NSW"},"1301":{"id":"1301","locality":"ENGADINE","postcode":"2233","state":"NSW"},"1302":{"id":"1302","locality":"HEATHCOTE","postcode":"2233","state":"NSW"},"1303":{"id":"1303","locality":"WATERFALL","postcode":"2233","state":"NSW"},"1304":{"id":"1304","locality":"WORONORA HEIGHTS","postcode":"2233","state":"NSW"},"1305":{"id":"1305","locality":"YARRAWARRAH","postcode":"2233","state":"NSW"},"1306":{"id":"1306","locality":"ALFORDS POINT","postcode":"2234","state":"NSW"},"1307":{"id":"1307","locality":"BANGOR","postcode":"2234","state":"NSW"},"1308":{"id":"1308","locality":"BARDEN RIDGE","postcode":"2234","state":"NSW"},"1309":{"id":"1309","locality":"ILLAWONG","postcode":"2234","state":"NSW"},"1310":{"id":"1310","locality":"LUCAS HEIGHTS","postcode":"2234","state":"NSW"},"1311":{"id":"1311","locality":"MENAI","postcode":"2234","state":"NSW"},"1312":{"id":"1312","locality":"MENAI CENTRAL","postcode":"2234","state":"NSW"},"1313":{"id":"1313","locality":"BUCKETTY","postcode":"2250","state":"NSW"},"1314":{"id":"1314","locality":"CALGA","postcode":"2250","state":"NSW"},"1315":{"id":"1315","locality":"CENTRAL MANGROVE","postcode":"2250","state":"NSW"},"1316":{"id":"1316","locality":"EAST GOSFORD","postcode":"2250","state":"NSW"},"1317":{"id":"1317","locality":"ERINA","postcode":"2250","state":"NSW"},"1318":{"id":"1318","locality":"ERINA FAIR","postcode":"2250","state":"NSW"},"1319":{"id":"1319","locality":"GLENWORTH VALLEY","postcode":"2250","state":"NSW"},"1320":{"id":"1320","locality":"GOSFORD","postcode":"2250","state":"NSW"},"1321":{"id":"1321","locality":"GREENGROVE","postcode":"2250","state":"NSW"},"1322":{"id":"1322","locality":"HOLGATE","postcode":"2250","state":"NSW"},"1323":{"id":"1323","locality":"KARIONG","postcode":"2250","state":"NSW"},"1324":{"id":"1324","locality":"KULNURA","postcode":"2250","state":"NSW"},"1325":{"id":"1325","locality":"LISAROW","postcode":"2250","state":"NSW"},"1326":{"id":"1326","locality":"LOWER MANGROVE","postcode":"2250","state":"NSW"},"1327":{"id":"1327","locality":"MANGROVE CREEK","postcode":"2250","state":"NSW"},"1328":{"id":"1328","locality":"MANGROVE MOUNTAIN","postcode":"2250","state":"NSW"},"1329":{"id":"1329","locality":"MATCHAM","postcode":"2250","state":"NSW"},"1330":{"id":"1330","locality":"MOONEY MOONEY CREEK","postcode":"2250","state":"NSW"},"1331":{"id":"1331","locality":"MOUNT ELLIOT","postcode":"2250","state":"NSW"},"1332":{"id":"1332","locality":"MOUNT WHITE","postcode":"2250","state":"NSW"},"1333":{"id":"1333","locality":"NARARA","postcode":"2250","state":"NSW"},"1334":{"id":"1334","locality":"NIAGARA PARK","postcode":"2250","state":"NSW"},"1335":{"id":"1335","locality":"NORTH GOSFORD","postcode":"2250","state":"NSW"},"1336":{"id":"1336","locality":"PEATS RIDGE","postcode":"2250","state":"NSW"},"1337":{"id":"1337","locality":"POINT CLARE","postcode":"2250","state":"NSW"},"1338":{"id":"1338","locality":"POINT FREDERICK","postcode":"2250","state":"NSW"},"1339":{"id":"1339","locality":"SOMERSBY","postcode":"2250","state":"NSW"},"1340":{"id":"1340","locality":"SPRINGFIELD","postcode":"2250","state":"NSW"},"1341":{"id":"1341","locality":"TASCOTT","postcode":"2250","state":"NSW"},"1342":{"id":"1342","locality":"TEN MILE HOLLOW","postcode":"2250","state":"NSW"},"1343":{"id":"1343","locality":"UPPER MANGROVE","postcode":"2250","state":"NSW"},"1344":{"id":"1344","locality":"WENDOREE PARK","postcode":"2250","state":"NSW"},"1345":{"id":"1345","locality":"WEST GOSFORD","postcode":"2250","state":"NSW"},"1346":{"id":"1346","locality":"WYOMING","postcode":"2250","state":"NSW"},"1347":{"id":"1347","locality":"AVOCA BEACH","postcode":"2251","state":"NSW"},"1348":{"id":"1348","locality":"BENSVILLE","postcode":"2251","state":"NSW"},"1349":{"id":"1349","locality":"BOUDDI","postcode":"2251","state":"NSW"},"1350":{"id":"1350","locality":"COPACABANA","postcode":"2251","state":"NSW"},"1351":{"id":"1351","locality":"DAVISTOWN","postcode":"2251","state":"NSW"},"1352":{"id":"1352","locality":"GREEN POINT","postcode":"2251","state":"NSW"},"1353":{"id":"1353","locality":"KINCUMBER","postcode":"2251","state":"NSW"},"1354":{"id":"1354","locality":"KINCUMBER SOUTH","postcode":"2251","state":"NSW"},"1355":{"id":"1355","locality":"MACMASTERS BEACH","postcode":"2251","state":"NSW"},"1356":{"id":"1356","locality":"PICKETTS VALLEY","postcode":"2251","state":"NSW"},"1357":{"id":"1357","locality":"SARATOGA","postcode":"2251","state":"NSW"},"1358":{"id":"1358","locality":"YATTALUNGA","postcode":"2251","state":"NSW"},"1359":{"id":"1359","locality":"CENTRAL COAST MC","postcode":"2252","state":"NSW"},"1360":{"id":"1360","locality":"BLACKWALL","postcode":"2256","state":"NSW"},"1361":{"id":"1361","locality":"HORSFIELD BAY","postcode":"2256","state":"NSW"},"1362":{"id":"1362","locality":"KOOLEWONG","postcode":"2256","state":"NSW"},"1363":{"id":"1363","locality":"LITTLE WOBBY","postcode":"2256","state":"NSW"},"1364":{"id":"1364","locality":"PATONGA","postcode":"2256","state":"NSW"},"1365":{"id":"1365","locality":"PEARL BEACH","postcode":"2256","state":"NSW"},"1366":{"id":"1366","locality":"PHEGANS BAY","postcode":"2256","state":"NSW"},"1367":{"id":"1367","locality":"WONDABYNE","postcode":"2256","state":"NSW"},"1368":{"id":"1368","locality":"WOY WOY","postcode":"2256","state":"NSW"},"1369":{"id":"1369","locality":"WOY WOY BAY","postcode":"2256","state":"NSW"},"1370":{"id":"1370","locality":"BOOKER BAY","postcode":"2257","state":"NSW"},"1371":{"id":"1371","locality":"BOX HEAD","postcode":"2257","state":"NSW"},"1372":{"id":"1372","locality":"DALEYS POINT","postcode":"2257","state":"NSW"},"1373":{"id":"1373","locality":"EMPIRE BAY","postcode":"2257","state":"NSW"},"1374":{"id":"1374","locality":"ETTALONG BEACH","postcode":"2257","state":"NSW"},"1375":{"id":"1375","locality":"HARDYS BAY","postcode":"2257","state":"NSW"},"1376":{"id":"1376","locality":"KILLCARE","postcode":"2257","state":"NSW"},"1377":{"id":"1377","locality":"KILLCARE HEIGHTS","postcode":"2257","state":"NSW"},"1378":{"id":"1378","locality":"PRETTY BEACH","postcode":"2257","state":"NSW"},"1379":{"id":"1379","locality":"ST HUBERTS ISLAND","postcode":"2257","state":"NSW"},"1380":{"id":"1380","locality":"UMINA BEACH","postcode":"2257","state":"NSW"},"1381":{"id":"1381","locality":"WAGSTAFFE","postcode":"2257","state":"NSW"},"1382":{"id":"1382","locality":"FOUNTAINDALE","postcode":"2258","state":"NSW"},"1383":{"id":"1383","locality":"KANGY ANGY","postcode":"2258","state":"NSW"},"1384":{"id":"1384","locality":"OURIMBAH","postcode":"2258","state":"NSW"},"1385":{"id":"1385","locality":"PALM GROVE","postcode":"2258","state":"NSW"},"1386":{"id":"1386","locality":"PALMDALE","postcode":"2258","state":"NSW"},"1387":{"id":"1387","locality":"ALISON","postcode":"2259","state":"NSW"},"1388":{"id":"1388","locality":"BUSHELLS RIDGE","postcode":"2259","state":"NSW"},"1389":{"id":"1389","locality":"CEDAR BRUSH CREEK","postcode":"2259","state":"NSW"},"1390":{"id":"1390","locality":"CHAIN VALLEY BAY","postcode":"2259","state":"NSW"},"1391":{"id":"1391","locality":"CRANGAN BAY","postcode":"2259","state":"NSW"},"1392":{"id":"1392","locality":"DOORALONG","postcode":"2259","state":"NSW"},"1393":{"id":"1393","locality":"DURREN DURREN","postcode":"2259","state":"NSW"},"1394":{"id":"1394","locality":"FRAZER PARK","postcode":"2259","state":"NSW"},"1395":{"id":"1395","locality":"FREEMANS","postcode":"2259","state":"NSW"},"1396":{"id":"1396","locality":"GWANDALAN","postcode":"2259","state":"NSW"},"1397":{"id":"1397","locality":"HALLORAN","postcode":"2259","state":"NSW"},"1398":{"id":"1398","locality":"HAMLYN TERRACE","postcode":"2259","state":"NSW"},"1399":{"id":"1399","locality":"JILLIBY","postcode":"2259","state":"NSW"},"1400":{"id":"1400","locality":"KANWAL","postcode":"2259","state":"NSW"},"1401":{"id":"1401","locality":"KIAR","postcode":"2259","state":"NSW"},"1402":{"id":"1402","locality":"KINGFISHER SHORES","postcode":"2259","state":"NSW"},"1403":{"id":"1403","locality":"LAKE MUNMORAH","postcode":"2259","state":"NSW"},"1404":{"id":"1404","locality":"LEMON TREE","postcode":"2259","state":"NSW"},"1405":{"id":"1405","locality":"LITTLE JILLIBY","postcode":"2259","state":"NSW"},"1406":{"id":"1406","locality":"MANNERING PARK","postcode":"2259","state":"NSW"},"1407":{"id":"1407","locality":"MARDI","postcode":"2259","state":"NSW"},"1408":{"id":"1408","locality":"MOONEE","postcode":"2259","state":"NSW"},"1409":{"id":"1409","locality":"POINT WOLSTONCROFT","postcode":"2259","state":"NSW"},"1410":{"id":"1410","locality":"RAVENSDALE","postcode":"2259","state":"NSW"},"1411":{"id":"1411","locality":"ROCKY POINT","postcode":"2259","state":"NSW"},"1412":{"id":"1412","locality":"SUMMERLAND POINT","postcode":"2259","state":"NSW"},"1413":{"id":"1413","locality":"TACOMA","postcode":"2259","state":"NSW"},"1414":{"id":"1414","locality":"TACOMA SOUTH","postcode":"2259","state":"NSW"},"1415":{"id":"1415","locality":"TUGGERAH","postcode":"2259","state":"NSW"},"1416":{"id":"1416","locality":"TUGGERAWONG","postcode":"2259","state":"NSW"},"1417":{"id":"1417","locality":"WADALBA","postcode":"2259","state":"NSW"},"1418":{"id":"1418","locality":"WALLARAH","postcode":"2259","state":"NSW"},"1419":{"id":"1419","locality":"WARNERVALE","postcode":"2259","state":"NSW"},"1420":{"id":"1420","locality":"WATANOBBI","postcode":"2259","state":"NSW"},"1421":{"id":"1421","locality":"WOONGARRAH","postcode":"2259","state":"NSW"},"1422":{"id":"1422","locality":"WYBUNG","postcode":"2259","state":"NSW"},"1423":{"id":"1423","locality":"WYEE","postcode":"2259","state":"NSW"},"1424":{"id":"1424","locality":"WYEE POINT","postcode":"2259","state":"NSW"},"1425":{"id":"1425","locality":"WYONG","postcode":"2259","state":"NSW"},"1426":{"id":"1426","locality":"WYONG CREEK","postcode":"2259","state":"NSW"},"1427":{"id":"1427","locality":"WYONGAH","postcode":"2259","state":"NSW"},"1428":{"id":"1428","locality":"YARRAMALONG","postcode":"2259","state":"NSW"},"1429":{"id":"1429","locality":"ERINA HEIGHTS","postcode":"2260","state":"NSW"},"1430":{"id":"1430","locality":"FORRESTERS BEACH","postcode":"2260","state":"NSW"},"1431":{"id":"1431","locality":"NORTH AVOCA","postcode":"2260","state":"NSW"},"1432":{"id":"1432","locality":"TERRIGAL","postcode":"2260","state":"NSW"},"1433":{"id":"1433","locality":"WAMBERAL","postcode":"2260","state":"NSW"},"1434":{"id":"1434","locality":"BATEAU BAY","postcode":"2261","state":"NSW"},"1435":{"id":"1435","locality":"BAY VILLAGE","postcode":"2261","state":"NSW"},"1436":{"id":"1436","locality":"BERKELEY VALE","postcode":"2261","state":"NSW"},"1437":{"id":"1437","locality":"BLUE BAY","postcode":"2261","state":"NSW"},"1438":{"id":"1438","locality":"CHITTAWAY BAY","postcode":"2261","state":"NSW"},"1439":{"id":"1439","locality":"CHITTAWAY POINT","postcode":"2261","state":"NSW"},"1440":{"id":"1440","locality":"GLENNING VALLEY","postcode":"2261","state":"NSW"},"1441":{"id":"1441","locality":"KILLARNEY VALE","postcode":"2261","state":"NSW"},"1442":{"id":"1442","locality":"LONG JETTY","postcode":"2261","state":"NSW"},"1443":{"id":"1443","locality":"MAGENTA","postcode":"2261","state":"NSW"},"1444":{"id":"1444","locality":"SHELLY BEACH","postcode":"2261","state":"NSW"},"1445":{"id":"1445","locality":"THE ENTRANCE","postcode":"2261","state":"NSW"},"1446":{"id":"1446","locality":"THE ENTRANCE NORTH","postcode":"2261","state":"NSW"},"1447":{"id":"1447","locality":"TOOWOON BAY","postcode":"2261","state":"NSW"},"1448":{"id":"1448","locality":"TUMBI UMBI","postcode":"2261","state":"NSW"},"1449":{"id":"1449","locality":"BLUE HAVEN","postcode":"2262","state":"NSW"},"1450":{"id":"1450","locality":"BUDGEWOI","postcode":"2262","state":"NSW"},"1451":{"id":"1451","locality":"BUDGEWOI PENINSULA","postcode":"2262","state":"NSW"},"1452":{"id":"1452","locality":"BUFF POINT","postcode":"2262","state":"NSW"},"1453":{"id":"1453","locality":"COLONGRA","postcode":"2262","state":"NSW"},"1454":{"id":"1454","locality":"DOYALSON","postcode":"2262","state":"NSW"},"1455":{"id":"1455","locality":"DOYALSON NORTH","postcode":"2262","state":"NSW"},"1456":{"id":"1456","locality":"HALEKULANI","postcode":"2262","state":"NSW"},"1457":{"id":"1457","locality":"SAN REMO","postcode":"2262","state":"NSW"},"1458":{"id":"1458","locality":"CANTON BEACH","postcode":"2263","state":"NSW"},"1459":{"id":"1459","locality":"CHARMHAVEN","postcode":"2263","state":"NSW"},"1460":{"id":"1460","locality":"GOROKAN","postcode":"2263","state":"NSW"},"1461":{"id":"1461","locality":"LAKE HAVEN","postcode":"2263","state":"NSW"},"1462":{"id":"1462","locality":"NORAH HEAD","postcode":"2263","state":"NSW"},"1463":{"id":"1463","locality":"NORAVILLE","postcode":"2263","state":"NSW"},"1464":{"id":"1464","locality":"TOUKLEY","postcode":"2263","state":"NSW"},"1465":{"id":"1465","locality":"BALCOLYN","postcode":"2264","state":"NSW"},"1466":{"id":"1466","locality":"BONNELLS BAY","postcode":"2264","state":"NSW"},"1467":{"id":"1467","locality":"BRIGHTWATERS","postcode":"2264","state":"NSW"},"1468":{"id":"1468","locality":"DORA CREEK","postcode":"2264","state":"NSW"},"1469":{"id":"1469","locality":"ERARING","postcode":"2264","state":"NSW"},"1470":{"id":"1470","locality":"MANDALONG","postcode":"2264","state":"NSW"},"1471":{"id":"1471","locality":"MIRRABOOKA","postcode":"2264","state":"NSW"},"1472":{"id":"1472","locality":"MORISSET","postcode":"2264","state":"NSW"},"1473":{"id":"1473","locality":"MORISSET PARK","postcode":"2264","state":"NSW"},"1474":{"id":"1474","locality":"MYUNA BAY","postcode":"2264","state":"NSW"},"1475":{"id":"1475","locality":"SILVERWATER","postcode":"2264","state":"NSW"},"1476":{"id":"1476","locality":"SUNSHINE","postcode":"2264","state":"NSW"},"1477":{"id":"1477","locality":"WINDERMERE PARK","postcode":"2264","state":"NSW"},"1478":{"id":"1478","locality":"YARRAWONGA PARK","postcode":"2264","state":"NSW"},"1479":{"id":"1479","locality":"COORANBONG","postcode":"2265","state":"NSW"},"1480":{"id":"1480","locality":"MARTINSVILLE","postcode":"2265","state":"NSW"},"1481":{"id":"1481","locality":"WANGI WANGI","postcode":"2267","state":"NSW"},"1482":{"id":"1482","locality":"BARNSLEY","postcode":"2278","state":"NSW"},"1483":{"id":"1483","locality":"KILLINGWORTH","postcode":"2278","state":"NSW"},"1484":{"id":"1484","locality":"WAKEFIELD","postcode":"2278","state":"NSW"},"1485":{"id":"1485","locality":"BELMONT","postcode":"2280","state":"NSW"},"1486":{"id":"1486","locality":"BELMONT NORTH","postcode":"2280","state":"NSW"},"1487":{"id":"1487","locality":"BELMONT SOUTH","postcode":"2280","state":"NSW"},"1488":{"id":"1488","locality":"CROUDACE BAY","postcode":"2280","state":"NSW"},"1489":{"id":"1489","locality":"FLORAVILLE","postcode":"2280","state":"NSW"},"1490":{"id":"1490","locality":"JEWELLS","postcode":"2280","state":"NSW"},"1491":{"id":"1491","locality":"MARKS POINT","postcode":"2280","state":"NSW"},"1492":{"id":"1492","locality":"VALENTINE","postcode":"2280","state":"NSW"},"1493":{"id":"1493","locality":"BLACKSMITHS","postcode":"2281","state":"NSW"},"1494":{"id":"1494","locality":"CAMS WHARF","postcode":"2281","state":"NSW"},"1495":{"id":"1495","locality":"CATHERINE HILL BAY","postcode":"2281","state":"NSW"},"1496":{"id":"1496","locality":"CAVES BEACH","postcode":"2281","state":"NSW"},"1497":{"id":"1497","locality":"LITTLE PELICAN","postcode":"2281","state":"NSW"},"1498":{"id":"1498","locality":"MURRAYS BEACH","postcode":"2281","state":"NSW"},"1499":{"id":"1499","locality":"NORDS WHARF","postcode":"2281","state":"NSW"},"1500":{"id":"1500","locality":"PELICAN","postcode":"2281","state":"NSW"},"1501":{"id":"1501","locality":"PINNY BEACH","postcode":"2281","state":"NSW"},"1502":{"id":"1502","locality":"SWANSEA","postcode":"2281","state":"NSW"},"1503":{"id":"1503","locality":"SWANSEA HEADS","postcode":"2281","state":"NSW"},"1504":{"id":"1504","locality":"ELEEBANA","postcode":"2282","state":"NSW"},"1505":{"id":"1505","locality":"LAKELANDS","postcode":"2282","state":"NSW"},"1506":{"id":"1506","locality":"WARNERS BAY","postcode":"2282","state":"NSW"},"1507":{"id":"1507","locality":"ARCADIA VALE","postcode":"2283","state":"NSW"},"1508":{"id":"1508","locality":"AWABA","postcode":"2283","state":"NSW"},"1509":{"id":"1509","locality":"BALMORAL","postcode":"2283","state":"NSW"},"1510":{"id":"1510","locality":"BLACKALLS PARK","postcode":"2283","state":"NSW"},"1511":{"id":"1511","locality":"BOLTON POINT","postcode":"2283","state":"NSW"},"1512":{"id":"1512","locality":"BUTTABA","postcode":"2283","state":"NSW"},"1513":{"id":"1513","locality":"CAREY BAY","postcode":"2283","state":"NSW"},"1514":{"id":"1514","locality":"COAL POINT","postcode":"2283","state":"NSW"},"1515":{"id":"1515","locality":"FASSIFERN","postcode":"2283","state":"NSW"},"1516":{"id":"1516","locality":"FENNELL BAY","postcode":"2283","state":"NSW"},"1517":{"id":"1517","locality":"FISHING POINT","postcode":"2283","state":"NSW"},"1518":{"id":"1518","locality":"KILABEN BAY","postcode":"2283","state":"NSW"},"1519":{"id":"1519","locality":"RATHMINES","postcode":"2283","state":"NSW"},"1520":{"id":"1520","locality":"RYHOPE","postcode":"2283","state":"NSW"},"1521":{"id":"1521","locality":"TORONTO","postcode":"2283","state":"NSW"},"1522":{"id":"1522","locality":"ARGENTON","postcode":"2284","state":"NSW"},"1523":{"id":"1523","locality":"BOOLAROO","postcode":"2284","state":"NSW"},"1524":{"id":"1524","locality":"BOORAGUL","postcode":"2284","state":"NSW"},"1525":{"id":"1525","locality":"MARMONG POINT","postcode":"2284","state":"NSW"},"1526":{"id":"1526","locality":"SPEERS POINT","postcode":"2284","state":"NSW"},"1527":{"id":"1527","locality":"TERALBA","postcode":"2284","state":"NSW"},"1528":{"id":"1528","locality":"WOODRISING","postcode":"2284","state":"NSW"},"1529":{"id":"1529","locality":"CAMERON PARK","postcode":"2285","state":"NSW"},"1530":{"id":"1530","locality":"CARDIFF","postcode":"2285","state":"NSW"},"1531":{"id":"1531","locality":"CARDIFF HEIGHTS","postcode":"2285","state":"NSW"},"1532":{"id":"1532","locality":"CARDIFF SOUTH","postcode":"2285","state":"NSW"},"1533":{"id":"1533","locality":"EDGEWORTH","postcode":"2285","state":"NSW"},"1534":{"id":"1534","locality":"GLENDALE","postcode":"2285","state":"NSW"},"1535":{"id":"1535","locality":"MACQUARIE HILLS","postcode":"2285","state":"NSW"},"1536":{"id":"1536","locality":"HOLMESVILLE","postcode":"2286","state":"NSW"},"1537":{"id":"1537","locality":"SEAHAMPTON","postcode":"2286","state":"NSW"},"1538":{"id":"1538","locality":"WEST WALLSEND","postcode":"2286","state":"NSW"},"1539":{"id":"1539","locality":"BIRMINGHAM GARDENS","postcode":"2287","state":"NSW"},"1540":{"id":"1540","locality":"ELERMORE VALE","postcode":"2287","state":"NSW"},"1541":{"id":"1541","locality":"FLETCHER","postcode":"2287","state":"NSW"},"1542":{"id":"1542","locality":"MARYLAND","postcode":"2287","state":"NSW"},"1543":{"id":"1543","locality":"MINMI","postcode":"2287","state":"NSW"},"1544":{"id":"1544","locality":"RANKIN PARK","postcode":"2287","state":"NSW"},"1545":{"id":"1545","locality":"WALLSEND","postcode":"2287","state":"NSW"},"1546":{"id":"1546","locality":"WALLSEND SOUTH","postcode":"2287","state":"NSW"},"1547":{"id":"1547","locality":"ADAMSTOWN","postcode":"2289","state":"NSW"},"1548":{"id":"1548","locality":"ADAMSTOWN HEIGHTS","postcode":"2289","state":"NSW"},"1549":{"id":"1549","locality":"GARDEN SUBURB","postcode":"2289","state":"NSW"},"1550":{"id":"1550","locality":"HIGHFIELDS","postcode":"2289","state":"NSW"},"1551":{"id":"1551","locality":"KOTARA","postcode":"2289","state":"NSW"},"1552":{"id":"1552","locality":"KOTARA FAIR","postcode":"2289","state":"NSW"},"1553":{"id":"1553","locality":"KOTARA SOUTH","postcode":"2289","state":"NSW"},"1554":{"id":"1554","locality":"BENNETTS GREEN","postcode":"2290","state":"NSW"},"1555":{"id":"1555","locality":"CHARLESTOWN","postcode":"2290","state":"NSW"},"1556":{"id":"1556","locality":"DUDLEY","postcode":"2290","state":"NSW"},"1557":{"id":"1557","locality":"GATESHEAD","postcode":"2290","state":"NSW"},"1558":{"id":"1558","locality":"HILLSBOROUGH","postcode":"2290","state":"NSW"},"1559":{"id":"1559","locality":"KAHIBAH","postcode":"2290","state":"NSW"},"1560":{"id":"1560","locality":"MOUNT HUTTON","postcode":"2290","state":"NSW"},"1561":{"id":"1561","locality":"REDHEAD","postcode":"2290","state":"NSW"},"1562":{"id":"1562","locality":"TINGIRA HEIGHTS","postcode":"2290","state":"NSW"},"1563":{"id":"1563","locality":"WHITEBRIDGE","postcode":"2290","state":"NSW"},"1564":{"id":"1564","locality":"MEREWETHER","postcode":"2291","state":"NSW"},"1565":{"id":"1565","locality":"MEREWETHER HEIGHTS","postcode":"2291","state":"NSW"},"1566":{"id":"1566","locality":"THE JUNCTION","postcode":"2291","state":"NSW"},"1567":{"id":"1567","locality":"BROADMEADOW","postcode":"2292","state":"NSW"},"1568":{"id":"1568","locality":"HAMILTON NORTH","postcode":"2292","state":"NSW"},"1569":{"id":"1569","locality":"MARYVILLE","postcode":"2293","state":"NSW"},"1570":{"id":"1570","locality":"WICKHAM","postcode":"2293","state":"NSW"},"1571":{"id":"1571","locality":"CARRINGTON","postcode":"2294","state":"NSW"},"1572":{"id":"1572","locality":"FERN BAY","postcode":"2295","state":"NSW"},"1573":{"id":"1573","locality":"STOCKTON","postcode":"2295","state":"NSW"},"1574":{"id":"1574","locality":"ISLINGTON","postcode":"2296","state":"NSW"},"1575":{"id":"1575","locality":"TIGHES HILL","postcode":"2297","state":"NSW"},"1576":{"id":"1576","locality":"GEORGETOWN","postcode":"2298","state":"NSW"},"1577":{"id":"1577","locality":"WARATAH","postcode":"2298","state":"NSW"},"1578":{"id":"1578","locality":"WARATAH WEST","postcode":"2298","state":"NSW"},"1579":{"id":"1579","locality":"JESMOND","postcode":"2299","state":"NSW"},"1580":{"id":"1580","locality":"LAMBTON","postcode":"2299","state":"NSW"},"1581":{"id":"1581","locality":"NORTH LAMBTON","postcode":"2299","state":"NSW"},"1582":{"id":"1582","locality":"BAR BEACH","postcode":"2300","state":"NSW"},"1583":{"id":"1583","locality":"COOKS HILL","postcode":"2300","state":"NSW"},"1584":{"id":"1584","locality":"NEWCASTLE","postcode":"2300","state":"NSW"},"1585":{"id":"1585","locality":"NEWCASTLE EAST","postcode":"2300","state":"NSW"},"1586":{"id":"1586","locality":"THE HILL","postcode":"2300","state":"NSW"},"1587":{"id":"1587","locality":"NEWCASTLE WEST","postcode":"2302","state":"NSW"},"1588":{"id":"1588","locality":"HAMILTON","postcode":"2303","state":"NSW"},"1589":{"id":"1589","locality":"HAMILTON EAST","postcode":"2303","state":"NSW"},"1590":{"id":"1590","locality":"HAMILTON SOUTH","postcode":"2303","state":"NSW"},"1591":{"id":"1591","locality":"KOORAGANG","postcode":"2304","state":"NSW"},"1592":{"id":"1592","locality":"MAYFIELD","postcode":"2304","state":"NSW"},"1593":{"id":"1593","locality":"MAYFIELD EAST","postcode":"2304","state":"NSW"},"1594":{"id":"1594","locality":"MAYFIELD NORTH","postcode":"2304","state":"NSW"},"1595":{"id":"1595","locality":"MAYFIELD WEST","postcode":"2304","state":"NSW"},"1596":{"id":"1596","locality":"SANDGATE","postcode":"2304","state":"NSW"},"1597":{"id":"1597","locality":"WARABROOK","postcode":"2304","state":"NSW"},"1598":{"id":"1598","locality":"KOTARA EAST","postcode":"2305","state":"NSW"},"1599":{"id":"1599","locality":"NEW LAMBTON","postcode":"2305","state":"NSW"},"1600":{"id":"1600","locality":"NEW LAMBTON HEIGHTS","postcode":"2305","state":"NSW"},"1601":{"id":"1601","locality":"WINDALE","postcode":"2306","state":"NSW"},"1602":{"id":"1602","locality":"SHORTLAND","postcode":"2307","state":"NSW"},"1603":{"id":"1603","locality":"CALLAGHAN","postcode":"2308","state":"NSW"},"1604":{"id":"1604","locality":"NEWCASTLE UNIVERSITY","postcode":"2308","state":"NSW"},"1605":{"id":"1605","locality":"DANGAR","postcode":"2309","state":"NSW"},"1606":{"id":"1606","locality":"HUNTER REGION MC","postcode":"2310","state":"NSW"},"1607":{"id":"1607","locality":"ALLYNBROOK","postcode":"2311","state":"NSW"},"1608":{"id":"1608","locality":"BINGLEBURRA","postcode":"2311","state":"NSW"},"1609":{"id":"1609","locality":"CARRABOLLA","postcode":"2311","state":"NSW"},"1610":{"id":"1610","locality":"EAST GRESFORD","postcode":"2311","state":"NSW"},"1611":{"id":"1611","locality":"ECCLESTON","postcode":"2311","state":"NSW"},"1612":{"id":"1612","locality":"GRESFORD","postcode":"2311","state":"NSW"},"1613":{"id":"1613","locality":"HALTON","postcode":"2311","state":"NSW"},"1614":{"id":"1614","locality":"LEWINSBROOK","postcode":"2311","state":"NSW"},"1615":{"id":"1615","locality":"LOSTOCK","postcode":"2311","state":"NSW"},"1616":{"id":"1616","locality":"MOUNT RIVERS","postcode":"2311","state":"NSW"},"1617":{"id":"1617","locality":"UPPER ALLYN","postcode":"2311","state":"NSW"},"1618":{"id":"1618","locality":"MINIMBAH","postcode":"2312","state":"NSW"},"1619":{"id":"1619","locality":"NABIAC","postcode":"2312","state":"NSW"},"1620":{"id":"1620","locality":"WILLIAMTOWN RAAF","postcode":"2314","state":"NSW"},"1621":{"id":"1621","locality":"CORLETTE","postcode":"2315","state":"NSW"},"1622":{"id":"1622","locality":"FINGAL BAY","postcode":"2315","state":"NSW"},"1623":{"id":"1623","locality":"NELSON BAY","postcode":"2315","state":"NSW"},"1624":{"id":"1624","locality":"SHOAL BAY","postcode":"2315","state":"NSW"},"1625":{"id":"1625","locality":"ANNA BAY","postcode":"2316","state":"NSW"},"1626":{"id":"1626","locality":"BOAT HARBOUR","postcode":"2316","state":"NSW"},"1627":{"id":"1627","locality":"BOBS FARM","postcode":"2316","state":"NSW"},"1628":{"id":"1628","locality":"FISHERMANS BAY","postcode":"2316","state":"NSW"},"1629":{"id":"1629","locality":"ONE MILE","postcode":"2316","state":"NSW"},"1630":{"id":"1630","locality":"TAYLORS BEACH","postcode":"2316","state":"NSW"},"1631":{"id":"1631","locality":"SALAMANDER BAY","postcode":"2317","state":"NSW"},"1632":{"id":"1632","locality":"SOLDIERS POINT","postcode":"2317","state":"NSW"},"1633":{"id":"1633","locality":"CAMPVALE","postcode":"2318","state":"NSW"},"1634":{"id":"1634","locality":"FERODALE","postcode":"2318","state":"NSW"},"1635":{"id":"1635","locality":"FULLERTON COVE","postcode":"2318","state":"NSW"},"1636":{"id":"1636","locality":"MEDOWIE","postcode":"2318","state":"NSW"},"1637":{"id":"1637","locality":"OYSTER COVE","postcode":"2318","state":"NSW"},"1638":{"id":"1638","locality":"SALT ASH","postcode":"2318","state":"NSW"},"1639":{"id":"1639","locality":"WILLIAMTOWN","postcode":"2318","state":"NSW"},"1640":{"id":"1640","locality":"LEMON TREE PASSAGE","postcode":"2319","state":"NSW"},"1641":{"id":"1641","locality":"MALLABULA","postcode":"2319","state":"NSW"},"1642":{"id":"1642","locality":"TANILBA BAY","postcode":"2319","state":"NSW"},"1643":{"id":"1643","locality":"TILLIGERRY CREEK","postcode":"2319","state":"NSW"},"1644":{"id":"1644","locality":"ABERGLASSLYN","postcode":"2320","state":"NSW"},"1645":{"id":"1645","locality":"ALLANDALE","postcode":"2320","state":"NSW"},"1646":{"id":"1646","locality":"ANAMBAH","postcode":"2320","state":"NSW"},"1647":{"id":"1647","locality":"BOLWARRA","postcode":"2320","state":"NSW"},"1648":{"id":"1648","locality":"BOLWARRA HEIGHTS","postcode":"2320","state":"NSW"},"1649":{"id":"1649","locality":"FARLEY","postcode":"2320","state":"NSW"},"1650":{"id":"1650","locality":"GLEN OAK","postcode":"2320","state":"NSW"},"1651":{"id":"1651","locality":"GOSFORTH","postcode":"2320","state":"NSW"},"1652":{"id":"1652","locality":"HILLSBOROUGH","postcode":"2320","state":"NSW"},"1653":{"id":"1653","locality":"HORSESHOE BEND","postcode":"2320","state":"NSW"},"1654":{"id":"1654","locality":"KEINBAH","postcode":"2320","state":"NSW"},"1655":{"id":"1655","locality":"LARGS","postcode":"2320","state":"NSW"},"1656":{"id":"1656","locality":"LORN","postcode":"2320","state":"NSW"},"1657":{"id":"1657","locality":"LOUTH PARK","postcode":"2320","state":"NSW"},"1658":{"id":"1658","locality":"MAITLAND","postcode":"2320","state":"NSW"},"1659":{"id":"1659","locality":"MAITLAND NORTH","postcode":"2320","state":"NSW"},"1660":{"id":"1660","locality":"MAITLAND VALE","postcode":"2320","state":"NSW"},"1661":{"id":"1661","locality":"MELVILLE","postcode":"2320","state":"NSW"},"1662":{"id":"1662","locality":"MINDARIBBA","postcode":"2320","state":"NSW"},"1663":{"id":"1663","locality":"MOUNT DEE","postcode":"2320","state":"NSW"},"1664":{"id":"1664","locality":"OAKHAMPTON","postcode":"2320","state":"NSW"},"1665":{"id":"1665","locality":"OAKHAMPTON HEIGHTS","postcode":"2320","state":"NSW"},"1666":{"id":"1666","locality":"POKOLBIN","postcode":"2320","state":"NSW"},"1667":{"id":"1667","locality":"ROSEBROOK","postcode":"2320","state":"NSW"},"1668":{"id":"1668","locality":"ROTHBURY","postcode":"2320","state":"NSW"},"1669":{"id":"1669","locality":"RUTHERFORD","postcode":"2320","state":"NSW"},"1670":{"id":"1670","locality":"SOUTH MAITLAND","postcode":"2320","state":"NSW"},"1671":{"id":"1671","locality":"TELARAH","postcode":"2320","state":"NSW"},"1672":{"id":"1672","locality":"WALLALONG","postcode":"2320","state":"NSW"},"1673":{"id":"1673","locality":"WINDELLA","postcode":"2320","state":"NSW"},"1674":{"id":"1674","locality":"BERRY PARK","postcode":"2321","state":"NSW"},"1675":{"id":"1675","locality":"BUTTERWICK","postcode":"2321","state":"NSW"},"1676":{"id":"1676","locality":"CLARENCE TOWN","postcode":"2321","state":"NSW"},"1677":{"id":"1677","locality":"CLIFTLEIGH","postcode":"2321","state":"NSW"},"1678":{"id":"1678","locality":"DUCKENFIELD","postcode":"2321","state":"NSW"},"1679":{"id":"1679","locality":"DUNS CREEK","postcode":"2321","state":"NSW"},"1680":{"id":"1680","locality":"GILLIESTON HEIGHTS","postcode":"2321","state":"NSW"},"1681":{"id":"1681","locality":"GLEN MARTIN","postcode":"2321","state":"NSW"},"1682":{"id":"1682","locality":"GLEN WILLIAM","postcode":"2321","state":"NSW"},"1683":{"id":"1683","locality":"HARPERS HILL","postcode":"2321","state":"NSW"},"1684":{"id":"1684","locality":"HEDDON GRETA","postcode":"2321","state":"NSW"},"1685":{"id":"1685","locality":"HINTON","postcode":"2321","state":"NSW"},"1686":{"id":"1686","locality":"LOCHINVAR","postcode":"2321","state":"NSW"},"1687":{"id":"1687","locality":"LUSKINTYRE","postcode":"2321","state":"NSW"},"1688":{"id":"1688","locality":"MORPETH","postcode":"2321","state":"NSW"},"1689":{"id":"1689","locality":"OSWALD","postcode":"2321","state":"NSW"},"1690":{"id":"1690","locality":"PHOENIX PARK","postcode":"2321","state":"NSW"},"1691":{"id":"1691","locality":"RAWORTH","postcode":"2321","state":"NSW"},"1692":{"id":"1692","locality":"WINDERMERE","postcode":"2321","state":"NSW"},"1693":{"id":"1693","locality":"WOODVILLE","postcode":"2321","state":"NSW"},"1694":{"id":"1694","locality":"BERESFIELD","postcode":"2322","state":"NSW"},"1695":{"id":"1695","locality":"BLACK HILL","postcode":"2322","state":"NSW"},"1696":{"id":"1696","locality":"CHISHOLM","postcode":"2322","state":"NSW"},"1697":{"id":"1697","locality":"HEXHAM","postcode":"2322","state":"NSW"},"1698":{"id":"1698","locality":"LENAGHAN","postcode":"2322","state":"NSW"},"1699":{"id":"1699","locality":"STOCKRINGTON","postcode":"2322","state":"NSW"},"1700":{"id":"1700","locality":"TARRO","postcode":"2322","state":"NSW"},"1701":{"id":"1701","locality":"THORNTON","postcode":"2322","state":"NSW"},"1702":{"id":"1702","locality":"TOMAGO","postcode":"2322","state":"NSW"},"1703":{"id":"1703","locality":"WOODBERRY","postcode":"2322","state":"NSW"},"1704":{"id":"1704","locality":"ASHTONFIELD","postcode":"2323","state":"NSW"},"1705":{"id":"1705","locality":"BRUNKERVILLE","postcode":"2323","state":"NSW"},"1706":{"id":"1706","locality":"BUCHANAN","postcode":"2323","state":"NSW"},"1707":{"id":"1707","locality":"BUTTAI","postcode":"2323","state":"NSW"},"1708":{"id":"1708","locality":"EAST MAITLAND","postcode":"2323","state":"NSW"},"1709":{"id":"1709","locality":"FOUR MILE CREEK","postcode":"2323","state":"NSW"},"1710":{"id":"1710","locality":"FREEMANS WATERHOLE","postcode":"2323","state":"NSW"},"1711":{"id":"1711","locality":"GREEN HILLS","postcode":"2323","state":"NSW"},"1712":{"id":"1712","locality":"METFORD","postcode":"2323","state":"NSW"},"1713":{"id":"1713","locality":"METFORD DC","postcode":"2323","state":"NSW"},"1714":{"id":"1714","locality":"MOUNT VINCENT","postcode":"2323","state":"NSW"},"1715":{"id":"1715","locality":"MULBRING","postcode":"2323","state":"NSW"},"1716":{"id":"1716","locality":"PITNACREE","postcode":"2323","state":"NSW"},"1717":{"id":"1717","locality":"RICHMOND VALE","postcode":"2323","state":"NSW"},"1718":{"id":"1718","locality":"TENAMBIT","postcode":"2323","state":"NSW"},"1719":{"id":"1719","locality":"BALICKERA","postcode":"2324","state":"NSW"},"1720":{"id":"1720","locality":"BRANDY HILL","postcode":"2324","state":"NSW"},"1721":{"id":"1721","locality":"BUNDABAH","postcode":"2324","state":"NSW"},"1722":{"id":"1722","locality":"CARRINGTON","postcode":"2324","state":"NSW"},"1723":{"id":"1723","locality":"EAGLETON","postcode":"2324","state":"NSW"},"1724":{"id":"1724","locality":"EAST SEAHAM","postcode":"2324","state":"NSW"},"1725":{"id":"1725","locality":"HAWKS NEST","postcode":"2324","state":"NSW"},"1726":{"id":"1726","locality":"HEATHERBRAE","postcode":"2324","state":"NSW"},"1727":{"id":"1727","locality":"KARUAH","postcode":"2324","state":"NSW"},"1728":{"id":"1728","locality":"LIMEBURNERS CREEK","postcode":"2324","state":"NSW"},"1729":{"id":"1729","locality":"MILLERS FOREST","postcode":"2324","state":"NSW"},"1730":{"id":"1730","locality":"NELSONS PLAINS","postcode":"2324","state":"NSW"},"1731":{"id":"1731","locality":"NORTH ARM COVE","postcode":"2324","state":"NSW"},"1732":{"id":"1732","locality":"OSTERLEY","postcode":"2324","state":"NSW"},"1733":{"id":"1733","locality":"PINDIMAR","postcode":"2324","state":"NSW"},"1734":{"id":"1734","locality":"RAYMOND TERRACE","postcode":"2324","state":"NSW"},"1735":{"id":"1735","locality":"RAYMOND TERRACE EAST","postcode":"2324","state":"NSW"},"1736":{"id":"1736","locality":"SEAHAM","postcode":"2324","state":"NSW"},"1737":{"id":"1737","locality":"SWAN BAY","postcode":"2324","state":"NSW"},"1738":{"id":"1738","locality":"TAHLEE","postcode":"2324","state":"NSW"},"1739":{"id":"1739","locality":"TEA GARDENS","postcode":"2324","state":"NSW"},"1740":{"id":"1740","locality":"TWELVE MILE CREEK","postcode":"2324","state":"NSW"},"1741":{"id":"1741","locality":"ABERDARE","postcode":"2325","state":"NSW"},"1742":{"id":"1742","locality":"ABERNETHY","postcode":"2325","state":"NSW"},"1743":{"id":"1743","locality":"BELLBIRD","postcode":"2325","state":"NSW"},"1744":{"id":"1744","locality":"BELLBIRD HEIGHTS","postcode":"2325","state":"NSW"},"1745":{"id":"1745","locality":"CEDAR CREEK","postcode":"2325","state":"NSW"},"1746":{"id":"1746","locality":"CESSNOCK","postcode":"2325","state":"NSW"},"1747":{"id":"1747","locality":"CESSNOCK WEST","postcode":"2325","state":"NSW"},"1748":{"id":"1748","locality":"CONGEWAI","postcode":"2325","state":"NSW"},"1749":{"id":"1749","locality":"CORRABARE","postcode":"2325","state":"NSW"},"1750":{"id":"1750","locality":"ELLALONG","postcode":"2325","state":"NSW"},"1751":{"id":"1751","locality":"ELRINGTON","postcode":"2325","state":"NSW"},"1752":{"id":"1752","locality":"GRETA MAIN","postcode":"2325","state":"NSW"},"1753":{"id":"1753","locality":"KEARSLEY","postcode":"2325","state":"NSW"},"1754":{"id":"1754","locality":"KITCHENER","postcode":"2325","state":"NSW"},"1755":{"id":"1755","locality":"LAGUNA","postcode":"2325","state":"NSW"},"1756":{"id":"1756","locality":"LOVEDALE","postcode":"2325","state":"NSW"},"1757":{"id":"1757","locality":"MILLFIELD","postcode":"2325","state":"NSW"},"1758":{"id":"1758","locality":"MORUBEN","postcode":"2325","state":"NSW"},"1759":{"id":"1759","locality":"MOUNT VIEW","postcode":"2325","state":"NSW"},"1760":{"id":"1760","locality":"NULKABA","postcode":"2325","state":"NSW"},"1761":{"id":"1761","locality":"OLNEY","postcode":"2325","state":"NSW"},"1762":{"id":"1762","locality":"PAXTON","postcode":"2325","state":"NSW"},"1763":{"id":"1763","locality":"PAYNES CROSSING","postcode":"2325","state":"NSW"},"1764":{"id":"1764","locality":"PELTON","postcode":"2325","state":"NSW"},"1765":{"id":"1765","locality":"QUORROBOLONG","postcode":"2325","state":"NSW"},"1766":{"id":"1766","locality":"SWEETMANS CREEK","postcode":"2325","state":"NSW"},"1767":{"id":"1767","locality":"WOLLOMBI","postcode":"2325","state":"NSW"},"1768":{"id":"1768","locality":"ABERMAIN","postcode":"2326","state":"NSW"},"1769":{"id":"1769","locality":"BISHOPS BRIDGE","postcode":"2326","state":"NSW"},"1770":{"id":"1770","locality":"LOXFORD","postcode":"2326","state":"NSW"},"1771":{"id":"1771","locality":"NEATH","postcode":"2326","state":"NSW"},"1772":{"id":"1772","locality":"SAWYERS GULLY","postcode":"2326","state":"NSW"},"1773":{"id":"1773","locality":"WESTON","postcode":"2326","state":"NSW"},"1774":{"id":"1774","locality":"KURRI KURRI","postcode":"2327","state":"NSW"},"1775":{"id":"1775","locality":"PELAW MAIN","postcode":"2327","state":"NSW"},"1776":{"id":"1776","locality":"STANFORD MERTHYR","postcode":"2327","state":"NSW"},"1777":{"id":"1777","locality":"BUREEN","postcode":"2328","state":"NSW"},"1778":{"id":"1778","locality":"DALSWINTON","postcode":"2328","state":"NSW"},"1779":{"id":"1779","locality":"DENMAN","postcode":"2328","state":"NSW"},"1780":{"id":"1780","locality":"GIANTS CREEK","postcode":"2328","state":"NSW"},"1781":{"id":"1781","locality":"HOLLYDEEN","postcode":"2328","state":"NSW"},"1782":{"id":"1782","locality":"KERRABEE","postcode":"2328","state":"NSW"},"1783":{"id":"1783","locality":"MANGOOLA","postcode":"2328","state":"NSW"},"1784":{"id":"1784","locality":"MARTINDALE","postcode":"2328","state":"NSW"},"1785":{"id":"1785","locality":"WIDDEN","postcode":"2328","state":"NSW"},"1786":{"id":"1786","locality":"YARRAWA","postcode":"2328","state":"NSW"},"1787":{"id":"1787","locality":"CASSILIS","postcode":"2329","state":"NSW"},"1788":{"id":"1788","locality":"MERRIWA","postcode":"2329","state":"NSW"},"1789":{"id":"1789","locality":"UARBRY","postcode":"2329","state":"NSW"},"1790":{"id":"1790","locality":"APPLETREE FLAT","postcode":"2330","state":"NSW"},"1791":{"id":"1791","locality":"BIG RIDGE","postcode":"2330","state":"NSW"},"1792":{"id":"1792","locality":"BIG YENGO","postcode":"2330","state":"NSW"},"1793":{"id":"1793","locality":"BOWMANS CREEK","postcode":"2330","state":"NSW"},"1794":{"id":"1794","locality":"BRIDGMAN","postcode":"2330","state":"NSW"},"1795":{"id":"1795","locality":"BROKE","postcode":"2330","state":"NSW"},"1796":{"id":"1796","locality":"BULGA","postcode":"2330","state":"NSW"},"1797":{"id":"1797","locality":"CAMBERWELL","postcode":"2330","state":"NSW"},"1798":{"id":"1798","locality":"CARROWBROOK","postcode":"2330","state":"NSW"},"1799":{"id":"1799","locality":"CLYDESDALE","postcode":"2330","state":"NSW"},"1800":{"id":"1800","locality":"COMBO","postcode":"2330","state":"NSW"},"1801":{"id":"1801","locality":"DARLINGTON","postcode":"2330","state":"NSW"},"1802":{"id":"1802","locality":"DOYLES CREEK","postcode":"2330","state":"NSW"},"1803":{"id":"1803","locality":"DUNOLLY","postcode":"2330","state":"NSW"},"1804":{"id":"1804","locality":"DURAL","postcode":"2330","state":"NSW"},"1805":{"id":"1805","locality":"DYRRING","postcode":"2330","state":"NSW"},"1806":{"id":"1806","locality":"FALBROOK","postcode":"2330","state":"NSW"},"1807":{"id":"1807","locality":"FERN GULLY","postcode":"2330","state":"NSW"},"1808":{"id":"1808","locality":"FORDWICH","postcode":"2330","state":"NSW"},"1809":{"id":"1809","locality":"GARLAND VALLEY","postcode":"2330","state":"NSW"},"1810":{"id":"1810","locality":"GLENDON","postcode":"2330","state":"NSW"},"1811":{"id":"1811","locality":"GLENDON BROOK","postcode":"2330","state":"NSW"},"1812":{"id":"1812","locality":"GLENNIES CREEK","postcode":"2330","state":"NSW"},"1813":{"id":"1813","locality":"GLENRIDDING","postcode":"2330","state":"NSW"},"1814":{"id":"1814","locality":"GOORANGOOLA","postcode":"2330","state":"NSW"},"1815":{"id":"1815","locality":"GOULDSVILLE","postcode":"2330","state":"NSW"},"1816":{"id":"1816","locality":"GOWRIE","postcode":"2330","state":"NSW"},"1817":{"id":"1817","locality":"GREENLANDS","postcode":"2330","state":"NSW"},"1818":{"id":"1818","locality":"HAMBLEDON HILL","postcode":"2330","state":"NSW"},"1819":{"id":"1819","locality":"HEBDEN","postcode":"2330","state":"NSW"},"1820":{"id":"1820","locality":"HOWES VALLEY","postcode":"2330","state":"NSW"},"1821":{"id":"1821","locality":"HOWICK","postcode":"2330","state":"NSW"},"1822":{"id":"1822","locality":"HUNTERVIEW","postcode":"2330","state":"NSW"},"1823":{"id":"1823","locality":"JERRYS PLAINS","postcode":"2330","state":"NSW"},"1824":{"id":"1824","locality":"LEMINGTON","postcode":"2330","state":"NSW"},"1825":{"id":"1825","locality":"LONG POINT","postcode":"2330","state":"NSW"},"1826":{"id":"1826","locality":"MAISON DIEU","postcode":"2330","state":"NSW"},"1827":{"id":"1827","locality":"MCDOUGALLS HILL","postcode":"2330","state":"NSW"},"1828":{"id":"1828","locality":"MIDDLE FALBROOK","postcode":"2330","state":"NSW"},"1829":{"id":"1829","locality":"MILBRODALE","postcode":"2330","state":"NSW"},"1830":{"id":"1830","locality":"MIRANNIE","postcode":"2330","state":"NSW"},"1831":{"id":"1831","locality":"MITCHELLS FLAT","postcode":"2330","state":"NSW"},"1832":{"id":"1832","locality":"MOUNT OLIVE","postcode":"2330","state":"NSW"},"1833":{"id":"1833","locality":"MOUNT ROYAL","postcode":"2330","state":"NSW"},"1834":{"id":"1834","locality":"MOUNT THORLEY","postcode":"2330","state":"NSW"},"1835":{"id":"1835","locality":"OBANVALE","postcode":"2330","state":"NSW"},"1836":{"id":"1836","locality":"PUTTY","postcode":"2330","state":"NSW"},"1837":{"id":"1837","locality":"RAVENSWORTH","postcode":"2330","state":"NSW"},"1838":{"id":"1838","locality":"REDBOURNBERRY","postcode":"2330","state":"NSW"},"1839":{"id":"1839","locality":"REEDY CREEK","postcode":"2330","state":"NSW"},"1840":{"id":"1840","locality":"RIXS CREEK","postcode":"2330","state":"NSW"},"1841":{"id":"1841","locality":"ROUGHIT","postcode":"2330","state":"NSW"},"1842":{"id":"1842","locality":"SCOTTS FLAT","postcode":"2330","state":"NSW"},"1843":{"id":"1843","locality":"SEDGEFIELD","postcode":"2330","state":"NSW"},"1844":{"id":"1844","locality":"SINGLETON","postcode":"2330","state":"NSW"},"1845":{"id":"1845","locality":"SINGLETON HEIGHTS","postcode":"2330","state":"NSW"},"1846":{"id":"1846","locality":"ST CLAIR","postcode":"2330","state":"NSW"},"1847":{"id":"1847","locality":"WARKWORTH","postcode":"2330","state":"NSW"},"1848":{"id":"1848","locality":"WATTLE PONDS","postcode":"2330","state":"NSW"},"1849":{"id":"1849","locality":"WESTBROOK","postcode":"2330","state":"NSW"},"1850":{"id":"1850","locality":"WHITTINGHAM","postcode":"2330","state":"NSW"},"1851":{"id":"1851","locality":"WOLLEMI","postcode":"2330","state":"NSW"},"1852":{"id":"1852","locality":"WYLIES FLAT","postcode":"2330","state":"NSW"},"1853":{"id":"1853","locality":"SINGLETON MILITARY AREA","postcode":"2331","state":"NSW"},"1854":{"id":"1854","locality":"SINGLETON MILPO","postcode":"2331","state":"NSW"},"1855":{"id":"1855","locality":"BAERAMI","postcode":"2333","state":"NSW"},"1856":{"id":"1856","locality":"BAERAMI CREEK","postcode":"2333","state":"NSW"},"1857":{"id":"1857","locality":"BENGALLA","postcode":"2333","state":"NSW"},"1858":{"id":"1858","locality":"CASTLE ROCK","postcode":"2333","state":"NSW"},"1859":{"id":"1859","locality":"EDDERTON","postcode":"2333","state":"NSW"},"1860":{"id":"1860","locality":"GUNGAL","postcode":"2333","state":"NSW"},"1861":{"id":"1861","locality":"KAYUGA","postcode":"2333","state":"NSW"},"1862":{"id":"1862","locality":"LIDDELL","postcode":"2333","state":"NSW"},"1863":{"id":"1863","locality":"MANOBALAI","postcode":"2333","state":"NSW"},"1864":{"id":"1864","locality":"MCCULLYS GAP","postcode":"2333","state":"NSW"},"1865":{"id":"1865","locality":"MUSCLE CREEK","postcode":"2333","state":"NSW"},"1866":{"id":"1866","locality":"MUSWELLBROOK","postcode":"2333","state":"NSW"},"1867":{"id":"1867","locality":"SANDY HOLLOW","postcode":"2333","state":"NSW"},"1868":{"id":"1868","locality":"WYBONG","postcode":"2333","state":"NSW"},"1869":{"id":"1869","locality":"GRETA","postcode":"2334","state":"NSW"},"1870":{"id":"1870","locality":"BELFORD","postcode":"2335","state":"NSW"},"1871":{"id":"1871","locality":"BRANXTON","postcode":"2335","state":"NSW"},"1872":{"id":"1872","locality":"DALWOOD","postcode":"2335","state":"NSW"},"1873":{"id":"1873","locality":"EAST BRANXTON","postcode":"2335","state":"NSW"},"1874":{"id":"1874","locality":"ELDERSLIE","postcode":"2335","state":"NSW"},"1875":{"id":"1875","locality":"LAMBS VALLEY","postcode":"2335","state":"NSW"},"1876":{"id":"1876","locality":"LECONFIELD","postcode":"2335","state":"NSW"},"1877":{"id":"1877","locality":"LOWER BELFORD","postcode":"2335","state":"NSW"},"1878":{"id":"1878","locality":"NORTH ROTHBURY","postcode":"2335","state":"NSW"},"1879":{"id":"1879","locality":"STANHOPE","postcode":"2335","state":"NSW"},"1880":{"id":"1880","locality":"ABERDEEN","postcode":"2336","state":"NSW"},"1881":{"id":"1881","locality":"DARTBROOK","postcode":"2336","state":"NSW"},"1882":{"id":"1882","locality":"DAVIS CREEK","postcode":"2336","state":"NSW"},"1883":{"id":"1883","locality":"ROSSGOLE","postcode":"2336","state":"NSW"},"1884":{"id":"1884","locality":"ROUCHEL","postcode":"2336","state":"NSW"},"1885":{"id":"1885","locality":"ROUCHEL BROOK","postcode":"2336","state":"NSW"},"1886":{"id":"1886","locality":"UPPER DARTBROOK","postcode":"2336","state":"NSW"},"1887":{"id":"1887","locality":"UPPER ROUCHEL","postcode":"2336","state":"NSW"},"1888":{"id":"1888","locality":"BELLTREES","postcode":"2337","state":"NSW"},"1889":{"id":"1889","locality":"BRAWBOY","postcode":"2337","state":"NSW"},"1890":{"id":"1890","locality":"BUNNAN","postcode":"2337","state":"NSW"},"1891":{"id":"1891","locality":"DRY CREEK","postcode":"2337","state":"NSW"},"1892":{"id":"1892","locality":"ELLERSTON","postcode":"2337","state":"NSW"},"1893":{"id":"1893","locality":"GLENBAWN","postcode":"2337","state":"NSW"},"1894":{"id":"1894","locality":"GLENROCK","postcode":"2337","state":"NSW"},"1895":{"id":"1895","locality":"GUNDY","postcode":"2337","state":"NSW"},"1896":{"id":"1896","locality":"KARS SPRINGS","postcode":"2337","state":"NSW"},"1897":{"id":"1897","locality":"MIDDLE BROOK","postcode":"2337","state":"NSW"},"1898":{"id":"1898","locality":"MOOBI","postcode":"2337","state":"NSW"},"1899":{"id":"1899","locality":"MOONAN BROOK","postcode":"2337","state":"NSW"},"1900":{"id":"1900","locality":"MOONAN FLAT","postcode":"2337","state":"NSW"},"1901":{"id":"1901","locality":"MURULLA","postcode":"2337","state":"NSW"},"1902":{"id":"1902","locality":"OMADALE","postcode":"2337","state":"NSW"},"1903":{"id":"1903","locality":"OWENS GAP","postcode":"2337","state":"NSW"},"1904":{"id":"1904","locality":"PAGES CREEK","postcode":"2337","state":"NSW"},"1905":{"id":"1905","locality":"PARKVILLE","postcode":"2337","state":"NSW"},"1906":{"id":"1906","locality":"SCONE","postcode":"2337","state":"NSW"},"1907":{"id":"1907","locality":"SEGENHOE","postcode":"2337","state":"NSW"},"1908":{"id":"1908","locality":"STEWARTS BROOK","postcode":"2337","state":"NSW"},"1909":{"id":"1909","locality":"TOMALLA","postcode":"2337","state":"NSW"},"1910":{"id":"1910","locality":"WAVERLY","postcode":"2337","state":"NSW"},"1911":{"id":"1911","locality":"WINGEN","postcode":"2337","state":"NSW"},"1912":{"id":"1912","locality":"WOOLOOMA","postcode":"2337","state":"NSW"},"1913":{"id":"1913","locality":"ARDGLEN","postcode":"2338","state":"NSW"},"1914":{"id":"1914","locality":"BLANDFORD","postcode":"2338","state":"NSW"},"1915":{"id":"1915","locality":"CRAWNEY","postcode":"2338","state":"NSW"},"1916":{"id":"1916","locality":"GREEN CREEK","postcode":"2338","state":"NSW"},"1917":{"id":"1917","locality":"MURRURUNDI","postcode":"2338","state":"NSW"},"1918":{"id":"1918","locality":"PAGES RIVER","postcode":"2338","state":"NSW"},"1919":{"id":"1919","locality":"SANDY CREEK","postcode":"2338","state":"NSW"},"1920":{"id":"1920","locality":"SCOTTS CREEK","postcode":"2338","state":"NSW"},"1921":{"id":"1921","locality":"TIMOR","postcode":"2338","state":"NSW"},"1922":{"id":"1922","locality":"BIG JACKS CREEK","postcode":"2339","state":"NSW"},"1923":{"id":"1923","locality":"BRAEFIELD","postcode":"2339","state":"NSW"},"1924":{"id":"1924","locality":"CATTLE CREEK","postcode":"2339","state":"NSW"},"1925":{"id":"1925","locality":"CHILCOTTS CREEK","postcode":"2339","state":"NSW"},"1926":{"id":"1926","locality":"LITTLE JACKS CREEK","postcode":"2339","state":"NSW"},"1927":{"id":"1927","locality":"MACDONALDS CREEK","postcode":"2339","state":"NSW"},"1928":{"id":"1928","locality":"PARRAWEENA","postcode":"2339","state":"NSW"},"1929":{"id":"1929","locality":"WARRAH","postcode":"2339","state":"NSW"},"1930":{"id":"1930","locality":"WARRAH CREEK","postcode":"2339","state":"NSW"},"1931":{"id":"1931","locality":"WILLOW TREE","postcode":"2339","state":"NSW"},"1932":{"id":"1932","locality":"APPLEBY","postcode":"2340","state":"NSW"},"1933":{"id":"1933","locality":"BARRY","postcode":"2340","state":"NSW"},"1934":{"id":"1934","locality":"BECTIVE","postcode":"2340","state":"NSW"},"1935":{"id":"1935","locality":"BITHRAMERE","postcode":"2340","state":"NSW"},"1936":{"id":"1936","locality":"BOWLING ALLEY POINT","postcode":"2340","state":"NSW"},"1937":{"id":"1937","locality":"CALALA","postcode":"2340","state":"NSW"},"1938":{"id":"1938","locality":"CARROLL","postcode":"2340","state":"NSW"},"1939":{"id":"1939","locality":"DARUKA","postcode":"2340","state":"NSW"},"1940":{"id":"1940","locality":"DUNCANS CREEK","postcode":"2340","state":"NSW"},"1941":{"id":"1941","locality":"DUNGOWAN","postcode":"2340","state":"NSW"},"1942":{"id":"1942","locality":"EAST TAMWORTH","postcode":"2340","state":"NSW"},"1943":{"id":"1943","locality":"GAROO","postcode":"2340","state":"NSW"},"1944":{"id":"1944","locality":"GIDLEY","postcode":"2340","state":"NSW"},"1945":{"id":"1945","locality":"GOONOO GOONOO","postcode":"2340","state":"NSW"},"1946":{"id":"1946","locality":"GOWRIE","postcode":"2340","state":"NSW"},"1947":{"id":"1947","locality":"HALLSVILLE","postcode":"2340","state":"NSW"},"1948":{"id":"1948","locality":"HANGING ROCK","postcode":"2340","state":"NSW"},"1949":{"id":"1949","locality":"HILLVUE","postcode":"2340","state":"NSW"},"1950":{"id":"1950","locality":"KEEPIT","postcode":"2340","state":"NSW"},"1951":{"id":"1951","locality":"KINGSWOOD","postcode":"2340","state":"NSW"},"1952":{"id":"1952","locality":"LOOMBERAH","postcode":"2340","state":"NSW"},"1953":{"id":"1953","locality":"MOORE CREEK","postcode":"2340","state":"NSW"},"1954":{"id":"1954","locality":"NEMINGHA","postcode":"2340","state":"NSW"},"1955":{"id":"1955","locality":"NORTH TAMWORTH","postcode":"2340","state":"NSW"},"1956":{"id":"1956","locality":"NUNDLE","postcode":"2340","state":"NSW"},"1957":{"id":"1957","locality":"OGUNBIL","postcode":"2340","state":"NSW"},"1958":{"id":"1958","locality":"OXLEY VALE","postcode":"2340","state":"NSW"},"1959":{"id":"1959","locality":"PIALLAMORE","postcode":"2340","state":"NSW"},"1960":{"id":"1960","locality":"SOMERTON","postcode":"2340","state":"NSW"},"1961":{"id":"1961","locality":"SOUTH TAMWORTH","postcode":"2340","state":"NSW"},"1962":{"id":"1962","locality":"TAMINDA","postcode":"2340","state":"NSW"},"1963":{"id":"1963","locality":"TAMWORTH","postcode":"2340","state":"NSW"},"1964":{"id":"1964","locality":"TIMBUMBURI","postcode":"2340","state":"NSW"},"1965":{"id":"1965","locality":"WALLAMORE","postcode":"2340","state":"NSW"},"1966":{"id":"1966","locality":"WARRAL","postcode":"2340","state":"NSW"},"1967":{"id":"1967","locality":"WEABONGA","postcode":"2340","state":"NSW"},"1968":{"id":"1968","locality":"WEST TAMWORTH","postcode":"2340","state":"NSW"},"1969":{"id":"1969","locality":"WESTDALE","postcode":"2340","state":"NSW"},"1970":{"id":"1970","locality":"WOOLOMIN","postcode":"2340","state":"NSW"},"1971":{"id":"1971","locality":"WERRIS CREEK","postcode":"2341","state":"NSW"},"1972":{"id":"1972","locality":"CURRABUBULA","postcode":"2342","state":"NSW"},"1973":{"id":"1973","locality":"PIALLAWAY","postcode":"2342","state":"NSW"},"1974":{"id":"1974","locality":"BLACKVILLE","postcode":"2343","state":"NSW"},"1975":{"id":"1975","locality":"BORAMBIL","postcode":"2343","state":"NSW"},"1976":{"id":"1976","locality":"BUNDELLA","postcode":"2343","state":"NSW"},"1977":{"id":"1977","locality":"CAROONA","postcode":"2343","state":"NSW"},"1978":{"id":"1978","locality":"COLLY BLUE","postcode":"2343","state":"NSW"},"1979":{"id":"1979","locality":"COOMOO COOMOO","postcode":"2343","state":"NSW"},"1980":{"id":"1980","locality":"PINE RIDGE","postcode":"2343","state":"NSW"},"1981":{"id":"1981","locality":"QUIPOLLY","postcode":"2343","state":"NSW"},"1982":{"id":"1982","locality":"QUIRINDI","postcode":"2343","state":"NSW"},"1983":{"id":"1983","locality":"SPRING RIDGE","postcode":"2343","state":"NSW"},"1984":{"id":"1984","locality":"WALLABADAH","postcode":"2343","state":"NSW"},"1985":{"id":"1985","locality":"WARRAH RIDGE","postcode":"2343","state":"NSW"},"1986":{"id":"1986","locality":"WINDY","postcode":"2343","state":"NSW"},"1987":{"id":"1987","locality":"YANNERGEE","postcode":"2343","state":"NSW"},"1988":{"id":"1988","locality":"YARRAMAN","postcode":"2343","state":"NSW"},"1989":{"id":"1989","locality":"DURI","postcode":"2344","state":"NSW"},"1990":{"id":"1990","locality":"WINTON","postcode":"2344","state":"NSW"},"1991":{"id":"1991","locality":"ATTUNGA","postcode":"2345","state":"NSW"},"1992":{"id":"1992","locality":"GARTHOWEN","postcode":"2345","state":"NSW"},"1993":{"id":"1993","locality":"BORAH CREEK","postcode":"2346","state":"NSW"},"1994":{"id":"1994","locality":"HALLS CREEK","postcode":"2346","state":"NSW"},"1995":{"id":"1995","locality":"KLORI","postcode":"2346","state":"NSW"},"1996":{"id":"1996","locality":"MANILLA","postcode":"2346","state":"NSW"},"1997":{"id":"1997","locality":"NAMOI RIVER","postcode":"2346","state":"NSW"},"1998":{"id":"1998","locality":"NEW MEXICO","postcode":"2346","state":"NSW"},"1999":{"id":"1999","locality":"RUSHES CREEK","postcode":"2346","state":"NSW"},"2000":{"id":"2000","locality":"UPPER MANILLA","postcode":"2346","state":"NSW"},"2001":{"id":"2001","locality":"WARRABAH","postcode":"2346","state":"NSW"},"2002":{"id":"2002","locality":"WIMBORNE","postcode":"2346","state":"NSW"},"2003":{"id":"2003","locality":"WONGO CREEK","postcode":"2346","state":"NSW"},"2004":{"id":"2004","locality":"BANOON","postcode":"2347","state":"NSW"},"2005":{"id":"2005","locality":"BARRABA","postcode":"2347","state":"NSW"},"2006":{"id":"2006","locality":"COBBADAH","postcode":"2347","state":"NSW"},"2007":{"id":"2007","locality":"GULF CREEK","postcode":"2347","state":"NSW"},"2008":{"id":"2008","locality":"GUNDAMULDA","postcode":"2347","state":"NSW"},"2009":{"id":"2009","locality":"IRONBARK","postcode":"2347","state":"NSW"},"2010":{"id":"2010","locality":"LINDESAY","postcode":"2347","state":"NSW"},"2011":{"id":"2011","locality":"LONGARM","postcode":"2347","state":"NSW"},"2012":{"id":"2012","locality":"MAYVALE","postcode":"2347","state":"NSW"},"2013":{"id":"2013","locality":"RED HILL","postcode":"2347","state":"NSW"},"2014":{"id":"2014","locality":"THIRLDENE","postcode":"2347","state":"NSW"},"2015":{"id":"2015","locality":"UPPER HORTON","postcode":"2347","state":"NSW"},"2016":{"id":"2016","locality":"WOODSREEF","postcode":"2347","state":"NSW"},"2017":{"id":"2017","locality":"NEW ENGLAND MC","postcode":"2348","state":"NSW"},"2018":{"id":"2018","locality":"ABERFOYLE","postcode":"2350","state":"NSW"},"2019":{"id":"2019","locality":"ABINGTON","postcode":"2350","state":"NSW"},"2020":{"id":"2020","locality":"ARGYLE","postcode":"2350","state":"NSW"},"2021":{"id":"2021","locality":"ARMIDALE","postcode":"2350","state":"NSW"},"2022":{"id":"2022","locality":"BOOROLONG","postcode":"2350","state":"NSW"},"2023":{"id":"2023","locality":"CASTLE DOYLE","postcode":"2350","state":"NSW"},"2024":{"id":"2024","locality":"DANGARSLEIGH","postcode":"2350","state":"NSW"},"2025":{"id":"2025","locality":"DONALD CREEK","postcode":"2350","state":"NSW"},"2026":{"id":"2026","locality":"DUMARESQ","postcode":"2350","state":"NSW"},"2027":{"id":"2027","locality":"DUVAL","postcode":"2350","state":"NSW"},"2028":{"id":"2028","locality":"ENMORE","postcode":"2350","state":"NSW"},"2029":{"id":"2029","locality":"HILLGROVE","postcode":"2350","state":"NSW"},"2030":{"id":"2030","locality":"INVERGOWRIE","postcode":"2350","state":"NSW"},"2031":{"id":"2031","locality":"JEOGLA","postcode":"2350","state":"NSW"},"2032":{"id":"2032","locality":"KELLYS PLAINS","postcode":"2350","state":"NSW"},"2033":{"id":"2033","locality":"LYNDHURST","postcode":"2350","state":"NSW"},"2034":{"id":"2034","locality":"PUDDLEDOCK","postcode":"2350","state":"NSW"},"2035":{"id":"2035","locality":"SAUMAREZ","postcode":"2350","state":"NSW"},"2036":{"id":"2036","locality":"SAUMAREZ PONDS","postcode":"2350","state":"NSW"},"2037":{"id":"2037","locality":"THALGARRAH","postcode":"2350","state":"NSW"},"2038":{"id":"2038","locality":"TILBUSTER","postcode":"2350","state":"NSW"},"2039":{"id":"2039","locality":"WARDS MISTAKE","postcode":"2350","state":"NSW"},"2040":{"id":"2040","locality":"WEST ARMIDALE","postcode":"2350","state":"NSW"},"2041":{"id":"2041","locality":"WOLLOMOMBI","postcode":"2350","state":"NSW"},"2042":{"id":"2042","locality":"WONGWIBINDA","postcode":"2350","state":"NSW"},"2043":{"id":"2043","locality":"UNIVERSITY OF NEW ENGLAND","postcode":"2351","state":"NSW"},"2044":{"id":"2044","locality":"KOOTINGAL","postcode":"2352","state":"NSW"},"2045":{"id":"2045","locality":"LIMBRI","postcode":"2352","state":"NSW"},"2046":{"id":"2046","locality":"MULLA CREEK","postcode":"2352","state":"NSW"},"2047":{"id":"2047","locality":"TINTINHULL","postcode":"2352","state":"NSW"},"2048":{"id":"2048","locality":"MOONBI","postcode":"2353","state":"NSW"},"2049":{"id":"2049","locality":"KENTUCKY","postcode":"2354","state":"NSW"},"2050":{"id":"2050","locality":"KENTUCKY SOUTH","postcode":"2354","state":"NSW"},"2051":{"id":"2051","locality":"NIANGALA","postcode":"2354","state":"NSW"},"2052":{"id":"2052","locality":"NOWENDOC","postcode":"2354","state":"NSW"},"2053":{"id":"2053","locality":"WALCHA","postcode":"2354","state":"NSW"},"2054":{"id":"2054","locality":"WALCHA ROAD","postcode":"2354","state":"NSW"},"2055":{"id":"2055","locality":"WOLLUN","postcode":"2354","state":"NSW"},"2056":{"id":"2056","locality":"WOOLBROOK","postcode":"2354","state":"NSW"},"2057":{"id":"2057","locality":"YARROWITCH","postcode":"2354","state":"NSW"},"2058":{"id":"2058","locality":"BENDEMEER","postcode":"2355","state":"NSW"},"2059":{"id":"2059","locality":"RETREAT","postcode":"2355","state":"NSW"},"2060":{"id":"2060","locality":"WATSONS CREEK","postcode":"2355","state":"NSW"},"2061":{"id":"2061","locality":"GWABEGAR","postcode":"2356","state":"NSW"},"2062":{"id":"2062","locality":"BOMERA","postcode":"2357","state":"NSW"},"2063":{"id":"2063","locality":"BOX RIDGE","postcode":"2357","state":"NSW"},"2064":{"id":"2064","locality":"BUGALDIE","postcode":"2357","state":"NSW"},"2065":{"id":"2065","locality":"COONABARABRAN","postcode":"2357","state":"NSW"},"2066":{"id":"2066","locality":"DANDRY","postcode":"2357","state":"NSW"},"2067":{"id":"2067","locality":"GOWANG","postcode":"2357","state":"NSW"},"2068":{"id":"2068","locality":"PURLEWAUGH","postcode":"2357","state":"NSW"},"2069":{"id":"2069","locality":"ROCKY GLEN","postcode":"2357","state":"NSW"},"2070":{"id":"2070","locality":"TANNABAR","postcode":"2357","state":"NSW"},"2071":{"id":"2071","locality":"ULAMAMBRI","postcode":"2357","state":"NSW"},"2072":{"id":"2072","locality":"WATTLE SPRINGS","postcode":"2357","state":"NSW"},"2073":{"id":"2073","locality":"ARDING","postcode":"2358","state":"NSW"},"2074":{"id":"2074","locality":"BALALA","postcode":"2358","state":"NSW"},"2075":{"id":"2075","locality":"GOSTWYCK","postcode":"2358","state":"NSW"},"2076":{"id":"2076","locality":"KINGSTOWN","postcode":"2358","state":"NSW"},"2077":{"id":"2077","locality":"MIHI","postcode":"2358","state":"NSW"},"2078":{"id":"2078","locality":"ROCKY RIVER","postcode":"2358","state":"NSW"},"2079":{"id":"2079","locality":"SALISBURY PLAINS","postcode":"2358","state":"NSW"},"2080":{"id":"2080","locality":"TORRYBURN","postcode":"2358","state":"NSW"},"2081":{"id":"2081","locality":"URALLA","postcode":"2358","state":"NSW"},"2082":{"id":"2082","locality":"YARROWYCK","postcode":"2358","state":"NSW"},"2083":{"id":"2083","locality":"ABERDEEN","postcode":"2359","state":"NSW"},"2084":{"id":"2084","locality":"BAKERS CREEK","postcode":"2359","state":"NSW"},"2085":{"id":"2085","locality":"BUNDARRA","postcode":"2359","state":"NSW"},"2086":{"id":"2086","locality":"CAMERONS CREEK","postcode":"2359","state":"NSW"},"2087":{"id":"2087","locality":"AUBURN VALE","postcode":"2360","state":"NSW"},"2088":{"id":"2088","locality":"BRODIES PLAINS","postcode":"2360","state":"NSW"},"2089":{"id":"2089","locality":"BUKKULLA","postcode":"2360","state":"NSW"},"2090":{"id":"2090","locality":"CHERRY TREE HILL","postcode":"2360","state":"NSW"},"2091":{"id":"2091","locality":"COPETON","postcode":"2360","state":"NSW"},"2092":{"id":"2092","locality":"ELSMORE","postcode":"2360","state":"NSW"},"2093":{"id":"2093","locality":"GILGAI","postcode":"2360","state":"NSW"},"2094":{"id":"2094","locality":"GRAMAN","postcode":"2360","state":"NSW"},"2095":{"id":"2095","locality":"GUM FLAT","postcode":"2360","state":"NSW"},"2096":{"id":"2096","locality":"HOWELL","postcode":"2360","state":"NSW"},"2097":{"id":"2097","locality":"INVERELL","postcode":"2360","state":"NSW"},"2098":{"id":"2098","locality":"KINGS PLAINS","postcode":"2360","state":"NSW"},"2099":{"id":"2099","locality":"LITTLE PLAIN","postcode":"2360","state":"NSW"},"2100":{"id":"2100","locality":"LONG PLAIN","postcode":"2360","state":"NSW"},"2101":{"id":"2101","locality":"MOUNT RUSSELL","postcode":"2360","state":"NSW"},"2102":{"id":"2102","locality":"NEWSTEAD","postcode":"2360","state":"NSW"},"2103":{"id":"2103","locality":"NULLAMANNA","postcode":"2360","state":"NSW"},"2104":{"id":"2104","locality":"OAKWOOD","postcode":"2360","state":"NSW"},"2105":{"id":"2105","locality":"PARADISE","postcode":"2360","state":"NSW"},"2106":{"id":"2106","locality":"ROB ROY","postcode":"2360","state":"NSW"},"2107":{"id":"2107","locality":"SAPPHIRE","postcode":"2360","state":"NSW"},"2108":{"id":"2108","locality":"SPRING MOUNTAIN","postcode":"2360","state":"NSW"},"2109":{"id":"2109","locality":"STANBOROUGH","postcode":"2360","state":"NSW"},"2110":{"id":"2110","locality":"SWANBROOK","postcode":"2360","state":"NSW"},"2111":{"id":"2111","locality":"WALLANGRA","postcode":"2360","state":"NSW"},"2112":{"id":"2112","locality":"WANDERA","postcode":"2360","state":"NSW"},"2113":{"id":"2113","locality":"WOODSTOCK","postcode":"2360","state":"NSW"},"2114":{"id":"2114","locality":"ASHFORD","postcode":"2361","state":"NSW"},"2115":{"id":"2115","locality":"ATHOLWOOD","postcode":"2361","state":"NSW"},"2116":{"id":"2116","locality":"BONSHAW","postcode":"2361","state":"NSW"},"2117":{"id":"2117","locality":"LIMESTONE","postcode":"2361","state":"NSW"},"2118":{"id":"2118","locality":"PINDAROI","postcode":"2361","state":"NSW"},"2119":{"id":"2119","locality":"BACKWATER","postcode":"2365","state":"NSW"},"2120":{"id":"2120","locality":"BALD BLAIR","postcode":"2365","state":"NSW"},"2121":{"id":"2121","locality":"BALDERSLEIGH","postcode":"2365","state":"NSW"},"2122":{"id":"2122","locality":"BASSENDEAN","postcode":"2365","state":"NSW"},"2123":{"id":"2123","locality":"BEN LOMOND","postcode":"2365","state":"NSW"},"2124":{"id":"2124","locality":"BLACK MOUNTAIN","postcode":"2365","state":"NSW"},"2125":{"id":"2125","locality":"BRIARBROOK","postcode":"2365","state":"NSW"},"2126":{"id":"2126","locality":"BROCKLEY","postcode":"2365","state":"NSW"},"2127":{"id":"2127","locality":"BRUSHY CREEK","postcode":"2365","state":"NSW"},"2128":{"id":"2128","locality":"FALCONER","postcode":"2365","state":"NSW"},"2129":{"id":"2129","locality":"GEORGES CREEK","postcode":"2365","state":"NSW"},"2130":{"id":"2130","locality":"GLEN NEVIS","postcode":"2365","state":"NSW"},"2131":{"id":"2131","locality":"GLENCOE","postcode":"2365","state":"NSW"},"2132":{"id":"2132","locality":"GREEN HILLS","postcode":"2365","state":"NSW"},"2133":{"id":"2133","locality":"GUYRA","postcode":"2365","state":"NSW"},"2134":{"id":"2134","locality":"LLANGOTHLIN","postcode":"2365","state":"NSW"},"2135":{"id":"2135","locality":"MAYBOLE","postcode":"2365","state":"NSW"},"2136":{"id":"2136","locality":"MOUNT MITCHELL","postcode":"2365","state":"NSW"},"2137":{"id":"2137","locality":"NEW VALLEY","postcode":"2365","state":"NSW"},"2138":{"id":"2138","locality":"OBAN","postcode":"2365","state":"NSW"},"2139":{"id":"2139","locality":"SOUTH GUYRA","postcode":"2365","state":"NSW"},"2140":{"id":"2140","locality":"TENTERDEN","postcode":"2365","state":"NSW"},"2141":{"id":"2141","locality":"THE BASIN","postcode":"2365","state":"NSW"},"2142":{"id":"2142","locality":"THE GULF","postcode":"2365","state":"NSW"},"2143":{"id":"2143","locality":"TUBBAMURRA","postcode":"2365","state":"NSW"},"2144":{"id":"2144","locality":"WANDSWORTH","postcode":"2365","state":"NSW"},"2145":{"id":"2145","locality":"OLD MILL","postcode":"2369","state":"NSW"},"2146":{"id":"2146","locality":"STANNIFER","postcode":"2369","state":"NSW"},"2147":{"id":"2147","locality":"TINGHA","postcode":"2369","state":"NSW"},"2148":{"id":"2148","locality":"BALD NOB","postcode":"2370","state":"NSW"},"2149":{"id":"2149","locality":"DIEHARD","postcode":"2370","state":"NSW"},"2150":{"id":"2150","locality":"DUNDEE","postcode":"2370","state":"NSW"},"2151":{"id":"2151","locality":"FURRACABAD","postcode":"2370","state":"NSW"},"2152":{"id":"2152","locality":"GIBRALTAR RANGE","postcode":"2370","state":"NSW"},"2153":{"id":"2153","locality":"GLEN ELGIN","postcode":"2370","state":"NSW"},"2154":{"id":"2154","locality":"GLEN INNES","postcode":"2370","state":"NSW"},"2155":{"id":"2155","locality":"KINGSGATE","postcode":"2370","state":"NSW"},"2156":{"id":"2156","locality":"KOOKABOOKRA","postcode":"2370","state":"NSW"},"2157":{"id":"2157","locality":"LAMBS VALLEY","postcode":"2370","state":"NSW"},"2158":{"id":"2158","locality":"MATHESON","postcode":"2370","state":"NSW"},"2159":{"id":"2159","locality":"MOGGS SWAMP","postcode":"2370","state":"NSW"},"2160":{"id":"2160","locality":"MOOGEM","postcode":"2370","state":"NSW"},"2161":{"id":"2161","locality":"MORVEN","postcode":"2370","state":"NSW"},"2162":{"id":"2162","locality":"NEWTON BOYD","postcode":"2370","state":"NSW"},"2163":{"id":"2163","locality":"PINKETT","postcode":"2370","state":"NSW"},"2164":{"id":"2164","locality":"RANGERS VALLEY","postcode":"2370","state":"NSW"},"2165":{"id":"2165","locality":"RED RANGE","postcode":"2370","state":"NSW"},"2166":{"id":"2166","locality":"REDDESTONE","postcode":"2370","state":"NSW"},"2167":{"id":"2167","locality":"SHANNON VALE","postcode":"2370","state":"NSW"},"2168":{"id":"2168","locality":"STONEHENGE","postcode":"2370","state":"NSW"},"2169":{"id":"2169","locality":"SWAN VALE","postcode":"2370","state":"NSW"},"2170":{"id":"2170","locality":"WELLINGROVE","postcode":"2370","state":"NSW"},"2171":{"id":"2171","locality":"YARROWFORD","postcode":"2370","state":"NSW"},"2172":{"id":"2172","locality":"CAPOOMPETA","postcode":"2371","state":"NSW"},"2173":{"id":"2173","locality":"DEEPWATER","postcode":"2371","state":"NSW"},"2174":{"id":"2174","locality":"EMMAVILLE","postcode":"2371","state":"NSW"},"2175":{"id":"2175","locality":"ROCKY CREEK","postcode":"2371","state":"NSW"},"2176":{"id":"2176","locality":"STANNUM","postcode":"2371","state":"NSW"},"2177":{"id":"2177","locality":"TORRINGTON","postcode":"2371","state":"NSW"},"2178":{"id":"2178","locality":"WELLINGTON VALE","postcode":"2371","state":"NSW"},"2179":{"id":"2179","locality":"YELLOW DAM","postcode":"2371","state":"NSW"},"2180":{"id":"2180","locality":"BACK CREEK","postcode":"2372","state":"NSW"},"2181":{"id":"2181","locality":"BOLIVIA","postcode":"2372","state":"NSW"},"2182":{"id":"2182","locality":"BOOKOOKOORARA","postcode":"2372","state":"NSW"},"2183":{"id":"2183","locality":"BOONOO BOONOO","postcode":"2372","state":"NSW"},"2184":{"id":"2184","locality":"BOOROOK","postcode":"2372","state":"NSW"},"2185":{"id":"2185","locality":"CARROLLS CREEK","postcode":"2372","state":"NSW"},"2186":{"id":"2186","locality":"CULLENDORE","postcode":"2372","state":"NSW"},"2187":{"id":"2187","locality":"DUMARESQ VALLEY","postcode":"2372","state":"NSW"},"2188":{"id":"2188","locality":"FOREST LAND","postcode":"2372","state":"NSW"},"2189":{"id":"2189","locality":"LISTON","postcode":"2372","state":"NSW"},"2190":{"id":"2190","locality":"MOLE RIVER","postcode":"2372","state":"NSW"},"2191":{"id":"2191","locality":"RIVERTREE","postcode":"2372","state":"NSW"},"2192":{"id":"2192","locality":"ROCKY RIVER","postcode":"2372","state":"NSW"},"2193":{"id":"2193","locality":"SANDY FLAT","postcode":"2372","state":"NSW"},"2194":{"id":"2194","locality":"SANDY HILL","postcode":"2372","state":"NSW"},"2195":{"id":"2195","locality":"SILENT GROVE","postcode":"2372","state":"NSW"},"2196":{"id":"2196","locality":"TARBAN","postcode":"2372","state":"NSW"},"2197":{"id":"2197","locality":"TENTERFIELD","postcode":"2372","state":"NSW"},"2198":{"id":"2198","locality":"TIMBARRA","postcode":"2372","state":"NSW"},"2199":{"id":"2199","locality":"WILLSONS DOWNFALL","postcode":"2372","state":"NSW"},"2200":{"id":"2200","locality":"WOODSIDE","postcode":"2372","state":"NSW"},"2201":{"id":"2201","locality":"WYLIE CREEK","postcode":"2372","state":"NSW"},"2202":{"id":"2202","locality":"GOOLHI","postcode":"2379","state":"NSW"},"2203":{"id":"2203","locality":"MULLALEY","postcode":"2379","state":"NSW"},"2204":{"id":"2204","locality":"NAPIER LANE","postcode":"2379","state":"NSW"},"2205":{"id":"2205","locality":"NOMBI","postcode":"2379","state":"NSW"},"2206":{"id":"2206","locality":"BLUE VALE","postcode":"2380","state":"NSW"},"2207":{"id":"2207","locality":"EMERALD HILL","postcode":"2380","state":"NSW"},"2208":{"id":"2208","locality":"GHOOLENDAADI","postcode":"2380","state":"NSW"},"2209":{"id":"2209","locality":"GUNNEDAH","postcode":"2380","state":"NSW"},"2210":{"id":"2210","locality":"KELVIN","postcode":"2380","state":"NSW"},"2211":{"id":"2211","locality":"MARYS MOUNT","postcode":"2380","state":"NSW"},"2212":{"id":"2212","locality":"MILROY","postcode":"2380","state":"NSW"},"2213":{"id":"2213","locality":"ORANGE GROVE","postcode":"2380","state":"NSW"},"2214":{"id":"2214","locality":"RANGARI","postcode":"2380","state":"NSW"},"2215":{"id":"2215","locality":"BREEZA","postcode":"2381","state":"NSW"},"2216":{"id":"2216","locality":"CURLEWIS","postcode":"2381","state":"NSW"},"2217":{"id":"2217","locality":"PREMER","postcode":"2381","state":"NSW"},"2218":{"id":"2218","locality":"TAMBAR SPRINGS","postcode":"2381","state":"NSW"},"2219":{"id":"2219","locality":"BOGGABRI","postcode":"2382","state":"NSW"},"2220":{"id":"2220","locality":"MAULES CREEK","postcode":"2382","state":"NSW"},"2221":{"id":"2221","locality":"WEAN","postcode":"2382","state":"NSW"},"2222":{"id":"2222","locality":"WILLALA","postcode":"2382","state":"NSW"},"2223":{"id":"2223","locality":"BURREN JUNCTION","postcode":"2386","state":"NSW"},"2224":{"id":"2224","locality":"DRILDOOL","postcode":"2386","state":"NSW"},"2225":{"id":"2225","locality":"NOWLEY","postcode":"2386","state":"NSW"},"2226":{"id":"2226","locality":"BULYEROI","postcode":"2387","state":"NSW"},"2227":{"id":"2227","locality":"ROWENA","postcode":"2387","state":"NSW"},"2228":{"id":"2228","locality":"BOOLCARROLL","postcode":"2388","state":"NSW"},"2229":{"id":"2229","locality":"CUTTABRI","postcode":"2388","state":"NSW"},"2230":{"id":"2230","locality":"MERAH NORTH","postcode":"2388","state":"NSW"},"2231":{"id":"2231","locality":"PILLIGA","postcode":"2388","state":"NSW"},"2232":{"id":"2232","locality":"SPRING PLAINS","postcode":"2388","state":"NSW"},"2233":{"id":"2233","locality":"THE PILLIGA","postcode":"2388","state":"NSW"},"2234":{"id":"2234","locality":"WEE WAA","postcode":"2388","state":"NSW"},"2235":{"id":"2235","locality":"YARRIE LAKE","postcode":"2388","state":"NSW"},"2236":{"id":"2236","locality":"BAAN BAA","postcode":"2390","state":"NSW"},"2237":{"id":"2237","locality":"BACK CREEK","postcode":"2390","state":"NSW"},"2238":{"id":"2238","locality":"BERRIGAL","postcode":"2390","state":"NSW"},"2239":{"id":"2239","locality":"BOHENA CREEK","postcode":"2390","state":"NSW"},"2240":{"id":"2240","locality":"BULLAWA CREEK","postcode":"2390","state":"NSW"},"2241":{"id":"2241","locality":"COURADDA","postcode":"2390","state":"NSW"},"2242":{"id":"2242","locality":"EDGEROI","postcode":"2390","state":"NSW"},"2243":{"id":"2243","locality":"EULAH CREEK","postcode":"2390","state":"NSW"},"2244":{"id":"2244","locality":"HARPARARY","postcode":"2390","state":"NSW"},"2245":{"id":"2245","locality":"JACKS CREEK","postcode":"2390","state":"NSW"},"2246":{"id":"2246","locality":"KAPUTAR","postcode":"2390","state":"NSW"},"2247":{"id":"2247","locality":"NARRABRI","postcode":"2390","state":"NSW"},"2248":{"id":"2248","locality":"NARRABRI WEST","postcode":"2390","state":"NSW"},"2249":{"id":"2249","locality":"ROCKY CREEK","postcode":"2390","state":"NSW"},"2250":{"id":"2250","locality":"TARRIARO","postcode":"2390","state":"NSW"},"2251":{"id":"2251","locality":"TURRAWAN","postcode":"2390","state":"NSW"},"2252":{"id":"2252","locality":"BINNAWAY","postcode":"2395","state":"NSW"},"2253":{"id":"2253","locality":"ROPERS ROAD","postcode":"2395","state":"NSW"},"2254":{"id":"2254","locality":"WEETALIBA","postcode":"2395","state":"NSW"},"2255":{"id":"2255","locality":"BARADINE","postcode":"2396","state":"NSW"},"2256":{"id":"2256","locality":"BARWON","postcode":"2396","state":"NSW"},"2257":{"id":"2257","locality":"GOORIANAWA","postcode":"2396","state":"NSW"},"2258":{"id":"2258","locality":"KENEBRI","postcode":"2396","state":"NSW"},"2259":{"id":"2259","locality":"BELLATA","postcode":"2397","state":"NSW"},"2260":{"id":"2260","locality":"JEWS LAGOON","postcode":"2397","state":"NSW"},"2261":{"id":"2261","locality":"MILLIE","postcode":"2397","state":"NSW"},"2262":{"id":"2262","locality":"GURLEY","postcode":"2398","state":"NSW"},"2263":{"id":"2263","locality":"BINIGUY","postcode":"2399","state":"NSW"},"2264":{"id":"2264","locality":"PALLAMALLAWA","postcode":"2399","state":"NSW"},"2265":{"id":"2265","locality":"ASHLEY","postcode":"2400","state":"NSW"},"2266":{"id":"2266","locality":"BULLARAH","postcode":"2400","state":"NSW"},"2267":{"id":"2267","locality":"CROOBLE","postcode":"2400","state":"NSW"},"2268":{"id":"2268","locality":"MALLOWA","postcode":"2400","state":"NSW"},"2269":{"id":"2269","locality":"MOREE","postcode":"2400","state":"NSW"},"2270":{"id":"2270","locality":"MOREE EAST","postcode":"2400","state":"NSW"},"2271":{"id":"2271","locality":"TERRY HIE HIE","postcode":"2400","state":"NSW"},"2272":{"id":"2272","locality":"TULLOONA","postcode":"2400","state":"NSW"},"2273":{"id":"2273","locality":"GRAVESEND","postcode":"2401","state":"NSW"},"2274":{"id":"2274","locality":"BALFOURS PEAK","postcode":"2402","state":"NSW"},"2275":{"id":"2275","locality":"COOLATAI","postcode":"2402","state":"NSW"},"2276":{"id":"2276","locality":"WARIALDA","postcode":"2402","state":"NSW"},"2277":{"id":"2277","locality":"WARIALDA RAIL","postcode":"2402","state":"NSW"},"2278":{"id":"2278","locality":"DELUNGRA","postcode":"2403","state":"NSW"},"2279":{"id":"2279","locality":"GRAGIN","postcode":"2403","state":"NSW"},"2280":{"id":"2280","locality":"MYALL CREEK","postcode":"2403","state":"NSW"},"2281":{"id":"2281","locality":"BANGHEET","postcode":"2404","state":"NSW"},"2282":{"id":"2282","locality":"BINGARA","postcode":"2404","state":"NSW"},"2283":{"id":"2283","locality":"DINOGA","postcode":"2404","state":"NSW"},"2284":{"id":"2284","locality":"ELCOMBE","postcode":"2404","state":"NSW"},"2285":{"id":"2285","locality":"GINEROI","postcode":"2404","state":"NSW"},"2286":{"id":"2286","locality":"KEERA","postcode":"2404","state":"NSW"},"2287":{"id":"2287","locality":"PALLAL","postcode":"2404","state":"NSW"},"2288":{"id":"2288","locality":"RIVERVIEW","postcode":"2404","state":"NSW"},"2289":{"id":"2289","locality":"UPPER BINGARA","postcode":"2404","state":"NSW"},"2290":{"id":"2290","locality":"BOOMI","postcode":"2405","state":"NSW"},"2291":{"id":"2291","locality":"GARAH","postcode":"2405","state":"NSW"},"2292":{"id":"2292","locality":"MUNGINDI","postcode":"2406","state":"NSW"},"2293":{"id":"2293","locality":"MUNGINDI","postcode":"2406","state":"QLD"},"2294":{"id":"2294","locality":"WEEMELAH","postcode":"2406","state":"NSW"},"2295":{"id":"2295","locality":"BLUE NOBBY","postcode":"2408","state":"NSW"},"2296":{"id":"2296","locality":"NORTH STAR","postcode":"2408","state":"NSW"},"2297":{"id":"2297","locality":"YALLAROI","postcode":"2408","state":"NSW"},"2298":{"id":"2298","locality":"BOGGABILLA","postcode":"2409","state":"NSW"},"2299":{"id":"2299","locality":"BOONAL","postcode":"2409","state":"NSW"},"2300":{"id":"2300","locality":"TWIN RIVERS","postcode":"2410","state":"NSW"},"2301":{"id":"2301","locality":"YETMAN","postcode":"2410","state":"NSW"},"2302":{"id":"2302","locality":"CROPPA CREEK","postcode":"2411","state":"NSW"},"2303":{"id":"2303","locality":"MONKERAI","postcode":"2415","state":"NSW"},"2304":{"id":"2304","locality":"NOOROO","postcode":"2415","state":"NSW"},"2305":{"id":"2305","locality":"STROUD ROAD","postcode":"2415","state":"NSW"},"2306":{"id":"2306","locality":"UPPER KARUAH RIVER","postcode":"2415","state":"NSW"},"2307":{"id":"2307","locality":"WEISMANTELS","postcode":"2415","state":"NSW"},"2308":{"id":"2308","locality":"ALISON","postcode":"2420","state":"NSW"},"2309":{"id":"2309","locality":"BANDON GROVE","postcode":"2420","state":"NSW"},"2310":{"id":"2310","locality":"BENDOLBA","postcode":"2420","state":"NSW"},"2311":{"id":"2311","locality":"BROOKFIELD","postcode":"2420","state":"NSW"},"2312":{"id":"2312","locality":"CAMBRA","postcode":"2420","state":"NSW"},"2313":{"id":"2313","locality":"CHICHESTER","postcode":"2420","state":"NSW"},"2314":{"id":"2314","locality":"DUNGOG","postcode":"2420","state":"NSW"},"2315":{"id":"2315","locality":"FLAT TOPS","postcode":"2420","state":"NSW"},"2316":{"id":"2316","locality":"FOSTERTON","postcode":"2420","state":"NSW"},"2317":{"id":"2317","locality":"HANLEYS CREEK","postcode":"2420","state":"NSW"},"2318":{"id":"2318","locality":"HILLDALE","postcode":"2420","state":"NSW"},"2319":{"id":"2319","locality":"MAIN CREEK","postcode":"2420","state":"NSW"},"2320":{"id":"2320","locality":"MARSHDALE","postcode":"2420","state":"NSW"},"2321":{"id":"2321","locality":"MARTINS CREEK","postcode":"2420","state":"NSW"},"2322":{"id":"2322","locality":"MUNNI","postcode":"2420","state":"NSW"},"2323":{"id":"2323","locality":"SALISBURY","postcode":"2420","state":"NSW"},"2324":{"id":"2324","locality":"STROUD HILL","postcode":"2420","state":"NSW"},"2325":{"id":"2325","locality":"SUGARLOAF","postcode":"2420","state":"NSW"},"2326":{"id":"2326","locality":"TABBIL CREEK","postcode":"2420","state":"NSW"},"2327":{"id":"2327","locality":"UNDERBANK","postcode":"2420","state":"NSW"},"2328":{"id":"2328","locality":"WALLARINGA","postcode":"2420","state":"NSW"},"2329":{"id":"2329","locality":"WALLAROBBA","postcode":"2420","state":"NSW"},"2330":{"id":"2330","locality":"WIRRAGULLA","postcode":"2420","state":"NSW"},"2331":{"id":"2331","locality":"FISHERS HILL","postcode":"2421","state":"NSW"},"2332":{"id":"2332","locality":"PATERSON","postcode":"2421","state":"NSW"},"2333":{"id":"2333","locality":"SUMMER HILL","postcode":"2421","state":"NSW"},"2334":{"id":"2334","locality":"TOCAL","postcode":"2421","state":"NSW"},"2335":{"id":"2335","locality":"TORRYBURN","postcode":"2421","state":"NSW"},"2336":{"id":"2336","locality":"VACY","postcode":"2421","state":"NSW"},"2337":{"id":"2337","locality":"WEBBERS CREEK","postcode":"2421","state":"NSW"},"2338":{"id":"2338","locality":"BACK CREEK","postcode":"2422","state":"NSW"},"2339":{"id":"2339","locality":"BAKERS CREEK","postcode":"2422","state":"NSW"},"2340":{"id":"2340","locality":"BARRINGTON","postcode":"2422","state":"NSW"},"2341":{"id":"2341","locality":"BARRINGTON TOPS","postcode":"2422","state":"NSW"},"2342":{"id":"2342","locality":"BAXTERS RIDGE","postcode":"2422","state":"NSW"},"2343":{"id":"2343","locality":"BELBORA","postcode":"2422","state":"NSW"},"2344":{"id":"2344","locality":"BERRICO","postcode":"2422","state":"NSW"},"2345":{"id":"2345","locality":"BINDERA","postcode":"2422","state":"NSW"},"2346":{"id":"2346","locality":"BOWMAN","postcode":"2422","state":"NSW"},"2347":{"id":"2347","locality":"BOWMAN FARM","postcode":"2422","state":"NSW"},"2348":{"id":"2348","locality":"BRETTI","postcode":"2422","state":"NSW"},"2349":{"id":"2349","locality":"BULLIAC","postcode":"2422","state":"NSW"},"2350":{"id":"2350","locality":"BUNDOOK","postcode":"2422","state":"NSW"},"2351":{"id":"2351","locality":"CALLAGHANS CREEK","postcode":"2422","state":"NSW"},"2352":{"id":"2352","locality":"COBARK","postcode":"2422","state":"NSW"},"2353":{"id":"2353","locality":"CONEAC","postcode":"2422","state":"NSW"},"2354":{"id":"2354","locality":"COPELAND","postcode":"2422","state":"NSW"},"2355":{"id":"2355","locality":"CRAVEN","postcode":"2422","state":"NSW"},"2356":{"id":"2356","locality":"CRAVEN PLATEAU","postcode":"2422","state":"NSW"},"2357":{"id":"2357","locality":"CURRICABARK","postcode":"2422","state":"NSW"},"2358":{"id":"2358","locality":"DEWITT","postcode":"2422","state":"NSW"},"2359":{"id":"2359","locality":"FAULKLAND","postcode":"2422","state":"NSW"},"2360":{"id":"2360","locality":"FORBESDALE","postcode":"2422","state":"NSW"},"2361":{"id":"2361","locality":"GANGAT","postcode":"2422","state":"NSW"},"2362":{"id":"2362","locality":"GIRO","postcode":"2422","state":"NSW"},"2363":{"id":"2363","locality":"GLEN WARD","postcode":"2422","state":"NSW"},"2364":{"id":"2364","locality":"GLOUCESTER","postcode":"2422","state":"NSW"},"2365":{"id":"2365","locality":"GLOUCESTER TOPS","postcode":"2422","state":"NSW"},"2366":{"id":"2366","locality":"INVERGORDON","postcode":"2422","state":"NSW"},"2367":{"id":"2367","locality":"KIA ORA","postcode":"2422","state":"NSW"},"2368":{"id":"2368","locality":"MARES RUN","postcode":"2422","state":"NSW"},"2369":{"id":"2369","locality":"MERNOT","postcode":"2422","state":"NSW"},"2370":{"id":"2370","locality":"MOGRANI","postcode":"2422","state":"NSW"},"2371":{"id":"2371","locality":"MOPPY","postcode":"2422","state":"NSW"},"2372":{"id":"2372","locality":"RAWDON VALE","postcode":"2422","state":"NSW"},"2373":{"id":"2373","locality":"ROOKHURST","postcode":"2422","state":"NSW"},"2374":{"id":"2374","locality":"STRATFORD","postcode":"2422","state":"NSW"},"2375":{"id":"2375","locality":"TERREEL","postcode":"2422","state":"NSW"},"2376":{"id":"2376","locality":"TIBBUC","postcode":"2422","state":"NSW"},"2377":{"id":"2377","locality":"TITAATEE CREEK","postcode":"2422","state":"NSW"},"2378":{"id":"2378","locality":"TUGRABAKH","postcode":"2422","state":"NSW"},"2379":{"id":"2379","locality":"WALLANBAH","postcode":"2422","state":"NSW"},"2380":{"id":"2380","locality":"WARDS RIVER","postcode":"2422","state":"NSW"},"2381":{"id":"2381","locality":"WAUKIVORY","postcode":"2422","state":"NSW"},"2382":{"id":"2382","locality":"WOKO","postcode":"2422","state":"NSW"},"2383":{"id":"2383","locality":"BOMBAH POINT","postcode":"2423","state":"NSW"},"2384":{"id":"2384","locality":"BOOLAMBAYTE","postcode":"2423","state":"NSW"},"2385":{"id":"2385","locality":"BULAHDELAH","postcode":"2423","state":"NSW"},"2386":{"id":"2386","locality":"BUNGWAHL","postcode":"2423","state":"NSW"},"2387":{"id":"2387","locality":"COOLONGOLOOK","postcode":"2423","state":"NSW"},"2388":{"id":"2388","locality":"CRAWFORD RIVER","postcode":"2423","state":"NSW"},"2389":{"id":"2389","locality":"MARKWELL","postcode":"2423","state":"NSW"},"2390":{"id":"2390","locality":"MAYERS FLAT","postcode":"2423","state":"NSW"},"2391":{"id":"2391","locality":"MUNGO BRUSH","postcode":"2423","state":"NSW"},"2392":{"id":"2392","locality":"MYALL LAKE","postcode":"2423","state":"NSW"},"2393":{"id":"2393","locality":"NERONG","postcode":"2423","state":"NSW"},"2394":{"id":"2394","locality":"SEAL ROCKS","postcode":"2423","state":"NSW"},"2395":{"id":"2395","locality":"TOPI TOPI","postcode":"2423","state":"NSW"},"2396":{"id":"2396","locality":"UPPER MYALL","postcode":"2423","state":"NSW"},"2397":{"id":"2397","locality":"VIOLET HILL","postcode":"2423","state":"NSW"},"2398":{"id":"2398","locality":"WANG WAUK","postcode":"2423","state":"NSW"},"2399":{"id":"2399","locality":"WARRANULLA","postcode":"2423","state":"NSW"},"2400":{"id":"2400","locality":"WILLINA","postcode":"2423","state":"NSW"},"2401":{"id":"2401","locality":"WOOTTON","postcode":"2423","state":"NSW"},"2402":{"id":"2402","locality":"YAGON","postcode":"2423","state":"NSW"},"2403":{"id":"2403","locality":"CAFFREYS FLAT","postcode":"2424","state":"NSW"},"2404":{"id":"2404","locality":"CELLS RIVER","postcode":"2424","state":"NSW"},"2405":{"id":"2405","locality":"COOPLACURRIPA","postcode":"2424","state":"NSW"},"2406":{"id":"2406","locality":"CUNDLE FLAT","postcode":"2424","state":"NSW"},"2407":{"id":"2407","locality":"KNORRIT FLAT","postcode":"2424","state":"NSW"},"2408":{"id":"2408","locality":"KNORRIT FOREST","postcode":"2424","state":"NSW"},"2409":{"id":"2409","locality":"MOUNT GEORGE","postcode":"2424","state":"NSW"},"2410":{"id":"2410","locality":"NUMBER ONE","postcode":"2424","state":"NSW"},"2411":{"id":"2411","locality":"TIRI","postcode":"2424","state":"NSW"},"2412":{"id":"2412","locality":"ALLWORTH","postcode":"2425","state":"NSW"},"2413":{"id":"2413","locality":"BOORAL","postcode":"2425","state":"NSW"},"2414":{"id":"2414","locality":"GIRVAN","postcode":"2425","state":"NSW"},"2415":{"id":"2415","locality":"STROUD","postcode":"2425","state":"NSW"},"2416":{"id":"2416","locality":"THE BRANCH","postcode":"2425","state":"NSW"},"2417":{"id":"2417","locality":"WASHPOOL","postcode":"2425","state":"NSW"},"2418":{"id":"2418","locality":"COOPERNOOK","postcode":"2426","state":"NSW"},"2419":{"id":"2419","locality":"LANGLEY VALE","postcode":"2426","state":"NSW"},"2420":{"id":"2420","locality":"MOTO","postcode":"2426","state":"NSW"},"2421":{"id":"2421","locality":"CROWDY HEAD","postcode":"2427","state":"NSW"},"2422":{"id":"2422","locality":"HARRINGTON","postcode":"2427","state":"NSW"},"2423":{"id":"2423","locality":"BLUEYS BEACH","postcode":"2428","state":"NSW"},"2424":{"id":"2424","locality":"BOOMERANG BEACH","postcode":"2428","state":"NSW"},"2425":{"id":"2425","locality":"BOOTI BOOTI","postcode":"2428","state":"NSW"},"2426":{"id":"2426","locality":"CHARLOTTE BAY","postcode":"2428","state":"NSW"},"2427":{"id":"2427","locality":"COOMBA BAY","postcode":"2428","state":"NSW"},"2428":{"id":"2428","locality":"COOMBA PARK","postcode":"2428","state":"NSW"},"2429":{"id":"2429","locality":"DARAWANK","postcode":"2428","state":"NSW"},"2430":{"id":"2430","locality":"ELIZABETH BEACH","postcode":"2428","state":"NSW"},"2431":{"id":"2431","locality":"FORSTER","postcode":"2428","state":"NSW"},"2432":{"id":"2432","locality":"FORSTER SHOPPING VILLAGE","postcode":"2428","state":"NSW"},"2433":{"id":"2433","locality":"GREEN POINT","postcode":"2428","state":"NSW"},"2434":{"id":"2434","locality":"PACIFIC PALMS","postcode":"2428","state":"NSW"},"2435":{"id":"2435","locality":"SANDBAR","postcode":"2428","state":"NSW"},"2436":{"id":"2436","locality":"SHALLOW BAY","postcode":"2428","state":"NSW"},"2437":{"id":"2437","locality":"SMITHS LAKE","postcode":"2428","state":"NSW"},"2438":{"id":"2438","locality":"TARBUCK BAY","postcode":"2428","state":"NSW"},"2439":{"id":"2439","locality":"TIONA","postcode":"2428","state":"NSW"},"2440":{"id":"2440","locality":"TUNCURRY","postcode":"2428","state":"NSW"},"2441":{"id":"2441","locality":"WALLINGAT","postcode":"2428","state":"NSW"},"2442":{"id":"2442","locality":"WALLIS LAKE","postcode":"2428","state":"NSW"},"2443":{"id":"2443","locality":"WHOOTA","postcode":"2428","state":"NSW"},"2444":{"id":"2444","locality":"BOBIN","postcode":"2429","state":"NSW"},"2445":{"id":"2445","locality":"BOORGANNA","postcode":"2429","state":"NSW"},"2446":{"id":"2446","locality":"BUCCA WAUKA","postcode":"2429","state":"NSW"},"2447":{"id":"2447","locality":"BULGA FOREST","postcode":"2429","state":"NSW"},"2448":{"id":"2448","locality":"BUNYAH","postcode":"2429","state":"NSW"},"2449":{"id":"2449","locality":"BURRELL CREEK","postcode":"2429","state":"NSW"},"2450":{"id":"2450","locality":"CAPARRA","postcode":"2429","state":"NSW"},"2451":{"id":"2451","locality":"CEDAR PARTY","postcode":"2429","state":"NSW"},"2452":{"id":"2452","locality":"COMBOYNE","postcode":"2429","state":"NSW"},"2453":{"id":"2453","locality":"DINGO FOREST","postcode":"2429","state":"NSW"},"2454":{"id":"2454","locality":"DOLLYS FLAT","postcode":"2429","state":"NSW"},"2455":{"id":"2455","locality":"DYERS CROSSING","postcode":"2429","state":"NSW"},"2456":{"id":"2456","locality":"ELANDS","postcode":"2429","state":"NSW"},"2457":{"id":"2457","locality":"FIREFLY","postcode":"2429","state":"NSW"},"2458":{"id":"2458","locality":"INNES VIEW","postcode":"2429","state":"NSW"},"2459":{"id":"2459","locality":"KARAAK FLAT","postcode":"2429","state":"NSW"},"2460":{"id":"2460","locality":"KHATAMBUHL","postcode":"2429","state":"NSW"},"2461":{"id":"2461","locality":"KILLABAKH","postcode":"2429","state":"NSW"},"2462":{"id":"2462","locality":"KILLAWARRA","postcode":"2429","state":"NSW"},"2463":{"id":"2463","locality":"KIMBRIKI","postcode":"2429","state":"NSW"},"2464":{"id":"2464","locality":"KIPPAXS","postcode":"2429","state":"NSW"},"2465":{"id":"2465","locality":"KRAMBACH","postcode":"2429","state":"NSW"},"2466":{"id":"2466","locality":"KUNDIBAKH","postcode":"2429","state":"NSW"},"2467":{"id":"2467","locality":"MARLEE","postcode":"2429","state":"NSW"},"2468":{"id":"2468","locality":"MOORAL CREEK","postcode":"2429","state":"NSW"},"2469":{"id":"2469","locality":"STRATHCEDAR","postcode":"2429","state":"NSW"},"2470":{"id":"2470","locality":"THE BIGHT","postcode":"2429","state":"NSW"},"2471":{"id":"2471","locality":"TIPPERARY","postcode":"2429","state":"NSW"},"2472":{"id":"2472","locality":"WARRIWILLAH","postcode":"2429","state":"NSW"},"2473":{"id":"2473","locality":"WHERROL FLAT","postcode":"2429","state":"NSW"},"2474":{"id":"2474","locality":"WINGHAM","postcode":"2429","state":"NSW"},"2475":{"id":"2475","locality":"YARRATT FOREST","postcode":"2429","state":"NSW"},"2476":{"id":"2476","locality":"BLACK HEAD","postcode":"2430","state":"NSW"},"2477":{"id":"2477","locality":"BOHNOCK","postcode":"2430","state":"NSW"},"2478":{"id":"2478","locality":"BOOTAWA","postcode":"2430","state":"NSW"},"2479":{"id":"2479","locality":"BRIMBIN","postcode":"2430","state":"NSW"},"2480":{"id":"2480","locality":"CABBAGE TREE ISLAND","postcode":"2430","state":"NSW"},"2481":{"id":"2481","locality":"CHATHAM","postcode":"2430","state":"NSW"},"2482":{"id":"2482","locality":"CROKI","postcode":"2430","state":"NSW"},"2483":{"id":"2483","locality":"CUNDLETOWN","postcode":"2430","state":"NSW"},"2484":{"id":"2484","locality":"DIAMOND BEACH","postcode":"2430","state":"NSW"},"2485":{"id":"2485","locality":"DUMARESQ ISLAND","postcode":"2430","state":"NSW"},"2486":{"id":"2486","locality":"FAILFORD","postcode":"2430","state":"NSW"},"2487":{"id":"2487","locality":"GHINNI GHINNI","postcode":"2430","state":"NSW"},"2488":{"id":"2488","locality":"GLENTHORNE","postcode":"2430","state":"NSW"},"2489":{"id":"2489","locality":"HALLIDAYS POINT","postcode":"2430","state":"NSW"},"2490":{"id":"2490","locality":"HILLVILLE","postcode":"2430","state":"NSW"},"2491":{"id":"2491","locality":"JONES ISLAND","postcode":"2430","state":"NSW"},"2492":{"id":"2492","locality":"KIWARRAK","postcode":"2430","state":"NSW"},"2493":{"id":"2493","locality":"KOORAINGHAT","postcode":"2430","state":"NSW"},"2494":{"id":"2494","locality":"KUNDLE KUNDLE","postcode":"2430","state":"NSW"},"2495":{"id":"2495","locality":"LANSDOWNE","postcode":"2430","state":"NSW"},"2496":{"id":"2496","locality":"LANSDOWNE FOREST","postcode":"2430","state":"NSW"},"2497":{"id":"2497","locality":"MANNING POINT","postcode":"2430","state":"NSW"},"2498":{"id":"2498","locality":"MELINGA","postcode":"2430","state":"NSW"},"2499":{"id":"2499","locality":"MITCHELLS ISLAND","postcode":"2430","state":"NSW"},"2500":{"id":"2500","locality":"MONDROOK","postcode":"2430","state":"NSW"},"2501":{"id":"2501","locality":"OLD BAR","postcode":"2430","state":"NSW"},"2502":{"id":"2502","locality":"OXLEY ISLAND","postcode":"2430","state":"NSW"},"2503":{"id":"2503","locality":"PAMPOOLAH","postcode":"2430","state":"NSW"},"2504":{"id":"2504","locality":"POSSUM BRUSH","postcode":"2430","state":"NSW"},"2505":{"id":"2505","locality":"PURFLEET","postcode":"2430","state":"NSW"},"2506":{"id":"2506","locality":"RAINBOW FLAT","postcode":"2430","state":"NSW"},"2507":{"id":"2507","locality":"RED HEAD","postcode":"2430","state":"NSW"},"2508":{"id":"2508","locality":"SALTWATER","postcode":"2430","state":"NSW"},"2509":{"id":"2509","locality":"TALLWOODS VILLAGE","postcode":"2430","state":"NSW"},"2510":{"id":"2510","locality":"TAREE","postcode":"2430","state":"NSW"},"2511":{"id":"2511","locality":"TAREE SOUTH","postcode":"2430","state":"NSW"},"2512":{"id":"2512","locality":"TINONEE","postcode":"2430","state":"NSW"},"2513":{"id":"2513","locality":"UPPER LANSDOWNE","postcode":"2430","state":"NSW"},"2514":{"id":"2514","locality":"WALLABI POINT","postcode":"2430","state":"NSW"},"2515":{"id":"2515","locality":"ARAKOON","postcode":"2431","state":"NSW"},"2516":{"id":"2516","locality":"JERSEYVILLE","postcode":"2431","state":"NSW"},"2517":{"id":"2517","locality":"SOUTH WEST ROCKS","postcode":"2431","state":"NSW"},"2518":{"id":"2518","locality":"BATAR CREEK","postcode":"2439","state":"NSW"},"2519":{"id":"2519","locality":"BLACK CREEK","postcode":"2439","state":"NSW"},"2520":{"id":"2520","locality":"KENDALL","postcode":"2439","state":"NSW"},"2521":{"id":"2521","locality":"KEREWONG","postcode":"2439","state":"NSW"},"2522":{"id":"2522","locality":"KEW","postcode":"2439","state":"NSW"},"2523":{"id":"2523","locality":"LOGANS CROSSING","postcode":"2439","state":"NSW"},"2524":{"id":"2524","locality":"LORNE","postcode":"2439","state":"NSW"},"2525":{"id":"2525","locality":"ROSSGLEN","postcode":"2439","state":"NSW"},"2526":{"id":"2526","locality":"SWANS CROSSING","postcode":"2439","state":"NSW"},"2527":{"id":"2527","locality":"UPSALLS CREEK","postcode":"2439","state":"NSW"},"2528":{"id":"2528","locality":"ALDAVILLA","postcode":"2440","state":"NSW"},"2529":{"id":"2529","locality":"AUSTRAL EDEN","postcode":"2440","state":"NSW"},"2530":{"id":"2530","locality":"BELLBROOK","postcode":"2440","state":"NSW"},"2531":{"id":"2531","locality":"BELLIMBOPINNI","postcode":"2440","state":"NSW"},"2532":{"id":"2532","locality":"BELMORE RIVER","postcode":"2440","state":"NSW"},"2533":{"id":"2533","locality":"BURNT BRIDGE","postcode":"2440","state":"NSW"},"2534":{"id":"2534","locality":"CARRAI","postcode":"2440","state":"NSW"},"2535":{"id":"2535","locality":"CLYBUCCA","postcode":"2440","state":"NSW"},"2536":{"id":"2536","locality":"COLLOMBATTI","postcode":"2440","state":"NSW"},"2537":{"id":"2537","locality":"COMARA","postcode":"2440","state":"NSW"},"2538":{"id":"2538","locality":"CORANGULA","postcode":"2440","state":"NSW"},"2539":{"id":"2539","locality":"CRESCENT HEAD","postcode":"2440","state":"NSW"},"2540":{"id":"2540","locality":"DEEP CREEK","postcode":"2440","state":"NSW"},"2541":{"id":"2541","locality":"DONDINGALONG","postcode":"2440","state":"NSW"},"2542":{"id":"2542","locality":"EAST KEMPSEY","postcode":"2440","state":"NSW"},"2543":{"id":"2543","locality":"EUROKA","postcode":"2440","state":"NSW"},"2544":{"id":"2544","locality":"FREDERICKTON","postcode":"2440","state":"NSW"},"2545":{"id":"2545","locality":"GLADSTONE","postcode":"2440","state":"NSW"},"2546":{"id":"2546","locality":"GREENHILL","postcode":"2440","state":"NSW"},"2547":{"id":"2547","locality":"HAMPDEN HALL","postcode":"2440","state":"NSW"},"2548":{"id":"2548","locality":"HAT HEAD","postcode":"2440","state":"NSW"},"2549":{"id":"2549","locality":"HICKEYS CREEK","postcode":"2440","state":"NSW"},"2550":{"id":"2550","locality":"KEMPSEY","postcode":"2440","state":"NSW"},"2551":{"id":"2551","locality":"KINCHELA","postcode":"2440","state":"NSW"},"2552":{"id":"2552","locality":"LOWER CREEK","postcode":"2440","state":"NSW"},"2553":{"id":"2553","locality":"MILLBANK","postcode":"2440","state":"NSW"},"2554":{"id":"2554","locality":"MOONEBA","postcode":"2440","state":"NSW"},"2555":{"id":"2555","locality":"MOPARRABAH","postcode":"2440","state":"NSW"},"2556":{"id":"2556","locality":"MUNGAY CREEK","postcode":"2440","state":"NSW"},"2557":{"id":"2557","locality":"OLD STATION","postcode":"2440","state":"NSW"},"2558":{"id":"2558","locality":"POLA CREEK","postcode":"2440","state":"NSW"},"2559":{"id":"2559","locality":"RAINBOW REACH","postcode":"2440","state":"NSW"},"2560":{"id":"2560","locality":"SEVEN OAKS","postcode":"2440","state":"NSW"},"2561":{"id":"2561","locality":"SHERWOOD","postcode":"2440","state":"NSW"},"2562":{"id":"2562","locality":"SKILLION FLAT","postcode":"2440","state":"NSW"},"2563":{"id":"2563","locality":"SMITHTOWN","postcode":"2440","state":"NSW"},"2564":{"id":"2564","locality":"SOUTH KEMPSEY","postcode":"2440","state":"NSW"},"2565":{"id":"2565","locality":"SUMMER ISLAND","postcode":"2440","state":"NSW"},"2566":{"id":"2566","locality":"TEMAGOG","postcode":"2440","state":"NSW"},"2567":{"id":"2567","locality":"TOOROOKA","postcode":"2440","state":"NSW"},"2568":{"id":"2568","locality":"TURNERS FLAT","postcode":"2440","state":"NSW"},"2569":{"id":"2569","locality":"VERGES CREEK","postcode":"2440","state":"NSW"},"2570":{"id":"2570","locality":"WEST KEMPSEY","postcode":"2440","state":"NSW"},"2571":{"id":"2571","locality":"WILLAWARRIN","postcode":"2440","state":"NSW"},"2572":{"id":"2572","locality":"WILLI WILLI","postcode":"2440","state":"NSW"},"2573":{"id":"2573","locality":"WITTITRIN","postcode":"2440","state":"NSW"},"2574":{"id":"2574","locality":"YARRAVEL","postcode":"2440","state":"NSW"},"2575":{"id":"2575","locality":"YESSABAH","postcode":"2440","state":"NSW"},"2576":{"id":"2576","locality":"ALLGOMERA","postcode":"2441","state":"NSW"},"2577":{"id":"2577","locality":"BALLENGARRA","postcode":"2441","state":"NSW"},"2578":{"id":"2578","locality":"BARRAGANYATTI","postcode":"2441","state":"NSW"},"2579":{"id":"2579","locality":"BRIL BRIL","postcode":"2441","state":"NSW"},"2580":{"id":"2580","locality":"BRINERVILLE","postcode":"2441","state":"NSW"},"2581":{"id":"2581","locality":"COOPERABUNG","postcode":"2441","state":"NSW"},"2582":{"id":"2582","locality":"EUNGAI CREEK","postcode":"2441","state":"NSW"},"2583":{"id":"2583","locality":"EUNGAI RAIL","postcode":"2441","state":"NSW"},"2584":{"id":"2584","locality":"FISHERMANS REACH","postcode":"2441","state":"NSW"},"2585":{"id":"2585","locality":"GRASSY HEAD","postcode":"2441","state":"NSW"},"2586":{"id":"2586","locality":"GUM SCRUB","postcode":"2441","state":"NSW"},"2587":{"id":"2587","locality":"HACKS FERRY","postcode":"2441","state":"NSW"},"2588":{"id":"2588","locality":"KIPPARA","postcode":"2441","state":"NSW"},"2589":{"id":"2589","locality":"KUNDABUNG","postcode":"2441","state":"NSW"},"2590":{"id":"2590","locality":"ROLLANDS PLAINS","postcode":"2441","state":"NSW"},"2591":{"id":"2591","locality":"STUARTS POINT","postcode":"2441","state":"NSW"},"2592":{"id":"2592","locality":"TAMBAN","postcode":"2441","state":"NSW"},"2593":{"id":"2593","locality":"TELEGRAPH POINT","postcode":"2441","state":"NSW"},"2594":{"id":"2594","locality":"UPPER ROLLANDS PLAINS","postcode":"2441","state":"NSW"},"2595":{"id":"2595","locality":"YARRAHAPINNI","postcode":"2441","state":"NSW"},"2596":{"id":"2596","locality":"KEMPSEY MSC","postcode":"2442","state":"NSW"},"2597":{"id":"2597","locality":"MID NORTH COAST MSC","postcode":"2442","state":"NSW"},"2598":{"id":"2598","locality":"BOBS CREEK","postcode":"2443","state":"NSW"},"2599":{"id":"2599","locality":"CAMDEN HEAD","postcode":"2443","state":"NSW"},"2600":{"id":"2600","locality":"CORALVILLE","postcode":"2443","state":"NSW"},"2601":{"id":"2601","locality":"CROWDY BAY NATIONAL PARK","postcode":"2443","state":"NSW"},"2602":{"id":"2602","locality":"DEAUVILLE","postcode":"2443","state":"NSW"},"2603":{"id":"2603","locality":"DIAMOND HEAD","postcode":"2443","state":"NSW"},"2604":{"id":"2604","locality":"DUNBOGAN","postcode":"2443","state":"NSW"},"2605":{"id":"2605","locality":"HANNAM VALE","postcode":"2443","state":"NSW"},"2606":{"id":"2606","locality":"HERONS CREEK","postcode":"2443","state":"NSW"},"2607":{"id":"2607","locality":"JOHNS RIVER","postcode":"2443","state":"NSW"},"2608":{"id":"2608","locality":"LAKEWOOD","postcode":"2443","state":"NSW"},"2609":{"id":"2609","locality":"LAURIETON","postcode":"2443","state":"NSW"},"2610":{"id":"2610","locality":"MIDDLE BROTHER","postcode":"2443","state":"NSW"},"2611":{"id":"2611","locality":"MOORLAND","postcode":"2443","state":"NSW"},"2612":{"id":"2612","locality":"NORTH BROTHER","postcode":"2443","state":"NSW"},"2613":{"id":"2613","locality":"NORTH HAVEN","postcode":"2443","state":"NSW"},"2614":{"id":"2614","locality":"STEWARTS RIVER","postcode":"2443","state":"NSW"},"2615":{"id":"2615","locality":"WAITUI","postcode":"2443","state":"NSW"},"2616":{"id":"2616","locality":"WEST HAVEN","postcode":"2443","state":"NSW"},"2617":{"id":"2617","locality":"BLACKMANS POINT","postcode":"2444","state":"NSW"},"2618":{"id":"2618","locality":"FERNBANK CREEK","postcode":"2444","state":"NSW"},"2619":{"id":"2619","locality":"FLYNNS BEACH","postcode":"2444","state":"NSW"},"2620":{"id":"2620","locality":"LIGHTHOUSE BEACH","postcode":"2444","state":"NSW"},"2621":{"id":"2621","locality":"LIMEBURNERS CREEK","postcode":"2444","state":"NSW"},"2622":{"id":"2622","locality":"NORTH SHORE","postcode":"2444","state":"NSW"},"2623":{"id":"2623","locality":"PORT MACQUARIE","postcode":"2444","state":"NSW"},"2624":{"id":"2624","locality":"PORT MACQUARIE BC","postcode":"2444","state":"NSW"},"2625":{"id":"2625","locality":"RIVERSIDE","postcode":"2444","state":"NSW"},"2626":{"id":"2626","locality":"SETTLEMENT CITY","postcode":"2444","state":"NSW"},"2627":{"id":"2627","locality":"THE HATCH","postcode":"2444","state":"NSW"},"2628":{"id":"2628","locality":"THRUMSTER","postcode":"2444","state":"NSW"},"2629":{"id":"2629","locality":"BONNY HILLS","postcode":"2445","state":"NSW"},"2630":{"id":"2630","locality":"GRANTS BEACH","postcode":"2445","state":"NSW"},"2631":{"id":"2631","locality":"JOLLY NOSE","postcode":"2445","state":"NSW"},"2632":{"id":"2632","locality":"LAKE CATHIE","postcode":"2445","state":"NSW"},"2633":{"id":"2633","locality":"BAGNOO","postcode":"2446","state":"NSW"},"2634":{"id":"2634","locality":"BAGO","postcode":"2446","state":"NSW"},"2635":{"id":"2635","locality":"BANDA BANDA","postcode":"2446","state":"NSW"},"2636":{"id":"2636","locality":"BEECHWOOD","postcode":"2446","state":"NSW"},"2637":{"id":"2637","locality":"BELLANGRY","postcode":"2446","state":"NSW"},"2638":{"id":"2638","locality":"BIRDWOOD","postcode":"2446","state":"NSW"},"2639":{"id":"2639","locality":"BROMBIN","postcode":"2446","state":"NSW"},"2640":{"id":"2640","locality":"BYABARRA","postcode":"2446","state":"NSW"},"2641":{"id":"2641","locality":"CAIRNCROSS","postcode":"2446","state":"NSW"},"2642":{"id":"2642","locality":"CROSSLANDS","postcode":"2446","state":"NSW"},"2643":{"id":"2643","locality":"DEBENHAM","postcode":"2446","state":"NSW"},"2644":{"id":"2644","locality":"DOYLES RIVER","postcode":"2446","state":"NSW"},"2645":{"id":"2645","locality":"ELLENBOROUGH","postcode":"2446","state":"NSW"},"2646":{"id":"2646","locality":"FORBES RIVER","postcode":"2446","state":"NSW"},"2647":{"id":"2647","locality":"FRAZERS CREEK","postcode":"2446","state":"NSW"},"2648":{"id":"2648","locality":"GEARYS FLAT","postcode":"2446","state":"NSW"},"2649":{"id":"2649","locality":"HARTYS PLAINS","postcode":"2446","state":"NSW"},"2650":{"id":"2650","locality":"HOLLISDALE","postcode":"2446","state":"NSW"},"2651":{"id":"2651","locality":"HUNTINGDON","postcode":"2446","state":"NSW"},"2652":{"id":"2652","locality":"HYNDMANS CREEK","postcode":"2446","state":"NSW"},"2653":{"id":"2653","locality":"KINDEE","postcode":"2446","state":"NSW"},"2654":{"id":"2654","locality":"KING CREEK","postcode":"2446","state":"NSW"},"2655":{"id":"2655","locality":"LAKE INNES","postcode":"2446","state":"NSW"},"2656":{"id":"2656","locality":"LONG FLAT","postcode":"2446","state":"NSW"},"2657":{"id":"2657","locality":"LOWER PAPPINBARRA","postcode":"2446","state":"NSW"},"2658":{"id":"2658","locality":"MARLO MERRICAN","postcode":"2446","state":"NSW"},"2659":{"id":"2659","locality":"MORTONS CREEK","postcode":"2446","state":"NSW"},"2660":{"id":"2660","locality":"MOUNT SEAVIEW","postcode":"2446","state":"NSW"},"2661":{"id":"2661","locality":"PAPPINBARRA","postcode":"2446","state":"NSW"},"2662":{"id":"2662","locality":"PEMBROOKE","postcode":"2446","state":"NSW"},"2663":{"id":"2663","locality":"PIPECLAY","postcode":"2446","state":"NSW"},"2664":{"id":"2664","locality":"RAWDON ISLAND","postcode":"2446","state":"NSW"},"2665":{"id":"2665","locality":"REDBANK","postcode":"2446","state":"NSW"},"2666":{"id":"2666","locality":"ROSEWOOD","postcode":"2446","state":"NSW"},"2667":{"id":"2667","locality":"SANCROX","postcode":"2446","state":"NSW"},"2668":{"id":"2668","locality":"TOMS CREEK","postcode":"2446","state":"NSW"},"2669":{"id":"2669","locality":"UPPER PAPPINBARRA","postcode":"2446","state":"NSW"},"2670":{"id":"2670","locality":"WAUCHOPE","postcode":"2446","state":"NSW"},"2671":{"id":"2671","locality":"WERRIKIMBE","postcode":"2446","state":"NSW"},"2672":{"id":"2672","locality":"YARRAS","postcode":"2446","state":"NSW"},"2673":{"id":"2673","locality":"YIPPIN CREEK","postcode":"2446","state":"NSW"},"2674":{"id":"2674","locality":"BAKERS CREEK","postcode":"2447","state":"NSW"},"2675":{"id":"2675","locality":"BURRAPINE","postcode":"2447","state":"NSW"},"2676":{"id":"2676","locality":"CONGARINNI","postcode":"2447","state":"NSW"},"2677":{"id":"2677","locality":"CONGARINNI NORTH","postcode":"2447","state":"NSW"},"2678":{"id":"2678","locality":"DONNELLYVILLE","postcode":"2447","state":"NSW"},"2679":{"id":"2679","locality":"GUMMA","postcode":"2447","state":"NSW"},"2680":{"id":"2680","locality":"MACKSVILLE","postcode":"2447","state":"NSW"},"2681":{"id":"2681","locality":"NEWEE CREEK","postcode":"2447","state":"NSW"},"2682":{"id":"2682","locality":"NORTH MACKSVILLE","postcode":"2447","state":"NSW"},"2683":{"id":"2683","locality":"SCOTTS HEAD","postcode":"2447","state":"NSW"},"2684":{"id":"2684","locality":"TALARM","postcode":"2447","state":"NSW"},"2685":{"id":"2685","locality":"TAYLORS ARM","postcode":"2447","state":"NSW"},"2686":{"id":"2686","locality":"THUMB CREEK","postcode":"2447","state":"NSW"},"2687":{"id":"2687","locality":"UPPER TAYLORS ARM","postcode":"2447","state":"NSW"},"2688":{"id":"2688","locality":"UTUNGUN","postcode":"2447","state":"NSW"},"2689":{"id":"2689","locality":"WARRELL CREEK","postcode":"2447","state":"NSW"},"2690":{"id":"2690","locality":"WAY WAY","postcode":"2447","state":"NSW"},"2691":{"id":"2691","locality":"WIRRIMBI","postcode":"2447","state":"NSW"},"2692":{"id":"2692","locality":"YARRANBELLA","postcode":"2447","state":"NSW"},"2693":{"id":"2693","locality":"HYLAND PARK","postcode":"2448","state":"NSW"},"2694":{"id":"2694","locality":"NAMBUCCA HEADS","postcode":"2448","state":"NSW"},"2695":{"id":"2695","locality":"VALLA","postcode":"2448","state":"NSW"},"2696":{"id":"2696","locality":"VALLA BEACH","postcode":"2448","state":"NSW"},"2697":{"id":"2697","locality":"ARGENTS HILL","postcode":"2449","state":"NSW"},"2698":{"id":"2698","locality":"BOWRAVILLE","postcode":"2449","state":"NSW"},"2699":{"id":"2699","locality":"BUCKRA BENDINNI","postcode":"2449","state":"NSW"},"2700":{"id":"2700","locality":"GIRRALONG","postcode":"2449","state":"NSW"},"2701":{"id":"2701","locality":"KENNAICLE CREEK","postcode":"2449","state":"NSW"},"2702":{"id":"2702","locality":"KILLIEKRANKIE","postcode":"2449","state":"NSW"},"2703":{"id":"2703","locality":"MISSABOTTI","postcode":"2449","state":"NSW"},"2704":{"id":"2704","locality":"SOUTH ARM","postcode":"2449","state":"NSW"},"2705":{"id":"2705","locality":"TEWINGA","postcode":"2449","state":"NSW"},"2706":{"id":"2706","locality":"BOAMBEE","postcode":"2450","state":"NSW"},"2707":{"id":"2707","locality":"BONVILLE","postcode":"2450","state":"NSW"},"2708":{"id":"2708","locality":"BROOKLANA","postcode":"2450","state":"NSW"},"2709":{"id":"2709","locality":"BUCCA","postcode":"2450","state":"NSW"},"2710":{"id":"2710","locality":"COFFS HARBOUR","postcode":"2450","state":"NSW"},"2711":{"id":"2711","locality":"COFFS HARBOUR JETTY","postcode":"2450","state":"NSW"},"2712":{"id":"2712","locality":"COFFS HARBOUR PLAZA","postcode":"2450","state":"NSW"},"2713":{"id":"2713","locality":"CORAMBA","postcode":"2450","state":"NSW"},"2714":{"id":"2714","locality":"GLENREAGH","postcode":"2450","state":"NSW"},"2715":{"id":"2715","locality":"KARANGI","postcode":"2450","state":"NSW"},"2716":{"id":"2716","locality":"KORORA","postcode":"2450","state":"NSW"},"2717":{"id":"2717","locality":"LOWANNA","postcode":"2450","state":"NSW"},"2718":{"id":"2718","locality":"MOONEE BEACH","postcode":"2450","state":"NSW"},"2719":{"id":"2719","locality":"NANA GLEN","postcode":"2450","state":"NSW"},"2720":{"id":"2720","locality":"NORTH BOAMBEE VALLEY","postcode":"2450","state":"NSW"},"2721":{"id":"2721","locality":"SAPPHIRE BEACH","postcode":"2450","state":"NSW"},"2722":{"id":"2722","locality":"SHERWOOD","postcode":"2450","state":"NSW"},"2723":{"id":"2723","locality":"ULONG","postcode":"2450","state":"NSW"},"2724":{"id":"2724","locality":"UPPER ORARA","postcode":"2450","state":"NSW"},"2725":{"id":"2725","locality":"BOAMBEE EAST","postcode":"2452","state":"NSW"},"2726":{"id":"2726","locality":"SAWTELL","postcode":"2452","state":"NSW"},"2727":{"id":"2727","locality":"TOORMINA","postcode":"2452","state":"NSW"},"2728":{"id":"2728","locality":"BIELSDOWN HILLS","postcode":"2453","state":"NSW"},"2729":{"id":"2729","locality":"BILLYS CREEK","postcode":"2453","state":"NSW"},"2730":{"id":"2730","locality":"BOSTOBRICK","postcode":"2453","state":"NSW"},"2731":{"id":"2731","locality":"CASCADE","postcode":"2453","state":"NSW"},"2732":{"id":"2732","locality":"CLOUDS CREEK","postcode":"2453","state":"NSW"},"2733":{"id":"2733","locality":"DEER VALE","postcode":"2453","state":"NSW"},"2734":{"id":"2734","locality":"DORRIGO","postcode":"2453","state":"NSW"},"2735":{"id":"2735","locality":"DORRIGO MOUNTAIN","postcode":"2453","state":"NSW"},"2736":{"id":"2736","locality":"DUNDURRABIN","postcode":"2453","state":"NSW"},"2737":{"id":"2737","locality":"EBOR","postcode":"2453","state":"NSW"},"2738":{"id":"2738","locality":"FERNBROOK","postcode":"2453","state":"NSW"},"2739":{"id":"2739","locality":"HERNANI","postcode":"2453","state":"NSW"},"2740":{"id":"2740","locality":"MARENGO","postcode":"2453","state":"NSW"},"2741":{"id":"2741","locality":"MEGAN","postcode":"2453","state":"NSW"},"2742":{"id":"2742","locality":"MOONPAR","postcode":"2453","state":"NSW"},"2743":{"id":"2743","locality":"NEVER NEVER","postcode":"2453","state":"NSW"},"2744":{"id":"2744","locality":"NORTH DORRIGO","postcode":"2453","state":"NSW"},"2745":{"id":"2745","locality":"TALLOWWOOD RIDGE","postcode":"2453","state":"NSW"},"2746":{"id":"2746","locality":"TYRINGHAM","postcode":"2453","state":"NSW"},"2747":{"id":"2747","locality":"WILD CATTLE CREEK","postcode":"2453","state":"NSW"},"2748":{"id":"2748","locality":"BELLINGEN","postcode":"2454","state":"NSW"},"2749":{"id":"2749","locality":"BRIERFIELD","postcode":"2454","state":"NSW"},"2750":{"id":"2750","locality":"BUNDAGEN","postcode":"2454","state":"NSW"},"2751":{"id":"2751","locality":"DARKWOOD","postcode":"2454","state":"NSW"},"2752":{"id":"2752","locality":"FERNMOUNT","postcode":"2454","state":"NSW"},"2753":{"id":"2753","locality":"GLENIFFER","postcode":"2454","state":"NSW"},"2754":{"id":"2754","locality":"KALANG","postcode":"2454","state":"NSW"},"2755":{"id":"2755","locality":"MYLESTOM","postcode":"2454","state":"NSW"},"2756":{"id":"2756","locality":"RALEIGH","postcode":"2454","state":"NSW"},"2757":{"id":"2757","locality":"REPTON","postcode":"2454","state":"NSW"},"2758":{"id":"2758","locality":"SPICKETTS CREEK","postcode":"2454","state":"NSW"},"2759":{"id":"2759","locality":"THORA","postcode":"2454","state":"NSW"},"2760":{"id":"2760","locality":"VALERY","postcode":"2454","state":"NSW"},"2761":{"id":"2761","locality":"URUNGA","postcode":"2455","state":"NSW"},"2762":{"id":"2762","locality":"ARRAWARRA","postcode":"2456","state":"NSW"},"2763":{"id":"2763","locality":"ARRAWARRA HEADLAND","postcode":"2456","state":"NSW"},"2764":{"id":"2764","locality":"CORINDI BEACH","postcode":"2456","state":"NSW"},"2765":{"id":"2765","locality":"DIRTY CREEK","postcode":"2456","state":"NSW"},"2766":{"id":"2766","locality":"EMERALD BEACH","postcode":"2456","state":"NSW"},"2767":{"id":"2767","locality":"MULLAWAY","postcode":"2456","state":"NSW"},"2768":{"id":"2768","locality":"RED ROCK","postcode":"2456","state":"NSW"},"2769":{"id":"2769","locality":"SAFETY BEACH","postcode":"2456","state":"NSW"},"2770":{"id":"2770","locality":"SANDY BEACH","postcode":"2456","state":"NSW"},"2771":{"id":"2771","locality":"UPPER CORINDI","postcode":"2456","state":"NSW"},"2772":{"id":"2772","locality":"WOOLGOOLGA","postcode":"2456","state":"NSW"},"2773":{"id":"2773","locality":"ALUMY CREEK","postcode":"2460","state":"NSW"},"2774":{"id":"2774","locality":"BARCOONGERE","postcode":"2460","state":"NSW"},"2775":{"id":"2775","locality":"BARRETTS CREEK","postcode":"2460","state":"NSW"},"2776":{"id":"2776","locality":"BARYULGIL","postcode":"2460","state":"NSW"},"2777":{"id":"2777","locality":"BLAXLANDS CREEK","postcode":"2460","state":"NSW"},"2778":{"id":"2778","locality":"BOM BOM","postcode":"2460","state":"NSW"},"2779":{"id":"2779","locality":"BOOKRAM","postcode":"2460","state":"NSW"},"2780":{"id":"2780","locality":"BRAUNSTONE","postcode":"2460","state":"NSW"},"2781":{"id":"2781","locality":"BRUSHGROVE","postcode":"2460","state":"NSW"},"2782":{"id":"2782","locality":"BUCCARUMBI","postcode":"2460","state":"NSW"},"2783":{"id":"2783","locality":"CALAMIA","postcode":"2460","state":"NSW"},"2784":{"id":"2784","locality":"CANGAI","postcode":"2460","state":"NSW"},"2785":{"id":"2785","locality":"CARNHAM","postcode":"2460","state":"NSW"},"2786":{"id":"2786","locality":"CARRS CREEK","postcode":"2460","state":"NSW"},"2787":{"id":"2787","locality":"CARRS ISLAND","postcode":"2460","state":"NSW"},"2788":{"id":"2788","locality":"CARRS PENINSULAR","postcode":"2460","state":"NSW"},"2789":{"id":"2789","locality":"CHAELUNDI","postcode":"2460","state":"NSW"},"2790":{"id":"2790","locality":"CHAMBIGNE","postcode":"2460","state":"NSW"},"2791":{"id":"2791","locality":"CLARENZA","postcode":"2460","state":"NSW"},"2792":{"id":"2792","locality":"CLIFDEN","postcode":"2460","state":"NSW"},"2793":{"id":"2793","locality":"COALDALE","postcode":"2460","state":"NSW"},"2794":{"id":"2794","locality":"COLLUM COLLUM","postcode":"2460","state":"NSW"},"2795":{"id":"2795","locality":"COOMBADJHA","postcode":"2460","state":"NSW"},"2796":{"id":"2796","locality":"COPMANHURST","postcode":"2460","state":"NSW"},"2797":{"id":"2797","locality":"COUTTS CROSSING","postcode":"2460","state":"NSW"},"2798":{"id":"2798","locality":"COWPER","postcode":"2460","state":"NSW"},"2799":{"id":"2799","locality":"CROWTHER ISLAND","postcode":"2460","state":"NSW"},"2800":{"id":"2800","locality":"DALMORTON","postcode":"2460","state":"NSW"},"2801":{"id":"2801","locality":"DEEP CREEK","postcode":"2460","state":"NSW"},"2802":{"id":"2802","locality":"DILKOON","postcode":"2460","state":"NSW"},"2803":{"id":"2803","locality":"DUMBUDGERY","postcode":"2460","state":"NSW"},"2804":{"id":"2804","locality":"EATONSVILLE","postcode":"2460","state":"NSW"},"2805":{"id":"2805","locality":"EIGHTEEN MILE","postcode":"2460","state":"NSW"},"2806":{"id":"2806","locality":"ELLAND","postcode":"2460","state":"NSW"},"2807":{"id":"2807","locality":"FINE FLOWER","postcode":"2460","state":"NSW"},"2808":{"id":"2808","locality":"FORTIS CREEK","postcode":"2460","state":"NSW"},"2809":{"id":"2809","locality":"GLENUGIE","postcode":"2460","state":"NSW"},"2810":{"id":"2810","locality":"GRAFTON","postcode":"2460","state":"NSW"},"2811":{"id":"2811","locality":"GREAT MARLOW","postcode":"2460","state":"NSW"},"2812":{"id":"2812","locality":"GURRANANG","postcode":"2460","state":"NSW"},"2813":{"id":"2813","locality":"HALFWAY CREEK","postcode":"2460","state":"NSW"},"2814":{"id":"2814","locality":"HEIFER STATION","postcode":"2460","state":"NSW"},"2815":{"id":"2815","locality":"JACKADGERY","postcode":"2460","state":"NSW"},"2816":{"id":"2816","locality":"JUNCTION HILL","postcode":"2460","state":"NSW"},"2817":{"id":"2817","locality":"KANGAROO CREEK","postcode":"2460","state":"NSW"},"2818":{"id":"2818","locality":"KOOLKHAN","postcode":"2460","state":"NSW"},"2819":{"id":"2819","locality":"KREMNOS","postcode":"2460","state":"NSW"},"2820":{"id":"2820","locality":"KUNGALA","postcode":"2460","state":"NSW"},"2821":{"id":"2821","locality":"KYARRAN","postcode":"2460","state":"NSW"},"2822":{"id":"2822","locality":"LANITZA","postcode":"2460","state":"NSW"},"2823":{"id":"2823","locality":"LAWRENCE","postcode":"2460","state":"NSW"},"2824":{"id":"2824","locality":"LEVENSTRATH","postcode":"2460","state":"NSW"},"2825":{"id":"2825","locality":"LILYDALE","postcode":"2460","state":"NSW"},"2826":{"id":"2826","locality":"LIONSVILLE","postcode":"2460","state":"NSW"},"2827":{"id":"2827","locality":"LOWER SOUTHGATE","postcode":"2460","state":"NSW"},"2828":{"id":"2828","locality":"MALABUGILMAH","postcode":"2460","state":"NSW"},"2829":{"id":"2829","locality":"MOLEVILLE CREEK","postcode":"2460","state":"NSW"},"2830":{"id":"2830","locality":"MOUNTAIN VIEW","postcode":"2460","state":"NSW"},"2831":{"id":"2831","locality":"MYLNEFORD","postcode":"2460","state":"NSW"},"2832":{"id":"2832","locality":"NEWBOLD","postcode":"2460","state":"NSW"},"2833":{"id":"2833","locality":"NYMBOIDA","postcode":"2460","state":"NSW"},"2834":{"id":"2834","locality":"PULGANBAR","postcode":"2460","state":"NSW"},"2835":{"id":"2835","locality":"PUNCHBOWL","postcode":"2460","state":"NSW"},"2836":{"id":"2836","locality":"RAMORNIE","postcode":"2460","state":"NSW"},"2837":{"id":"2837","locality":"RUSHFORTH","postcode":"2460","state":"NSW"},"2838":{"id":"2838","locality":"SANDY CROSSING","postcode":"2460","state":"NSW"},"2839":{"id":"2839","locality":"SEELANDS","postcode":"2460","state":"NSW"},"2840":{"id":"2840","locality":"SHANNONDALE","postcode":"2460","state":"NSW"},"2841":{"id":"2841","locality":"SMITHS CREEK","postcode":"2460","state":"NSW"},"2842":{"id":"2842","locality":"SOUTH ARM","postcode":"2460","state":"NSW"},"2843":{"id":"2843","locality":"SOUTH GRAFTON","postcode":"2460","state":"NSW"},"2844":{"id":"2844","locality":"SOUTHAMPTON","postcode":"2460","state":"NSW"},"2845":{"id":"2845","locality":"SOUTHGATE","postcode":"2460","state":"NSW"},"2846":{"id":"2846","locality":"STOCKYARD CREEK","postcode":"2460","state":"NSW"},"2847":{"id":"2847","locality":"THE PINNACLES","postcode":"2460","state":"NSW"},"2848":{"id":"2848","locality":"THE WHITEMAN","postcode":"2460","state":"NSW"},"2849":{"id":"2849","locality":"TOWALLUM","postcode":"2460","state":"NSW"},"2850":{"id":"2850","locality":"TRENAYR","postcode":"2460","state":"NSW"},"2851":{"id":"2851","locality":"TYNDALE","postcode":"2460","state":"NSW"},"2852":{"id":"2852","locality":"UPPER COPMANHURST","postcode":"2460","state":"NSW"},"2853":{"id":"2853","locality":"UPPER FINE FLOWER","postcode":"2460","state":"NSW"},"2854":{"id":"2854","locality":"WARRAGAI CREEK","postcode":"2460","state":"NSW"},"2855":{"id":"2855","locality":"WASHPOOL","postcode":"2460","state":"NSW"},"2856":{"id":"2856","locality":"WATERVIEW","postcode":"2460","state":"NSW"},"2857":{"id":"2857","locality":"WATERVIEW HEIGHTS","postcode":"2460","state":"NSW"},"2858":{"id":"2858","locality":"WELLS CROSSING","postcode":"2460","state":"NSW"},"2859":{"id":"2859","locality":"WHITEMAN CREEK","postcode":"2460","state":"NSW"},"2860":{"id":"2860","locality":"WINEGROVE","postcode":"2460","state":"NSW"},"2861":{"id":"2861","locality":"WOMBAT CREEK","postcode":"2460","state":"NSW"},"2862":{"id":"2862","locality":"CALLIOPE","postcode":"2462","state":"NSW"},"2863":{"id":"2863","locality":"COLDSTREAM","postcode":"2462","state":"NSW"},"2864":{"id":"2864","locality":"DIGGERS CAMP","postcode":"2462","state":"NSW"},"2865":{"id":"2865","locality":"GILLETTS RIDGE","postcode":"2462","state":"NSW"},"2866":{"id":"2866","locality":"LAKE HIAWATHA","postcode":"2462","state":"NSW"},"2867":{"id":"2867","locality":"LAVADIA","postcode":"2462","state":"NSW"},"2868":{"id":"2868","locality":"MINNIE WATER","postcode":"2462","state":"NSW"},"2869":{"id":"2869","locality":"PILLAR VALLEY","postcode":"2462","state":"NSW"},"2870":{"id":"2870","locality":"SWAN CREEK","postcode":"2462","state":"NSW"},"2871":{"id":"2871","locality":"TUCABIA","postcode":"2462","state":"NSW"},"2872":{"id":"2872","locality":"ULMARRA","postcode":"2462","state":"NSW"},"2873":{"id":"2873","locality":"WOOLI","postcode":"2462","state":"NSW"},"2874":{"id":"2874","locality":"ASHBY","postcode":"2463","state":"NSW"},"2875":{"id":"2875","locality":"ASHBY HEIGHTS","postcode":"2463","state":"NSW"},"2876":{"id":"2876","locality":"ASHBY ISLAND","postcode":"2463","state":"NSW"},"2877":{"id":"2877","locality":"BROOMS HEAD","postcode":"2463","state":"NSW"},"2878":{"id":"2878","locality":"GULMARRAD","postcode":"2463","state":"NSW"},"2879":{"id":"2879","locality":"ILARWILL","postcode":"2463","state":"NSW"},"2880":{"id":"2880","locality":"JACKY BULBIN FLAT","postcode":"2463","state":"NSW"},"2881":{"id":"2881","locality":"JAMES CREEK","postcode":"2463","state":"NSW"},"2882":{"id":"2882","locality":"MACLEAN","postcode":"2463","state":"NSW"},"2883":{"id":"2883","locality":"PALMERS CHANNEL","postcode":"2463","state":"NSW"},"2884":{"id":"2884","locality":"PALMERS ISLAND","postcode":"2463","state":"NSW"},"2885":{"id":"2885","locality":"SANDON","postcode":"2463","state":"NSW"},"2886":{"id":"2886","locality":"SHARK CREEK","postcode":"2463","state":"NSW"},"2887":{"id":"2887","locality":"TALOUMBI","postcode":"2463","state":"NSW"},"2888":{"id":"2888","locality":"THE SANDON","postcode":"2463","state":"NSW"},"2889":{"id":"2889","locality":"TOWNSEND","postcode":"2463","state":"NSW"},"2890":{"id":"2890","locality":"TULLYMORGAN","postcode":"2463","state":"NSW"},"2891":{"id":"2891","locality":"WOODFORD ISLAND","postcode":"2463","state":"NSW"},"2892":{"id":"2892","locality":"ANGOURIE","postcode":"2464","state":"NSW"},"2893":{"id":"2893","locality":"FREEBURN ISLAND","postcode":"2464","state":"NSW"},"2894":{"id":"2894","locality":"MICALO ISLAND","postcode":"2464","state":"NSW"},"2895":{"id":"2895","locality":"WOOLOWEYAH","postcode":"2464","state":"NSW"},"2896":{"id":"2896","locality":"YAMBA","postcode":"2464","state":"NSW"},"2897":{"id":"2897","locality":"YURAYGIR","postcode":"2464","state":"NSW"},"2898":{"id":"2898","locality":"HARWOOD","postcode":"2465","state":"NSW"},"2899":{"id":"2899","locality":"ILUKA","postcode":"2466","state":"NSW"},"2900":{"id":"2900","locality":"THE FRESHWATER","postcode":"2466","state":"NSW"},"2901":{"id":"2901","locality":"WOODY HEAD","postcode":"2466","state":"NSW"},"2902":{"id":"2902","locality":"ALICE","postcode":"2469","state":"NSW"},"2903":{"id":"2903","locality":"BANYABBA","postcode":"2469","state":"NSW"},"2904":{"id":"2904","locality":"BEAN CREEK","postcode":"2469","state":"NSW"},"2905":{"id":"2905","locality":"BINGEEBEEBRA CREEK","postcode":"2469","state":"NSW"},"2906":{"id":"2906","locality":"BONALBO","postcode":"2469","state":"NSW"},"2907":{"id":"2907","locality":"BOTTLE CREEK","postcode":"2469","state":"NSW"},"2908":{"id":"2908","locality":"BULLDOG","postcode":"2469","state":"NSW"},"2909":{"id":"2909","locality":"BUNGAWALBIN","postcode":"2469","state":"NSW"},"2910":{"id":"2910","locality":"BUSBYS FLAT","postcode":"2469","state":"NSW"},"2911":{"id":"2911","locality":"CAMBRIDGE PLATEAU","postcode":"2469","state":"NSW"},"2912":{"id":"2912","locality":"CAMIRA","postcode":"2469","state":"NSW"},"2913":{"id":"2913","locality":"CAPEEN CREEK","postcode":"2469","state":"NSW"},"2914":{"id":"2914","locality":"CHATSWORTH","postcode":"2469","state":"NSW"},"2915":{"id":"2915","locality":"CLEARFIELD","postcode":"2469","state":"NSW"},"2916":{"id":"2916","locality":"COONGBAR","postcode":"2469","state":"NSW"},"2917":{"id":"2917","locality":"CULMARAN CREEK","postcode":"2469","state":"NSW"},"2918":{"id":"2918","locality":"DEEP CREEK","postcode":"2469","state":"NSW"},"2919":{"id":"2919","locality":"DRAKE","postcode":"2469","state":"NSW"},"2920":{"id":"2920","locality":"DRAKE VILLAGE","postcode":"2469","state":"NSW"},"2921":{"id":"2921","locality":"DUCK CREEK","postcode":"2469","state":"NSW"},"2922":{"id":"2922","locality":"EWINGAR","postcode":"2469","state":"NSW"},"2923":{"id":"2923","locality":"GIBBERAGEE","postcode":"2469","state":"NSW"},"2924":{"id":"2924","locality":"GOODWOOD ISLAND","postcode":"2469","state":"NSW"},"2925":{"id":"2925","locality":"GORGE CREEK","postcode":"2469","state":"NSW"},"2926":{"id":"2926","locality":"HAYSTACK","postcode":"2469","state":"NSW"},"2927":{"id":"2927","locality":"HOGARTH RANGE","postcode":"2469","state":"NSW"},"2928":{"id":"2928","locality":"JACKSONS FLAT","postcode":"2469","state":"NSW"},"2929":{"id":"2929","locality":"JOES BOX","postcode":"2469","state":"NSW"},"2930":{"id":"2930","locality":"KEYBARBIN","postcode":"2469","state":"NSW"},"2931":{"id":"2931","locality":"KIPPENDUFF","postcode":"2469","state":"NSW"},"2932":{"id":"2932","locality":"LOUISA CREEK","postcode":"2469","state":"NSW"},"2933":{"id":"2933","locality":"LOWER BOTTLE CREEK","postcode":"2469","state":"NSW"},"2934":{"id":"2934","locality":"LOWER DUCK CREEK","postcode":"2469","state":"NSW"},"2935":{"id":"2935","locality":"LOWER PEACOCK","postcode":"2469","state":"NSW"},"2936":{"id":"2936","locality":"MALLANGANEE","postcode":"2469","state":"NSW"},"2937":{"id":"2937","locality":"MOOKIMA WYBRA","postcode":"2469","state":"NSW"},"2938":{"id":"2938","locality":"MORORO","postcode":"2469","state":"NSW"},"2939":{"id":"2939","locality":"MOUNT MARSH","postcode":"2469","state":"NSW"},"2940":{"id":"2940","locality":"MUMMULGUM","postcode":"2469","state":"NSW"},"2941":{"id":"2941","locality":"MYRTLE CREEK","postcode":"2469","state":"NSW"},"2942":{"id":"2942","locality":"OLD BONALBO","postcode":"2469","state":"NSW"},"2943":{"id":"2943","locality":"PADDYS FLAT","postcode":"2469","state":"NSW"},"2944":{"id":"2944","locality":"PAGANS FLAT","postcode":"2469","state":"NSW"},"2945":{"id":"2945","locality":"PEACOCK CREEK","postcode":"2469","state":"NSW"},"2946":{"id":"2946","locality":"PIKAPENE","postcode":"2469","state":"NSW"},"2947":{"id":"2947","locality":"RAPPVILLE","postcode":"2469","state":"NSW"},"2948":{"id":"2948","locality":"SANDILANDS","postcode":"2469","state":"NSW"},"2949":{"id":"2949","locality":"SIMPKINS CREEK","postcode":"2469","state":"NSW"},"2950":{"id":"2950","locality":"SIX MILE SWAMP","postcode":"2469","state":"NSW"},"2951":{"id":"2951","locality":"TABULAM","postcode":"2469","state":"NSW"},"2952":{"id":"2952","locality":"THERESA CREEK","postcode":"2469","state":"NSW"},"2953":{"id":"2953","locality":"TUNGLEBUNG","postcode":"2469","state":"NSW"},"2954":{"id":"2954","locality":"UPPER DUCK CREEK","postcode":"2469","state":"NSW"},"2955":{"id":"2955","locality":"WARREGAH ISLAND","postcode":"2469","state":"NSW"},"2956":{"id":"2956","locality":"WHIPORIE","postcode":"2469","state":"NSW"},"2957":{"id":"2957","locality":"WOOMBAH","postcode":"2469","state":"NSW"},"2958":{"id":"2958","locality":"WYAN","postcode":"2469","state":"NSW"},"2959":{"id":"2959","locality":"YABBRA","postcode":"2469","state":"NSW"},"2960":{"id":"2960","locality":"BABYL CREEK","postcode":"2470","state":"NSW"},"2961":{"id":"2961","locality":"BACKMEDE","postcode":"2470","state":"NSW"},"2962":{"id":"2962","locality":"CASINO","postcode":"2470","state":"NSW"},"2963":{"id":"2963","locality":"COOMBELL","postcode":"2470","state":"NSW"},"2964":{"id":"2964","locality":"DOBIES BIGHT","postcode":"2470","state":"NSW"},"2965":{"id":"2965","locality":"DOUBTFUL CREEK","postcode":"2470","state":"NSW"},"2966":{"id":"2966","locality":"DYRAABA","postcode":"2470","state":"NSW"},"2967":{"id":"2967","locality":"ELLANGOWAN","postcode":"2470","state":"NSW"},"2968":{"id":"2968","locality":"FAIRY HILL","postcode":"2470","state":"NSW"},"2969":{"id":"2969","locality":"IRVINGTON","postcode":"2470","state":"NSW"},"2970":{"id":"2970","locality":"LEEVILLE","postcode":"2470","state":"NSW"},"2971":{"id":"2971","locality":"LOWER DYRAABA","postcode":"2470","state":"NSW"},"2972":{"id":"2972","locality":"MONGOGARIE","postcode":"2470","state":"NSW"},"2973":{"id":"2973","locality":"NAUGHTONS GAP","postcode":"2470","state":"NSW"},"2974":{"id":"2974","locality":"NORTH CASINO","postcode":"2470","state":"NSW"},"2975":{"id":"2975","locality":"PIORA","postcode":"2470","state":"NSW"},"2976":{"id":"2976","locality":"SEXTONVILLE","postcode":"2470","state":"NSW"},"2977":{"id":"2977","locality":"SHANNON BROOK","postcode":"2470","state":"NSW"},"2978":{"id":"2978","locality":"SPRING GROVE","postcode":"2470","state":"NSW"},"2979":{"id":"2979","locality":"STRATHEDEN","postcode":"2470","state":"NSW"},"2980":{"id":"2980","locality":"TOMKI","postcode":"2470","state":"NSW"},"2981":{"id":"2981","locality":"UPPER MONGOGARIE","postcode":"2470","state":"NSW"},"2982":{"id":"2982","locality":"WOODVIEW","postcode":"2470","state":"NSW"},"2983":{"id":"2983","locality":"WOOLNERS ARM","postcode":"2470","state":"NSW"},"2984":{"id":"2984","locality":"YORKLEA","postcode":"2470","state":"NSW"},"2985":{"id":"2985","locality":"BORA RIDGE","postcode":"2471","state":"NSW"},"2986":{"id":"2986","locality":"CODRINGTON","postcode":"2471","state":"NSW"},"2987":{"id":"2987","locality":"CORAKI","postcode":"2471","state":"NSW"},"2988":{"id":"2988","locality":"EAST CORAKI","postcode":"2471","state":"NSW"},"2989":{"id":"2989","locality":"GREEN FOREST","postcode":"2471","state":"NSW"},"2990":{"id":"2990","locality":"GREENRIDGE","postcode":"2471","state":"NSW"},"2991":{"id":"2991","locality":"NORTH WOODBURN","postcode":"2471","state":"NSW"},"2992":{"id":"2992","locality":"SWAN BAY","postcode":"2471","state":"NSW"},"2993":{"id":"2993","locality":"TATHAM","postcode":"2471","state":"NSW"},"2994":{"id":"2994","locality":"WEST BUNGAWALBIN","postcode":"2471","state":"NSW"},"2995":{"id":"2995","locality":"WEST CORAKI","postcode":"2471","state":"NSW"},"2996":{"id":"2996","locality":"BROADWATER","postcode":"2472","state":"NSW"},"2997":{"id":"2997","locality":"BUCKENDOON","postcode":"2472","state":"NSW"},"2998":{"id":"2998","locality":"ESK","postcode":"2472","state":"NSW"},"2999":{"id":"2999","locality":"KILGIN","postcode":"2472","state":"NSW"},"3000":{"id":"3000","locality":"MOONEM","postcode":"2472","state":"NSW"},"3001":{"id":"3001","locality":"NEW ITALY","postcode":"2472","state":"NSW"},"3002":{"id":"3002","locality":"RILEYS HILL","postcode":"2472","state":"NSW"},"3003":{"id":"3003","locality":"TABBIMOBLE","postcode":"2472","state":"NSW"},"3004":{"id":"3004","locality":"THE GAP","postcode":"2472","state":"NSW"},"3005":{"id":"3005","locality":"TRUSTUMS HILL","postcode":"2472","state":"NSW"},"3006":{"id":"3006","locality":"WOODBURN","postcode":"2472","state":"NSW"},"3007":{"id":"3007","locality":"BUNDJALUNG","postcode":"2473","state":"NSW"},"3008":{"id":"3008","locality":"DOONBAH","postcode":"2473","state":"NSW"},"3009":{"id":"3009","locality":"EVANS HEAD","postcode":"2473","state":"NSW"},"3010":{"id":"3010","locality":"IRON GATES","postcode":"2473","state":"NSW"},"3011":{"id":"3011","locality":"SOUTH EVANS HEAD","postcode":"2473","state":"NSW"},"3012":{"id":"3012","locality":"AFTERLEE","postcode":"2474","state":"NSW"},"3013":{"id":"3013","locality":"BARKERS VALE","postcode":"2474","state":"NSW"},"3014":{"id":"3014","locality":"BORDER RANGES","postcode":"2474","state":"NSW"},"3015":{"id":"3015","locality":"CAWONGLA","postcode":"2474","state":"NSW"},"3016":{"id":"3016","locality":"CEDAR POINT","postcode":"2474","state":"NSW"},"3017":{"id":"3017","locality":"COLLINS CREEK","postcode":"2474","state":"NSW"},"3018":{"id":"3018","locality":"COUGAL","postcode":"2474","state":"NSW"},"3019":{"id":"3019","locality":"DAIRY FLAT","postcode":"2474","state":"NSW"},"3020":{"id":"3020","locality":"EDEN CREEK","postcode":"2474","state":"NSW"},"3021":{"id":"3021","locality":"EDENVILLE","postcode":"2474","state":"NSW"},"3022":{"id":"3022","locality":"ETTRICK","postcode":"2474","state":"NSW"},"3023":{"id":"3023","locality":"FAWCETTS PLAIN","postcode":"2474","state":"NSW"},"3024":{"id":"3024","locality":"FINDON CREEK","postcode":"2474","state":"NSW"},"3025":{"id":"3025","locality":"GENEVA","postcode":"2474","state":"NSW"},"3026":{"id":"3026","locality":"GHINNI GHI","postcode":"2474","state":"NSW"},"3027":{"id":"3027","locality":"GRADYS CREEK","postcode":"2474","state":"NSW"},"3028":{"id":"3028","locality":"GREEN PIGEON","postcode":"2474","state":"NSW"},"3029":{"id":"3029","locality":"GREVILLIA","postcode":"2474","state":"NSW"},"3030":{"id":"3030","locality":"HOMELEIGH","postcode":"2474","state":"NSW"},"3031":{"id":"3031","locality":"HORSE STATION CREEK","postcode":"2474","state":"NSW"},"3032":{"id":"3032","locality":"HORSESHOE CREEK","postcode":"2474","state":"NSW"},"3033":{"id":"3033","locality":"IRON POT CREEK","postcode":"2474","state":"NSW"},"3034":{"id":"3034","locality":"KILGRA","postcode":"2474","state":"NSW"},"3035":{"id":"3035","locality":"KYOGLE","postcode":"2474","state":"NSW"},"3036":{"id":"3036","locality":"LITTLE BACK CREEK","postcode":"2474","state":"NSW"},"3037":{"id":"3037","locality":"LOADSTONE","postcode":"2474","state":"NSW"},"3038":{"id":"3038","locality":"LYNCHS CREEK","postcode":"2474","state":"NSW"},"3039":{"id":"3039","locality":"NEW PARK","postcode":"2474","state":"NSW"},"3040":{"id":"3040","locality":"OLD GREVILLIA","postcode":"2474","state":"NSW"},"3041":{"id":"3041","locality":"ROSEBERRY","postcode":"2474","state":"NSW"},"3042":{"id":"3042","locality":"ROSEBERRY CREEK","postcode":"2474","state":"NSW"},"3043":{"id":"3043","locality":"RUKENVALE","postcode":"2474","state":"NSW"},"3044":{"id":"3044","locality":"SAWPIT CREEK","postcode":"2474","state":"NSW"},"3045":{"id":"3045","locality":"SHERWOOD","postcode":"2474","state":"NSW"},"3046":{"id":"3046","locality":"SMITHS CREEK","postcode":"2474","state":"NSW"},"3047":{"id":"3047","locality":"TERRACE CREEK","postcode":"2474","state":"NSW"},"3048":{"id":"3048","locality":"THE RISK","postcode":"2474","state":"NSW"},"3049":{"id":"3049","locality":"TOONUMBAR","postcode":"2474","state":"NSW"},"3050":{"id":"3050","locality":"UNUMGAR","postcode":"2474","state":"NSW"},"3051":{"id":"3051","locality":"UPPER EDEN CREEK","postcode":"2474","state":"NSW"},"3052":{"id":"3052","locality":"UPPER HORSESHOE CREEK","postcode":"2474","state":"NSW"},"3053":{"id":"3053","locality":"WADEVILLE","postcode":"2474","state":"NSW"},"3054":{"id":"3054","locality":"WARRAZAMBIL CREEK","postcode":"2474","state":"NSW"},"3055":{"id":"3055","locality":"WEST WIANGAREE","postcode":"2474","state":"NSW"},"3056":{"id":"3056","locality":"WIANGAREE","postcode":"2474","state":"NSW"},"3057":{"id":"3057","locality":"WYNEDEN","postcode":"2474","state":"NSW"},"3058":{"id":"3058","locality":"TOOLOOM","postcode":"2475","state":"NSW"},"3059":{"id":"3059","locality":"UPPER TOOLOOM","postcode":"2475","state":"NSW"},"3060":{"id":"3060","locality":"URBENVILLE","postcode":"2475","state":"NSW"},"3061":{"id":"3061","locality":"ACACIA CREEK","postcode":"2476","state":"NSW"},"3062":{"id":"3062","locality":"BOOMI CREEK","postcode":"2476","state":"NSW"},"3063":{"id":"3063","locality":"BRUMBY PLAINS","postcode":"2476","state":"NSW"},"3064":{"id":"3064","locality":"KOREELAH","postcode":"2476","state":"NSW"},"3065":{"id":"3065","locality":"LEGUME","postcode":"2476","state":"NSW"},"3066":{"id":"3066","locality":"LINDESAY CREEK","postcode":"2476","state":"NSW"},"3067":{"id":"3067","locality":"LOWER ACACIA CREEK","postcode":"2476","state":"NSW"},"3068":{"id":"3068","locality":"MULI MULI","postcode":"2476","state":"NSW"},"3069":{"id":"3069","locality":"THE GLEN","postcode":"2476","state":"NSW"},"3070":{"id":"3070","locality":"WOODENBONG","postcode":"2476","state":"NSW"},"3071":{"id":"3071","locality":"ALSTONVALE","postcode":"2477","state":"NSW"},"3072":{"id":"3072","locality":"ALSTONVILLE","postcode":"2477","state":"NSW"},"3073":{"id":"3073","locality":"BAGOTVILLE","postcode":"2477","state":"NSW"},"3074":{"id":"3074","locality":"CABBAGE TREE ISLAND","postcode":"2477","state":"NSW"},"3075":{"id":"3075","locality":"DALWOOD","postcode":"2477","state":"NSW"},"3076":{"id":"3076","locality":"EAST WARDELL","postcode":"2477","state":"NSW"},"3077":{"id":"3077","locality":"GOAT ISLAND","postcode":"2477","state":"NSW"},"3078":{"id":"3078","locality":"LYNWOOD","postcode":"2477","state":"NSW"},"3079":{"id":"3079","locality":"MEERSCHAUM VALE","postcode":"2477","state":"NSW"},"3080":{"id":"3080","locality":"PEARCES CREEK","postcode":"2477","state":"NSW"},"3081":{"id":"3081","locality":"ROUS","postcode":"2477","state":"NSW"},"3082":{"id":"3082","locality":"ROUS MILL","postcode":"2477","state":"NSW"},"3083":{"id":"3083","locality":"TUCKOMBIL","postcode":"2477","state":"NSW"},"3084":{"id":"3084","locality":"URALBA","postcode":"2477","state":"NSW"},"3085":{"id":"3085","locality":"WARDELL","postcode":"2477","state":"NSW"},"3086":{"id":"3086","locality":"WOLLONGBAR","postcode":"2477","state":"NSW"},"3087":{"id":"3087","locality":"BALLINA","postcode":"2478","state":"NSW"},"3088":{"id":"3088","locality":"COOLGARDIE","postcode":"2478","state":"NSW"},"3089":{"id":"3089","locality":"CUMBALUM","postcode":"2478","state":"NSW"},"3090":{"id":"3090","locality":"EAST BALLINA","postcode":"2478","state":"NSW"},"3091":{"id":"3091","locality":"EMPIRE VALE","postcode":"2478","state":"NSW"},"3092":{"id":"3092","locality":"KEITH HALL","postcode":"2478","state":"NSW"},"3093":{"id":"3093","locality":"LENNOX HEAD","postcode":"2478","state":"NSW"},"3094":{"id":"3094","locality":"PATCHS BEACH","postcode":"2478","state":"NSW"},"3095":{"id":"3095","locality":"PIMLICO","postcode":"2478","state":"NSW"},"3096":{"id":"3096","locality":"PIMLICO ISLAND","postcode":"2478","state":"NSW"},"3097":{"id":"3097","locality":"SKENNARS HEAD","postcode":"2478","state":"NSW"},"3098":{"id":"3098","locality":"SOUTH BALLINA","postcode":"2478","state":"NSW"},"3099":{"id":"3099","locality":"TEVEN","postcode":"2478","state":"NSW"},"3100":{"id":"3100","locality":"TINTENBAR","postcode":"2478","state":"NSW"},"3101":{"id":"3101","locality":"WEST BALLINA","postcode":"2478","state":"NSW"},"3102":{"id":"3102","locality":"BANGALOW","postcode":"2479","state":"NSW"},"3103":{"id":"3103","locality":"BINNA BURRA","postcode":"2479","state":"NSW"},"3104":{"id":"3104","locality":"BROOKLET","postcode":"2479","state":"NSW"},"3105":{"id":"3105","locality":"COOPERS SHOOT","postcode":"2479","state":"NSW"},"3106":{"id":"3106","locality":"COORABELL","postcode":"2479","state":"NSW"},"3107":{"id":"3107","locality":"FERNLEIGH","postcode":"2479","state":"NSW"},"3108":{"id":"3108","locality":"KNOCKROW","postcode":"2479","state":"NSW"},"3109":{"id":"3109","locality":"MCLEODS SHOOT","postcode":"2479","state":"NSW"},"3110":{"id":"3110","locality":"NASHUA","postcode":"2479","state":"NSW"},"3111":{"id":"3111","locality":"NEWRYBAR","postcode":"2479","state":"NSW"},"3112":{"id":"3112","locality":"POSSUM CREEK","postcode":"2479","state":"NSW"},"3113":{"id":"3113","locality":"BENTLEY","postcode":"2480","state":"NSW"},"3114":{"id":"3114","locality":"BEXHILL","postcode":"2480","state":"NSW"},"3115":{"id":"3115","locality":"BLAKEBROOK","postcode":"2480","state":"NSW"},"3116":{"id":"3116","locality":"BLUE KNOB","postcode":"2480","state":"NSW"},"3117":{"id":"3117","locality":"BOAT HARBOUR","postcode":"2480","state":"NSW"},"3118":{"id":"3118","locality":"BOOERIE CREEK","postcode":"2480","state":"NSW"},"3119":{"id":"3119","locality":"BOORABEE PARK","postcode":"2480","state":"NSW"},"3120":{"id":"3120","locality":"BOOYONG","postcode":"2480","state":"NSW"},"3121":{"id":"3121","locality":"BUNGABBEE","postcode":"2480","state":"NSW"},"3122":{"id":"3122","locality":"CANIABA","postcode":"2480","state":"NSW"},"3123":{"id":"3123","locality":"CHILCOTTS GRASS","postcode":"2480","state":"NSW"},"3124":{"id":"3124","locality":"CLOVASS","postcode":"2480","state":"NSW"},"3125":{"id":"3125","locality":"CLUNES","postcode":"2480","state":"NSW"},"3126":{"id":"3126","locality":"COFFEE CAMP","postcode":"2480","state":"NSW"},"3127":{"id":"3127","locality":"CORNDALE","postcode":"2480","state":"NSW"},"3128":{"id":"3128","locality":"DORROUGHBY","postcode":"2480","state":"NSW"},"3129":{"id":"3129","locality":"DUNGARUBBA","postcode":"2480","state":"NSW"},"3130":{"id":"3130","locality":"DUNOON","postcode":"2480","state":"NSW"},"3131":{"id":"3131","locality":"EAST LISMORE","postcode":"2480","state":"NSW"},"3132":{"id":"3132","locality":"ELTHAM","postcode":"2480","state":"NSW"},"3133":{"id":"3133","locality":"EUREKA","postcode":"2480","state":"NSW"},"3134":{"id":"3134","locality":"FEDERAL","postcode":"2480","state":"NSW"},"3135":{"id":"3135","locality":"FERNSIDE","postcode":"2480","state":"NSW"},"3136":{"id":"3136","locality":"GEORGICA","postcode":"2480","state":"NSW"},"3137":{"id":"3137","locality":"GIRARDS HILL","postcode":"2480","state":"NSW"},"3138":{"id":"3138","locality":"GOOLMANGAR","postcode":"2480","state":"NSW"},"3139":{"id":"3139","locality":"GOONELLABAH","postcode":"2480","state":"NSW"},"3140":{"id":"3140","locality":"HOWARDS GRASS","postcode":"2480","state":"NSW"},"3141":{"id":"3141","locality":"JIGGI","postcode":"2480","state":"NSW"},"3142":{"id":"3142","locality":"KEERRONG","postcode":"2480","state":"NSW"},"3143":{"id":"3143","locality":"KOONORIGAN","postcode":"2480","state":"NSW"},"3144":{"id":"3144","locality":"LAGOON GRASS","postcode":"2480","state":"NSW"},"3145":{"id":"3145","locality":"LARNOOK","postcode":"2480","state":"NSW"},"3146":{"id":"3146","locality":"LEYCESTER","postcode":"2480","state":"NSW"},"3147":{"id":"3147","locality":"LILLIAN ROCK","postcode":"2480","state":"NSW"},"3148":{"id":"3148","locality":"LINDENDALE","postcode":"2480","state":"NSW"},"3149":{"id":"3149","locality":"LISMORE","postcode":"2480","state":"NSW"},"3150":{"id":"3150","locality":"LISMORE HEIGHTS","postcode":"2480","state":"NSW"},"3151":{"id":"3151","locality":"LOFTVILLE","postcode":"2480","state":"NSW"},"3152":{"id":"3152","locality":"MAROM CREEK","postcode":"2480","state":"NSW"},"3153":{"id":"3153","locality":"MCKEES HILL","postcode":"2480","state":"NSW"},"3154":{"id":"3154","locality":"MCLEANS RIDGES","postcode":"2480","state":"NSW"},"3155":{"id":"3155","locality":"MODANVILLE","postcode":"2480","state":"NSW"},"3156":{"id":"3156","locality":"MONALTRIE","postcode":"2480","state":"NSW"},"3157":{"id":"3157","locality":"MOUNTAIN TOP","postcode":"2480","state":"NSW"},"3158":{"id":"3158","locality":"NIGHTCAP","postcode":"2480","state":"NSW"},"3159":{"id":"3159","locality":"NIMBIN","postcode":"2480","state":"NSW"},"3160":{"id":"3160","locality":"NORTH LISMORE","postcode":"2480","state":"NSW"},"3161":{"id":"3161","locality":"NUMULGI","postcode":"2480","state":"NSW"},"3162":{"id":"3162","locality":"REPENTANCE CREEK","postcode":"2480","state":"NSW"},"3163":{"id":"3163","locality":"RICHMOND HILL","postcode":"2480","state":"NSW"},"3164":{"id":"3164","locality":"ROCK VALLEY","postcode":"2480","state":"NSW"},"3165":{"id":"3165","locality":"ROSEBANK","postcode":"2480","state":"NSW"},"3166":{"id":"3166","locality":"RUTHVEN","postcode":"2480","state":"NSW"},"3167":{"id":"3167","locality":"SOUTH GUNDURIMBA","postcode":"2480","state":"NSW"},"3168":{"id":"3168","locality":"SOUTH LISMORE","postcode":"2480","state":"NSW"},"3169":{"id":"3169","locality":"STONY CHUTE","postcode":"2480","state":"NSW"},"3170":{"id":"3170","locality":"TERANIA CREEK","postcode":"2480","state":"NSW"},"3171":{"id":"3171","locality":"THE CHANNON","postcode":"2480","state":"NSW"},"3172":{"id":"3172","locality":"TREGEAGLE","postcode":"2480","state":"NSW"},"3173":{"id":"3173","locality":"TUCKI TUCKI","postcode":"2480","state":"NSW"},"3174":{"id":"3174","locality":"TUCKURIMBA","postcode":"2480","state":"NSW"},"3175":{"id":"3175","locality":"TULLERA","postcode":"2480","state":"NSW"},"3176":{"id":"3176","locality":"TUNCESTER","postcode":"2480","state":"NSW"},"3177":{"id":"3177","locality":"TUNTABLE CREEK","postcode":"2480","state":"NSW"},"3178":{"id":"3178","locality":"WHIAN WHIAN","postcode":"2480","state":"NSW"},"3179":{"id":"3179","locality":"WOODLAWN","postcode":"2480","state":"NSW"},"3180":{"id":"3180","locality":"WYRALLAH","postcode":"2480","state":"NSW"},"3181":{"id":"3181","locality":"BROKEN HEAD","postcode":"2481","state":"NSW"},"3182":{"id":"3182","locality":"BYRON BAY","postcode":"2481","state":"NSW"},"3183":{"id":"3183","locality":"EWINGSDALE","postcode":"2481","state":"NSW"},"3184":{"id":"3184","locality":"HAYTERS HILL","postcode":"2481","state":"NSW"},"3185":{"id":"3185","locality":"MYOCUM","postcode":"2481","state":"NSW"},"3186":{"id":"3186","locality":"SKINNERS SHOOT","postcode":"2481","state":"NSW"},"3187":{"id":"3187","locality":"SUFFOLK PARK","postcode":"2481","state":"NSW"},"3188":{"id":"3188","locality":"TALOFA","postcode":"2481","state":"NSW"},"3189":{"id":"3189","locality":"TYAGARAH","postcode":"2481","state":"NSW"},"3190":{"id":"3190","locality":"GOONENGERRY","postcode":"2482","state":"NSW"},"3191":{"id":"3191","locality":"HUONBROOK","postcode":"2482","state":"NSW"},"3192":{"id":"3192","locality":"KOONYUM RANGE","postcode":"2482","state":"NSW"},"3193":{"id":"3193","locality":"MAIN ARM","postcode":"2482","state":"NSW"},"3194":{"id":"3194","locality":"MONTECOLLUM","postcode":"2482","state":"NSW"},"3195":{"id":"3195","locality":"MULLUMBIMBY","postcode":"2482","state":"NSW"},"3196":{"id":"3196","locality":"MULLUMBIMBY CREEK","postcode":"2482","state":"NSW"},"3197":{"id":"3197","locality":"PALMWOODS","postcode":"2482","state":"NSW"},"3198":{"id":"3198","locality":"UPPER COOPERS CREEK","postcode":"2482","state":"NSW"},"3199":{"id":"3199","locality":"UPPER MAIN ARM","postcode":"2482","state":"NSW"},"3200":{"id":"3200","locality":"UPPER WILSONS CREEK","postcode":"2482","state":"NSW"},"3201":{"id":"3201","locality":"WANGANUI","postcode":"2482","state":"NSW"},"3202":{"id":"3202","locality":"WILSONS CREEK","postcode":"2482","state":"NSW"},"3203":{"id":"3203","locality":"BILLINUDGEL","postcode":"2483","state":"NSW"},"3204":{"id":"3204","locality":"BRUNSWICK HEADS","postcode":"2483","state":"NSW"},"3205":{"id":"3205","locality":"BURRINGBAR","postcode":"2483","state":"NSW"},"3206":{"id":"3206","locality":"CRABBES CREEK","postcode":"2483","state":"NSW"},"3207":{"id":"3207","locality":"MIDDLE POCKET","postcode":"2483","state":"NSW"},"3208":{"id":"3208","locality":"MOOBALL","postcode":"2483","state":"NSW"},"3209":{"id":"3209","locality":"NEW BRIGHTON","postcode":"2483","state":"NSW"},"3210":{"id":"3210","locality":"OCEAN SHORES","postcode":"2483","state":"NSW"},"3211":{"id":"3211","locality":"SLEEPY HOLLOW","postcode":"2483","state":"NSW"},"3212":{"id":"3212","locality":"SOUTH GOLDEN BEACH","postcode":"2483","state":"NSW"},"3213":{"id":"3213","locality":"THE POCKET","postcode":"2483","state":"NSW"},"3214":{"id":"3214","locality":"UPPER BURRINGBAR","postcode":"2483","state":"NSW"},"3215":{"id":"3215","locality":"WOOYUNG","postcode":"2483","state":"NSW"},"3216":{"id":"3216","locality":"YELGUN","postcode":"2483","state":"NSW"},"3217":{"id":"3217","locality":"BACK CREEK","postcode":"2484","state":"NSW"},"3218":{"id":"3218","locality":"BRAY PARK","postcode":"2484","state":"NSW"},"3219":{"id":"3219","locality":"BRAYS CREEK","postcode":"2484","state":"NSW"},"3220":{"id":"3220","locality":"BYANGUM","postcode":"2484","state":"NSW"},"3221":{"id":"3221","locality":"BYRRILL CREEK","postcode":"2484","state":"NSW"},"3222":{"id":"3222","locality":"CEDAR CREEK","postcode":"2484","state":"NSW"},"3223":{"id":"3223","locality":"CHILLINGHAM","postcode":"2484","state":"NSW"},"3224":{"id":"3224","locality":"CHOWAN CREEK","postcode":"2484","state":"NSW"},"3225":{"id":"3225","locality":"CLOTHIERS CREEK","postcode":"2484","state":"NSW"},"3226":{"id":"3226","locality":"COMMISSIONERS CREEK","postcode":"2484","state":"NSW"},"3227":{"id":"3227","locality":"CONDONG","postcode":"2484","state":"NSW"},"3228":{"id":"3228","locality":"CRYSTAL CREEK","postcode":"2484","state":"NSW"},"3229":{"id":"3229","locality":"CUDGERA CREEK","postcode":"2484","state":"NSW"},"3230":{"id":"3230","locality":"DOON DOON","postcode":"2484","state":"NSW"},"3231":{"id":"3231","locality":"DULGUIGAN","postcode":"2484","state":"NSW"},"3232":{"id":"3232","locality":"DUM DUM","postcode":"2484","state":"NSW"},"3233":{"id":"3233","locality":"DUNBIBLE","postcode":"2484","state":"NSW"},"3234":{"id":"3234","locality":"DUNGAY","postcode":"2484","state":"NSW"},"3235":{"id":"3235","locality":"EUNGELLA","postcode":"2484","state":"NSW"},"3236":{"id":"3236","locality":"EVIRON","postcode":"2484","state":"NSW"},"3237":{"id":"3237","locality":"FARRANTS HILL","postcode":"2484","state":"NSW"},"3238":{"id":"3238","locality":"FERNVALE","postcode":"2484","state":"NSW"},"3239":{"id":"3239","locality":"HOPKINS CREEK","postcode":"2484","state":"NSW"},"3240":{"id":"3240","locality":"KIELVALE","postcode":"2484","state":"NSW"},"3241":{"id":"3241","locality":"KUNGHUR","postcode":"2484","state":"NSW"},"3242":{"id":"3242","locality":"KUNGHUR CREEK","postcode":"2484","state":"NSW"},"3243":{"id":"3243","locality":"KYNNUMBOON","postcode":"2484","state":"NSW"},"3244":{"id":"3244","locality":"LIMPINWOOD","postcode":"2484","state":"NSW"},"3245":{"id":"3245","locality":"MEBBIN","postcode":"2484","state":"NSW"},"3246":{"id":"3246","locality":"MIDGINBIL","postcode":"2484","state":"NSW"},"3247":{"id":"3247","locality":"MOUNT BURRELL","postcode":"2484","state":"NSW"},"3248":{"id":"3248","locality":"MOUNT WARNING","postcode":"2484","state":"NSW"},"3249":{"id":"3249","locality":"MURWILLUMBAH","postcode":"2484","state":"NSW"},"3250":{"id":"3250","locality":"MURWILLUMBAH SOUTH","postcode":"2484","state":"NSW"},"3251":{"id":"3251","locality":"NOBBYS CREEK","postcode":"2484","state":"NSW"},"3252":{"id":"3252","locality":"NORTH ARM","postcode":"2484","state":"NSW"},"3253":{"id":"3253","locality":"NUMINBAH","postcode":"2484","state":"NSW"},"3254":{"id":"3254","locality":"NUNDERI","postcode":"2484","state":"NSW"},"3255":{"id":"3255","locality":"PALMVALE","postcode":"2484","state":"NSW"},"3256":{"id":"3256","locality":"PUMPENBIL","postcode":"2484","state":"NSW"},"3257":{"id":"3257","locality":"RESERVE CREEK","postcode":"2484","state":"NSW"},"3258":{"id":"3258","locality":"ROUND MOUNTAIN","postcode":"2484","state":"NSW"},"3259":{"id":"3259","locality":"ROWLANDS CREEK","postcode":"2484","state":"NSW"},"3260":{"id":"3260","locality":"SMITHS CREEK","postcode":"2484","state":"NSW"},"3261":{"id":"3261","locality":"SOUTH MURWILLUMBAH","postcode":"2484","state":"NSW"},"3262":{"id":"3262","locality":"STOKERS SIDING","postcode":"2484","state":"NSW"},"3263":{"id":"3263","locality":"TERRAGON","postcode":"2484","state":"NSW"},"3264":{"id":"3264","locality":"TOMEWIN","postcode":"2484","state":"NSW"},"3265":{"id":"3265","locality":"TYALGUM","postcode":"2484","state":"NSW"},"3266":{"id":"3266","locality":"TYALGUM CREEK","postcode":"2484","state":"NSW"},"3267":{"id":"3267","locality":"TYGALGAH","postcode":"2484","state":"NSW"},"3268":{"id":"3268","locality":"UKI","postcode":"2484","state":"NSW"},"3269":{"id":"3269","locality":"UPPER CRYSTAL CREEK","postcode":"2484","state":"NSW"},"3270":{"id":"3270","locality":"URLIUP","postcode":"2484","state":"NSW"},"3271":{"id":"3271","locality":"WARDROP VALLEY","postcode":"2484","state":"NSW"},"3272":{"id":"3272","locality":"ZARA","postcode":"2484","state":"NSW"},"3273":{"id":"3273","locality":"TWEED HEADS","postcode":"2485","state":"NSW"},"3274":{"id":"3274","locality":"TWEED HEADS WEST","postcode":"2485","state":"NSW"},"3275":{"id":"3275","locality":"BANORA POINT","postcode":"2486","state":"NSW"},"3276":{"id":"3276","locality":"BILAMBIL","postcode":"2486","state":"NSW"},"3277":{"id":"3277","locality":"BILAMBIL HEIGHTS","postcode":"2486","state":"NSW"},"3278":{"id":"3278","locality":"BUNGALORA","postcode":"2486","state":"NSW"},"3279":{"id":"3279","locality":"CAROOL","postcode":"2486","state":"NSW"},"3280":{"id":"3280","locality":"COBAKI","postcode":"2486","state":"NSW"},"3281":{"id":"3281","locality":"COBAKI LAKES","postcode":"2486","state":"NSW"},"3282":{"id":"3282","locality":"DUROBY","postcode":"2486","state":"NSW"},"3283":{"id":"3283","locality":"GLENGARRIE","postcode":"2486","state":"NSW"},"3284":{"id":"3284","locality":"PIGGABEEN","postcode":"2486","state":"NSW"},"3285":{"id":"3285","locality":"TERRANORA","postcode":"2486","state":"NSW"},"3286":{"id":"3286","locality":"TWEED HEADS SOUTH","postcode":"2486","state":"NSW"},"3287":{"id":"3287","locality":"UPPER DUROBY","postcode":"2486","state":"NSW"},"3288":{"id":"3288","locality":"CASUARINA","postcode":"2487","state":"NSW"},"3289":{"id":"3289","locality":"CHINDERAH","postcode":"2487","state":"NSW"},"3290":{"id":"3290","locality":"CUDGEN","postcode":"2487","state":"NSW"},"3291":{"id":"3291","locality":"DURANBAH","postcode":"2487","state":"NSW"},"3292":{"id":"3292","locality":"FINGAL HEAD","postcode":"2487","state":"NSW"},"3293":{"id":"3293","locality":"KINGS FOREST","postcode":"2487","state":"NSW"},"3294":{"id":"3294","locality":"KINGSCLIFF","postcode":"2487","state":"NSW"},"3295":{"id":"3295","locality":"STOTTS CREEK","postcode":"2487","state":"NSW"},"3296":{"id":"3296","locality":"BOGANGAR","postcode":"2488","state":"NSW"},"3297":{"id":"3297","locality":"CABARITA BEACH","postcode":"2488","state":"NSW"},"3298":{"id":"3298","locality":"TANGLEWOOD","postcode":"2488","state":"NSW"},"3299":{"id":"3299","locality":"HASTINGS POINT","postcode":"2489","state":"NSW"},"3300":{"id":"3300","locality":"POTTSVILLE","postcode":"2489","state":"NSW"},"3301":{"id":"3301","locality":"POTTSVILLE BEACH","postcode":"2489","state":"NSW"},"3302":{"id":"3302","locality":"NORTH TUMBULGUM","postcode":"2490","state":"NSW"},"3303":{"id":"3303","locality":"TUMBULGUM","postcode":"2490","state":"NSW"},"3304":{"id":"3304","locality":"CONISTON","postcode":"2500","state":"NSW"},"3305":{"id":"3305","locality":"GWYNNEVILLE","postcode":"2500","state":"NSW"},"3306":{"id":"3306","locality":"KEIRAVILLE","postcode":"2500","state":"NSW"},"3307":{"id":"3307","locality":"MANGERTON","postcode":"2500","state":"NSW"},"3308":{"id":"3308","locality":"MOUNT KEIRA","postcode":"2500","state":"NSW"},"3309":{"id":"3309","locality":"MOUNT SAINT THOMAS","postcode":"2500","state":"NSW"},"3310":{"id":"3310","locality":"NORTH WOLLONGONG","postcode":"2500","state":"NSW"},"3311":{"id":"3311","locality":"SPRING HILL","postcode":"2500","state":"NSW"},"3312":{"id":"3312","locality":"WEST WOLLONGONG","postcode":"2500","state":"NSW"},"3313":{"id":"3313","locality":"WOLLONGONG","postcode":"2500","state":"NSW"},"3314":{"id":"3314","locality":"WOLLONGONG DC","postcode":"2500","state":"NSW"},"3315":{"id":"3315","locality":"WOLLONGONG WEST","postcode":"2500","state":"NSW"},"3316":{"id":"3316","locality":"CRINGILA","postcode":"2502","state":"NSW"},"3317":{"id":"3317","locality":"LAKE HEIGHTS","postcode":"2502","state":"NSW"},"3318":{"id":"3318","locality":"PRIMBEE","postcode":"2502","state":"NSW"},"3319":{"id":"3319","locality":"WARRAWONG","postcode":"2502","state":"NSW"},"3320":{"id":"3320","locality":"PORT KEMBLA","postcode":"2505","state":"NSW"},"3321":{"id":"3321","locality":"BERKELEY","postcode":"2506","state":"NSW"},"3322":{"id":"3322","locality":"COALCLIFF","postcode":"2508","state":"NSW"},"3323":{"id":"3323","locality":"DARKES FOREST","postcode":"2508","state":"NSW"},"3324":{"id":"3324","locality":"HELENSBURGH","postcode":"2508","state":"NSW"},"3325":{"id":"3325","locality":"LILYVALE","postcode":"2508","state":"NSW"},"3326":{"id":"3326","locality":"MADDENS PLAINS","postcode":"2508","state":"NSW"},"3327":{"id":"3327","locality":"OTFORD","postcode":"2508","state":"NSW"},"3328":{"id":"3328","locality":"STANWELL PARK","postcode":"2508","state":"NSW"},"3329":{"id":"3329","locality":"STANWELL TOPS","postcode":"2508","state":"NSW"},"3330":{"id":"3330","locality":"WORONORA DAM","postcode":"2508","state":"NSW"},"3331":{"id":"3331","locality":"AUSTINMER","postcode":"2515","state":"NSW"},"3332":{"id":"3332","locality":"CLIFTON","postcode":"2515","state":"NSW"},"3333":{"id":"3333","locality":"COLEDALE","postcode":"2515","state":"NSW"},"3334":{"id":"3334","locality":"SCARBOROUGH","postcode":"2515","state":"NSW"},"3335":{"id":"3335","locality":"THIRROUL","postcode":"2515","state":"NSW"},"3336":{"id":"3336","locality":"WOMBARRA","postcode":"2515","state":"NSW"},"3337":{"id":"3337","locality":"BULLI","postcode":"2516","state":"NSW"},"3338":{"id":"3338","locality":"RUSSELL VALE","postcode":"2517","state":"NSW"},"3339":{"id":"3339","locality":"WOONONA","postcode":"2517","state":"NSW"},"3340":{"id":"3340","locality":"WOONONA EAST","postcode":"2517","state":"NSW"},"3341":{"id":"3341","locality":"BELLAMBI","postcode":"2518","state":"NSW"},"3342":{"id":"3342","locality":"CORRIMAL","postcode":"2518","state":"NSW"},"3343":{"id":"3343","locality":"CORRIMAL EAST","postcode":"2518","state":"NSW"},"3344":{"id":"3344","locality":"EAST CORRIMAL","postcode":"2518","state":"NSW"},"3345":{"id":"3345","locality":"TARRAWANNA","postcode":"2518","state":"NSW"},"3346":{"id":"3346","locality":"TOWRADGI","postcode":"2518","state":"NSW"},"3347":{"id":"3347","locality":"BALGOWNIE","postcode":"2519","state":"NSW"},"3348":{"id":"3348","locality":"FAIRY MEADOW","postcode":"2519","state":"NSW"},"3349":{"id":"3349","locality":"FERNHILL","postcode":"2519","state":"NSW"},"3350":{"id":"3350","locality":"MOUNT OUSLEY","postcode":"2519","state":"NSW"},"3351":{"id":"3351","locality":"MOUNT PLEASANT","postcode":"2519","state":"NSW"},"3352":{"id":"3352","locality":"WOLLONGONG","postcode":"2520","state":"NSW"},"3353":{"id":"3353","locality":"UNIVERSITY OF WOLLONGONG","postcode":"2522","state":"NSW"},"3354":{"id":"3354","locality":"FIGTREE","postcode":"2525","state":"NSW"},"3355":{"id":"3355","locality":"CORDEAUX","postcode":"2526","state":"NSW"},"3356":{"id":"3356","locality":"CORDEAUX HEIGHTS","postcode":"2526","state":"NSW"},"3357":{"id":"3357","locality":"FARMBOROUGH HEIGHTS","postcode":"2526","state":"NSW"},"3358":{"id":"3358","locality":"KEMBLA GRANGE","postcode":"2526","state":"NSW"},"3359":{"id":"3359","locality":"KEMBLA HEIGHTS","postcode":"2526","state":"NSW"},"3360":{"id":"3360","locality":"MOUNT KEMBLA","postcode":"2526","state":"NSW"},"3361":{"id":"3361","locality":"UNANDERRA","postcode":"2526","state":"NSW"},"3362":{"id":"3362","locality":"ALBION PARK","postcode":"2527","state":"NSW"},"3363":{"id":"3363","locality":"ALBION PARK RAIL","postcode":"2527","state":"NSW"},"3364":{"id":"3364","locality":"CALDERWOOD","postcode":"2527","state":"NSW"},"3365":{"id":"3365","locality":"CROOM","postcode":"2527","state":"NSW"},"3366":{"id":"3366","locality":"NORTH MACQUARIE","postcode":"2527","state":"NSW"},"3367":{"id":"3367","locality":"TONGARRA","postcode":"2527","state":"NSW"},"3368":{"id":"3368","locality":"TULLIMBAR","postcode":"2527","state":"NSW"},"3369":{"id":"3369","locality":"YELLOW ROCK","postcode":"2527","state":"NSW"},"3370":{"id":"3370","locality":"BARRACK HEIGHTS","postcode":"2528","state":"NSW"},"3371":{"id":"3371","locality":"BARRACK POINT","postcode":"2528","state":"NSW"},"3372":{"id":"3372","locality":"LAKE ILLAWARRA","postcode":"2528","state":"NSW"},"3373":{"id":"3373","locality":"MOUNT WARRIGAL","postcode":"2528","state":"NSW"},"3374":{"id":"3374","locality":"WARILLA","postcode":"2528","state":"NSW"},"3375":{"id":"3375","locality":"WINDANG","postcode":"2528","state":"NSW"},"3376":{"id":"3376","locality":"BLACKBUTT","postcode":"2529","state":"NSW"},"3377":{"id":"3377","locality":"DUNMORE","postcode":"2529","state":"NSW"},"3378":{"id":"3378","locality":"FLINDERS","postcode":"2529","state":"NSW"},"3379":{"id":"3379","locality":"OAK FLATS","postcode":"2529","state":"NSW"},"3380":{"id":"3380","locality":"OAK FLATS DC","postcode":"2529","state":"NSW"},"3381":{"id":"3381","locality":"SHELL COVE","postcode":"2529","state":"NSW"},"3382":{"id":"3382","locality":"SHELLHARBOUR","postcode":"2529","state":"NSW"},"3383":{"id":"3383","locality":"SHELLHARBOUR CITY CENTRE","postcode":"2529","state":"NSW"},"3384":{"id":"3384","locality":"AVONDALE","postcode":"2530","state":"NSW"},"3385":{"id":"3385","locality":"BROWNSVILLE","postcode":"2530","state":"NSW"},"3386":{"id":"3386","locality":"CLEVELAND","postcode":"2530","state":"NSW"},"3387":{"id":"3387","locality":"DAPTO","postcode":"2530","state":"NSW"},"3388":{"id":"3388","locality":"DOMBARTON","postcode":"2530","state":"NSW"},"3389":{"id":"3389","locality":"HAYWARDS BAY","postcode":"2530","state":"NSW"},"3390":{"id":"3390","locality":"HORSLEY","postcode":"2530","state":"NSW"},"3391":{"id":"3391","locality":"HUNTLEY","postcode":"2530","state":"NSW"},"3392":{"id":"3392","locality":"KANAHOOKA","postcode":"2530","state":"NSW"},"3393":{"id":"3393","locality":"KOONAWARRA","postcode":"2530","state":"NSW"},"3394":{"id":"3394","locality":"MARSHALL MOUNT","postcode":"2530","state":"NSW"},"3395":{"id":"3395","locality":"PENROSE","postcode":"2530","state":"NSW"},"3396":{"id":"3396","locality":"WONGAWILLI","postcode":"2530","state":"NSW"},"3397":{"id":"3397","locality":"YALLAH","postcode":"2530","state":"NSW"},"3398":{"id":"3398","locality":"BOMBO","postcode":"2533","state":"NSW"},"3399":{"id":"3399","locality":"CURRAMORE","postcode":"2533","state":"NSW"},"3400":{"id":"3400","locality":"JAMBEROO","postcode":"2533","state":"NSW"},"3401":{"id":"3401","locality":"JERRARA","postcode":"2533","state":"NSW"},"3402":{"id":"3402","locality":"KIAMA","postcode":"2533","state":"NSW"},"3403":{"id":"3403","locality":"KIAMA DOWNS","postcode":"2533","state":"NSW"},"3404":{"id":"3404","locality":"KIAMA HEIGHTS","postcode":"2533","state":"NSW"},"3405":{"id":"3405","locality":"MINNAMURRA","postcode":"2533","state":"NSW"},"3406":{"id":"3406","locality":"SADDLEBACK MOUNTAIN","postcode":"2533","state":"NSW"},"3407":{"id":"3407","locality":"BROUGHTON VILLAGE","postcode":"2534","state":"NSW"},"3408":{"id":"3408","locality":"FOXGROUND","postcode":"2534","state":"NSW"},"3409":{"id":"3409","locality":"GERRINGONG","postcode":"2534","state":"NSW"},"3410":{"id":"3410","locality":"GERROA","postcode":"2534","state":"NSW"},"3411":{"id":"3411","locality":"ROSE VALLEY","postcode":"2534","state":"NSW"},"3412":{"id":"3412","locality":"TOOLIJOOA","postcode":"2534","state":"NSW"},"3413":{"id":"3413","locality":"WERRI BEACH","postcode":"2534","state":"NSW"},"3414":{"id":"3414","locality":"WILLOW VALE","postcode":"2534","state":"NSW"},"3415":{"id":"3415","locality":"BACK FOREST","postcode":"2535","state":"NSW"},"3416":{"id":"3416","locality":"BELLAWONGARAH","postcode":"2535","state":"NSW"},"3417":{"id":"3417","locality":"BERRY","postcode":"2535","state":"NSW"},"3418":{"id":"3418","locality":"BERRY MOUNTAIN","postcode":"2535","state":"NSW"},"3419":{"id":"3419","locality":"BROGERS CREEK","postcode":"2535","state":"NSW"},"3420":{"id":"3420","locality":"BROUGHTON","postcode":"2535","state":"NSW"},"3421":{"id":"3421","locality":"BROUGHTON VALE","postcode":"2535","state":"NSW"},"3422":{"id":"3422","locality":"BUDDEROO","postcode":"2535","state":"NSW"},"3423":{"id":"3423","locality":"BUNDEWALLAH","postcode":"2535","state":"NSW"},"3424":{"id":"3424","locality":"COOLANGATTA","postcode":"2535","state":"NSW"},"3425":{"id":"3425","locality":"FAR MEADOW","postcode":"2535","state":"NSW"},"3426":{"id":"3426","locality":"JASPERS BRUSH","postcode":"2535","state":"NSW"},"3427":{"id":"3427","locality":"SHOALHAVEN HEADS","postcode":"2535","state":"NSW"},"3428":{"id":"3428","locality":"WATTAMOLLA","postcode":"2535","state":"NSW"},"3429":{"id":"3429","locality":"WOODHILL","postcode":"2535","state":"NSW"},"3430":{"id":"3430","locality":"BATEHAVEN","postcode":"2536","state":"NSW"},"3431":{"id":"3431","locality":"BATEMANS BAY","postcode":"2536","state":"NSW"},"3432":{"id":"3432","locality":"BENANDARAH","postcode":"2536","state":"NSW"},"3433":{"id":"3433","locality":"BIMBIMBIE","postcode":"2536","state":"NSW"},"3434":{"id":"3434","locality":"BUCKENBOWRA","postcode":"2536","state":"NSW"},"3435":{"id":"3435","locality":"CATALINA","postcode":"2536","state":"NSW"},"3436":{"id":"3436","locality":"CURROWAN","postcode":"2536","state":"NSW"},"3437":{"id":"3437","locality":"DENHAMS BEACH","postcode":"2536","state":"NSW"},"3438":{"id":"3438","locality":"DEPOT BEACH","postcode":"2536","state":"NSW"},"3439":{"id":"3439","locality":"DURRAS NORTH","postcode":"2536","state":"NSW"},"3440":{"id":"3440","locality":"EAST LYNNE","postcode":"2536","state":"NSW"},"3441":{"id":"3441","locality":"GUERILLA BAY","postcode":"2536","state":"NSW"},"3442":{"id":"3442","locality":"JEREMADRA","postcode":"2536","state":"NSW"},"3443":{"id":"3443","locality":"LILLI PILLI","postcode":"2536","state":"NSW"},"3444":{"id":"3444","locality":"LONG BEACH","postcode":"2536","state":"NSW"},"3445":{"id":"3445","locality":"MALONEYS BEACH","postcode":"2536","state":"NSW"},"3446":{"id":"3446","locality":"MALUA BAY","postcode":"2536","state":"NSW"},"3447":{"id":"3447","locality":"MOGO","postcode":"2536","state":"NSW"},"3448":{"id":"3448","locality":"NELLIGEN","postcode":"2536","state":"NSW"},"3449":{"id":"3449","locality":"NORTH BATEMANS BAY","postcode":"2536","state":"NSW"},"3450":{"id":"3450","locality":"PEBBLY BEACH","postcode":"2536","state":"NSW"},"3451":{"id":"3451","locality":"ROSEDALE","postcode":"2536","state":"NSW"},"3452":{"id":"3452","locality":"RUNNYFORD","postcode":"2536","state":"NSW"},"3453":{"id":"3453","locality":"SOUTH DURRAS","postcode":"2536","state":"NSW"},"3454":{"id":"3454","locality":"SUNSHINE BAY","postcode":"2536","state":"NSW"},"3455":{"id":"3455","locality":"SURF BEACH","postcode":"2536","state":"NSW"},"3456":{"id":"3456","locality":"SURFSIDE","postcode":"2536","state":"NSW"},"3457":{"id":"3457","locality":"WOODLANDS","postcode":"2536","state":"NSW"},"3458":{"id":"3458","locality":"BERGALIA","postcode":"2537","state":"NSW"},"3459":{"id":"3459","locality":"BINGIE","postcode":"2537","state":"NSW"},"3460":{"id":"3460","locality":"BROULEE","postcode":"2537","state":"NSW"},"3461":{"id":"3461","locality":"COILA","postcode":"2537","state":"NSW"},"3462":{"id":"3462","locality":"CONGO","postcode":"2537","state":"NSW"},"3463":{"id":"3463","locality":"DEUA","postcode":"2537","state":"NSW"},"3464":{"id":"3464","locality":"DEUA RIVER VALLEY","postcode":"2537","state":"NSW"},"3465":{"id":"3465","locality":"KIORA","postcode":"2537","state":"NSW"},"3466":{"id":"3466","locality":"MERINGO","postcode":"2537","state":"NSW"},"3467":{"id":"3467","locality":"MOGENDOURA","postcode":"2537","state":"NSW"},"3468":{"id":"3468","locality":"MORUYA","postcode":"2537","state":"NSW"},"3469":{"id":"3469","locality":"MORUYA HEADS","postcode":"2537","state":"NSW"},"3470":{"id":"3470","locality":"MOSSY POINT","postcode":"2537","state":"NSW"},"3471":{"id":"3471","locality":"TOMAKIN","postcode":"2537","state":"NSW"},"3472":{"id":"3472","locality":"TURLINJAH","postcode":"2537","state":"NSW"},"3473":{"id":"3473","locality":"TUROSS HEAD","postcode":"2537","state":"NSW"},"3474":{"id":"3474","locality":"WAMBAN","postcode":"2537","state":"NSW"},"3475":{"id":"3475","locality":"BROOMAN","postcode":"2538","state":"NSW"},"3476":{"id":"3476","locality":"LITTLE FOREST","postcode":"2538","state":"NSW"},"3477":{"id":"3477","locality":"MILTON","postcode":"2538","state":"NSW"},"3478":{"id":"3478","locality":"MOGOOD","postcode":"2538","state":"NSW"},"3479":{"id":"3479","locality":"MORTON","postcode":"2538","state":"NSW"},"3480":{"id":"3480","locality":"PORTERS CREEK","postcode":"2538","state":"NSW"},"3481":{"id":"3481","locality":"WOODBURN","postcode":"2538","state":"NSW"},"3482":{"id":"3482","locality":"WOODSTOCK","postcode":"2538","state":"NSW"},"3483":{"id":"3483","locality":"BAWLEY POINT","postcode":"2539","state":"NSW"},"3484":{"id":"3484","locality":"BENDALONG","postcode":"2539","state":"NSW"},"3485":{"id":"3485","locality":"BERRINGER LAKE","postcode":"2539","state":"NSW"},"3486":{"id":"3486","locality":"BURRILL LAKE","postcode":"2539","state":"NSW"},"3487":{"id":"3487","locality":"COCKWHY","postcode":"2539","state":"NSW"},"3488":{"id":"3488","locality":"CONJOLA","postcode":"2539","state":"NSW"},"3489":{"id":"3489","locality":"CONJOLA PARK","postcode":"2539","state":"NSW"},"3490":{"id":"3490","locality":"CROOBYAR","postcode":"2539","state":"NSW"},"3491":{"id":"3491","locality":"CUNJURONG POINT","postcode":"2539","state":"NSW"},"3492":{"id":"3492","locality":"DOLPHIN POINT","postcode":"2539","state":"NSW"},"3493":{"id":"3493","locality":"FISHERMANS PARADISE","postcode":"2539","state":"NSW"},"3494":{"id":"3494","locality":"KINGS POINT","postcode":"2539","state":"NSW"},"3495":{"id":"3495","locality":"KIOLOA","postcode":"2539","state":"NSW"},"3496":{"id":"3496","locality":"LAKE CONJOLA","postcode":"2539","state":"NSW"},"3497":{"id":"3497","locality":"LAKE TABOURIE","postcode":"2539","state":"NSW"},"3498":{"id":"3498","locality":"MANYANA","postcode":"2539","state":"NSW"},"3499":{"id":"3499","locality":"MOLLYMOOK","postcode":"2539","state":"NSW"},"3500":{"id":"3500","locality":"MOLLYMOOK BEACH","postcode":"2539","state":"NSW"},"3501":{"id":"3501","locality":"MOUNT KINGIMAN","postcode":"2539","state":"NSW"},"3502":{"id":"3502","locality":"NARRAWALLEE","postcode":"2539","state":"NSW"},"3503":{"id":"3503","locality":"POINTER MOUNTAIN","postcode":"2539","state":"NSW"},"3504":{"id":"3504","locality":"PRETTY BEACH","postcode":"2539","state":"NSW"},"3505":{"id":"3505","locality":"TERMEIL","postcode":"2539","state":"NSW"},"3506":{"id":"3506","locality":"ULLADULLA","postcode":"2539","state":"NSW"},"3507":{"id":"3507","locality":"YADBORO","postcode":"2539","state":"NSW"},"3508":{"id":"3508","locality":"YATTE YATTAH","postcode":"2539","state":"NSW"},"3509":{"id":"3509","locality":"BAMARANG","postcode":"2540","state":"NSW"},"3510":{"id":"3510","locality":"BARRINGELLA","postcode":"2540","state":"NSW"},"3511":{"id":"3511","locality":"BASIN VIEW","postcode":"2540","state":"NSW"},"3512":{"id":"3512","locality":"BEECROFT PENINSULA","postcode":"2540","state":"NSW"},"3513":{"id":"3513","locality":"BERRARA","postcode":"2540","state":"NSW"},"3514":{"id":"3514","locality":"BEWONG","postcode":"2540","state":"NSW"},"3515":{"id":"3515","locality":"BOLONG","postcode":"2540","state":"NSW"},"3516":{"id":"3516","locality":"BOOLIJAH","postcode":"2540","state":"NSW"},"3517":{"id":"3517","locality":"BREAM BEACH","postcode":"2540","state":"NSW"},"3518":{"id":"3518","locality":"BROWNS MOUNTAIN","postcode":"2540","state":"NSW"},"3519":{"id":"3519","locality":"BRUNDEE","postcode":"2540","state":"NSW"},"3520":{"id":"3520","locality":"BUANGLA","postcode":"2540","state":"NSW"},"3521":{"id":"3521","locality":"BURRIER","postcode":"2540","state":"NSW"},"3522":{"id":"3522","locality":"CALLALA BAY","postcode":"2540","state":"NSW"},"3523":{"id":"3523","locality":"CALLALA BEACH","postcode":"2540","state":"NSW"},"3524":{"id":"3524","locality":"CAMBEWARRA","postcode":"2540","state":"NSW"},"3525":{"id":"3525","locality":"CAMBEWARRA VILLAGE","postcode":"2540","state":"NSW"},"3526":{"id":"3526","locality":"COMBERTON","postcode":"2540","state":"NSW"},"3527":{"id":"3527","locality":"COMERONG ISLAND","postcode":"2540","state":"NSW"},"3528":{"id":"3528","locality":"CUDMIRRAH","postcode":"2540","state":"NSW"},"3529":{"id":"3529","locality":"CULBURRA BEACH","postcode":"2540","state":"NSW"},"3530":{"id":"3530","locality":"CURRARONG","postcode":"2540","state":"NSW"},"3531":{"id":"3531","locality":"EROWAL BAY","postcode":"2540","state":"NSW"},"3532":{"id":"3532","locality":"ETTREMA","postcode":"2540","state":"NSW"},"3533":{"id":"3533","locality":"FALLS CREEK","postcode":"2540","state":"NSW"},"3534":{"id":"3534","locality":"GREENWELL POINT","postcode":"2540","state":"NSW"},"3535":{"id":"3535","locality":"HMAS ALBATROSS","postcode":"2540","state":"NSW"},"3536":{"id":"3536","locality":"HMAS CRESWELL","postcode":"2540","state":"ACT"},"3537":{"id":"3537","locality":"HUSKISSON","postcode":"2540","state":"NSW"},"3538":{"id":"3538","locality":"HYAMS BEACH","postcode":"2540","state":"NSW"},"3539":{"id":"3539","locality":"ILLAROO","postcode":"2540","state":"NSW"},"3540":{"id":"3540","locality":"JERRAWANGALA","postcode":"2540","state":"NSW"},"3541":{"id":"3541","locality":"JERVIS BAY","postcode":"2540","state":"ACT"},"3542":{"id":"3542","locality":"KINGHORNE","postcode":"2540","state":"NSW"},"3543":{"id":"3543","locality":"LONGREACH","postcode":"2540","state":"NSW"},"3544":{"id":"3544","locality":"MAYFIELD","postcode":"2540","state":"NSW"},"3545":{"id":"3545","locality":"MEROO MEADOW","postcode":"2540","state":"NSW"},"3546":{"id":"3546","locality":"MONDAYONG","postcode":"2540","state":"NSW"},"3547":{"id":"3547","locality":"MOOLLATTOO","postcode":"2540","state":"NSW"},"3548":{"id":"3548","locality":"MUNDAMIA","postcode":"2540","state":"NSW"},"3549":{"id":"3549","locality":"MYOLA","postcode":"2540","state":"NSW"},"3550":{"id":"3550","locality":"NOWRA HILL","postcode":"2540","state":"NSW"},"3551":{"id":"3551","locality":"NOWRA NAVAL PO","postcode":"2540","state":"NSW"},"3552":{"id":"3552","locality":"NUMBAA","postcode":"2540","state":"NSW"},"3553":{"id":"3553","locality":"OLD EROWAL BAY","postcode":"2540","state":"NSW"},"3554":{"id":"3554","locality":"ORIENT POINT","postcode":"2540","state":"NSW"},"3555":{"id":"3555","locality":"PARMA","postcode":"2540","state":"NSW"},"3556":{"id":"3556","locality":"PYREE","postcode":"2540","state":"NSW"},"3557":{"id":"3557","locality":"SANCTUARY POINT","postcode":"2540","state":"NSW"},"3558":{"id":"3558","locality":"ST GEORGES BASIN","postcode":"2540","state":"NSW"},"3559":{"id":"3559","locality":"SUSSEX INLET","postcode":"2540","state":"NSW"},"3560":{"id":"3560","locality":"SWANHAVEN","postcode":"2540","state":"NSW"},"3561":{"id":"3561","locality":"TALLOWAL","postcode":"2540","state":"NSW"},"3562":{"id":"3562","locality":"TAPITALLEE","postcode":"2540","state":"NSW"},"3563":{"id":"3563","locality":"TERARA","postcode":"2540","state":"NSW"},"3564":{"id":"3564","locality":"TOMERONG","postcode":"2540","state":"NSW"},"3565":{"id":"3565","locality":"TULLARWALLA","postcode":"2540","state":"NSW"},"3566":{"id":"3566","locality":"TWELVE MILE PEG","postcode":"2540","state":"NSW"},"3567":{"id":"3567","locality":"VINCENTIA","postcode":"2540","state":"NSW"},"3568":{"id":"3568","locality":"WANDANDIAN","postcode":"2540","state":"NSW"},"3569":{"id":"3569","locality":"WATERSLEIGH","postcode":"2540","state":"NSW"},"3570":{"id":"3570","locality":"WOLLUMBOOLA","postcode":"2540","state":"NSW"},"3571":{"id":"3571","locality":"WOOLLAMIA","postcode":"2540","state":"NSW"},"3572":{"id":"3572","locality":"WORRIGEE","postcode":"2540","state":"NSW"},"3573":{"id":"3573","locality":"WORROWING HEIGHTS","postcode":"2540","state":"NSW"},"3574":{"id":"3574","locality":"WRECK BAY","postcode":"2540","state":"ACT"},"3575":{"id":"3575","locality":"WRIGHTS BEACH","postcode":"2540","state":"NSW"},"3576":{"id":"3576","locality":"YALWAL","postcode":"2540","state":"NSW"},"3577":{"id":"3577","locality":"YERRIYONG","postcode":"2540","state":"NSW"},"3578":{"id":"3578","locality":"BANGALEE","postcode":"2541","state":"NSW"},"3579":{"id":"3579","locality":"BOMADERRY","postcode":"2541","state":"NSW"},"3580":{"id":"3580","locality":"NORTH NOWRA","postcode":"2541","state":"NSW"},"3581":{"id":"3581","locality":"NOWRA","postcode":"2541","state":"NSW"},"3582":{"id":"3582","locality":"NOWRA DC","postcode":"2541","state":"NSW"},"3583":{"id":"3583","locality":"NOWRA EAST","postcode":"2541","state":"NSW"},"3584":{"id":"3584","locality":"NOWRA NORTH","postcode":"2541","state":"NSW"},"3585":{"id":"3585","locality":"SOUTH NOWRA","postcode":"2541","state":"NSW"},"3586":{"id":"3586","locality":"WEST NOWRA","postcode":"2541","state":"NSW"},"3587":{"id":"3587","locality":"BELOWRA","postcode":"2545","state":"NSW"},"3588":{"id":"3588","locality":"BODALLA","postcode":"2545","state":"NSW"},"3589":{"id":"3589","locality":"CADGEE","postcode":"2545","state":"NSW"},"3590":{"id":"3590","locality":"EUROBODALLA","postcode":"2545","state":"NSW"},"3591":{"id":"3591","locality":"NERRIGUNDAH","postcode":"2545","state":"NSW"},"3592":{"id":"3592","locality":"POTATO POINT","postcode":"2545","state":"NSW"},"3593":{"id":"3593","locality":"AKOLELE","postcode":"2546","state":"NSW"},"3594":{"id":"3594","locality":"BARRAGGA BAY","postcode":"2546","state":"NSW"},"3595":{"id":"3595","locality":"BERMAGUI","postcode":"2546","state":"NSW"},"3596":{"id":"3596","locality":"CENTRAL TILBA","postcode":"2546","state":"NSW"},"3597":{"id":"3597","locality":"CORUNNA","postcode":"2546","state":"NSW"},"3598":{"id":"3598","locality":"CUTTAGEE","postcode":"2546","state":"NSW"},"3599":{"id":"3599","locality":"DALMENY","postcode":"2546","state":"NSW"},"3600":{"id":"3600","locality":"DIGNAMS CREEK","postcode":"2546","state":"NSW"},"3601":{"id":"3601","locality":"KIANGA","postcode":"2546","state":"NSW"},"3602":{"id":"3602","locality":"MURRAH","postcode":"2546","state":"NSW"},"3603":{"id":"3603","locality":"MYSTERY BAY","postcode":"2546","state":"NSW"},"3604":{"id":"3604","locality":"NAROOMA","postcode":"2546","state":"NSW"},"3605":{"id":"3605","locality":"NORTH NAROOMA","postcode":"2546","state":"NSW"},"3606":{"id":"3606","locality":"TILBA TILBA","postcode":"2546","state":"NSW"},"3607":{"id":"3607","locality":"TINPOT","postcode":"2546","state":"NSW"},"3608":{"id":"3608","locality":"WADBILLIGA","postcode":"2546","state":"NSW"},"3609":{"id":"3609","locality":"WALLAGA LAKE","postcode":"2546","state":"NSW"},"3610":{"id":"3610","locality":"BERRAMBOOL","postcode":"2548","state":"NSW"},"3611":{"id":"3611","locality":"BOURNDA","postcode":"2548","state":"NSW"},"3612":{"id":"3612","locality":"MERIMBULA","postcode":"2548","state":"NSW"},"3613":{"id":"3613","locality":"MIRADOR","postcode":"2548","state":"NSW"},"3614":{"id":"3614","locality":"TURA BEACH","postcode":"2548","state":"NSW"},"3615":{"id":"3615","locality":"YELLOW PINCH","postcode":"2548","state":"NSW"},"3616":{"id":"3616","locality":"BALD HILLS","postcode":"2549","state":"NSW"},"3617":{"id":"3617","locality":"BROADWATER","postcode":"2549","state":"NSW"},"3618":{"id":"3618","locality":"GREIGS FLAT","postcode":"2549","state":"NSW"},"3619":{"id":"3619","locality":"LOCHIEL","postcode":"2549","state":"NSW"},"3620":{"id":"3620","locality":"MILLINGANDI","postcode":"2549","state":"NSW"},"3621":{"id":"3621","locality":"NETHERCOTE","postcode":"2549","state":"NSW"},"3622":{"id":"3622","locality":"PAMBULA","postcode":"2549","state":"NSW"},"3623":{"id":"3623","locality":"PAMBULA BEACH","postcode":"2549","state":"NSW"},"3624":{"id":"3624","locality":"SOUTH PAMBULA","postcode":"2549","state":"NSW"},"3625":{"id":"3625","locality":"ANGLEDALE","postcode":"2550","state":"NSW"},"3626":{"id":"3626","locality":"BEGA","postcode":"2550","state":"NSW"},"3627":{"id":"3627","locality":"BEMBOKA","postcode":"2550","state":"NSW"},"3628":{"id":"3628","locality":"BLACK RANGE","postcode":"2550","state":"NSW"},"3629":{"id":"3629","locality":"BROGO","postcode":"2550","state":"NSW"},"3630":{"id":"3630","locality":"BUCKAJO","postcode":"2550","state":"NSW"},"3631":{"id":"3631","locality":"BURRAGATE","postcode":"2550","state":"NSW"},"3632":{"id":"3632","locality":"CANDELO","postcode":"2550","state":"NSW"},"3633":{"id":"3633","locality":"CHINNOCK","postcode":"2550","state":"NSW"},"3634":{"id":"3634","locality":"COBARGO","postcode":"2550","state":"NSW"},"3635":{"id":"3635","locality":"COOLAGOLITE","postcode":"2550","state":"NSW"},"3636":{"id":"3636","locality":"COOLANGUBRA","postcode":"2550","state":"NSW"},"3637":{"id":"3637","locality":"COOPERS GULLY","postcode":"2550","state":"NSW"},"3638":{"id":"3638","locality":"DEVILS HOLE","postcode":"2550","state":"NSW"},"3639":{"id":"3639","locality":"DOCTOR GEORGE MOUNTAIN","postcode":"2550","state":"NSW"},"3640":{"id":"3640","locality":"FROGS HOLLOW","postcode":"2550","state":"NSW"},"3641":{"id":"3641","locality":"GREENDALE","postcode":"2550","state":"NSW"},"3642":{"id":"3642","locality":"JELLAT JELLAT","postcode":"2550","state":"NSW"},"3643":{"id":"3643","locality":"KALARU","postcode":"2550","state":"NSW"},"3644":{"id":"3644","locality":"KAMERUKA","postcode":"2550","state":"NSW"},"3645":{"id":"3645","locality":"KANOONA","postcode":"2550","state":"NSW"},"3646":{"id":"3646","locality":"KINGSWOOD","postcode":"2550","state":"NSW"},"3647":{"id":"3647","locality":"MOGAREEKA","postcode":"2550","state":"NSW"},"3648":{"id":"3648","locality":"MOGILLA","postcode":"2550","state":"NSW"},"3649":{"id":"3649","locality":"MORANS CROSSING","postcode":"2550","state":"NSW"},"3650":{"id":"3650","locality":"MUMBULLA MOUNTAIN","postcode":"2550","state":"NSW"},"3651":{"id":"3651","locality":"MYRTLE MOUNTAIN","postcode":"2550","state":"NSW"},"3652":{"id":"3652","locality":"NELSON","postcode":"2550","state":"NSW"},"3653":{"id":"3653","locality":"NEW BUILDINGS","postcode":"2550","state":"NSW"},"3654":{"id":"3654","locality":"NUMBUGGA","postcode":"2550","state":"NSW"},"3655":{"id":"3655","locality":"PERICOE","postcode":"2550","state":"NSW"},"3656":{"id":"3656","locality":"QUAAMA","postcode":"2550","state":"NSW"},"3657":{"id":"3657","locality":"REEDY SWAMP","postcode":"2550","state":"NSW"},"3658":{"id":"3658","locality":"ROCKY HALL","postcode":"2550","state":"NSW"},"3659":{"id":"3659","locality":"SOUTH WOLUMLA","postcode":"2550","state":"NSW"},"3660":{"id":"3660","locality":"STONY CREEK","postcode":"2550","state":"NSW"},"3661":{"id":"3661","locality":"TANJA","postcode":"2550","state":"NSW"},"3662":{"id":"3662","locality":"TANTAWANGALO","postcode":"2550","state":"NSW"},"3663":{"id":"3663","locality":"TARRAGANDA","postcode":"2550","state":"NSW"},"3664":{"id":"3664","locality":"TATHRA","postcode":"2550","state":"NSW"},"3665":{"id":"3665","locality":"TOOTHDALE","postcode":"2550","state":"NSW"},"3666":{"id":"3666","locality":"TOWAMBA","postcode":"2550","state":"NSW"},"3667":{"id":"3667","locality":"VERONA","postcode":"2550","state":"NSW"},"3668":{"id":"3668","locality":"WALLAGOOT","postcode":"2550","state":"NSW"},"3669":{"id":"3669","locality":"WANDELLA","postcode":"2550","state":"NSW"},"3670":{"id":"3670","locality":"WAPENGO","postcode":"2550","state":"NSW"},"3671":{"id":"3671","locality":"WOG WOG","postcode":"2550","state":"NSW"},"3672":{"id":"3672","locality":"WOLUMLA","postcode":"2550","state":"NSW"},"3673":{"id":"3673","locality":"WYNDHAM","postcode":"2550","state":"NSW"},"3674":{"id":"3674","locality":"YAMBULLA","postcode":"2550","state":"NSW"},"3675":{"id":"3675","locality":"YANKEES CREEK","postcode":"2550","state":"NSW"},"3676":{"id":"3676","locality":"YOWRIE","postcode":"2550","state":"NSW"},"3677":{"id":"3677","locality":"BOYDTOWN","postcode":"2551","state":"NSW"},"3678":{"id":"3678","locality":"EDEN","postcode":"2551","state":"NSW"},"3679":{"id":"3679","locality":"EDROM","postcode":"2551","state":"NSW"},"3680":{"id":"3680","locality":"GREEN CAPE","postcode":"2551","state":"NSW"},"3681":{"id":"3681","locality":"KIAH","postcode":"2551","state":"NSW"},"3682":{"id":"3682","locality":"NADGEE","postcode":"2551","state":"NSW"},"3683":{"id":"3683","locality":"NARRABARBA","postcode":"2551","state":"NSW"},"3684":{"id":"3684","locality":"NULLICA","postcode":"2551","state":"NSW"},"3685":{"id":"3685","locality":"NUNGATTA","postcode":"2551","state":"NSW"},"3686":{"id":"3686","locality":"NUNGATTA SOUTH","postcode":"2551","state":"NSW"},"3687":{"id":"3687","locality":"TIMBILLICA","postcode":"2551","state":"NSW"},"3688":{"id":"3688","locality":"WONBOYN","postcode":"2551","state":"NSW"},"3689":{"id":"3689","locality":"WONBOYN NORTH","postcode":"2551","state":"NSW"},"3690":{"id":"3690","locality":"BADGERYS CREEK","postcode":"2555","state":"NSW"},"3691":{"id":"3691","locality":"BRINGELLY","postcode":"2556","state":"NSW"},"3692":{"id":"3692","locality":"CATHERINE FIELD","postcode":"2557","state":"NSW"},"3693":{"id":"3693","locality":"GLEDSWOOD HILLS","postcode":"2557","state":"NSW"},"3694":{"id":"3694","locality":"GREGORY HILLS","postcode":"2557","state":"NSW"},"3695":{"id":"3695","locality":"ROSSMORE","postcode":"2557","state":"NSW"},"3696":{"id":"3696","locality":"EAGLE VALE","postcode":"2558","state":"NSW"},"3697":{"id":"3697","locality":"ESCHOL PARK","postcode":"2558","state":"NSW"},"3698":{"id":"3698","locality":"KEARNS","postcode":"2558","state":"NSW"},"3699":{"id":"3699","locality":"BLAIRMOUNT","postcode":"2559","state":"NSW"},"3700":{"id":"3700","locality":"CLAYMORE","postcode":"2559","state":"NSW"},"3701":{"id":"3701","locality":"AIRDS","postcode":"2560","state":"NSW"},"3702":{"id":"3702","locality":"AMBARVALE","postcode":"2560","state":"NSW"},"3703":{"id":"3703","locality":"APPIN","postcode":"2560","state":"NSW"},"3704":{"id":"3704","locality":"BLAIR ATHOL","postcode":"2560","state":"NSW"},"3705":{"id":"3705","locality":"BRADBURY","postcode":"2560","state":"NSW"},"3706":{"id":"3706","locality":"CAMPBELLTOWN","postcode":"2560","state":"NSW"},"3707":{"id":"3707","locality":"CAMPBELLTOWN NORTH","postcode":"2560","state":"NSW"},"3708":{"id":"3708","locality":"CATARACT","postcode":"2560","state":"NSW"},"3709":{"id":"3709","locality":"ENGLORIE PARK","postcode":"2560","state":"NSW"},"3710":{"id":"3710","locality":"GILEAD","postcode":"2560","state":"NSW"},"3711":{"id":"3711","locality":"GLEN ALPINE","postcode":"2560","state":"NSW"},"3712":{"id":"3712","locality":"KENTLYN","postcode":"2560","state":"NSW"},"3713":{"id":"3713","locality":"LEUMEAH","postcode":"2560","state":"NSW"},"3714":{"id":"3714","locality":"MACARTHUR SQUARE","postcode":"2560","state":"NSW"},"3715":{"id":"3715","locality":"ROSEMEADOW","postcode":"2560","state":"NSW"},"3716":{"id":"3716","locality":"RUSE","postcode":"2560","state":"NSW"},"3717":{"id":"3717","locality":"ST HELENS PARK","postcode":"2560","state":"NSW"},"3718":{"id":"3718","locality":"WEDDERBURN","postcode":"2560","state":"NSW"},"3719":{"id":"3719","locality":"WOODBINE","postcode":"2560","state":"NSW"},"3720":{"id":"3720","locality":"MENANGLE PARK","postcode":"2563","state":"NSW"},"3721":{"id":"3721","locality":"GLENQUARIE","postcode":"2564","state":"NSW"},"3722":{"id":"3722","locality":"LONG POINT","postcode":"2564","state":"NSW"},"3723":{"id":"3723","locality":"MACQUARIE FIELDS","postcode":"2564","state":"NSW"},"3724":{"id":"3724","locality":"BARDIA","postcode":"2565","state":"NSW"},"3725":{"id":"3725","locality":"DENHAM COURT","postcode":"2565","state":"NSW"},"3726":{"id":"3726","locality":"INGLEBURN","postcode":"2565","state":"NSW"},"3727":{"id":"3727","locality":"MACQUARIE LINKS","postcode":"2565","state":"NSW"},"3728":{"id":"3728","locality":"BOW BOWING","postcode":"2566","state":"NSW"},"3729":{"id":"3729","locality":"MINTO","postcode":"2566","state":"NSW"},"3730":{"id":"3730","locality":"MINTO DC","postcode":"2566","state":"NSW"},"3731":{"id":"3731","locality":"MINTO HEIGHTS","postcode":"2566","state":"NSW"},"3732":{"id":"3732","locality":"RABY","postcode":"2566","state":"NSW"},"3733":{"id":"3733","locality":"ST ANDREWS","postcode":"2566","state":"NSW"},"3734":{"id":"3734","locality":"VARROVILLE","postcode":"2566","state":"NSW"},"3735":{"id":"3735","locality":"CURRANS HILL","postcode":"2567","state":"NSW"},"3736":{"id":"3736","locality":"HARRINGTON PARK","postcode":"2567","state":"NSW"},"3737":{"id":"3737","locality":"MOUNT ANNAN","postcode":"2567","state":"NSW"},"3738":{"id":"3738","locality":"NARELLAN","postcode":"2567","state":"NSW"},"3739":{"id":"3739","locality":"NARELLAN DC","postcode":"2567","state":"NSW"},"3740":{"id":"3740","locality":"NARELLAN VALE","postcode":"2567","state":"NSW"},"3741":{"id":"3741","locality":"SMEATON GRANGE","postcode":"2567","state":"NSW"},"3742":{"id":"3742","locality":"MENANGLE","postcode":"2568","state":"NSW"},"3743":{"id":"3743","locality":"DOUGLAS PARK","postcode":"2569","state":"NSW"},"3744":{"id":"3744","locality":"BELIMBLA PARK","postcode":"2570","state":"NSW"},"3745":{"id":"3745","locality":"BICKLEY VALE","postcode":"2570","state":"NSW"},"3746":{"id":"3746","locality":"BROWNLOW HILL","postcode":"2570","state":"NSW"},"3747":{"id":"3747","locality":"CAMDEN","postcode":"2570","state":"NSW"},"3748":{"id":"3748","locality":"CAMDEN PARK","postcode":"2570","state":"NSW"},"3749":{"id":"3749","locality":"CAMDEN SOUTH","postcode":"2570","state":"NSW"},"3750":{"id":"3750","locality":"CAWDOR","postcode":"2570","state":"NSW"},"3751":{"id":"3751","locality":"COBBITTY","postcode":"2570","state":"NSW"},"3752":{"id":"3752","locality":"ELDERSLIE","postcode":"2570","state":"NSW"},"3753":{"id":"3753","locality":"ELLIS LANE","postcode":"2570","state":"NSW"},"3754":{"id":"3754","locality":"GLENMORE","postcode":"2570","state":"NSW"},"3755":{"id":"3755","locality":"GRASMERE","postcode":"2570","state":"NSW"},"3756":{"id":"3756","locality":"KIRKHAM","postcode":"2570","state":"NSW"},"3757":{"id":"3757","locality":"MOUNT HUNTER","postcode":"2570","state":"NSW"},"3758":{"id":"3758","locality":"NATTAI","postcode":"2570","state":"NSW"},"3759":{"id":"3759","locality":"OAKDALE","postcode":"2570","state":"NSW"},"3760":{"id":"3760","locality":"ORAN PARK","postcode":"2570","state":"NSW"},"3761":{"id":"3761","locality":"ORANGEVILLE","postcode":"2570","state":"NSW"},"3762":{"id":"3762","locality":"SPRING FARM","postcode":"2570","state":"NSW"},"3763":{"id":"3763","locality":"THE OAKS","postcode":"2570","state":"NSW"},"3764":{"id":"3764","locality":"THERESA PARK","postcode":"2570","state":"NSW"},"3765":{"id":"3765","locality":"WEROMBI","postcode":"2570","state":"NSW"},"3766":{"id":"3766","locality":"BALMORAL","postcode":"2571","state":"NSW"},"3767":{"id":"3767","locality":"BUXTON","postcode":"2571","state":"NSW"},"3768":{"id":"3768","locality":"COURIDJAH","postcode":"2571","state":"NSW"},"3769":{"id":"3769","locality":"MALDON","postcode":"2571","state":"NSW"},"3770":{"id":"3770","locality":"MOWBRAY PARK","postcode":"2571","state":"NSW"},"3771":{"id":"3771","locality":"PICTON","postcode":"2571","state":"NSW"},"3772":{"id":"3772","locality":"RAZORBACK","postcode":"2571","state":"NSW"},"3773":{"id":"3773","locality":"WILTON","postcode":"2571","state":"NSW"},"3774":{"id":"3774","locality":"LAKESLAND","postcode":"2572","state":"NSW"},"3775":{"id":"3775","locality":"THIRLMERE","postcode":"2572","state":"NSW"},"3776":{"id":"3776","locality":"TAHMOOR","postcode":"2573","state":"NSW"},"3777":{"id":"3777","locality":"AVON","postcode":"2574","state":"NSW"},"3778":{"id":"3778","locality":"BARGO","postcode":"2574","state":"NSW"},"3779":{"id":"3779","locality":"PHEASANTS NEST","postcode":"2574","state":"NSW"},"3780":{"id":"3780","locality":"YANDERRA","postcode":"2574","state":"NSW"},"3781":{"id":"3781","locality":"ALPINE","postcode":"2575","state":"NSW"},"3782":{"id":"3782","locality":"AYLMERTON","postcode":"2575","state":"NSW"},"3783":{"id":"3783","locality":"BALACLAVA","postcode":"2575","state":"NSW"},"3784":{"id":"3784","locality":"BRAEMAR","postcode":"2575","state":"NSW"},"3785":{"id":"3785","locality":"BULLIO","postcode":"2575","state":"NSW"},"3786":{"id":"3786","locality":"COLO VALE","postcode":"2575","state":"NSW"},"3787":{"id":"3787","locality":"GOODMANS FORD","postcode":"2575","state":"NSW"},"3788":{"id":"3788","locality":"HIGH RANGE","postcode":"2575","state":"NSW"},"3789":{"id":"3789","locality":"HILL TOP","postcode":"2575","state":"NSW"},"3790":{"id":"3790","locality":"JOADJA","postcode":"2575","state":"NSW"},"3791":{"id":"3791","locality":"MANDEMAR","postcode":"2575","state":"NSW"},"3792":{"id":"3792","locality":"MITTAGONG","postcode":"2575","state":"NSW"},"3793":{"id":"3793","locality":"MOUNT LINDSEY","postcode":"2575","state":"NSW"},"3794":{"id":"3794","locality":"RENWICK","postcode":"2575","state":"NSW"},"3795":{"id":"3795","locality":"WATTLE RIDGE","postcode":"2575","state":"NSW"},"3796":{"id":"3796","locality":"WELBY","postcode":"2575","state":"NSW"},"3797":{"id":"3797","locality":"WILLOW VALE","postcode":"2575","state":"NSW"},"3798":{"id":"3798","locality":"WOODLANDS","postcode":"2575","state":"NSW"},"3799":{"id":"3799","locality":"YERRINBOOL","postcode":"2575","state":"NSW"},"3800":{"id":"3800","locality":"BOWRAL","postcode":"2576","state":"NSW"},"3801":{"id":"3801","locality":"BURRADOO","postcode":"2576","state":"NSW"},"3802":{"id":"3802","locality":"EAST BOWRAL","postcode":"2576","state":"NSW"},"3803":{"id":"3803","locality":"EAST KANGALOON","postcode":"2576","state":"NSW"},"3804":{"id":"3804","locality":"GLENQUARRY","postcode":"2576","state":"NSW"},"3805":{"id":"3805","locality":"KANGALOON","postcode":"2576","state":"NSW"},"3806":{"id":"3806","locality":"AVOCA","postcode":"2577","state":"NSW"},"3807":{"id":"3807","locality":"BARREN GROUNDS","postcode":"2577","state":"NSW"},"3808":{"id":"3808","locality":"BARRENGARRY","postcode":"2577","state":"NSW"},"3809":{"id":"3809","locality":"BEAUMONT","postcode":"2577","state":"NSW"},"3810":{"id":"3810","locality":"BELANGLO","postcode":"2577","state":"NSW"},"3811":{"id":"3811","locality":"BERRIMA","postcode":"2577","state":"NSW"},"3812":{"id":"3812","locality":"BUDGONG","postcode":"2577","state":"NSW"},"3813":{"id":"3813","locality":"BURRAWANG","postcode":"2577","state":"NSW"},"3814":{"id":"3814","locality":"CANYONLEIGH","postcode":"2577","state":"NSW"},"3815":{"id":"3815","locality":"CARRINGTON FALLS","postcode":"2577","state":"NSW"},"3816":{"id":"3816","locality":"FITZROY FALLS","postcode":"2577","state":"NSW"},"3817":{"id":"3817","locality":"KANGAROO VALLEY","postcode":"2577","state":"NSW"},"3818":{"id":"3818","locality":"KNIGHTS HILL","postcode":"2577","state":"NSW"},"3819":{"id":"3819","locality":"MACQUARIE PASS","postcode":"2577","state":"NSW"},"3820":{"id":"3820","locality":"MANCHESTER SQUARE","postcode":"2577","state":"NSW"},"3821":{"id":"3821","locality":"MEDWAY","postcode":"2577","state":"NSW"},"3822":{"id":"3822","locality":"MERYLA","postcode":"2577","state":"NSW"},"3823":{"id":"3823","locality":"MOSS VALE","postcode":"2577","state":"NSW"},"3824":{"id":"3824","locality":"MOUNT MURRAY","postcode":"2577","state":"NSW"},"3825":{"id":"3825","locality":"NEW BERRIMA","postcode":"2577","state":"NSW"},"3826":{"id":"3826","locality":"PADDYS RIVER","postcode":"2577","state":"NSW"},"3827":{"id":"3827","locality":"RED ROCKS","postcode":"2577","state":"NSW"},"3828":{"id":"3828","locality":"ROBERTSON","postcode":"2577","state":"NSW"},"3829":{"id":"3829","locality":"SUTTON FOREST","postcode":"2577","state":"NSW"},"3830":{"id":"3830","locality":"UPPER KANGAROO RIVER","postcode":"2577","state":"NSW"},"3831":{"id":"3831","locality":"UPPER KANGAROO VALLEY","postcode":"2577","state":"NSW"},"3832":{"id":"3832","locality":"WERAI","postcode":"2577","state":"NSW"},"3833":{"id":"3833","locality":"WILDES MEADOW","postcode":"2577","state":"NSW"},"3834":{"id":"3834","locality":"BUNDANOON","postcode":"2578","state":"NSW"},"3835":{"id":"3835","locality":"BIG HILL","postcode":"2579","state":"NSW"},"3836":{"id":"3836","locality":"BRAYTON","postcode":"2579","state":"NSW"},"3837":{"id":"3837","locality":"EXETER","postcode":"2579","state":"NSW"},"3838":{"id":"3838","locality":"MARULAN","postcode":"2579","state":"NSW"},"3839":{"id":"3839","locality":"PENROSE","postcode":"2579","state":"NSW"},"3840":{"id":"3840","locality":"TALLONG","postcode":"2579","state":"NSW"},"3841":{"id":"3841","locality":"WINGELLO","postcode":"2579","state":"NSW"},"3842":{"id":"3842","locality":"BANNABY","postcode":"2580","state":"NSW"},"3843":{"id":"3843","locality":"BANNISTER","postcode":"2580","state":"NSW"},"3844":{"id":"3844","locality":"BAW BAW","postcode":"2580","state":"NSW"},"3845":{"id":"3845","locality":"BOXERS CREEK","postcode":"2580","state":"NSW"},"3846":{"id":"3846","locality":"BRISBANE GROVE","postcode":"2580","state":"NSW"},"3847":{"id":"3847","locality":"BUNGONIA","postcode":"2580","state":"NSW"},"3848":{"id":"3848","locality":"CARRICK","postcode":"2580","state":"NSW"},"3849":{"id":"3849","locality":"CHATSBURY","postcode":"2580","state":"NSW"},"3850":{"id":"3850","locality":"CURRAWANG","postcode":"2580","state":"NSW"},"3851":{"id":"3851","locality":"CURRAWEELA","postcode":"2580","state":"NSW"},"3852":{"id":"3852","locality":"GOLSPIE","postcode":"2580","state":"NSW"},"3853":{"id":"3853","locality":"GOULBURN","postcode":"2580","state":"NSW"},"3854":{"id":"3854","locality":"GOULBURN DC","postcode":"2580","state":"NSW"},"3855":{"id":"3855","locality":"GOULBURN NORTH","postcode":"2580","state":"NSW"},"3856":{"id":"3856","locality":"GREENWICH PARK","postcode":"2580","state":"NSW"},"3857":{"id":"3857","locality":"GUNDARY","postcode":"2580","state":"NSW"},"3858":{"id":"3858","locality":"JERRONG","postcode":"2580","state":"NSW"},"3859":{"id":"3859","locality":"KINGSDALE","postcode":"2580","state":"NSW"},"3860":{"id":"3860","locality":"LAKE BATHURST","postcode":"2580","state":"NSW"},"3861":{"id":"3861","locality":"LOWER BORO","postcode":"2580","state":"NSW"},"3862":{"id":"3862","locality":"MAYFIELD","postcode":"2580","state":"NSW"},"3863":{"id":"3863","locality":"MIDDLE ARM","postcode":"2580","state":"NSW"},"3864":{"id":"3864","locality":"MOUNT FAIRY","postcode":"2580","state":"NSW"},"3865":{"id":"3865","locality":"MUMMEL","postcode":"2580","state":"NSW"},"3866":{"id":"3866","locality":"MYRTLEVILLE","postcode":"2580","state":"NSW"},"3867":{"id":"3867","locality":"PALING YARDS","postcode":"2580","state":"NSW"},"3868":{"id":"3868","locality":"PARKESBOURNE","postcode":"2580","state":"NSW"},"3869":{"id":"3869","locality":"POMEROY","postcode":"2580","state":"NSW"},"3870":{"id":"3870","locality":"QUIALIGO","postcode":"2580","state":"NSW"},"3871":{"id":"3871","locality":"RICHLANDS","postcode":"2580","state":"NSW"},"3872":{"id":"3872","locality":"ROSLYN","postcode":"2580","state":"NSW"},"3873":{"id":"3873","locality":"RUN-O-WATERS","postcode":"2580","state":"NSW"},"3874":{"id":"3874","locality":"STONEQUARRY","postcode":"2580","state":"NSW"},"3875":{"id":"3875","locality":"TARAGO","postcode":"2580","state":"NSW"},"3876":{"id":"3876","locality":"TARALGA","postcode":"2580","state":"NSW"},"3877":{"id":"3877","locality":"TARLO","postcode":"2580","state":"NSW"},"3878":{"id":"3878","locality":"TIRRANNAVILLE","postcode":"2580","state":"NSW"},"3879":{"id":"3879","locality":"TOWRANG","postcode":"2580","state":"NSW"},"3880":{"id":"3880","locality":"WAYO","postcode":"2580","state":"NSW"},"3881":{"id":"3881","locality":"WIARBOROUGH","postcode":"2580","state":"NSW"},"3882":{"id":"3882","locality":"WINDELLAMA","postcode":"2580","state":"NSW"},"3883":{"id":"3883","locality":"WOMBEYAN CAVES","postcode":"2580","state":"NSW"},"3884":{"id":"3884","locality":"WOODHOUSELEE","postcode":"2580","state":"NSW"},"3885":{"id":"3885","locality":"YALBRAITH","postcode":"2580","state":"NSW"},"3886":{"id":"3886","locality":"YARRA","postcode":"2580","state":"NSW"},"3887":{"id":"3887","locality":"BELLMOUNT FOREST","postcode":"2581","state":"NSW"},"3888":{"id":"3888","locality":"BEVENDALE","postcode":"2581","state":"NSW"},"3889":{"id":"3889","locality":"BIALA","postcode":"2581","state":"NSW"},"3890":{"id":"3890","locality":"BLAKNEY CREEK","postcode":"2581","state":"NSW"},"3891":{"id":"3891","locality":"BREADALBANE","postcode":"2581","state":"NSW"},"3892":{"id":"3892","locality":"BROADWAY","postcode":"2581","state":"NSW"},"3893":{"id":"3893","locality":"COLLECTOR","postcode":"2581","state":"NSW"},"3894":{"id":"3894","locality":"CULLERIN","postcode":"2581","state":"NSW"},"3895":{"id":"3895","locality":"DALTON","postcode":"2581","state":"NSW"},"3896":{"id":"3896","locality":"GUNNING","postcode":"2581","state":"NSW"},"3897":{"id":"3897","locality":"GURRUNDAH","postcode":"2581","state":"NSW"},"3898":{"id":"3898","locality":"LADE VALE","postcode":"2581","state":"NSW"},"3899":{"id":"3899","locality":"LAKE GEORGE","postcode":"2581","state":"NSW"},"3900":{"id":"3900","locality":"LERIDA","postcode":"2581","state":"NSW"},"3901":{"id":"3901","locality":"MERRILL","postcode":"2581","state":"NSW"},"3902":{"id":"3902","locality":"OOLONG","postcode":"2581","state":"NSW"},"3903":{"id":"3903","locality":"WOLLOGORANG","postcode":"2581","state":"NSW"},"3904":{"id":"3904","locality":"BANGO","postcode":"2582","state":"NSW"},"3905":{"id":"3905","locality":"BERREMANGRA","postcode":"2582","state":"NSW"},"3906":{"id":"3906","locality":"BOAMBOLO","postcode":"2582","state":"NSW"},"3907":{"id":"3907","locality":"BOOKHAM","postcode":"2582","state":"NSW"},"3908":{"id":"3908","locality":"BOWNING","postcode":"2582","state":"NSW"},"3909":{"id":"3909","locality":"BURRINJUCK","postcode":"2582","state":"NSW"},"3910":{"id":"3910","locality":"CAVAN","postcode":"2582","state":"NSW"},"3911":{"id":"3911","locality":"GOOD HOPE","postcode":"2582","state":"NSW"},"3912":{"id":"3912","locality":"JEIR","postcode":"2582","state":"NSW"},"3913":{"id":"3913","locality":"JERRAWA","postcode":"2582","state":"NSW"},"3914":{"id":"3914","locality":"KANGIARA","postcode":"2582","state":"NSW"},"3915":{"id":"3915","locality":"LAVERSTOCK","postcode":"2582","state":"NSW"},"3916":{"id":"3916","locality":"MANTON","postcode":"2582","state":"NSW"},"3917":{"id":"3917","locality":"MARCHMONT","postcode":"2582","state":"NSW"},"3918":{"id":"3918","locality":"MULLION","postcode":"2582","state":"NSW"},"3919":{"id":"3919","locality":"MURRUMBATEMAN","postcode":"2582","state":"NSW"},"3920":{"id":"3920","locality":"NARRANGULLEN","postcode":"2582","state":"NSW"},"3921":{"id":"3921","locality":"WEE JASPER","postcode":"2582","state":"NSW"},"3922":{"id":"3922","locality":"WOOLGARLO","postcode":"2582","state":"NSW"},"3923":{"id":"3923","locality":"YASS","postcode":"2582","state":"NSW"},"3924":{"id":"3924","locality":"YASS RIVER","postcode":"2582","state":"NSW"},"3925":{"id":"3925","locality":"BIGGA","postcode":"2583","state":"NSW"},"3926":{"id":"3926","locality":"BINDA","postcode":"2583","state":"NSW"},"3927":{"id":"3927","locality":"CROOKED CORNER","postcode":"2583","state":"NSW"},"3928":{"id":"3928","locality":"CROOKWELL","postcode":"2583","state":"NSW"},"3929":{"id":"3929","locality":"FULLERTON","postcode":"2583","state":"NSW"},"3930":{"id":"3930","locality":"GRABBEN GULLEN","postcode":"2583","state":"NSW"},"3931":{"id":"3931","locality":"LAGGAN","postcode":"2583","state":"NSW"},"3932":{"id":"3932","locality":"LIMERICK","postcode":"2583","state":"NSW"},"3933":{"id":"3933","locality":"LOST RIVER","postcode":"2583","state":"NSW"},"3934":{"id":"3934","locality":"NARRAWA","postcode":"2583","state":"NSW"},"3935":{"id":"3935","locality":"PEELWOOD","postcode":"2583","state":"NSW"},"3936":{"id":"3936","locality":"PEJAR","postcode":"2583","state":"NSW"},"3937":{"id":"3937","locality":"RUGBY","postcode":"2583","state":"NSW"},"3938":{"id":"3938","locality":"TUENA","postcode":"2583","state":"NSW"},"3939":{"id":"3939","locality":"WHEEO","postcode":"2583","state":"NSW"},"3940":{"id":"3940","locality":"BINALONG","postcode":"2584","state":"NSW"},"3941":{"id":"3941","locality":"GALONG","postcode":"2585","state":"NSW"},"3942":{"id":"3942","locality":"BOOROWA","postcode":"2586","state":"NSW"},"3943":{"id":"3943","locality":"FROGMORE","postcode":"2586","state":"NSW"},"3944":{"id":"3944","locality":"GODFREYS CREEK","postcode":"2586","state":"NSW"},"3945":{"id":"3945","locality":"MURRINGO","postcode":"2586","state":"NSW"},"3946":{"id":"3946","locality":"REIDS FLAT","postcode":"2586","state":"NSW"},"3947":{"id":"3947","locality":"RYE PARK","postcode":"2586","state":"NSW"},"3948":{"id":"3948","locality":"TAYLORS FLAT","postcode":"2586","state":"NSW"},"3949":{"id":"3949","locality":"HARDEN","postcode":"2587","state":"NSW"},"3950":{"id":"3950","locality":"KINGSVALE","postcode":"2587","state":"NSW"},"3951":{"id":"3951","locality":"MCMAHONS REEF","postcode":"2587","state":"NSW"},"3952":{"id":"3952","locality":"MURRUMBURRAH","postcode":"2587","state":"NSW"},"3953":{"id":"3953","locality":"NUBBA","postcode":"2587","state":"NSW"},"3954":{"id":"3954","locality":"WOMBAT","postcode":"2587","state":"NSW"},"3955":{"id":"3955","locality":"WALLENDBEEN","postcode":"2588","state":"NSW"},"3956":{"id":"3956","locality":"BETHUNGRA","postcode":"2590","state":"NSW"},"3957":{"id":"3957","locality":"COOTAMUNDRA","postcode":"2590","state":"NSW"},"3958":{"id":"3958","locality":"ILLABO","postcode":"2590","state":"NSW"},"3959":{"id":"3959","locality":"BERTHONG","postcode":"2594","state":"NSW"},"3960":{"id":"3960","locality":"BRIBBAREE","postcode":"2594","state":"NSW"},"3961":{"id":"3961","locality":"BULLA CREEK","postcode":"2594","state":"NSW"},"3962":{"id":"3962","locality":"BURRANGONG","postcode":"2594","state":"NSW"},"3963":{"id":"3963","locality":"KIKIAMAH","postcode":"2594","state":"NSW"},"3964":{"id":"3964","locality":"MAIMURU","postcode":"2594","state":"NSW"},"3965":{"id":"3965","locality":"MEMAGONG","postcode":"2594","state":"NSW"},"3966":{"id":"3966","locality":"MILVALE","postcode":"2594","state":"NSW"},"3967":{"id":"3967","locality":"MONTEAGLE","postcode":"2594","state":"NSW"},"3968":{"id":"3968","locality":"THUDDUNGRA","postcode":"2594","state":"NSW"},"3969":{"id":"3969","locality":"TUBBUL","postcode":"2594","state":"NSW"},"3970":{"id":"3970","locality":"WEEDALLION","postcode":"2594","state":"NSW"},"3971":{"id":"3971","locality":"YOUNG","postcode":"2594","state":"NSW"},"3972":{"id":"3972","locality":"BARTON","postcode":"2600","state":"ACT"},"3973":{"id":"3973","locality":"CANBERRA","postcode":"2600","state":"ACT"},"3974":{"id":"3974","locality":"CAPITAL HILL","postcode":"2600","state":"ACT"},"3975":{"id":"3975","locality":"DEAKIN","postcode":"2600","state":"ACT"},"3976":{"id":"3976","locality":"DEAKIN WEST","postcode":"2600","state":"ACT"},"3977":{"id":"3977","locality":"HARMAN","postcode":"2600","state":"ACT"},"3978":{"id":"3978","locality":"HMAS HARMAN","postcode":"2600","state":"ACT"},"3979":{"id":"3979","locality":"PARKES","postcode":"2600","state":"ACT"},"3980":{"id":"3980","locality":"PARLIAMENT HOUSE","postcode":"2600","state":"ACT"},"3981":{"id":"3981","locality":"RUSSELL","postcode":"2600","state":"ACT"},"3982":{"id":"3982","locality":"YARRALUMLA","postcode":"2600","state":"ACT"},"3983":{"id":"3983","locality":"ACTON","postcode":"2601","state":"ACT"},"3984":{"id":"3984","locality":"CANBERRA","postcode":"2601","state":"ACT"},"3985":{"id":"3985","locality":"CITY","postcode":"2601","state":"ACT"},"3986":{"id":"3986","locality":"AINSLIE","postcode":"2602","state":"ACT"},"3987":{"id":"3987","locality":"DICKSON","postcode":"2602","state":"ACT"},"3988":{"id":"3988","locality":"DOWNER","postcode":"2602","state":"ACT"},"3989":{"id":"3989","locality":"HACKETT","postcode":"2602","state":"ACT"},"3990":{"id":"3990","locality":"LYNEHAM","postcode":"2602","state":"ACT"},"3991":{"id":"3991","locality":"O'CONNOR","postcode":"2602","state":"ACT"},"3992":{"id":"3992","locality":"WATSON","postcode":"2602","state":"ACT"},"3993":{"id":"3993","locality":"FORREST","postcode":"2603","state":"ACT"},"3994":{"id":"3994","locality":"GRIFFITH","postcode":"2603","state":"ACT"},"3995":{"id":"3995","locality":"MANUKA","postcode":"2603","state":"ACT"},"3996":{"id":"3996","locality":"RED HILL","postcode":"2603","state":"ACT"},"3997":{"id":"3997","locality":"CAUSEWAY","postcode":"2604","state":"ACT"},"3998":{"id":"3998","locality":"KINGSTON","postcode":"2604","state":"ACT"},"3999":{"id":"3999","locality":"NARRABUNDAH","postcode":"2604","state":"ACT"},"4000":{"id":"4000","locality":"CURTIN","postcode":"2605","state":"ACT"},"4001":{"id":"4001","locality":"GARRAN","postcode":"2605","state":"ACT"},"4002":{"id":"4002","locality":"HUGHES","postcode":"2605","state":"ACT"},"4003":{"id":"4003","locality":"CHIFLEY","postcode":"2606","state":"ACT"},"4004":{"id":"4004","locality":"LYONS","postcode":"2606","state":"ACT"},"4005":{"id":"4005","locality":"O'MALLEY","postcode":"2606","state":"ACT"},"4006":{"id":"4006","locality":"PHILLIP","postcode":"2606","state":"ACT"},"4007":{"id":"4007","locality":"WODEN","postcode":"2606","state":"ACT"},"4008":{"id":"4008","locality":"FARRER","postcode":"2607","state":"ACT"},"4009":{"id":"4009","locality":"ISAACS","postcode":"2607","state":"ACT"},"4010":{"id":"4010","locality":"MAWSON","postcode":"2607","state":"ACT"},"4011":{"id":"4011","locality":"PEARCE","postcode":"2607","state":"ACT"},"4012":{"id":"4012","locality":"TORRENS","postcode":"2607","state":"ACT"},"4013":{"id":"4013","locality":"CIVIC SQUARE","postcode":"2608","state":"ACT"},"4014":{"id":"4014","locality":"CANBERRA AIRPORT","postcode":"2609","state":"ACT"},"4015":{"id":"4015","locality":"FYSHWICK","postcode":"2609","state":"ACT"},"4016":{"id":"4016","locality":"MAJURA","postcode":"2609","state":"ACT"},"4017":{"id":"4017","locality":"PIALLIGO","postcode":"2609","state":"ACT"},"4018":{"id":"4018","locality":"SYMONSTON","postcode":"2609","state":"ACT"},"4019":{"id":"4019","locality":"CANBERRA BC","postcode":"2610","state":"ACT"},"4020":{"id":"4020","locality":"CANBERRA MC","postcode":"2610","state":"ACT"},"4021":{"id":"4021","locality":"BIMBERI","postcode":"2611","state":"NSW"},"4022":{"id":"4022","locality":"BRINDABELLA","postcode":"2611","state":"NSW"},"4023":{"id":"4023","locality":"CHAPMAN","postcode":"2611","state":"ACT"},"4024":{"id":"4024","locality":"COOLEMAN","postcode":"2611","state":"NSW"},"4025":{"id":"4025","locality":"COOMBS","postcode":"2611","state":"ACT"},"4026":{"id":"4026","locality":"COREE","postcode":"2611","state":"ACT"},"4027":{"id":"4027","locality":"DUFFY","postcode":"2611","state":"ACT"},"4028":{"id":"4028","locality":"FISHER","postcode":"2611","state":"ACT"},"4029":{"id":"4029","locality":"HOLDER","postcode":"2611","state":"ACT"},"4030":{"id":"4030","locality":"RIVETT","postcode":"2611","state":"ACT"},"4031":{"id":"4031","locality":"STIRLING","postcode":"2611","state":"ACT"},"4032":{"id":"4032","locality":"STROMLO","postcode":"2611","state":"ACT"},"4033":{"id":"4033","locality":"URIARRA","postcode":"2611","state":"NSW"},"4034":{"id":"4034","locality":"WARAMANGA","postcode":"2611","state":"ACT"},"4035":{"id":"4035","locality":"WESTON","postcode":"2611","state":"ACT"},"4036":{"id":"4036","locality":"WESTON CREEK","postcode":"2611","state":"ACT"},"4037":{"id":"4037","locality":"WRIGHT","postcode":"2611","state":"ACT"},"4038":{"id":"4038","locality":"BRADDON","postcode":"2612","state":"ACT"},"4039":{"id":"4039","locality":"CAMPBELL","postcode":"2612","state":"ACT"},"4040":{"id":"4040","locality":"REID","postcode":"2612","state":"ACT"},"4041":{"id":"4041","locality":"TURNER","postcode":"2612","state":"ACT"},"4042":{"id":"4042","locality":"ARANDA","postcode":"2614","state":"ACT"},"4043":{"id":"4043","locality":"COOK","postcode":"2614","state":"ACT"},"4044":{"id":"4044","locality":"HAWKER","postcode":"2614","state":"ACT"},"4045":{"id":"4045","locality":"JAMISON CENTRE","postcode":"2614","state":"ACT"},"4046":{"id":"4046","locality":"MACQUARIE","postcode":"2614","state":"ACT"},"4047":{"id":"4047","locality":"PAGE","postcode":"2614","state":"ACT"},"4048":{"id":"4048","locality":"SCULLIN","postcode":"2614","state":"ACT"},"4049":{"id":"4049","locality":"WEETANGERA","postcode":"2614","state":"ACT"},"4050":{"id":"4050","locality":"CHARNWOOD","postcode":"2615","state":"ACT"},"4051":{"id":"4051","locality":"DUNLOP","postcode":"2615","state":"ACT"},"4052":{"id":"4052","locality":"FLOREY","postcode":"2615","state":"ACT"},"4053":{"id":"4053","locality":"FLYNN","postcode":"2615","state":"ACT"},"4054":{"id":"4054","locality":"FRASER","postcode":"2615","state":"ACT"},"4055":{"id":"4055","locality":"HIGGINS","postcode":"2615","state":"ACT"},"4056":{"id":"4056","locality":"HOLT","postcode":"2615","state":"ACT"},"4057":{"id":"4057","locality":"KIPPAX","postcode":"2615","state":"ACT"},"4058":{"id":"4058","locality":"LATHAM","postcode":"2615","state":"ACT"},"4059":{"id":"4059","locality":"MACGREGOR","postcode":"2615","state":"ACT"},"4060":{"id":"4060","locality":"MELBA","postcode":"2615","state":"ACT"},"4061":{"id":"4061","locality":"SPENCE","postcode":"2615","state":"ACT"},"4062":{"id":"4062","locality":"BELCONNEN","postcode":"2616","state":"ACT"},"4063":{"id":"4063","locality":"BELCONNEN","postcode":"2617","state":"ACT"},"4064":{"id":"4064","locality":"BELCONNEN DC","postcode":"2617","state":"ACT"},"4065":{"id":"4065","locality":"BRUCE","postcode":"2617","state":"ACT"},"4066":{"id":"4066","locality":"EVATT","postcode":"2617","state":"ACT"},"4067":{"id":"4067","locality":"GIRALANG","postcode":"2617","state":"ACT"},"4068":{"id":"4068","locality":"KALEEN","postcode":"2617","state":"ACT"},"4069":{"id":"4069","locality":"LAWSON","postcode":"2617","state":"ACT"},"4070":{"id":"4070","locality":"MCKELLAR","postcode":"2617","state":"ACT"},"4071":{"id":"4071","locality":"UNIVERSITY OF CANBERRA","postcode":"2617","state":"ACT"},"4072":{"id":"4072","locality":"HALL","postcode":"2618","state":"ACT"},"4073":{"id":"4073","locality":"NANIMA","postcode":"2618","state":"NSW"},"4074":{"id":"4074","locality":"SPRINGRANGE","postcode":"2618","state":"NSW"},"4075":{"id":"4075","locality":"WALLAROO","postcode":"2618","state":"NSW"},"4076":{"id":"4076","locality":"JERRABOMBERRA","postcode":"2619","state":"NSW"},"4077":{"id":"4077","locality":"BEARD","postcode":"2620","state":"ACT"},"4078":{"id":"4078","locality":"BURRA","postcode":"2620","state":"NSW"},"4079":{"id":"4079","locality":"CARWOOLA","postcode":"2620","state":"NSW"},"4080":{"id":"4080","locality":"CLEAR RANGE","postcode":"2620","state":"NSW"},"4081":{"id":"4081","locality":"CRESTWOOD","postcode":"2620","state":"NSW"},"4082":{"id":"4082","locality":"ENVIRONA","postcode":"2620","state":"NSW"},"4083":{"id":"4083","locality":"GOOGONG","postcode":"2620","state":"NSW"},"4084":{"id":"4084","locality":"GREENLEIGH","postcode":"2620","state":"NSW"},"4085":{"id":"4085","locality":"GUNDAROO","postcode":"2620","state":"NSW"},"4086":{"id":"4086","locality":"HUME","postcode":"2620","state":"ACT"},"4087":{"id":"4087","locality":"KARABAR","postcode":"2620","state":"NSW"},"4088":{"id":"4088","locality":"KOWEN","postcode":"2620","state":"ACT"},"4089":{"id":"4089","locality":"MICHELAGO","postcode":"2620","state":"NSW"},"4090":{"id":"4090","locality":"OAKS ESTATE","postcode":"2620","state":"ACT"},"4091":{"id":"4091","locality":"PADDYS RIVER","postcode":"2620","state":"ACT"},"4092":{"id":"4092","locality":"QUEANBEYAN","postcode":"2620","state":"NSW"},"4093":{"id":"4093","locality":"QUEANBEYAN DC","postcode":"2620","state":"NSW"},"4094":{"id":"4094","locality":"QUEANBEYAN EAST","postcode":"2620","state":"NSW"},"4095":{"id":"4095","locality":"QUEANBEYAN WEST","postcode":"2620","state":"NSW"},"4096":{"id":"4096","locality":"ROYALLA","postcode":"2620","state":"NSW"},"4097":{"id":"4097","locality":"SUTTON","postcode":"2620","state":"NSW"},"4098":{"id":"4098","locality":"THARWA","postcode":"2620","state":"ACT"},"4099":{"id":"4099","locality":"THE ANGLE","postcode":"2620","state":"NSW"},"4100":{"id":"4100","locality":"THE RIDGEWAY","postcode":"2620","state":"NSW"},"4101":{"id":"4101","locality":"TINDERRY","postcode":"2620","state":"NSW"},"4102":{"id":"4102","locality":"TRALEE","postcode":"2620","state":"NSW"},"4103":{"id":"4103","locality":"URILA","postcode":"2620","state":"NSW"},"4104":{"id":"4104","locality":"WAMBOIN","postcode":"2620","state":"NSW"},"4105":{"id":"4105","locality":"WILLIAMSDALE","postcode":"2620","state":"NSW"},"4106":{"id":"4106","locality":"WILLIAMSDALE","postcode":"2620","state":"ACT"},"4107":{"id":"4107","locality":"YARROW","postcode":"2620","state":"NSW"},"4108":{"id":"4108","locality":"ANEMBO","postcode":"2621","state":"NSW"},"4109":{"id":"4109","locality":"BUNGENDORE","postcode":"2621","state":"NSW"},"4110":{"id":"4110","locality":"BYWONG","postcode":"2621","state":"NSW"},"4111":{"id":"4111","locality":"FORBES CREEK","postcode":"2621","state":"NSW"},"4112":{"id":"4112","locality":"HOSKINSTOWN","postcode":"2621","state":"NSW"},"4113":{"id":"4113","locality":"PRIMROSE VALLEY","postcode":"2621","state":"NSW"},"4114":{"id":"4114","locality":"ROSSI","postcode":"2621","state":"NSW"},"4115":{"id":"4115","locality":"ARALUEN","postcode":"2622","state":"NSW"},"4116":{"id":"4116","locality":"BACK CREEK","postcode":"2622","state":"NSW"},"4117":{"id":"4117","locality":"BALLALABA","postcode":"2622","state":"NSW"},"4118":{"id":"4118","locality":"BENDOURA","postcode":"2622","state":"NSW"},"4119":{"id":"4119","locality":"BERLANG","postcode":"2622","state":"NSW"},"4120":{"id":"4120","locality":"BOMBAY","postcode":"2622","state":"NSW"},"4121":{"id":"4121","locality":"BORO","postcode":"2622","state":"NSW"},"4122":{"id":"4122","locality":"BRAIDWOOD","postcode":"2622","state":"NSW"},"4123":{"id":"4123","locality":"BUDAWANG","postcode":"2622","state":"NSW"},"4124":{"id":"4124","locality":"BULEE","postcode":"2622","state":"NSW"},"4125":{"id":"4125","locality":"CHARLEYS FOREST","postcode":"2622","state":"NSW"},"4126":{"id":"4126","locality":"COOLUMBURRA","postcode":"2622","state":"NSW"},"4127":{"id":"4127","locality":"CORANG","postcode":"2622","state":"NSW"},"4128":{"id":"4128","locality":"DURRAN DURRA","postcode":"2622","state":"NSW"},"4129":{"id":"4129","locality":"ENDRICK","postcode":"2622","state":"NSW"},"4130":{"id":"4130","locality":"FARRINGDON","postcode":"2622","state":"NSW"},"4131":{"id":"4131","locality":"HAROLDS CROSS","postcode":"2622","state":"NSW"},"4132":{"id":"4132","locality":"HEREFORD HALL","postcode":"2622","state":"NSW"},"4133":{"id":"4133","locality":"JEMBAICUMBENE","postcode":"2622","state":"NSW"},"4134":{"id":"4134","locality":"JERRABATTGULLA","postcode":"2622","state":"NSW"},"4135":{"id":"4135","locality":"JINDEN","postcode":"2622","state":"NSW"},"4136":{"id":"4136","locality":"JINGERA","postcode":"2622","state":"NSW"},"4137":{"id":"4137","locality":"KINDERVALE","postcode":"2622","state":"NSW"},"4138":{"id":"4138","locality":"KRAWARREE","postcode":"2622","state":"NSW"},"4139":{"id":"4139","locality":"LARBERT","postcode":"2622","state":"NSW"},"4140":{"id":"4140","locality":"MAJORS CREEK","postcode":"2622","state":"NSW"},"4141":{"id":"4141","locality":"MANAR","postcode":"2622","state":"NSW"},"4142":{"id":"4142","locality":"MARLOWE","postcode":"2622","state":"NSW"},"4143":{"id":"4143","locality":"MERRICUMBENE","postcode":"2622","state":"NSW"},"4144":{"id":"4144","locality":"MONGA","postcode":"2622","state":"NSW"},"4145":{"id":"4145","locality":"MONGARLOWE","postcode":"2622","state":"NSW"},"4146":{"id":"4146","locality":"MULLOON","postcode":"2622","state":"NSW"},"4147":{"id":"4147","locality":"MURRENGENBURG","postcode":"2622","state":"NSW"},"4148":{"id":"4148","locality":"NERINGLA","postcode":"2622","state":"NSW"},"4149":{"id":"4149","locality":"NERRIGA","postcode":"2622","state":"NSW"},"4150":{"id":"4150","locality":"NORTHANGERA","postcode":"2622","state":"NSW"},"4151":{"id":"4151","locality":"OALLEN","postcode":"2622","state":"NSW"},"4152":{"id":"4152","locality":"PALERANG","postcode":"2622","state":"NSW"},"4153":{"id":"4153","locality":"QUIERA","postcode":"2622","state":"NSW"},"4154":{"id":"4154","locality":"REIDSDALE","postcode":"2622","state":"NSW"},"4155":{"id":"4155","locality":"SASSAFRAS","postcode":"2622","state":"NSW"},"4156":{"id":"4156","locality":"SNOWBALL","postcode":"2622","state":"NSW"},"4157":{"id":"4157","locality":"ST GEORGE","postcode":"2622","state":"NSW"},"4158":{"id":"4158","locality":"TIANJARA","postcode":"2622","state":"NSW"},"4159":{"id":"4159","locality":"TOLWONG","postcode":"2622","state":"NSW"},"4160":{"id":"4160","locality":"TOMBOYE","postcode":"2622","state":"NSW"},"4161":{"id":"4161","locality":"TOUGA","postcode":"2622","state":"NSW"},"4162":{"id":"4162","locality":"WARRI","postcode":"2622","state":"NSW"},"4163":{"id":"4163","locality":"WOG WOG","postcode":"2622","state":"NSW"},"4164":{"id":"4164","locality":"WYANBENE","postcode":"2622","state":"NSW"},"4165":{"id":"4165","locality":"CAPTAINS FLAT","postcode":"2623","state":"NSW"},"4166":{"id":"4166","locality":"PERISHER VALLEY","postcode":"2624","state":"NSW"},"4167":{"id":"4167","locality":"THREDBO","postcode":"2625","state":"NSW"},"4168":{"id":"4168","locality":"BREDBO","postcode":"2626","state":"NSW"},"4169":{"id":"4169","locality":"BUMBALONG","postcode":"2626","state":"NSW"},"4170":{"id":"4170","locality":"COLINTON","postcode":"2626","state":"NSW"},"4171":{"id":"4171","locality":"CRACKENBACK","postcode":"2627","state":"NSW"},"4172":{"id":"4172","locality":"EAST JINDABYNE","postcode":"2627","state":"NSW"},"4173":{"id":"4173","locality":"GROSSES PLAIN","postcode":"2627","state":"NSW"},"4174":{"id":"4174","locality":"INGEBIRAH","postcode":"2627","state":"NSW"},"4175":{"id":"4175","locality":"JINDABYNE","postcode":"2627","state":"NSW"},"4176":{"id":"4176","locality":"KALKITE","postcode":"2627","state":"NSW"},"4177":{"id":"4177","locality":"KOSCIUSZKO","postcode":"2627","state":"NSW"},"4178":{"id":"4178","locality":"KOSCIUSZKO NATIONAL PARK","postcode":"2627","state":"NSW"},"4179":{"id":"4179","locality":"MOONBAH","postcode":"2627","state":"NSW"},"4180":{"id":"4180","locality":"PILOT WILDERNESS","postcode":"2627","state":"NSW"},"4181":{"id":"4181","locality":"AVONSIDE","postcode":"2628","state":"NSW"},"4182":{"id":"4182","locality":"BELOKA","postcode":"2628","state":"NSW"},"4183":{"id":"4183","locality":"BERRIDALE","postcode":"2628","state":"NSW"},"4184":{"id":"4184","locality":"BRAEMAR BAY","postcode":"2628","state":"NSW"},"4185":{"id":"4185","locality":"BYADBO WILDERNESS","postcode":"2628","state":"NSW"},"4186":{"id":"4186","locality":"COOTRALANTRA","postcode":"2628","state":"NSW"},"4187":{"id":"4187","locality":"DALGETY","postcode":"2628","state":"NSW"},"4188":{"id":"4188","locality":"EUCUMBENE","postcode":"2628","state":"NSW"},"4189":{"id":"4189","locality":"HILL TOP","postcode":"2628","state":"NSW"},"4190":{"id":"4190","locality":"NIMMO","postcode":"2628","state":"NSW"},"4191":{"id":"4191","locality":"NUMBLA VALE","postcode":"2628","state":"NSW"},"4192":{"id":"4192","locality":"PAUPONG","postcode":"2628","state":"NSW"},"4193":{"id":"4193","locality":"ROCKY PLAIN","postcode":"2628","state":"NSW"},"4194":{"id":"4194","locality":"SNOWY PLAIN","postcode":"2628","state":"NSW"},"4195":{"id":"4195","locality":"ADAMINABY","postcode":"2629","state":"NSW"},"4196":{"id":"4196","locality":"ANGLERS REACH","postcode":"2629","state":"NSW"},"4197":{"id":"4197","locality":"BOLARO","postcode":"2629","state":"NSW"},"4198":{"id":"4198","locality":"CABRAMURRA","postcode":"2629","state":"NSW"},"4199":{"id":"4199","locality":"LONG PLAIN","postcode":"2629","state":"NSW"},"4200":{"id":"4200","locality":"OLD ADAMINABY","postcode":"2629","state":"NSW"},"4201":{"id":"4201","locality":"PROVIDENCE PORTAL","postcode":"2629","state":"NSW"},"4202":{"id":"4202","locality":"TANTANGARA","postcode":"2629","state":"NSW"},"4203":{"id":"4203","locality":"YAOUK","postcode":"2629","state":"NSW"},"4204":{"id":"4204","locality":"ARABLE","postcode":"2630","state":"NSW"},"4205":{"id":"4205","locality":"BADJA","postcode":"2630","state":"NSW"},"4206":{"id":"4206","locality":"BILLILINGRA","postcode":"2630","state":"NSW"},"4207":{"id":"4207","locality":"BINJURA","postcode":"2630","state":"NSW"},"4208":{"id":"4208","locality":"BOBUNDARA","postcode":"2630","state":"NSW"},"4209":{"id":"4209","locality":"BUCKENDERRA","postcode":"2630","state":"NSW"},"4210":{"id":"4210","locality":"BUNGARBY","postcode":"2630","state":"NSW"},"4211":{"id":"4211","locality":"BUNYAN","postcode":"2630","state":"NSW"},"4212":{"id":"4212","locality":"CARLAMINDA","postcode":"2630","state":"NSW"},"4213":{"id":"4213","locality":"CHAKOLA","postcode":"2630","state":"NSW"},"4214":{"id":"4214","locality":"COOLRINGDON","postcode":"2630","state":"NSW"},"4215":{"id":"4215","locality":"COOMA","postcode":"2630","state":"NSW"},"4216":{"id":"4216","locality":"COOMA NORTH","postcode":"2630","state":"NSW"},"4217":{"id":"4217","locality":"COUNTEGANY","postcode":"2630","state":"NSW"},"4218":{"id":"4218","locality":"DAIRYMANS PLAINS","postcode":"2630","state":"NSW"},"4219":{"id":"4219","locality":"DANGELONG","postcode":"2630","state":"NSW"},"4220":{"id":"4220","locality":"DRY PLAIN","postcode":"2630","state":"NSW"},"4221":{"id":"4221","locality":"FRYING PAN","postcode":"2630","state":"NSW"},"4222":{"id":"4222","locality":"GLEN FERGUS","postcode":"2630","state":"NSW"},"4223":{"id":"4223","locality":"IRONMUNGY","postcode":"2630","state":"NSW"},"4224":{"id":"4224","locality":"JERANGLE","postcode":"2630","state":"NSW"},"4225":{"id":"4225","locality":"JIMENBUEN","postcode":"2630","state":"NSW"},"4226":{"id":"4226","locality":"MAFFRA","postcode":"2630","state":"NSW"},"4227":{"id":"4227","locality":"MIDDLE FLAT","postcode":"2630","state":"NSW"},"4228":{"id":"4228","locality":"MIDDLINGBANK","postcode":"2630","state":"NSW"},"4229":{"id":"4229","locality":"MURRUMBUCCA","postcode":"2630","state":"NSW"},"4230":{"id":"4230","locality":"MYALLA","postcode":"2630","state":"NSW"},"4231":{"id":"4231","locality":"NUMERALLA","postcode":"2630","state":"NSW"},"4232":{"id":"4232","locality":"PEAK VIEW","postcode":"2630","state":"NSW"},"4233":{"id":"4233","locality":"PINE VALLEY","postcode":"2630","state":"NSW"},"4234":{"id":"4234","locality":"POLO FLAT","postcode":"2630","state":"NSW"},"4235":{"id":"4235","locality":"RHINE FALLS","postcode":"2630","state":"NSW"},"4236":{"id":"4236","locality":"ROCK FLAT","postcode":"2630","state":"NSW"},"4237":{"id":"4237","locality":"ROSE VALLEY","postcode":"2630","state":"NSW"},"4238":{"id":"4238","locality":"SHANNONS FLAT","postcode":"2630","state":"NSW"},"4239":{"id":"4239","locality":"SPRINGFIELD","postcode":"2630","state":"NSW"},"4240":{"id":"4240","locality":"THE BROTHERS","postcode":"2630","state":"NSW"},"4241":{"id":"4241","locality":"TUROSS","postcode":"2630","state":"NSW"},"4242":{"id":"4242","locality":"WAMBROOK","postcode":"2630","state":"NSW"},"4243":{"id":"4243","locality":"ANDO","postcode":"2631","state":"NSW"},"4244":{"id":"4244","locality":"BOCO","postcode":"2631","state":"NSW"},"4245":{"id":"4245","locality":"CREEWAH","postcode":"2631","state":"NSW"},"4246":{"id":"4246","locality":"GLEN ALLEN","postcode":"2631","state":"NSW"},"4247":{"id":"4247","locality":"GREENLANDS","postcode":"2631","state":"NSW"},"4248":{"id":"4248","locality":"HOLTS FLAT","postcode":"2631","state":"NSW"},"4249":{"id":"4249","locality":"JINCUMBILLY","postcode":"2631","state":"NSW"},"4250":{"id":"4250","locality":"KYBEYAN","postcode":"2631","state":"NSW"},"4251":{"id":"4251","locality":"MOUNT COOPER","postcode":"2631","state":"NSW"},"4252":{"id":"4252","locality":"NIMMITABEL","postcode":"2631","state":"NSW"},"4253":{"id":"4253","locality":"STEEPLE FLAT","postcode":"2631","state":"NSW"},"4254":{"id":"4254","locality":"WINIFRED","postcode":"2631","state":"NSW"},"4255":{"id":"4255","locality":"BIBBENLUKE","postcode":"2632","state":"NSW"},"4256":{"id":"4256","locality":"BOMBALA","postcode":"2632","state":"NSW"},"4257":{"id":"4257","locality":"BONDI FOREST","postcode":"2632","state":"NSW"},"4258":{"id":"4258","locality":"BUKALONG","postcode":"2632","state":"NSW"},"4259":{"id":"4259","locality":"CAMBALONG","postcode":"2632","state":"NSW"},"4260":{"id":"4260","locality":"CATHCART","postcode":"2632","state":"NSW"},"4261":{"id":"4261","locality":"COOLUMBOOKA","postcode":"2632","state":"NSW"},"4262":{"id":"4262","locality":"CRAIGIE","postcode":"2632","state":"NSW"},"4263":{"id":"4263","locality":"GUNNINGRAH","postcode":"2632","state":"NSW"},"4264":{"id":"4264","locality":"LORDS HILL","postcode":"2632","state":"NSW"},"4265":{"id":"4265","locality":"MERRIANGAAH","postcode":"2632","state":"NSW"},"4266":{"id":"4266","locality":"MILA","postcode":"2632","state":"NSW"},"4267":{"id":"4267","locality":"MOUNT DARRAGH","postcode":"2632","state":"NSW"},"4268":{"id":"4268","locality":"PADDYS FLAT","postcode":"2632","state":"NSW"},"4269":{"id":"4269","locality":"PALARANG","postcode":"2632","state":"NSW"},"4270":{"id":"4270","locality":"QUIDONG","postcode":"2632","state":"NSW"},"4271":{"id":"4271","locality":"ROCKTON","postcode":"2632","state":"NSW"},"4272":{"id":"4272","locality":"ROSEMEATH","postcode":"2632","state":"NSW"},"4273":{"id":"4273","locality":"CORROWONG","postcode":"2633","state":"NSW"},"4274":{"id":"4274","locality":"DELEGATE","postcode":"2633","state":"NSW"},"4275":{"id":"4275","locality":"TOMBONG","postcode":"2633","state":"NSW"},"4276":{"id":"4276","locality":"ALBURY","postcode":"2640","state":"NSW"},"4277":{"id":"4277","locality":"BUNGOWANNAH","postcode":"2640","state":"NSW"},"4278":{"id":"4278","locality":"EAST ALBURY","postcode":"2640","state":"NSW"},"4279":{"id":"4279","locality":"ETTAMOGAH","postcode":"2640","state":"NSW"},"4280":{"id":"4280","locality":"GLENROY","postcode":"2640","state":"NSW"},"4281":{"id":"4281","locality":"LAVINGTON DC","postcode":"2640","state":"NSW"},"4282":{"id":"4282","locality":"MOORWATHA","postcode":"2640","state":"NSW"},"4283":{"id":"4283","locality":"NORTH ALBURY","postcode":"2640","state":"NSW"},"4284":{"id":"4284","locality":"OURNIE","postcode":"2640","state":"NSW"},"4285":{"id":"4285","locality":"SOUTH ALBURY","postcode":"2640","state":"NSW"},"4286":{"id":"4286","locality":"SPLITTERS CREEK","postcode":"2640","state":"NSW"},"4287":{"id":"4287","locality":"TABLE TOP","postcode":"2640","state":"NSW"},"4288":{"id":"4288","locality":"TALMALMO","postcode":"2640","state":"NSW"},"4289":{"id":"4289","locality":"THURGOONA","postcode":"2640","state":"NSW"},"4290":{"id":"4290","locality":"WEST ALBURY","postcode":"2640","state":"NSW"},"4291":{"id":"4291","locality":"WIRLINGA","postcode":"2640","state":"NSW"},"4292":{"id":"4292","locality":"WYMAH","postcode":"2640","state":"NSW"},"4293":{"id":"4293","locality":"HAMILTON VALLEY","postcode":"2641","state":"NSW"},"4294":{"id":"4294","locality":"LAVINGTON","postcode":"2641","state":"NSW"},"4295":{"id":"4295","locality":"SPRINGDALE HEIGHTS","postcode":"2641","state":"NSW"},"4296":{"id":"4296","locality":"BIDGEEMIA","postcode":"2642","state":"NSW"},"4297":{"id":"4297","locality":"BROCKLESBY","postcode":"2642","state":"NSW"},"4298":{"id":"4298","locality":"BURRUMBUTTOCK","postcode":"2642","state":"NSW"},"4299":{"id":"4299","locality":"GEEHI","postcode":"2642","state":"NSW"},"4300":{"id":"4300","locality":"GEROGERY","postcode":"2642","state":"NSW"},"4301":{"id":"4301","locality":"GLENELLEN","postcode":"2642","state":"NSW"},"4302":{"id":"4302","locality":"GREG GREG","postcode":"2642","state":"NSW"},"4303":{"id":"4303","locality":"INDI","postcode":"2642","state":"NSW"},"4304":{"id":"4304","locality":"JAGUMBA","postcode":"2642","state":"NSW"},"4305":{"id":"4305","locality":"JAGUNGAL WILDERNESS","postcode":"2642","state":"NSW"},"4306":{"id":"4306","locality":"JINDERA","postcode":"2642","state":"NSW"},"4307":{"id":"4307","locality":"JINGELLIC","postcode":"2642","state":"NSW"},"4308":{"id":"4308","locality":"KHANCOBAN","postcode":"2642","state":"NSW"},"4309":{"id":"4309","locality":"MURRAY GORGE","postcode":"2642","state":"NSW"},"4310":{"id":"4310","locality":"RAND","postcode":"2642","state":"NSW"},"4311":{"id":"4311","locality":"TOOMA","postcode":"2642","state":"NSW"},"4312":{"id":"4312","locality":"WALBUNDRIE","postcode":"2642","state":"NSW"},"4313":{"id":"4313","locality":"WELAREGANG","postcode":"2642","state":"NSW"},"4314":{"id":"4314","locality":"WRATHALL","postcode":"2642","state":"NSW"},"4315":{"id":"4315","locality":"YERONG CREEK","postcode":"2642","state":"NSW"},"4316":{"id":"4316","locality":"HOWLONG","postcode":"2643","state":"NSW"},"4317":{"id":"4317","locality":"BOWNA","postcode":"2644","state":"NSW"},"4318":{"id":"4318","locality":"COPPABELLA","postcode":"2644","state":"NSW"},"4319":{"id":"4319","locality":"HOLBROOK","postcode":"2644","state":"NSW"},"4320":{"id":"4320","locality":"LANKEYS CREEK","postcode":"2644","state":"NSW"},"4321":{"id":"4321","locality":"LITTLE BILLABONG","postcode":"2644","state":"NSW"},"4322":{"id":"4322","locality":"MOUNTAIN CREEK","postcode":"2644","state":"NSW"},"4323":{"id":"4323","locality":"MULLENGANDRA","postcode":"2644","state":"NSW"},"4324":{"id":"4324","locality":"WANTAGONG","postcode":"2644","state":"NSW"},"4325":{"id":"4325","locality":"WOOMARGAMA","postcode":"2644","state":"NSW"},"4326":{"id":"4326","locality":"YARARA","postcode":"2644","state":"NSW"},"4327":{"id":"4327","locality":"CULLIVEL","postcode":"2645","state":"NSW"},"4328":{"id":"4328","locality":"URANA","postcode":"2645","state":"NSW"},"4329":{"id":"4329","locality":"BALLDALE","postcode":"2646","state":"NSW"},"4330":{"id":"4330","locality":"COLLENDINA","postcode":"2646","state":"NSW"},"4331":{"id":"4331","locality":"COREEN","postcode":"2646","state":"NSW"},"4332":{"id":"4332","locality":"COROWA","postcode":"2646","state":"NSW"},"4333":{"id":"4333","locality":"DAYSDALE","postcode":"2646","state":"NSW"},"4334":{"id":"4334","locality":"GOOMBARGANA","postcode":"2646","state":"NSW"},"4335":{"id":"4335","locality":"HOPEFIELD","postcode":"2646","state":"NSW"},"4336":{"id":"4336","locality":"LOWESDALE","postcode":"2646","state":"NSW"},"4337":{"id":"4337","locality":"NYORA","postcode":"2646","state":"NSW"},"4338":{"id":"4338","locality":"OAKLANDS","postcode":"2646","state":"NSW"},"4339":{"id":"4339","locality":"REDLANDS","postcode":"2646","state":"NSW"},"4340":{"id":"4340","locality":"RENNIE","postcode":"2646","state":"NSW"},"4341":{"id":"4341","locality":"RINGWOOD","postcode":"2646","state":"NSW"},"4342":{"id":"4342","locality":"SANGER","postcode":"2646","state":"NSW"},"4343":{"id":"4343","locality":"SAVERNAKE","postcode":"2646","state":"NSW"},"4344":{"id":"4344","locality":"MULWALA","postcode":"2647","state":"NSW"},"4345":{"id":"4345","locality":"ANABRANCH NORTH","postcode":"2648","state":"NSW"},"4346":{"id":"4346","locality":"ANABRANCH SOUTH","postcode":"2648","state":"NSW"},"4347":{"id":"4347","locality":"CURLWAA","postcode":"2648","state":"NSW"},"4348":{"id":"4348","locality":"ELLERSLIE","postcode":"2648","state":"NSW"},"4349":{"id":"4349","locality":"MOORARA","postcode":"2648","state":"NSW"},"4350":{"id":"4350","locality":"PAN BAN","postcode":"2648","state":"NSW"},"4351":{"id":"4351","locality":"PARA","postcode":"2648","state":"NSW"},"4352":{"id":"4352","locality":"PINE CAMP","postcode":"2648","state":"NSW"},"4353":{"id":"4353","locality":"POMONA","postcode":"2648","state":"NSW"},"4354":{"id":"4354","locality":"POONCARIE","postcode":"2648","state":"NSW"},"4355":{"id":"4355","locality":"RUFUS","postcode":"2648","state":"NSW"},"4356":{"id":"4356","locality":"SCOTIA","postcode":"2648","state":"NSW"},"4357":{"id":"4357","locality":"WENTWORTH","postcode":"2648","state":"NSW"},"4358":{"id":"4358","locality":"LAUREL HILL","postcode":"2649","state":"NSW"},"4359":{"id":"4359","locality":"NURENMERENMONG","postcode":"2649","state":"NSW"},"4360":{"id":"4360","locality":"ALFREDTOWN","postcode":"2650","state":"NSW"},"4361":{"id":"4361","locality":"ASHMONT","postcode":"2650","state":"NSW"},"4362":{"id":"4362","locality":"BELFRAYDEN","postcode":"2650","state":"NSW"},"4363":{"id":"4363","locality":"BIG SPRINGS","postcode":"2650","state":"NSW"},"4364":{"id":"4364","locality":"BOMEN","postcode":"2650","state":"NSW"},"4365":{"id":"4365","locality":"BOOK BOOK","postcode":"2650","state":"NSW"},"4366":{"id":"4366","locality":"BOOROOMA","postcode":"2650","state":"NSW"},"4367":{"id":"4367","locality":"BORAMBOLA","postcode":"2650","state":"NSW"},"4368":{"id":"4368","locality":"BOURKELANDS","postcode":"2650","state":"NSW"},"4369":{"id":"4369","locality":"BRUCEDALE","postcode":"2650","state":"NSW"},"4370":{"id":"4370","locality":"BULGARY","postcode":"2650","state":"NSW"},"4371":{"id":"4371","locality":"BURRANDANA","postcode":"2650","state":"NSW"},"4372":{"id":"4372","locality":"CARABOST","postcode":"2650","state":"NSW"},"4373":{"id":"4373","locality":"CARTWRIGHTS HILL","postcode":"2650","state":"NSW"},"4374":{"id":"4374","locality":"COLLINGULLIE","postcode":"2650","state":"NSW"},"4375":{"id":"4375","locality":"COOKARDINIA","postcode":"2650","state":"NSW"},"4376":{"id":"4376","locality":"CURRAWARNA","postcode":"2650","state":"NSW"},"4377":{"id":"4377","locality":"DOWNSIDE","postcode":"2650","state":"NSW"},"4378":{"id":"4378","locality":"EAST WAGGA WAGGA","postcode":"2650","state":"NSW"},"4379":{"id":"4379","locality":"ESTELLA","postcode":"2650","state":"NSW"},"4380":{"id":"4380","locality":"EUBERTA","postcode":"2650","state":"NSW"},"4381":{"id":"4381","locality":"EUNANOREENYA","postcode":"2650","state":"NSW"},"4382":{"id":"4382","locality":"GALORE","postcode":"2650","state":"NSW"},"4383":{"id":"4383","locality":"GELSTON PARK","postcode":"2650","state":"NSW"},"4384":{"id":"4384","locality":"GLENFIELD PARK","postcode":"2650","state":"NSW"},"4385":{"id":"4385","locality":"GOBBAGOMBALIN","postcode":"2650","state":"NSW"},"4386":{"id":"4386","locality":"GREGADOO","postcode":"2650","state":"NSW"},"4387":{"id":"4387","locality":"HAREFIELD","postcode":"2650","state":"NSW"},"4388":{"id":"4388","locality":"HILLGROVE","postcode":"2650","state":"NSW"},"4389":{"id":"4389","locality":"KOORINGAL","postcode":"2650","state":"NSW"},"4390":{"id":"4390","locality":"KYEAMBA","postcode":"2650","state":"NSW"},"4391":{"id":"4391","locality":"LAKE ALBERT","postcode":"2650","state":"NSW"},"4392":{"id":"4392","locality":"LLOYD","postcode":"2650","state":"NSW"},"4393":{"id":"4393","locality":"MAXWELL","postcode":"2650","state":"NSW"},"4394":{"id":"4394","locality":"MOORONG","postcode":"2650","state":"NSW"},"4395":{"id":"4395","locality":"MOUNT AUSTIN","postcode":"2650","state":"NSW"},"4396":{"id":"4396","locality":"NORTH WAGGA WAGGA","postcode":"2650","state":"NSW"},"4397":{"id":"4397","locality":"OBERNE CREEK","postcode":"2650","state":"NSW"},"4398":{"id":"4398","locality":"OURA","postcode":"2650","state":"NSW"},"4399":{"id":"4399","locality":"PULLETOP","postcode":"2650","state":"NSW"},"4400":{"id":"4400","locality":"ROWAN","postcode":"2650","state":"NSW"},"4401":{"id":"4401","locality":"SAN ISIDORE","postcode":"2650","state":"NSW"},"4402":{"id":"4402","locality":"SPRINGVALE","postcode":"2650","state":"NSW"},"4403":{"id":"4403","locality":"TATTON","postcode":"2650","state":"NSW"},"4404":{"id":"4404","locality":"THE GAP","postcode":"2650","state":"NSW"},"4405":{"id":"4405","locality":"TOLLAND","postcode":"2650","state":"NSW"},"4406":{"id":"4406","locality":"TURVEY PARK","postcode":"2650","state":"NSW"},"4407":{"id":"4407","locality":"WAGGA WAGGA","postcode":"2650","state":"NSW"},"4408":{"id":"4408","locality":"WAGGA WAGGA BC","postcode":"2650","state":"NSW"},"4409":{"id":"4409","locality":"WALLACETOWN","postcode":"2650","state":"NSW"},"4410":{"id":"4410","locality":"WANTABADGERY","postcode":"2650","state":"NSW"},"4411":{"id":"4411","locality":"YARRAGUNDRY","postcode":"2650","state":"NSW"},"4412":{"id":"4412","locality":"YATHELLA","postcode":"2650","state":"NSW"},"4413":{"id":"4413","locality":"FOREST HILL","postcode":"2651","state":"NSW"},"4414":{"id":"4414","locality":"WAGGA WAGGA RAAF","postcode":"2651","state":"NSW"},"4415":{"id":"4415","locality":"BOORGA","postcode":"2652","state":"NSW"},"4416":{"id":"4416","locality":"BOREE CREEK","postcode":"2652","state":"NSW"},"4417":{"id":"4417","locality":"COWABBIE","postcode":"2652","state":"NSW"},"4418":{"id":"4418","locality":"GOOLGOWI","postcode":"2652","state":"NSW"},"4419":{"id":"4419","locality":"GRONG GRONG","postcode":"2652","state":"NSW"},"4420":{"id":"4420","locality":"GUMLY GUMLY","postcode":"2652","state":"NSW"},"4421":{"id":"4421","locality":"HUMULA","postcode":"2652","state":"NSW"},"4422":{"id":"4422","locality":"LADYSMITH","postcode":"2652","state":"NSW"},"4423":{"id":"4423","locality":"LANDERVALE","postcode":"2652","state":"NSW"},"4424":{"id":"4424","locality":"MANGOPLAH","postcode":"2652","state":"NSW"},"4425":{"id":"4425","locality":"MARRAR","postcode":"2652","state":"NSW"},"4426":{"id":"4426","locality":"MATONG","postcode":"2652","state":"NSW"},"4427":{"id":"4427","locality":"MERRIWAGGA","postcode":"2652","state":"NSW"},"4428":{"id":"4428","locality":"MURRULEBALE","postcode":"2652","state":"NSW"},"4429":{"id":"4429","locality":"OLD JUNEE","postcode":"2652","state":"NSW"},"4430":{"id":"4430","locality":"ROSEWOOD","postcode":"2652","state":"NSW"},"4431":{"id":"4431","locality":"TABBITA","postcode":"2652","state":"NSW"},"4432":{"id":"4432","locality":"TARCUTTA","postcode":"2652","state":"NSW"},"4433":{"id":"4433","locality":"URANQUINTY","postcode":"2652","state":"NSW"},"4434":{"id":"4434","locality":"BURRA","postcode":"2653","state":"NSW"},"4435":{"id":"4435","locality":"COURABYRA","postcode":"2653","state":"NSW"},"4436":{"id":"4436","locality":"GLENROY","postcode":"2653","state":"NSW"},"4437":{"id":"4437","locality":"MANNUS","postcode":"2653","state":"NSW"},"4438":{"id":"4438","locality":"MARAGLE","postcode":"2653","state":"NSW"},"4439":{"id":"4439","locality":"MUNDEROO","postcode":"2653","state":"NSW"},"4440":{"id":"4440","locality":"PADDYS RIVER","postcode":"2653","state":"NSW"},"4441":{"id":"4441","locality":"TARADALE","postcode":"2653","state":"NSW"},"4442":{"id":"4442","locality":"TUMBARUMBA","postcode":"2653","state":"NSW"},"4443":{"id":"4443","locality":"WESTDALE","postcode":"2653","state":"NSW"},"4444":{"id":"4444","locality":"WILLIGOBUNG","postcode":"2653","state":"NSW"},"4445":{"id":"4445","locality":"FRENCH PARK","postcode":"2655","state":"NSW"},"4446":{"id":"4446","locality":"THE ROCK","postcode":"2655","state":"NSW"},"4447":{"id":"4447","locality":"TOOTOOL","postcode":"2655","state":"NSW"},"4448":{"id":"4448","locality":"BROOKDALE","postcode":"2656","state":"NSW"},"4449":{"id":"4449","locality":"BROOKONG","postcode":"2656","state":"NSW"},"4450":{"id":"4450","locality":"FARGUNYAH","postcode":"2656","state":"NSW"},"4451":{"id":"4451","locality":"LOCKHART","postcode":"2656","state":"NSW"},"4452":{"id":"4452","locality":"MILBRULONG","postcode":"2656","state":"NSW"},"4453":{"id":"4453","locality":"OSBORNE","postcode":"2656","state":"NSW"},"4454":{"id":"4454","locality":"URANGELINE","postcode":"2656","state":"NSW"},"4455":{"id":"4455","locality":"URANGELINE EAST","postcode":"2656","state":"NSW"},"4456":{"id":"4456","locality":"HENTY","postcode":"2658","state":"NSW"},"4457":{"id":"4457","locality":"MUNYABLA","postcode":"2658","state":"NSW"},"4458":{"id":"4458","locality":"PLEASANT HILLS","postcode":"2658","state":"NSW"},"4459":{"id":"4459","locality":"RYAN","postcode":"2658","state":"NSW"},"4460":{"id":"4460","locality":"ALMA PARK","postcode":"2659","state":"NSW"},"4461":{"id":"4461","locality":"WALLA WALLA","postcode":"2659","state":"NSW"},"4462":{"id":"4462","locality":"CULCAIRN","postcode":"2660","state":"NSW"},"4463":{"id":"4463","locality":"MORVEN","postcode":"2660","state":"NSW"},"4464":{"id":"4464","locality":"KAPOOKA","postcode":"2661","state":"NSW"},"4465":{"id":"4465","locality":"ERIN VALE","postcode":"2663","state":"NSW"},"4466":{"id":"4466","locality":"EURONGILLY","postcode":"2663","state":"NSW"},"4467":{"id":"4467","locality":"JUNEE","postcode":"2663","state":"NSW"},"4468":{"id":"4468","locality":"MARINNA","postcode":"2663","state":"NSW"},"4469":{"id":"4469","locality":"WANTIOOL","postcode":"2663","state":"NSW"},"4470":{"id":"4470","locality":"ARDLETHAN","postcode":"2665","state":"NSW"},"4471":{"id":"4471","locality":"ARIAH PARK","postcode":"2665","state":"NSW"},"4472":{"id":"4472","locality":"BARELLAN","postcode":"2665","state":"NSW"},"4473":{"id":"4473","locality":"BECKOM","postcode":"2665","state":"NSW"},"4474":{"id":"4474","locality":"BECTRIC","postcode":"2665","state":"NSW"},"4475":{"id":"4475","locality":"BINYA","postcode":"2665","state":"NSW"},"4476":{"id":"4476","locality":"KAMARAH","postcode":"2665","state":"NSW"},"4477":{"id":"4477","locality":"MIRROOL","postcode":"2665","state":"NSW"},"4478":{"id":"4478","locality":"MOOMBOOLDOOL","postcode":"2665","state":"NSW"},"4479":{"id":"4479","locality":"QUANDARY","postcode":"2665","state":"NSW"},"4480":{"id":"4480","locality":"TARA","postcode":"2665","state":"NSW"},"4481":{"id":"4481","locality":"WALLEROOBIE","postcode":"2665","state":"NSW"},"4482":{"id":"4482","locality":"COMBANING","postcode":"2666","state":"NSW"},"4483":{"id":"4483","locality":"DIRNASEER","postcode":"2666","state":"NSW"},"4484":{"id":"4484","locality":"GIDGINBUNG","postcode":"2666","state":"NSW"},"4485":{"id":"4485","locality":"GROGAN","postcode":"2666","state":"NSW"},"4486":{"id":"4486","locality":"JUNEE REEFS","postcode":"2666","state":"NSW"},"4487":{"id":"4487","locality":"MIMOSA","postcode":"2666","state":"NSW"},"4488":{"id":"4488","locality":"MORANGARELL","postcode":"2666","state":"NSW"},"4489":{"id":"4489","locality":"NARRABURRA","postcode":"2666","state":"NSW"},"4490":{"id":"4490","locality":"PUCAWAN","postcode":"2666","state":"NSW"},"4491":{"id":"4491","locality":"REEFTON","postcode":"2666","state":"NSW"},"4492":{"id":"4492","locality":"SEBASTOPOL","postcode":"2666","state":"NSW"},"4493":{"id":"4493","locality":"SPRINGDALE","postcode":"2666","state":"NSW"},"4494":{"id":"4494","locality":"TEMORA","postcode":"2666","state":"NSW"},"4495":{"id":"4495","locality":"TRUNGLEY HALL","postcode":"2666","state":"NSW"},"4496":{"id":"4496","locality":"BARMEDMAN","postcode":"2668","state":"NSW"},"4497":{"id":"4497","locality":"ERIGOLIA","postcode":"2669","state":"NSW"},"4498":{"id":"4498","locality":"GIRRAL","postcode":"2669","state":"NSW"},"4499":{"id":"4499","locality":"KIKOIRA","postcode":"2669","state":"NSW"},"4500":{"id":"4500","locality":"MELBERGEN","postcode":"2669","state":"NSW"},"4501":{"id":"4501","locality":"NARADHAN","postcode":"2669","state":"NSW"},"4502":{"id":"4502","locality":"RANKINS SPRINGS","postcode":"2669","state":"NSW"},"4503":{"id":"4503","locality":"TALLIMBA","postcode":"2669","state":"NSW"},"4504":{"id":"4504","locality":"TULLIBIGEAL","postcode":"2669","state":"NSW"},"4505":{"id":"4505","locality":"UNGARIE","postcode":"2669","state":"NSW"},"4506":{"id":"4506","locality":"WEETHALLE","postcode":"2669","state":"NSW"},"4507":{"id":"4507","locality":"ALLEENA","postcode":"2671","state":"NSW"},"4508":{"id":"4508","locality":"BACK CREEK","postcode":"2671","state":"NSW"},"4509":{"id":"4509","locality":"BURCHER","postcode":"2671","state":"NSW"},"4510":{"id":"4510","locality":"LAKE COWAL","postcode":"2671","state":"NSW"},"4511":{"id":"4511","locality":"NORTH YALGOGRIN","postcode":"2671","state":"NSW"},"4512":{"id":"4512","locality":"WEST WYALONG","postcode":"2671","state":"NSW"},"4513":{"id":"4513","locality":"WYALONG","postcode":"2671","state":"NSW"},"4514":{"id":"4514","locality":"CURLEW WATERS","postcode":"2672","state":"NSW"},"4515":{"id":"4515","locality":"LAKE CARGELLIGO","postcode":"2672","state":"NSW"},"4516":{"id":"4516","locality":"MURRIN BRIDGE","postcode":"2672","state":"NSW"},"4517":{"id":"4517","locality":"HILLSTON","postcode":"2675","state":"NSW"},"4518":{"id":"4518","locality":"LAKE BREWSTER","postcode":"2675","state":"NSW"},"4519":{"id":"4519","locality":"MONIA GAP","postcode":"2675","state":"NSW"},"4520":{"id":"4520","locality":"ROTO","postcode":"2675","state":"NSW"},"4521":{"id":"4521","locality":"WALLANTHERY","postcode":"2675","state":"NSW"},"4522":{"id":"4522","locality":"CHARLES STURT UNIVERSITY","postcode":"2678","state":"NSW"},"4523":{"id":"4523","locality":"RIVERINA MSC","postcode":"2678","state":"NSW"},"4524":{"id":"4524","locality":"BEELBANGERA","postcode":"2680","state":"NSW"},"4525":{"id":"4525","locality":"BENEREMBAH","postcode":"2680","state":"NSW"},"4526":{"id":"4526","locality":"BILBUL","postcode":"2680","state":"NSW"},"4527":{"id":"4527","locality":"GRIFFITH","postcode":"2680","state":"NSW"},"4528":{"id":"4528","locality":"GRIFFITH DC","postcode":"2680","state":"NSW"},"4529":{"id":"4529","locality":"GRIFFITH EAST","postcode":"2680","state":"NSW"},"4530":{"id":"4530","locality":"HANWOOD","postcode":"2680","state":"NSW"},"4531":{"id":"4531","locality":"KOOBA","postcode":"2680","state":"NSW"},"4532":{"id":"4532","locality":"LAKE WYANGAN","postcode":"2680","state":"NSW"},"4533":{"id":"4533","locality":"NERICON","postcode":"2680","state":"NSW"},"4534":{"id":"4534","locality":"THARBOGANG","postcode":"2680","state":"NSW"},"4535":{"id":"4535","locality":"WARBURN","postcode":"2680","state":"NSW"},"4536":{"id":"4536","locality":"WARRAWIDGEE","postcode":"2680","state":"NSW"},"4537":{"id":"4537","locality":"WIDGELLI","postcode":"2680","state":"NSW"},"4538":{"id":"4538","locality":"WILLBRIGGIE","postcode":"2680","state":"NSW"},"4539":{"id":"4539","locality":"YOOGALI","postcode":"2680","state":"NSW"},"4540":{"id":"4540","locality":"MYALL PARK","postcode":"2681","state":"NSW"},"4541":{"id":"4541","locality":"YENDA","postcode":"2681","state":"NSW"},"4542":{"id":"4542","locality":"BUNDURE","postcode":"2700","state":"NSW"},"4543":{"id":"4543","locality":"COLINROOBIE","postcode":"2700","state":"NSW"},"4544":{"id":"4544","locality":"COROBIMILLA","postcode":"2700","state":"NSW"},"4545":{"id":"4545","locality":"CUDGEL","postcode":"2700","state":"NSW"},"4546":{"id":"4546","locality":"EUROLEY","postcode":"2700","state":"NSW"},"4547":{"id":"4547","locality":"GILLENBAH","postcode":"2700","state":"NSW"},"4548":{"id":"4548","locality":"MORUNDAH","postcode":"2700","state":"NSW"},"4549":{"id":"4549","locality":"NARRANDERA","postcode":"2700","state":"NSW"},"4550":{"id":"4550","locality":"SANDIGO","postcode":"2700","state":"NSW"},"4551":{"id":"4551","locality":"BERRY JERRY","postcode":"2701","state":"NSW"},"4552":{"id":"4552","locality":"COOLAMON","postcode":"2701","state":"NSW"},"4553":{"id":"4553","locality":"METHUL","postcode":"2701","state":"NSW"},"4554":{"id":"4554","locality":"RANNOCK","postcode":"2701","state":"NSW"},"4555":{"id":"4555","locality":"GANMAIN","postcode":"2702","state":"NSW"},"4556":{"id":"4556","locality":"YANCO","postcode":"2703","state":"NSW"},"4557":{"id":"4557","locality":"BROBENAH","postcode":"2705","state":"NSW"},"4558":{"id":"4558","locality":"CORBIE HILL","postcode":"2705","state":"NSW"},"4559":{"id":"4559","locality":"GOGELDRIE","postcode":"2705","state":"NSW"},"4560":{"id":"4560","locality":"LEETON","postcode":"2705","state":"NSW"},"4561":{"id":"4561","locality":"MERUNGLE HILL","postcode":"2705","state":"NSW"},"4562":{"id":"4562","locality":"MURRAMI","postcode":"2705","state":"NSW"},"4563":{"id":"4563","locality":"STANBRIDGE","postcode":"2705","state":"NSW"},"4564":{"id":"4564","locality":"WHITTON","postcode":"2705","state":"NSW"},"4565":{"id":"4565","locality":"DARLINGTON POINT","postcode":"2706","state":"NSW"},"4566":{"id":"4566","locality":"ARGOON","postcode":"2707","state":"NSW"},"4567":{"id":"4567","locality":"COLEAMBALLY","postcode":"2707","state":"NSW"},"4568":{"id":"4568","locality":"ALBURY MSC","postcode":"2708","state":"NSW"},"4569":{"id":"4569","locality":"MURRAY REGION MC","postcode":"2708","state":"NSW"},"4570":{"id":"4570","locality":"BARRATTA","postcode":"2710","state":"NSW"},"4571":{"id":"4571","locality":"BIRGANBIGIL","postcode":"2710","state":"NSW"},"4572":{"id":"4572","locality":"BOOROORBAN","postcode":"2710","state":"NSW"},"4573":{"id":"4573","locality":"BULLATALE","postcode":"2710","state":"NSW"},"4574":{"id":"4574","locality":"CALDWELL","postcode":"2710","state":"NSW"},"4575":{"id":"4575","locality":"CALIMO","postcode":"2710","state":"NSW"},"4576":{"id":"4576","locality":"CONARGO","postcode":"2710","state":"NSW"},"4577":{"id":"4577","locality":"COREE","postcode":"2710","state":"NSW"},"4578":{"id":"4578","locality":"DENILIQUIN","postcode":"2710","state":"NSW"},"4579":{"id":"4579","locality":"HARTWOOD","postcode":"2710","state":"NSW"},"4580":{"id":"4580","locality":"LINDIFFERON","postcode":"2710","state":"NSW"},"4581":{"id":"4581","locality":"MATHOURA","postcode":"2710","state":"NSW"},"4582":{"id":"4582","locality":"MAYRUNG","postcode":"2710","state":"NSW"},"4583":{"id":"4583","locality":"MOONBRIA","postcode":"2710","state":"NSW"},"4584":{"id":"4584","locality":"MORAGO","postcode":"2710","state":"NSW"},"4585":{"id":"4585","locality":"PRETTY PINE","postcode":"2710","state":"NSW"},"4586":{"id":"4586","locality":"STEAM PLAINS","postcode":"2710","state":"NSW"},"4587":{"id":"4587","locality":"STUD PARK","postcode":"2710","state":"NSW"},"4588":{"id":"4588","locality":"WAKOOL","postcode":"2710","state":"NSW"},"4589":{"id":"4589","locality":"WANDOOK","postcode":"2710","state":"NSW"},"4590":{"id":"4590","locality":"WANGANELLA","postcode":"2710","state":"NSW"},"4591":{"id":"4591","locality":"WARRAGOON","postcode":"2710","state":"NSW"},"4592":{"id":"4592","locality":"WILLURAH","postcode":"2710","state":"NSW"},"4593":{"id":"4593","locality":"BOOLIGAL","postcode":"2711","state":"NSW"},"4594":{"id":"4594","locality":"CARRATHOOL","postcode":"2711","state":"NSW"},"4595":{"id":"4595","locality":"CLARE","postcode":"2711","state":"NSW"},"4596":{"id":"4596","locality":"CORRONG","postcode":"2711","state":"NSW"},"4597":{"id":"4597","locality":"GUNBAR","postcode":"2711","state":"NSW"},"4598":{"id":"4598","locality":"HAY","postcode":"2711","state":"NSW"},"4599":{"id":"4599","locality":"HAY SOUTH","postcode":"2711","state":"NSW"},"4600":{"id":"4600","locality":"KERI KERI","postcode":"2711","state":"NSW"},"4601":{"id":"4601","locality":"MAUDE","postcode":"2711","state":"NSW"},"4602":{"id":"4602","locality":"ONE TREE","postcode":"2711","state":"NSW"},"4603":{"id":"4603","locality":"OXLEY","postcode":"2711","state":"NSW"},"4604":{"id":"4604","locality":"WAUGORAH","postcode":"2711","state":"NSW"},"4605":{"id":"4605","locality":"YANGA","postcode":"2711","state":"NSW"},"4606":{"id":"4606","locality":"BERRIGAN","postcode":"2712","state":"NSW"},"4607":{"id":"4607","locality":"BOOMANOOMANA","postcode":"2712","state":"NSW"},"4608":{"id":"4608","locality":"BLIGHTY","postcode":"2713","state":"NSW"},"4609":{"id":"4609","locality":"FINLEY","postcode":"2713","state":"NSW"},"4610":{"id":"4610","locality":"LOGIE BRAE","postcode":"2713","state":"NSW"},"4611":{"id":"4611","locality":"MYRTLE PARK","postcode":"2713","state":"NSW"},"4612":{"id":"4612","locality":"ARATULA","postcode":"2714","state":"NSW"},"4613":{"id":"4613","locality":"PINE LODGE","postcode":"2714","state":"NSW"},"4614":{"id":"4614","locality":"TOCUMWAL","postcode":"2714","state":"NSW"},"4615":{"id":"4615","locality":"TUPPAL","postcode":"2714","state":"NSW"},"4616":{"id":"4616","locality":"ARUMPO","postcode":"2715","state":"NSW"},"4617":{"id":"4617","locality":"BALRANALD","postcode":"2715","state":"NSW"},"4618":{"id":"4618","locality":"HATFIELD","postcode":"2715","state":"NSW"},"4619":{"id":"4619","locality":"KYALITE","postcode":"2715","state":"NSW"},"4620":{"id":"4620","locality":"MUNGO","postcode":"2715","state":"NSW"},"4621":{"id":"4621","locality":"FOUR CORNERS","postcode":"2716","state":"NSW"},"4622":{"id":"4622","locality":"GALA VALE","postcode":"2716","state":"NSW"},"4623":{"id":"4623","locality":"JERILDERIE","postcode":"2716","state":"NSW"},"4624":{"id":"4624","locality":"MABINS WELL","postcode":"2716","state":"NSW"},"4625":{"id":"4625","locality":"MAIRJIMMY","postcode":"2716","state":"NSW"},"4626":{"id":"4626","locality":"COOMEALLA","postcode":"2717","state":"NSW"},"4627":{"id":"4627","locality":"DARETON","postcode":"2717","state":"NSW"},"4628":{"id":"4628","locality":"ARGALONG","postcode":"2720","state":"NSW"},"4629":{"id":"4629","locality":"BLOWERING","postcode":"2720","state":"NSW"},"4630":{"id":"4630","locality":"BOGONG PEAKS WILDERNESS","postcode":"2720","state":"NSW"},"4631":{"id":"4631","locality":"BOMBOWLEE","postcode":"2720","state":"NSW"},"4632":{"id":"4632","locality":"BOMBOWLEE CREEK","postcode":"2720","state":"NSW"},"4633":{"id":"4633","locality":"BUDDONG","postcode":"2720","state":"NSW"},"4634":{"id":"4634","locality":"COURAGAGO","postcode":"2720","state":"NSW"},"4635":{"id":"4635","locality":"GADARA","postcode":"2720","state":"NSW"},"4636":{"id":"4636","locality":"GILMORE","postcode":"2720","state":"NSW"},"4637":{"id":"4637","locality":"GOCUP","postcode":"2720","state":"NSW"},"4638":{"id":"4638","locality":"GOOBARRAGANDRA","postcode":"2720","state":"NSW"},"4639":{"id":"4639","locality":"JONES BRIDGE","postcode":"2720","state":"NSW"},"4640":{"id":"4640","locality":"KILLIMICAT","postcode":"2720","state":"NSW"},"4641":{"id":"4641","locality":"LACMALAC","postcode":"2720","state":"NSW"},"4642":{"id":"4642","locality":"LITTLE RIVER","postcode":"2720","state":"NSW"},"4643":{"id":"4643","locality":"MINJARY","postcode":"2720","state":"NSW"},"4644":{"id":"4644","locality":"MUNDONGO","postcode":"2720","state":"NSW"},"4645":{"id":"4645","locality":"PINBEYAN","postcode":"2720","state":"NSW"},"4646":{"id":"4646","locality":"RED HILL","postcode":"2720","state":"NSW"},"4647":{"id":"4647","locality":"TALBINGO","postcode":"2720","state":"NSW"},"4648":{"id":"4648","locality":"TUMORRAMA","postcode":"2720","state":"NSW"},"4649":{"id":"4649","locality":"TUMUT","postcode":"2720","state":"NSW"},"4650":{"id":"4650","locality":"TUMUT PLAINS","postcode":"2720","state":"NSW"},"4651":{"id":"4651","locality":"WEREBOLDERA","postcode":"2720","state":"NSW"},"4652":{"id":"4652","locality":"WERMATONG","postcode":"2720","state":"NSW"},"4653":{"id":"4653","locality":"WINDOWIE","postcode":"2720","state":"NSW"},"4654":{"id":"4654","locality":"WYANGLE","postcode":"2720","state":"NSW"},"4655":{"id":"4655","locality":"YARRANGOBILLY","postcode":"2720","state":"NSW"},"4656":{"id":"4656","locality":"BLAND","postcode":"2721","state":"NSW"},"4657":{"id":"4657","locality":"QUANDIALLA","postcode":"2721","state":"NSW"},"4658":{"id":"4658","locality":"BRUNGLE","postcode":"2722","state":"NSW"},"4659":{"id":"4659","locality":"BRUNGLE CREEK","postcode":"2722","state":"NSW"},"4660":{"id":"4660","locality":"BURRA CREEK","postcode":"2722","state":"NSW"},"4661":{"id":"4661","locality":"DARBALARA","postcode":"2722","state":"NSW"},"4662":{"id":"4662","locality":"GUNDAGAI","postcode":"2722","state":"NSW"},"4663":{"id":"4663","locality":"JONES CREEK","postcode":"2722","state":"NSW"},"4664":{"id":"4664","locality":"MUTTAMA","postcode":"2722","state":"NSW"},"4665":{"id":"4665","locality":"NANGUS","postcode":"2722","state":"NSW"},"4666":{"id":"4666","locality":"SOUTH GUNDAGAI","postcode":"2722","state":"NSW"},"4667":{"id":"4667","locality":"STOCKINBINGAL","postcode":"2725","state":"NSW"},"4668":{"id":"4668","locality":"JUGIONG","postcode":"2726","state":"NSW"},"4669":{"id":"4669","locality":"ADJUNGBILLY","postcode":"2727","state":"NSW"},"4670":{"id":"4670","locality":"COOLAC","postcode":"2727","state":"NSW"},"4671":{"id":"4671","locality":"GOBARRALONG","postcode":"2727","state":"NSW"},"4672":{"id":"4672","locality":"ADELONG","postcode":"2729","state":"NSW"},"4673":{"id":"4673","locality":"BANGADANG","postcode":"2729","state":"NSW"},"4674":{"id":"4674","locality":"BLACK CREEK","postcode":"2729","state":"NSW"},"4675":{"id":"4675","locality":"CALIFAT","postcode":"2729","state":"NSW"},"4676":{"id":"4676","locality":"COOLEYS CREEK","postcode":"2729","state":"NSW"},"4677":{"id":"4677","locality":"DARLOW","postcode":"2729","state":"NSW"},"4678":{"id":"4678","locality":"ELLERSLIE","postcode":"2729","state":"NSW"},"4679":{"id":"4679","locality":"GRAHAMSTOWN","postcode":"2729","state":"NSW"},"4680":{"id":"4680","locality":"MOUNT ADRAH","postcode":"2729","state":"NSW"},"4681":{"id":"4681","locality":"MOUNT HOREB","postcode":"2729","state":"NSW"},"4682":{"id":"4682","locality":"MUNDARLO","postcode":"2729","state":"NSW"},"4683":{"id":"4683","locality":"SANDY GULLY","postcode":"2729","state":"NSW"},"4684":{"id":"4684","locality":"SHARPS CREEK","postcode":"2729","state":"NSW"},"4685":{"id":"4685","locality":"TUMBLONG","postcode":"2729","state":"NSW"},"4686":{"id":"4686","locality":"WESTWOOD","postcode":"2729","state":"NSW"},"4687":{"id":"4687","locality":"WONDALGA","postcode":"2729","state":"NSW"},"4688":{"id":"4688","locality":"YAVEN CREEK","postcode":"2729","state":"NSW"},"4689":{"id":"4689","locality":"BATLOW","postcode":"2730","state":"NSW"},"4690":{"id":"4690","locality":"GREEN HILLS","postcode":"2730","state":"NSW"},"4691":{"id":"4691","locality":"KUNAMA","postcode":"2730","state":"NSW"},"4692":{"id":"4692","locality":"LOWER BAGO","postcode":"2730","state":"NSW"},"4693":{"id":"4693","locality":"BUNNALOO","postcode":"2731","state":"NSW"},"4694":{"id":"4694","locality":"MOAMA","postcode":"2731","state":"NSW"},"4695":{"id":"4695","locality":"TANTONAN","postcode":"2731","state":"NSW"},"4696":{"id":"4696","locality":"THYRA","postcode":"2731","state":"NSW"},"4697":{"id":"4697","locality":"WOMBOOTA","postcode":"2731","state":"NSW"},"4698":{"id":"4698","locality":"BARHAM","postcode":"2732","state":"NSW"},"4699":{"id":"4699","locality":"BURRABOI","postcode":"2732","state":"NSW"},"4700":{"id":"4700","locality":"COBRAMUNGA","postcode":"2732","state":"NSW"},"4701":{"id":"4701","locality":"GONN","postcode":"2732","state":"NSW"},"4702":{"id":"4702","locality":"NOORONG","postcode":"2732","state":"NSW"},"4703":{"id":"4703","locality":"THULE","postcode":"2732","state":"NSW"},"4704":{"id":"4704","locality":"TULLAKOOL","postcode":"2732","state":"NSW"},"4705":{"id":"4705","locality":"DHURAGOON","postcode":"2733","state":"NSW"},"4706":{"id":"4706","locality":"MOULAMEIN","postcode":"2733","state":"NSW"},"4707":{"id":"4707","locality":"NIEMUR","postcode":"2733","state":"NSW"},"4708":{"id":"4708","locality":"CUNNINYEUK","postcode":"2734","state":"NSW"},"4709":{"id":"4709","locality":"DILPURRA","postcode":"2734","state":"NSW"},"4710":{"id":"4710","locality":"MALLAN","postcode":"2734","state":"NSW"},"4711":{"id":"4711","locality":"MELLOOL","postcode":"2734","state":"NSW"},"4712":{"id":"4712","locality":"MOOLPA","postcode":"2734","state":"NSW"},"4713":{"id":"4713","locality":"MURRAY DOWNS","postcode":"2734","state":"NSW"},"4714":{"id":"4714","locality":"STONY CROSSING","postcode":"2734","state":"NSW"},"4715":{"id":"4715","locality":"TOORANIE","postcode":"2734","state":"NSW"},"4716":{"id":"4716","locality":"WETUPPA","postcode":"2734","state":"NSW"},"4717":{"id":"4717","locality":"KORALEIGH","postcode":"2735","state":"NSW"},"4718":{"id":"4718","locality":"SPEEWA","postcode":"2735","state":"NSW"},"4719":{"id":"4719","locality":"GOODNIGHT","postcode":"2736","state":"NSW"},"4720":{"id":"4720","locality":"TOOLEYBUC","postcode":"2736","state":"NSW"},"4721":{"id":"4721","locality":"EUSTON","postcode":"2737","state":"NSW"},"4722":{"id":"4722","locality":"GOL GOL","postcode":"2738","state":"NSW"},"4723":{"id":"4723","locality":"MALLEE","postcode":"2738","state":"NSW"},"4724":{"id":"4724","locality":"MONAK","postcode":"2738","state":"NSW"},"4725":{"id":"4725","locality":"PARINGI","postcode":"2738","state":"NSW"},"4726":{"id":"4726","locality":"TRENTHAM CLIFFS","postcode":"2738","state":"NSW"},"4727":{"id":"4727","locality":"BOEILL CREEK","postcode":"2739","state":"NSW"},"4728":{"id":"4728","locality":"BURONGA","postcode":"2739","state":"NSW"},"4729":{"id":"4729","locality":"MOURQUONG","postcode":"2739","state":"NSW"},"4730":{"id":"4730","locality":"GLENMORE PARK","postcode":"2745","state":"NSW"},"4731":{"id":"4731","locality":"GREENDALE","postcode":"2745","state":"NSW"},"4732":{"id":"4732","locality":"LUDDENHAM","postcode":"2745","state":"NSW"},"4733":{"id":"4733","locality":"MULGOA","postcode":"2745","state":"NSW"},"4734":{"id":"4734","locality":"REGENTVILLE","postcode":"2745","state":"NSW"},"4735":{"id":"4735","locality":"WALLACIA","postcode":"2745","state":"NSW"},"4736":{"id":"4736","locality":"CAMBRIDGE GARDENS","postcode":"2747","state":"NSW"},"4737":{"id":"4737","locality":"CAMBRIDGE PARK","postcode":"2747","state":"NSW"},"4738":{"id":"4738","locality":"CLAREMONT MEADOWS","postcode":"2747","state":"NSW"},"4739":{"id":"4739","locality":"JORDAN SPRINGS","postcode":"2747","state":"NSW"},"4740":{"id":"4740","locality":"KINGSWOOD","postcode":"2747","state":"NSW"},"4741":{"id":"4741","locality":"LLANDILO","postcode":"2747","state":"NSW"},"4742":{"id":"4742","locality":"SHANES PARK","postcode":"2747","state":"NSW"},"4743":{"id":"4743","locality":"WERRINGTON","postcode":"2747","state":"NSW"},"4744":{"id":"4744","locality":"WERRINGTON COUNTY","postcode":"2747","state":"NSW"},"4745":{"id":"4745","locality":"WERRINGTON DOWNS","postcode":"2747","state":"NSW"},"4746":{"id":"4746","locality":"ORCHARD HILLS","postcode":"2748","state":"NSW"},"4747":{"id":"4747","locality":"CASTLEREAGH","postcode":"2749","state":"NSW"},"4748":{"id":"4748","locality":"CRANEBROOK","postcode":"2749","state":"NSW"},"4749":{"id":"4749","locality":"EMU HEIGHTS","postcode":"2750","state":"NSW"},"4750":{"id":"4750","locality":"EMU PLAINS","postcode":"2750","state":"NSW"},"4751":{"id":"4751","locality":"JAMISONTOWN","postcode":"2750","state":"NSW"},"4752":{"id":"4752","locality":"LEONAY","postcode":"2750","state":"NSW"},"4753":{"id":"4753","locality":"PENRITH","postcode":"2750","state":"NSW"},"4754":{"id":"4754","locality":"PENRITH PLAZA","postcode":"2750","state":"NSW"},"4755":{"id":"4755","locality":"PENRITH SOUTH","postcode":"2750","state":"NSW"},"4756":{"id":"4756","locality":"SOUTH PENRITH","postcode":"2750","state":"NSW"},"4757":{"id":"4757","locality":"PENRITH","postcode":"2751","state":"NSW"},"4758":{"id":"4758","locality":"SILVERDALE","postcode":"2752","state":"NSW"},"4759":{"id":"4759","locality":"WARRAGAMBA","postcode":"2752","state":"NSW"},"4760":{"id":"4760","locality":"AGNES BANKS","postcode":"2753","state":"NSW"},"4761":{"id":"4761","locality":"BOWEN MOUNTAIN","postcode":"2753","state":"NSW"},"4762":{"id":"4762","locality":"GROSE VALE","postcode":"2753","state":"NSW"},"4763":{"id":"4763","locality":"GROSE WOLD","postcode":"2753","state":"NSW"},"4764":{"id":"4764","locality":"HOBARTVILLE","postcode":"2753","state":"NSW"},"4765":{"id":"4765","locality":"LONDONDERRY","postcode":"2753","state":"NSW"},"4766":{"id":"4766","locality":"RICHMOND","postcode":"2753","state":"NSW"},"4767":{"id":"4767","locality":"RICHMOND LOWLANDS","postcode":"2753","state":"NSW"},"4768":{"id":"4768","locality":"YARRAMUNDI","postcode":"2753","state":"NSW"},"4769":{"id":"4769","locality":"NORTH RICHMOND","postcode":"2754","state":"NSW"},"4770":{"id":"4770","locality":"TENNYSON","postcode":"2754","state":"NSW"},"4771":{"id":"4771","locality":"THE SLOPES","postcode":"2754","state":"NSW"},"4772":{"id":"4772","locality":"RICHMOND RAAF","postcode":"2755","state":"NSW"},"4773":{"id":"4773","locality":"BLIGH PARK","postcode":"2756","state":"NSW"},"4774":{"id":"4774","locality":"CATTAI","postcode":"2756","state":"NSW"},"4775":{"id":"4775","locality":"CENTRAL COLO","postcode":"2756","state":"NSW"},"4776":{"id":"4776","locality":"CLARENDON","postcode":"2756","state":"NSW"},"4777":{"id":"4777","locality":"COLO","postcode":"2756","state":"NSW"},"4778":{"id":"4778","locality":"COLO HEIGHTS","postcode":"2756","state":"NSW"},"4779":{"id":"4779","locality":"CORNWALLIS","postcode":"2756","state":"NSW"},"4780":{"id":"4780","locality":"CUMBERLAND REACH","postcode":"2756","state":"NSW"},"4781":{"id":"4781","locality":"EBENEZER","postcode":"2756","state":"NSW"},"4782":{"id":"4782","locality":"FREEMANS REACH","postcode":"2756","state":"NSW"},"4783":{"id":"4783","locality":"GLOSSODIA","postcode":"2756","state":"NSW"},"4784":{"id":"4784","locality":"LOWER PORTLAND","postcode":"2756","state":"NSW"},"4785":{"id":"4785","locality":"MAROOTA","postcode":"2756","state":"NSW"},"4786":{"id":"4786","locality":"MCGRATHS HILL","postcode":"2756","state":"NSW"},"4787":{"id":"4787","locality":"MELLONG","postcode":"2756","state":"NSW"},"4788":{"id":"4788","locality":"MULGRAVE","postcode":"2756","state":"NSW"},"4789":{"id":"4789","locality":"PITT TOWN","postcode":"2756","state":"NSW"},"4790":{"id":"4790","locality":"PITT TOWN BOTTOMS","postcode":"2756","state":"NSW"},"4791":{"id":"4791","locality":"SACKVILLE","postcode":"2756","state":"NSW"},"4792":{"id":"4792","locality":"SACKVILLE NORTH","postcode":"2756","state":"NSW"},"4793":{"id":"4793","locality":"SCHEYVILLE","postcode":"2756","state":"NSW"},"4794":{"id":"4794","locality":"SOUTH MAROOTA","postcode":"2756","state":"NSW"},"4795":{"id":"4795","locality":"SOUTH WINDSOR","postcode":"2756","state":"NSW"},"4796":{"id":"4796","locality":"UPPER COLO","postcode":"2756","state":"NSW"},"4797":{"id":"4797","locality":"WILBERFORCE","postcode":"2756","state":"NSW"},"4798":{"id":"4798","locality":"WINDSOR","postcode":"2756","state":"NSW"},"4799":{"id":"4799","locality":"WINDSOR DOWNS","postcode":"2756","state":"NSW"},"4800":{"id":"4800","locality":"WOMERAH","postcode":"2756","state":"NSW"},"4801":{"id":"4801","locality":"KURMOND","postcode":"2757","state":"NSW"},"4802":{"id":"4802","locality":"BERAMBING","postcode":"2758","state":"NSW"},"4803":{"id":"4803","locality":"BILPIN","postcode":"2758","state":"NSW"},"4804":{"id":"4804","locality":"BLAXLANDS RIDGE","postcode":"2758","state":"NSW"},"4805":{"id":"4805","locality":"EAST KURRAJONG","postcode":"2758","state":"NSW"},"4806":{"id":"4806","locality":"KURRAJONG","postcode":"2758","state":"NSW"},"4807":{"id":"4807","locality":"KURRAJONG HEIGHTS","postcode":"2758","state":"NSW"},"4808":{"id":"4808","locality":"KURRAJONG HILLS","postcode":"2758","state":"NSW"},"4809":{"id":"4809","locality":"MOUNT TOMAH","postcode":"2758","state":"NSW"},"4810":{"id":"4810","locality":"MOUNTAIN LAGOON","postcode":"2758","state":"NSW"},"4811":{"id":"4811","locality":"THE DEVILS WILDERNESS","postcode":"2758","state":"NSW"},"4812":{"id":"4812","locality":"WHEENY CREEK","postcode":"2758","state":"NSW"},"4813":{"id":"4813","locality":"ERSKINE PARK","postcode":"2759","state":"NSW"},"4814":{"id":"4814","locality":"ST CLAIR","postcode":"2759","state":"NSW"},"4815":{"id":"4815","locality":"COLYTON","postcode":"2760","state":"NSW"},"4816":{"id":"4816","locality":"NORTH ST MARYS","postcode":"2760","state":"NSW"},"4817":{"id":"4817","locality":"OXLEY PARK","postcode":"2760","state":"NSW"},"4818":{"id":"4818","locality":"ROPES CROSSING","postcode":"2760","state":"NSW"},"4819":{"id":"4819","locality":"ST MARYS","postcode":"2760","state":"NSW"},"4820":{"id":"4820","locality":"ST MARYS EAST","postcode":"2760","state":"NSW"},"4821":{"id":"4821","locality":"ST MARYS SOUTH","postcode":"2760","state":"NSW"},"4822":{"id":"4822","locality":"COLEBEE","postcode":"2761","state":"NSW"},"4823":{"id":"4823","locality":"DEAN PARK","postcode":"2761","state":"NSW"},"4824":{"id":"4824","locality":"GLENDENNING","postcode":"2761","state":"NSW"},"4825":{"id":"4825","locality":"HASSALL GROVE","postcode":"2761","state":"NSW"},"4826":{"id":"4826","locality":"OAKHURST","postcode":"2761","state":"NSW"},"4827":{"id":"4827","locality":"PLUMPTON","postcode":"2761","state":"NSW"},"4828":{"id":"4828","locality":"SCHOFIELDS","postcode":"2762","state":"NSW"},"4829":{"id":"4829","locality":"ACACIA GARDENS","postcode":"2763","state":"NSW"},"4830":{"id":"4830","locality":"QUAKERS HILL","postcode":"2763","state":"NSW"},"4831":{"id":"4831","locality":"BERKSHIRE PARK","postcode":"2765","state":"NSW"},"4832":{"id":"4832","locality":"BOX HILL","postcode":"2765","state":"NSW"},"4833":{"id":"4833","locality":"MARAYLYA","postcode":"2765","state":"NSW"},"4834":{"id":"4834","locality":"MARSDEN PARK","postcode":"2765","state":"NSW"},"4835":{"id":"4835","locality":"NELSON","postcode":"2765","state":"NSW"},"4836":{"id":"4836","locality":"OAKVILLE","postcode":"2765","state":"NSW"},"4837":{"id":"4837","locality":"RIVERSTONE","postcode":"2765","state":"NSW"},"4838":{"id":"4838","locality":"VINEYARD","postcode":"2765","state":"NSW"},"4839":{"id":"4839","locality":"EASTERN CREEK","postcode":"2766","state":"NSW"},"4840":{"id":"4840","locality":"ROOTY HILL","postcode":"2766","state":"NSW"},"4841":{"id":"4841","locality":"BUNGARRIBEE","postcode":"2767","state":"NSW"},"4842":{"id":"4842","locality":"DOONSIDE","postcode":"2767","state":"NSW"},"4843":{"id":"4843","locality":"WOODCROFT","postcode":"2767","state":"NSW"},"4844":{"id":"4844","locality":"GLENWOOD","postcode":"2768","state":"NSW"},"4845":{"id":"4845","locality":"PARKLEA","postcode":"2768","state":"NSW"},"4846":{"id":"4846","locality":"STANHOPE GARDENS","postcode":"2768","state":"NSW"},"4847":{"id":"4847","locality":"THE PONDS","postcode":"2769","state":"NSW"},"4848":{"id":"4848","locality":"BIDWILL","postcode":"2770","state":"NSW"},"4849":{"id":"4849","locality":"BLACKETT","postcode":"2770","state":"NSW"},"4850":{"id":"4850","locality":"DHARRUK","postcode":"2770","state":"NSW"},"4851":{"id":"4851","locality":"EMERTON","postcode":"2770","state":"NSW"},"4852":{"id":"4852","locality":"HEBERSHAM","postcode":"2770","state":"NSW"},"4853":{"id":"4853","locality":"LETHBRIDGE PARK","postcode":"2770","state":"NSW"},"4854":{"id":"4854","locality":"MINCHINBURY","postcode":"2770","state":"NSW"},"4855":{"id":"4855","locality":"MOUNT DRUITT","postcode":"2770","state":"NSW"},"4856":{"id":"4856","locality":"MOUNT DRUITT VILLAGE","postcode":"2770","state":"NSW"},"4857":{"id":"4857","locality":"SHALVEY","postcode":"2770","state":"NSW"},"4858":{"id":"4858","locality":"TREGEAR","postcode":"2770","state":"NSW"},"4859":{"id":"4859","locality":"WHALAN","postcode":"2770","state":"NSW"},"4860":{"id":"4860","locality":"WILLMOT","postcode":"2770","state":"NSW"},"4861":{"id":"4861","locality":"GLENBROOK","postcode":"2773","state":"NSW"},"4862":{"id":"4862","locality":"LAPSTONE","postcode":"2773","state":"NSW"},"4863":{"id":"4863","locality":"BLAXLAND","postcode":"2774","state":"NSW"},"4864":{"id":"4864","locality":"BLAXLAND EAST","postcode":"2774","state":"NSW"},"4865":{"id":"4865","locality":"MOUNT RIVERVIEW","postcode":"2774","state":"NSW"},"4866":{"id":"4866","locality":"WARRIMOO","postcode":"2774","state":"NSW"},"4867":{"id":"4867","locality":"CENTRAL MACDONALD","postcode":"2775","state":"NSW"},"4868":{"id":"4868","locality":"FERNANCES","postcode":"2775","state":"NSW"},"4869":{"id":"4869","locality":"GUNDERMAN","postcode":"2775","state":"NSW"},"4870":{"id":"4870","locality":"HIGHER MACDONALD","postcode":"2775","state":"NSW"},"4871":{"id":"4871","locality":"LAUGHTONDALE","postcode":"2775","state":"NSW"},"4872":{"id":"4872","locality":"LEETS VALE","postcode":"2775","state":"NSW"},"4873":{"id":"4873","locality":"LOWER MACDONALD","postcode":"2775","state":"NSW"},"4874":{"id":"4874","locality":"MARLOW","postcode":"2775","state":"NSW"},"4875":{"id":"4875","locality":"MOGO CREEK","postcode":"2775","state":"NSW"},"4876":{"id":"4876","locality":"PERRYS CROSSING","postcode":"2775","state":"NSW"},"4877":{"id":"4877","locality":"SINGLETONS MILL","postcode":"2775","state":"NSW"},"4878":{"id":"4878","locality":"SPENCER","postcode":"2775","state":"NSW"},"4879":{"id":"4879","locality":"ST ALBANS","postcode":"2775","state":"NSW"},"4880":{"id":"4880","locality":"UPPER MACDONALD","postcode":"2775","state":"NSW"},"4881":{"id":"4881","locality":"WEBBS CREEK","postcode":"2775","state":"NSW"},"4882":{"id":"4882","locality":"WISEMANS FERRY","postcode":"2775","state":"NSW"},"4883":{"id":"4883","locality":"WRIGHTS CREEK","postcode":"2775","state":"NSW"},"4884":{"id":"4884","locality":"FAULCONBRIDGE","postcode":"2776","state":"NSW"},"4885":{"id":"4885","locality":"HAWKESBURY HEIGHTS","postcode":"2777","state":"NSW"},"4886":{"id":"4886","locality":"SPRINGWOOD","postcode":"2777","state":"NSW"},"4887":{"id":"4887","locality":"SUN VALLEY","postcode":"2777","state":"NSW"},"4888":{"id":"4888","locality":"VALLEY HEIGHTS","postcode":"2777","state":"NSW"},"4889":{"id":"4889","locality":"WINMALEE","postcode":"2777","state":"NSW"},"4890":{"id":"4890","locality":"YELLOW ROCK","postcode":"2777","state":"NSW"},"4891":{"id":"4891","locality":"LINDEN","postcode":"2778","state":"NSW"},"4892":{"id":"4892","locality":"WOODFORD","postcode":"2778","state":"NSW"},"4893":{"id":"4893","locality":"HAZELBROOK","postcode":"2779","state":"NSW"},"4894":{"id":"4894","locality":"KATOOMBA","postcode":"2780","state":"NSW"},"4895":{"id":"4895","locality":"KATOOMBA DC","postcode":"2780","state":"NSW"},"4896":{"id":"4896","locality":"LEURA","postcode":"2780","state":"NSW"},"4897":{"id":"4897","locality":"MEDLOW BATH","postcode":"2780","state":"NSW"},"4898":{"id":"4898","locality":"WENTWORTH FALLS","postcode":"2782","state":"NSW"},"4899":{"id":"4899","locality":"LAWSON","postcode":"2783","state":"NSW"},"4900":{"id":"4900","locality":"BULLABURRA","postcode":"2784","state":"NSW"},"4901":{"id":"4901","locality":"BLACKHEATH","postcode":"2785","state":"NSW"},"4902":{"id":"4902","locality":"MEGALONG VALLEY","postcode":"2785","state":"NSW"},"4903":{"id":"4903","locality":"BELL","postcode":"2786","state":"NSW"},"4904":{"id":"4904","locality":"DARGAN","postcode":"2786","state":"NSW"},"4905":{"id":"4905","locality":"MOUNT IRVINE","postcode":"2786","state":"NSW"},"4906":{"id":"4906","locality":"MOUNT VICTORIA","postcode":"2786","state":"NSW"},"4907":{"id":"4907","locality":"MOUNT WILSON","postcode":"2786","state":"NSW"},"4908":{"id":"4908","locality":"BLACK SPRINGS","postcode":"2787","state":"NSW"},"4909":{"id":"4909","locality":"CHATHAM VALLEY","postcode":"2787","state":"NSW"},"4910":{"id":"4910","locality":"DUCKMALOI","postcode":"2787","state":"NSW"},"4911":{"id":"4911","locality":"EDITH","postcode":"2787","state":"NSW"},"4912":{"id":"4912","locality":"ESSINGTON","postcode":"2787","state":"NSW"},"4913":{"id":"4913","locality":"GINGKIN","postcode":"2787","state":"NSW"},"4914":{"id":"4914","locality":"GURNANG","postcode":"2787","state":"NSW"},"4915":{"id":"4915","locality":"HAZELGROVE","postcode":"2787","state":"NSW"},"4916":{"id":"4916","locality":"JAUNTER","postcode":"2787","state":"NSW"},"4917":{"id":"4917","locality":"KANANGRA","postcode":"2787","state":"NSW"},"4918":{"id":"4918","locality":"MAYFIELD","postcode":"2787","state":"NSW"},"4919":{"id":"4919","locality":"MOUNT OLIVE","postcode":"2787","state":"NSW"},"4920":{"id":"4920","locality":"MOUNT WERONG","postcode":"2787","state":"NSW"},"4921":{"id":"4921","locality":"MOZART","postcode":"2787","state":"NSW"},"4922":{"id":"4922","locality":"NORWAY","postcode":"2787","state":"NSW"},"4923":{"id":"4923","locality":"OBERON","postcode":"2787","state":"NSW"},"4924":{"id":"4924","locality":"PORTERS RETREAT","postcode":"2787","state":"NSW"},"4925":{"id":"4925","locality":"SHOOTERS HILL","postcode":"2787","state":"NSW"},"4926":{"id":"4926","locality":"TARANA","postcode":"2787","state":"NSW"},"4927":{"id":"4927","locality":"THE MEADOWS","postcode":"2787","state":"NSW"},"4928":{"id":"4928","locality":"BEN BULLEN","postcode":"2790","state":"NSW"},"4929":{"id":"4929","locality":"BLACKMANS FLAT","postcode":"2790","state":"NSW"},"4930":{"id":"4930","locality":"BOWENFELS","postcode":"2790","state":"NSW"},"4931":{"id":"4931","locality":"CLARENCE","postcode":"2790","state":"NSW"},"4932":{"id":"4932","locality":"COBAR PARK","postcode":"2790","state":"NSW"},"4933":{"id":"4933","locality":"CORNEY TOWN","postcode":"2790","state":"NSW"},"4934":{"id":"4934","locality":"CULLEN BULLEN","postcode":"2790","state":"NSW"},"4935":{"id":"4935","locality":"DOCTORS GAP","postcode":"2790","state":"NSW"},"4936":{"id":"4936","locality":"GANBENANG","postcode":"2790","state":"NSW"},"4937":{"id":"4937","locality":"GOOD FOREST","postcode":"2790","state":"NSW"},"4938":{"id":"4938","locality":"HAMPTON","postcode":"2790","state":"NSW"},"4939":{"id":"4939","locality":"HARTLEY","postcode":"2790","state":"NSW"},"4940":{"id":"4940","locality":"HARTLEY VALE","postcode":"2790","state":"NSW"},"4941":{"id":"4941","locality":"HASSANS WALLS","postcode":"2790","state":"NSW"},"4942":{"id":"4942","locality":"HERMITAGE FLAT","postcode":"2790","state":"NSW"},"4943":{"id":"4943","locality":"JENOLAN","postcode":"2790","state":"NSW"},"4944":{"id":"4944","locality":"KANIMBLA","postcode":"2790","state":"NSW"},"4945":{"id":"4945","locality":"LIDSDALE","postcode":"2790","state":"NSW"},"4946":{"id":"4946","locality":"LITHGOW","postcode":"2790","state":"NSW"},"4947":{"id":"4947","locality":"LITTLE HARTLEY","postcode":"2790","state":"NSW"},"4948":{"id":"4948","locality":"LITTLETON","postcode":"2790","state":"NSW"},"4949":{"id":"4949","locality":"LOWTHER","postcode":"2790","state":"NSW"},"4950":{"id":"4950","locality":"MARRANGAROO","postcode":"2790","state":"NSW"},"4951":{"id":"4951","locality":"MCKELLARS PARK","postcode":"2790","state":"NSW"},"4952":{"id":"4952","locality":"MORTS ESTATE","postcode":"2790","state":"NSW"},"4953":{"id":"4953","locality":"MOUNT LAMBIE","postcode":"2790","state":"NSW"},"4954":{"id":"4954","locality":"NEWNES","postcode":"2790","state":"NSW"},"4955":{"id":"4955","locality":"NEWNES PLATEAU","postcode":"2790","state":"NSW"},"4956":{"id":"4956","locality":"OAKY PARK","postcode":"2790","state":"NSW"},"4957":{"id":"4957","locality":"POTTERY ESTATE","postcode":"2790","state":"NSW"},"4958":{"id":"4958","locality":"RYDAL","postcode":"2790","state":"NSW"},"4959":{"id":"4959","locality":"SHEEDYS GULLY","postcode":"2790","state":"NSW"},"4960":{"id":"4960","locality":"SODWALLS","postcode":"2790","state":"NSW"},"4961":{"id":"4961","locality":"SOUTH BOWENFELS","postcode":"2790","state":"NSW"},"4962":{"id":"4962","locality":"SOUTH LITTLETON","postcode":"2790","state":"NSW"},"4963":{"id":"4963","locality":"SPRINGVALE","postcode":"2790","state":"NSW"},"4964":{"id":"4964","locality":"STATE MINE GULLY","postcode":"2790","state":"NSW"},"4965":{"id":"4965","locality":"VALE OF CLWYDD","postcode":"2790","state":"NSW"},"4966":{"id":"4966","locality":"WOLGAN VALLEY","postcode":"2790","state":"NSW"},"4967":{"id":"4967","locality":"WOLLANGAMBE","postcode":"2790","state":"NSW"},"4968":{"id":"4968","locality":"CARCOAR","postcode":"2791","state":"NSW"},"4969":{"id":"4969","locality":"ERROWANBANG","postcode":"2791","state":"NSW"},"4970":{"id":"4970","locality":"BURNT YARDS","postcode":"2792","state":"NSW"},"4971":{"id":"4971","locality":"MANDURAMA","postcode":"2792","state":"NSW"},"4972":{"id":"4972","locality":"DARBYS FALLS","postcode":"2793","state":"NSW"},"4973":{"id":"4973","locality":"ROSEBERG","postcode":"2793","state":"NSW"},"4974":{"id":"4974","locality":"WOODSTOCK","postcode":"2793","state":"NSW"},"4975":{"id":"4975","locality":"BUMBALDRY","postcode":"2794","state":"NSW"},"4976":{"id":"4976","locality":"COWRA","postcode":"2794","state":"NSW"},"4977":{"id":"4977","locality":"HOVELLS CREEK","postcode":"2794","state":"NSW"},"4978":{"id":"4978","locality":"MOUNT COLLINS","postcode":"2794","state":"NSW"},"4979":{"id":"4979","locality":"WATTAMONDARA","postcode":"2794","state":"NSW"},"4980":{"id":"4980","locality":"ABERCROMBIE","postcode":"2795","state":"NSW"},"4981":{"id":"4981","locality":"ABERCROMBIE RIVER","postcode":"2795","state":"NSW"},"4982":{"id":"4982","locality":"ARKELL","postcode":"2795","state":"NSW"},"4983":{"id":"4983","locality":"ARKSTONE","postcode":"2795","state":"NSW"},"4984":{"id":"4984","locality":"BALD RIDGE","postcode":"2795","state":"NSW"},"4985":{"id":"4985","locality":"BALLYROE","postcode":"2795","state":"NSW"},"4986":{"id":"4986","locality":"BATHAMPTON","postcode":"2795","state":"NSW"},"4987":{"id":"4987","locality":"BATHURST","postcode":"2795","state":"NSW"},"4988":{"id":"4988","locality":"BATHURST WEST","postcode":"2795","state":"NSW"},"4989":{"id":"4989","locality":"BILLYWILLINGA","postcode":"2795","state":"NSW"},"4990":{"id":"4990","locality":"BREWONGLE","postcode":"2795","state":"NSW"},"4991":{"id":"4991","locality":"BRUINBUN","postcode":"2795","state":"NSW"},"4992":{"id":"4992","locality":"BURRAGA","postcode":"2795","state":"NSW"},"4993":{"id":"4993","locality":"CALOOLA","postcode":"2795","state":"NSW"},"4994":{"id":"4994","locality":"CHARLES STURT UNIVERSITY","postcode":"2795","state":"NSW"},"4995":{"id":"4995","locality":"CHARLTON","postcode":"2795","state":"NSW"},"4996":{"id":"4996","locality":"CLEAR CREEK","postcode":"2795","state":"NSW"},"4997":{"id":"4997","locality":"COLO","postcode":"2795","state":"NSW"},"4998":{"id":"4998","locality":"COPPERHANNIA","postcode":"2795","state":"NSW"},"4999":{"id":"4999","locality":"COW FLAT","postcode":"2795","state":"NSW"},"5000":{"id":"5000","locality":"CRUDINE","postcode":"2795","state":"NSW"},"5001":{"id":"5001","locality":"CURRAGH","postcode":"2795","state":"NSW"},"5002":{"id":"5002","locality":"DARK CORNER","postcode":"2795","state":"NSW"},"5003":{"id":"5003","locality":"DOG ROCKS","postcode":"2795","state":"NSW"},"5004":{"id":"5004","locality":"DUNKELD","postcode":"2795","state":"NSW"},"5005":{"id":"5005","locality":"DURAMANA","postcode":"2795","state":"NSW"},"5006":{"id":"5006","locality":"EGLINTON","postcode":"2795","state":"NSW"},"5007":{"id":"5007","locality":"EVANS PLAINS","postcode":"2795","state":"NSW"},"5008":{"id":"5008","locality":"FITZGERALDS VALLEY","postcode":"2795","state":"NSW"},"5009":{"id":"5009","locality":"FOREST GROVE","postcode":"2795","state":"NSW"},"5010":{"id":"5010","locality":"FOSTERS VALLEY","postcode":"2795","state":"NSW"},"5011":{"id":"5011","locality":"FREEMANTLE","postcode":"2795","state":"NSW"},"5012":{"id":"5012","locality":"GEMALLA","postcode":"2795","state":"NSW"},"5013":{"id":"5013","locality":"GEORGES PLAINS","postcode":"2795","state":"NSW"},"5014":{"id":"5014","locality":"GILMANDYKE","postcode":"2795","state":"NSW"},"5015":{"id":"5015","locality":"GLANMIRE","postcode":"2795","state":"NSW"},"5016":{"id":"5016","locality":"GORMANS HILL","postcode":"2795","state":"NSW"},"5017":{"id":"5017","locality":"GOWAN","postcode":"2795","state":"NSW"},"5018":{"id":"5018","locality":"HOBBYS YARDS","postcode":"2795","state":"NSW"},"5019":{"id":"5019","locality":"ISABELLA","postcode":"2795","state":"NSW"},"5020":{"id":"5020","locality":"JEREMY","postcode":"2795","state":"NSW"},"5021":{"id":"5021","locality":"JUDDS CREEK","postcode":"2795","state":"NSW"},"5022":{"id":"5022","locality":"KELSO","postcode":"2795","state":"NSW"},"5023":{"id":"5023","locality":"KILLONGBUTTA","postcode":"2795","state":"NSW"},"5024":{"id":"5024","locality":"KIRKCONNELL","postcode":"2795","state":"NSW"},"5025":{"id":"5025","locality":"LAFFING WATERS","postcode":"2795","state":"NSW"},"5026":{"id":"5026","locality":"LIMEKILNS","postcode":"2795","state":"NSW"},"5027":{"id":"5027","locality":"LLANARTH","postcode":"2795","state":"NSW"},"5028":{"id":"5028","locality":"LOCKSLEY","postcode":"2795","state":"NSW"},"5029":{"id":"5029","locality":"MEADOW FLAT","postcode":"2795","state":"NSW"},"5030":{"id":"5030","locality":"MILKERS FLAT","postcode":"2795","state":"NSW"},"5031":{"id":"5031","locality":"MILLAH MURRAH","postcode":"2795","state":"NSW"},"5032":{"id":"5032","locality":"MITCHELL","postcode":"2795","state":"NSW"},"5033":{"id":"5033","locality":"MOORILDA","postcode":"2795","state":"NSW"},"5034":{"id":"5034","locality":"MOUNT DAVID","postcode":"2795","state":"NSW"},"5035":{"id":"5035","locality":"MOUNT PANORAMA","postcode":"2795","state":"NSW"},"5036":{"id":"5036","locality":"MOUNT RANKIN","postcode":"2795","state":"NSW"},"5037":{"id":"5037","locality":"NAPOLEON REEF","postcode":"2795","state":"NSW"},"5038":{"id":"5038","locality":"NEWBRIDGE","postcode":"2795","state":"NSW"},"5039":{"id":"5039","locality":"O'CONNELL","postcode":"2795","state":"NSW"},"5040":{"id":"5040","locality":"ORTON PARK","postcode":"2795","state":"NSW"},"5041":{"id":"5041","locality":"PALING YARDS","postcode":"2795","state":"NSW"},"5042":{"id":"5042","locality":"PALMERS OAKY","postcode":"2795","state":"NSW"},"5043":{"id":"5043","locality":"PEEL","postcode":"2795","state":"NSW"},"5044":{"id":"5044","locality":"PERTHVILLE","postcode":"2795","state":"NSW"},"5045":{"id":"5045","locality":"RAGLAN","postcode":"2795","state":"NSW"},"5046":{"id":"5046","locality":"ROBIN HILL","postcode":"2795","state":"NSW"},"5047":{"id":"5047","locality":"ROCK FOREST","postcode":"2795","state":"NSW"},"5048":{"id":"5048","locality":"ROCKLEY","postcode":"2795","state":"NSW"},"5049":{"id":"5049","locality":"ROCKLEY MOUNT","postcode":"2795","state":"NSW"},"5050":{"id":"5050","locality":"SOFALA","postcode":"2795","state":"NSW"},"5051":{"id":"5051","locality":"SOUTH BATHURST","postcode":"2795","state":"NSW"},"5052":{"id":"5052","locality":"STEWARTS MOUNT","postcode":"2795","state":"NSW"},"5053":{"id":"5053","locality":"SUNNY CORNER","postcode":"2795","state":"NSW"},"5054":{"id":"5054","locality":"TANNAS MOUNT","postcode":"2795","state":"NSW"},"5055":{"id":"5055","locality":"THE LAGOON","postcode":"2795","state":"NSW"},"5056":{"id":"5056","locality":"THE ROCKS","postcode":"2795","state":"NSW"},"5057":{"id":"5057","locality":"TRIANGLE FLAT","postcode":"2795","state":"NSW"},"5058":{"id":"5058","locality":"TRUNKEY CREEK","postcode":"2795","state":"NSW"},"5059":{"id":"5059","locality":"TURONDALE","postcode":"2795","state":"NSW"},"5060":{"id":"5060","locality":"TWENTY FORESTS","postcode":"2795","state":"NSW"},"5061":{"id":"5061","locality":"UPPER TURON","postcode":"2795","state":"NSW"},"5062":{"id":"5062","locality":"WALANG","postcode":"2795","state":"NSW"},"5063":{"id":"5063","locality":"WAMBOOL","postcode":"2795","state":"NSW"},"5064":{"id":"5064","locality":"WATTLE FLAT","postcode":"2795","state":"NSW"},"5065":{"id":"5065","locality":"WATTON","postcode":"2795","state":"NSW"},"5066":{"id":"5066","locality":"WEST BATHURST","postcode":"2795","state":"NSW"},"5067":{"id":"5067","locality":"WHITE ROCK","postcode":"2795","state":"NSW"},"5068":{"id":"5068","locality":"WIAGDON","postcode":"2795","state":"NSW"},"5069":{"id":"5069","locality":"WIMBLEDON","postcode":"2795","state":"NSW"},"5070":{"id":"5070","locality":"WINBURNDALE","postcode":"2795","state":"NSW"},"5071":{"id":"5071","locality":"WINDRADYNE","postcode":"2795","state":"NSW"},"5072":{"id":"5072","locality":"WISEMANS CREEK","postcode":"2795","state":"NSW"},"5073":{"id":"5073","locality":"YARRAS","postcode":"2795","state":"NSW"},"5074":{"id":"5074","locality":"YETHOLME","postcode":"2795","state":"NSW"},"5075":{"id":"5075","locality":"BATHURST MC","postcode":"2796","state":"NSW"},"5076":{"id":"5076","locality":"GARLAND","postcode":"2797","state":"NSW"},"5077":{"id":"5077","locality":"LYNDHURST","postcode":"2797","state":"NSW"},"5078":{"id":"5078","locality":"FOREST REEFS","postcode":"2798","state":"NSW"},"5079":{"id":"5079","locality":"GUYONG","postcode":"2798","state":"NSW"},"5080":{"id":"5080","locality":"MILLTHORPE","postcode":"2798","state":"NSW"},"5081":{"id":"5081","locality":"SPRING TERRACE","postcode":"2798","state":"NSW"},"5082":{"id":"5082","locality":"TALLWOOD","postcode":"2798","state":"NSW"},"5083":{"id":"5083","locality":"BARRY","postcode":"2799","state":"NSW"},"5084":{"id":"5084","locality":"BLAYNEY","postcode":"2799","state":"NSW"},"5085":{"id":"5085","locality":"BROWNS CREEK","postcode":"2799","state":"NSW"},"5086":{"id":"5086","locality":"FITZGERALDS MOUNT","postcode":"2799","state":"NSW"},"5087":{"id":"5087","locality":"KINGS PLAINS","postcode":"2799","state":"NSW"},"5088":{"id":"5088","locality":"NEVILLE","postcode":"2799","state":"NSW"},"5089":{"id":"5089","locality":"VITTORIA","postcode":"2799","state":"NSW"},"5090":{"id":"5090","locality":"BELGRAVIA","postcode":"2800","state":"NSW"},"5091":{"id":"5091","locality":"BOREE","postcode":"2800","state":"NSW"},"5092":{"id":"5092","locality":"BORENORE","postcode":"2800","state":"NSW"},"5093":{"id":"5093","locality":"BYNG","postcode":"2800","state":"NSW"},"5094":{"id":"5094","locality":"CADIA","postcode":"2800","state":"NSW"},"5095":{"id":"5095","locality":"CANOBOLAS","postcode":"2800","state":"NSW"},"5096":{"id":"5096","locality":"CARGO","postcode":"2800","state":"NSW"},"5097":{"id":"5097","locality":"CLERGATE","postcode":"2800","state":"NSW"},"5098":{"id":"5098","locality":"CLIFTON GROVE","postcode":"2800","state":"NSW"},"5099":{"id":"5099","locality":"EMU SWAMP","postcode":"2800","state":"NSW"},"5100":{"id":"5100","locality":"FOUR MILE CREEK","postcode":"2800","state":"NSW"},"5101":{"id":"5101","locality":"HUNTLEY","postcode":"2800","state":"NSW"},"5102":{"id":"5102","locality":"KANGAROOBIE","postcode":"2800","state":"NSW"},"5103":{"id":"5103","locality":"KERRS CREEK","postcode":"2800","state":"NSW"},"5104":{"id":"5104","locality":"LEWIS PONDS","postcode":"2800","state":"NSW"},"5105":{"id":"5105","locality":"LIDSTER","postcode":"2800","state":"NSW"},"5106":{"id":"5106","locality":"LOWER LEWIS PONDS","postcode":"2800","state":"NSW"},"5107":{"id":"5107","locality":"LUCKNOW","postcode":"2800","state":"NSW"},"5108":{"id":"5108","locality":"MARCH","postcode":"2800","state":"NSW"},"5109":{"id":"5109","locality":"MULLION CREEK","postcode":"2800","state":"NSW"},"5110":{"id":"5110","locality":"NASHDALE","postcode":"2800","state":"NSW"},"5111":{"id":"5111","locality":"OPHIR","postcode":"2800","state":"NSW"},"5112":{"id":"5112","locality":"ORANGE","postcode":"2800","state":"NSW"},"5113":{"id":"5113","locality":"ORANGE DC","postcode":"2800","state":"NSW"},"5114":{"id":"5114","locality":"ORANGE EAST","postcode":"2800","state":"NSW"},"5115":{"id":"5115","locality":"PANUARA","postcode":"2800","state":"NSW"},"5116":{"id":"5116","locality":"SHADFORTH","postcode":"2800","state":"NSW"},"5117":{"id":"5117","locality":"SPRING CREEK","postcode":"2800","state":"NSW"},"5118":{"id":"5118","locality":"SPRING HILL","postcode":"2800","state":"NSW"},"5119":{"id":"5119","locality":"SPRINGSIDE","postcode":"2800","state":"NSW"},"5120":{"id":"5120","locality":"SUMMER HILL CREEK","postcode":"2800","state":"NSW"},"5121":{"id":"5121","locality":"WALDEGRAVE","postcode":"2800","state":"NSW"},"5122":{"id":"5122","locality":"WINDERA","postcode":"2800","state":"NSW"},"5123":{"id":"5123","locality":"BENDICK MURRELL","postcode":"2803","state":"NSW"},"5124":{"id":"5124","locality":"CROWTHER","postcode":"2803","state":"NSW"},"5125":{"id":"5125","locality":"WIRRIMAH","postcode":"2803","state":"NSW"},"5126":{"id":"5126","locality":"BILLIMARI","postcode":"2804","state":"NSW"},"5127":{"id":"5127","locality":"CANOWINDRA","postcode":"2804","state":"NSW"},"5128":{"id":"5128","locality":"MOORBEL","postcode":"2804","state":"NSW"},"5129":{"id":"5129","locality":"NYRANG CREEK","postcode":"2804","state":"NSW"},"5130":{"id":"5130","locality":"GOOLOOGONG","postcode":"2805","state":"NSW"},"5131":{"id":"5131","locality":"EUGOWRA","postcode":"2806","state":"NSW"},"5132":{"id":"5132","locality":"KOORAWATHA","postcode":"2807","state":"NSW"},"5133":{"id":"5133","locality":"WYANGALA","postcode":"2808","state":"NSW"},"5134":{"id":"5134","locality":"GREENETHORPE","postcode":"2809","state":"NSW"},"5135":{"id":"5135","locality":"BIMBI","postcode":"2810","state":"NSW"},"5136":{"id":"5136","locality":"CARAGABAL","postcode":"2810","state":"NSW"},"5137":{"id":"5137","locality":"GLENELG","postcode":"2810","state":"NSW"},"5138":{"id":"5138","locality":"GRENFELL","postcode":"2810","state":"NSW"},"5139":{"id":"5139","locality":"PINEY RANGE","postcode":"2810","state":"NSW"},"5140":{"id":"5140","locality":"PINNACLE","postcode":"2810","state":"NSW"},"5141":{"id":"5141","locality":"PULLABOOKA","postcode":"2810","state":"NSW"},"5142":{"id":"5142","locality":"WARRADERRY","postcode":"2810","state":"NSW"},"5143":{"id":"5143","locality":"GEURIE","postcode":"2818","state":"NSW"},"5144":{"id":"5144","locality":"NUBINGERIE","postcode":"2818","state":"NSW"},"5145":{"id":"5145","locality":"PONTO","postcode":"2818","state":"NSW"},"5146":{"id":"5146","locality":"TERRABELLA","postcode":"2818","state":"NSW"},"5147":{"id":"5147","locality":"APSLEY","postcode":"2820","state":"NSW"},"5148":{"id":"5148","locality":"ARTHURVILLE","postcode":"2820","state":"NSW"},"5149":{"id":"5149","locality":"BAKERS SWAMP","postcode":"2820","state":"NSW"},"5150":{"id":"5150","locality":"BODANGORA","postcode":"2820","state":"NSW"},"5151":{"id":"5151","locality":"COMOBELLA","postcode":"2820","state":"NSW"},"5152":{"id":"5152","locality":"CURRA CREEK","postcode":"2820","state":"NSW"},"5153":{"id":"5153","locality":"DRIPSTONE","postcode":"2820","state":"NSW"},"5154":{"id":"5154","locality":"FARNHAM","postcode":"2820","state":"NSW"},"5155":{"id":"5155","locality":"GOLLAN","postcode":"2820","state":"NSW"},"5156":{"id":"5156","locality":"LAKE BURRENDONG","postcode":"2820","state":"NSW"},"5157":{"id":"5157","locality":"MARYVALE","postcode":"2820","state":"NSW"},"5158":{"id":"5158","locality":"MEDWAY","postcode":"2820","state":"NSW"},"5159":{"id":"5159","locality":"MONTEFIORES","postcode":"2820","state":"NSW"},"5160":{"id":"5160","locality":"MOOKERAWA","postcode":"2820","state":"NSW"},"5161":{"id":"5161","locality":"MOUNT AQUILA","postcode":"2820","state":"NSW"},"5162":{"id":"5162","locality":"MOUNT ARTHUR","postcode":"2820","state":"NSW"},"5163":{"id":"5163","locality":"MUMBIL","postcode":"2820","state":"NSW"},"5164":{"id":"5164","locality":"NEUREA","postcode":"2820","state":"NSW"},"5165":{"id":"5165","locality":"SPICERS CREEK","postcode":"2820","state":"NSW"},"5166":{"id":"5166","locality":"STUART TOWN","postcode":"2820","state":"NSW"},"5167":{"id":"5167","locality":"SUNTOP","postcode":"2820","state":"NSW"},"5168":{"id":"5168","locality":"WALMER","postcode":"2820","state":"NSW"},"5169":{"id":"5169","locality":"WELLINGTON","postcode":"2820","state":"NSW"},"5170":{"id":"5170","locality":"WUULUMAN","postcode":"2820","state":"NSW"},"5171":{"id":"5171","locality":"YARRAGAL","postcode":"2820","state":"NSW"},"5172":{"id":"5172","locality":"BURROWAY","postcode":"2821","state":"NSW"},"5173":{"id":"5173","locality":"NARROMINE","postcode":"2821","state":"NSW"},"5174":{"id":"5174","locality":"BUNDEMAR","postcode":"2823","state":"NSW"},"5175":{"id":"5175","locality":"CATHUNDRAL","postcode":"2823","state":"NSW"},"5176":{"id":"5176","locality":"DANDALOO","postcode":"2823","state":"NSW"},"5177":{"id":"5177","locality":"GIN GIN","postcode":"2823","state":"NSW"},"5178":{"id":"5178","locality":"TRANGIE","postcode":"2823","state":"NSW"},"5179":{"id":"5179","locality":"BEEMUNNEL","postcode":"2824","state":"NSW"},"5180":{"id":"5180","locality":"BULLAGREEN","postcode":"2824","state":"NSW"},"5181":{"id":"5181","locality":"EENAWEENA","postcode":"2824","state":"NSW"},"5182":{"id":"5182","locality":"MARTHAGUY","postcode":"2824","state":"NSW"},"5183":{"id":"5183","locality":"MOUNT FOSTER","postcode":"2824","state":"NSW"},"5184":{"id":"5184","locality":"MOUNT HARRIS","postcode":"2824","state":"NSW"},"5185":{"id":"5185","locality":"MUMBLEBONE PLAIN","postcode":"2824","state":"NSW"},"5186":{"id":"5186","locality":"OXLEY","postcode":"2824","state":"NSW"},"5187":{"id":"5187","locality":"PIGEONBAH","postcode":"2824","state":"NSW"},"5188":{"id":"5188","locality":"PINE CLUMP","postcode":"2824","state":"NSW"},"5189":{"id":"5189","locality":"RAVENSWOOD","postcode":"2824","state":"NSW"},"5190":{"id":"5190","locality":"RED HILL","postcode":"2824","state":"NSW"},"5191":{"id":"5191","locality":"SNAKES PLAIN","postcode":"2824","state":"NSW"},"5192":{"id":"5192","locality":"TENANDRA","postcode":"2824","state":"NSW"},"5193":{"id":"5193","locality":"WARREN","postcode":"2824","state":"NSW"},"5194":{"id":"5194","locality":"BABINDA","postcode":"2825","state":"NSW"},"5195":{"id":"5195","locality":"BUDDABADAH","postcode":"2825","state":"NSW"},"5196":{"id":"5196","locality":"CANONBA","postcode":"2825","state":"NSW"},"5197":{"id":"5197","locality":"HONEYBUGLE","postcode":"2825","state":"NSW"},"5198":{"id":"5198","locality":"MIANDETTA","postcode":"2825","state":"NSW"},"5199":{"id":"5199","locality":"MULLA","postcode":"2825","state":"NSW"},"5200":{"id":"5200","locality":"MULLENGUDGERY","postcode":"2825","state":"NSW"},"5201":{"id":"5201","locality":"MURRAWOMBIE","postcode":"2825","state":"NSW"},"5202":{"id":"5202","locality":"NYNGAN","postcode":"2825","state":"NSW"},"5203":{"id":"5203","locality":"PANGEE","postcode":"2825","state":"NSW"},"5204":{"id":"5204","locality":"BOGAN","postcode":"2826","state":"NSW"},"5205":{"id":"5205","locality":"NEVERTIRE","postcode":"2826","state":"NSW"},"5206":{"id":"5206","locality":"BEARBONG","postcode":"2827","state":"NSW"},"5207":{"id":"5207","locality":"BIDDON","postcode":"2827","state":"NSW"},"5208":{"id":"5208","locality":"BREELONG","postcode":"2827","state":"NSW"},"5209":{"id":"5209","locality":"COLLIE","postcode":"2827","state":"NSW"},"5210":{"id":"5210","locality":"CURBAN","postcode":"2827","state":"NSW"},"5211":{"id":"5211","locality":"GILGANDRA","postcode":"2827","state":"NSW"},"5212":{"id":"5212","locality":"MERRIGAL","postcode":"2827","state":"NSW"},"5213":{"id":"5213","locality":"ARMATREE","postcode":"2828","state":"NSW"},"5214":{"id":"5214","locality":"BLACK HOLLOW","postcode":"2828","state":"NSW"},"5215":{"id":"5215","locality":"BOURBAH","postcode":"2828","state":"NSW"},"5216":{"id":"5216","locality":"GULARGAMBONE","postcode":"2828","state":"NSW"},"5217":{"id":"5217","locality":"MOUNT TENANDRA","postcode":"2828","state":"NSW"},"5218":{"id":"5218","locality":"QUANDA","postcode":"2828","state":"NSW"},"5219":{"id":"5219","locality":"TONDERBURINE","postcode":"2828","state":"NSW"},"5220":{"id":"5220","locality":"WARRUMBUNGLE","postcode":"2828","state":"NSW"},"5221":{"id":"5221","locality":"BILLEROY","postcode":"2829","state":"NSW"},"5222":{"id":"5222","locality":"COMBARA","postcode":"2829","state":"NSW"},"5223":{"id":"5223","locality":"CONIMBIA","postcode":"2829","state":"NSW"},"5224":{"id":"5224","locality":"COONAMBLE","postcode":"2829","state":"NSW"},"5225":{"id":"5225","locality":"GILGOOMA","postcode":"2829","state":"NSW"},"5226":{"id":"5226","locality":"GUNGALMAN","postcode":"2829","state":"NSW"},"5227":{"id":"5227","locality":"MAGOMETON","postcode":"2829","state":"NSW"},"5228":{"id":"5228","locality":"NEBEA","postcode":"2829","state":"NSW"},"5229":{"id":"5229","locality":"PINE GROVE","postcode":"2829","state":"NSW"},"5230":{"id":"5230","locality":"TERIDGERIE","postcode":"2829","state":"NSW"},"5231":{"id":"5231","locality":"TOOLOON","postcode":"2829","state":"NSW"},"5232":{"id":"5232","locality":"URAWILKIE","postcode":"2829","state":"NSW"},"5233":{"id":"5233","locality":"WINGADEE","postcode":"2829","state":"NSW"},"5234":{"id":"5234","locality":"BALLIMORE","postcode":"2830","state":"NSW"},"5235":{"id":"5235","locality":"BARBIGAL","postcode":"2830","state":"NSW"},"5236":{"id":"5236","locality":"BENI","postcode":"2830","state":"NSW"},"5237":{"id":"5237","locality":"BOOTHENBA","postcode":"2830","state":"NSW"},"5238":{"id":"5238","locality":"BROCKLEHURST","postcode":"2830","state":"NSW"},"5239":{"id":"5239","locality":"BRUAH","postcode":"2830","state":"NSW"},"5240":{"id":"5240","locality":"BUNGLEGUMBIE","postcode":"2830","state":"NSW"},"5241":{"id":"5241","locality":"BURRABADINE","postcode":"2830","state":"NSW"},"5242":{"id":"5242","locality":"BUTLERS FALLS","postcode":"2830","state":"NSW"},"5243":{"id":"5243","locality":"COOLBAGGIE","postcode":"2830","state":"NSW"},"5244":{"id":"5244","locality":"CUMBOOGLE","postcode":"2830","state":"NSW"},"5245":{"id":"5245","locality":"DUBBO","postcode":"2830","state":"NSW"},"5246":{"id":"5246","locality":"DUBBO DC","postcode":"2830","state":"NSW"},"5247":{"id":"5247","locality":"DUBBO EAST","postcode":"2830","state":"NSW"},"5248":{"id":"5248","locality":"DUBBO GROVE","postcode":"2830","state":"NSW"},"5249":{"id":"5249","locality":"DUBBO WEST","postcode":"2830","state":"NSW"},"5250":{"id":"5250","locality":"ESCHOL","postcode":"2830","state":"NSW"},"5251":{"id":"5251","locality":"EULOMOGO","postcode":"2830","state":"NSW"},"5252":{"id":"5252","locality":"GLENGERRA","postcode":"2830","state":"NSW"},"5253":{"id":"5253","locality":"GOONOO FOREST","postcode":"2830","state":"NSW"},"5254":{"id":"5254","locality":"JONES CREEK","postcode":"2830","state":"NSW"},"5255":{"id":"5255","locality":"KICKABIL","postcode":"2830","state":"NSW"},"5256":{"id":"5256","locality":"MINORE","postcode":"2830","state":"NSW"},"5257":{"id":"5257","locality":"MOGRIGUY","postcode":"2830","state":"NSW"},"5258":{"id":"5258","locality":"MOUNTAIN CREEK","postcode":"2830","state":"NSW"},"5259":{"id":"5259","locality":"MURONBUNG","postcode":"2830","state":"NSW"},"5260":{"id":"5260","locality":"MURRUMBIDGERIE","postcode":"2830","state":"NSW"},"5261":{"id":"5261","locality":"RAWSONVILLE","postcode":"2830","state":"NSW"},"5262":{"id":"5262","locality":"TERRAMUNGAMINE","postcode":"2830","state":"NSW"},"5263":{"id":"5263","locality":"TOONGI","postcode":"2830","state":"NSW"},"5264":{"id":"5264","locality":"WAMBANGALANG","postcode":"2830","state":"NSW"},"5265":{"id":"5265","locality":"YARRABAR","postcode":"2830","state":"NSW"},"5266":{"id":"5266","locality":"BALLADORAN","postcode":"2831","state":"NSW"},"5267":{"id":"5267","locality":"BYROCK","postcode":"2831","state":"NSW"},"5268":{"id":"5268","locality":"CARINDA","postcode":"2831","state":"NSW"},"5269":{"id":"5269","locality":"COOLABAH","postcode":"2831","state":"NSW"},"5270":{"id":"5270","locality":"ELONG ELONG","postcode":"2831","state":"NSW"},"5271":{"id":"5271","locality":"EUMUNGERIE","postcode":"2831","state":"NSW"},"5272":{"id":"5272","locality":"GIRILAMBONE","postcode":"2831","state":"NSW"},"5273":{"id":"5273","locality":"HERMIDALE","postcode":"2831","state":"NSW"},"5274":{"id":"5274","locality":"MACQUARIE MARSHES","postcode":"2831","state":"NSW"},"5275":{"id":"5275","locality":"MERRYGOEN","postcode":"2831","state":"NSW"},"5276":{"id":"5276","locality":"NEILREX","postcode":"2831","state":"NSW"},"5277":{"id":"5277","locality":"NYMAGEE","postcode":"2831","state":"NSW"},"5278":{"id":"5278","locality":"QUAMBONE","postcode":"2831","state":"NSW"},"5279":{"id":"5279","locality":"THE MARRA","postcode":"2831","state":"NSW"},"5280":{"id":"5280","locality":"TOORAWEENAH","postcode":"2831","state":"NSW"},"5281":{"id":"5281","locality":"WESTELLA","postcode":"2831","state":"NSW"},"5282":{"id":"5282","locality":"WONGARBON","postcode":"2831","state":"NSW"},"5283":{"id":"5283","locality":"COME BY CHANCE","postcode":"2832","state":"NSW"},"5284":{"id":"5284","locality":"CRYON","postcode":"2832","state":"NSW"},"5285":{"id":"5285","locality":"CUMBORAH","postcode":"2832","state":"NSW"},"5286":{"id":"5286","locality":"WALGETT","postcode":"2832","state":"NSW"},"5287":{"id":"5287","locality":"COLLARENEBRI","postcode":"2833","state":"NSW"},"5288":{"id":"5288","locality":"ANGLEDOOL","postcode":"2834","state":"NSW"},"5289":{"id":"5289","locality":"LIGHTNING RIDGE","postcode":"2834","state":"NSW"},"5290":{"id":"5290","locality":"BULLA","postcode":"2835","state":"NSW"},"5291":{"id":"5291","locality":"CANBELEGO","postcode":"2835","state":"NSW"},"5292":{"id":"5292","locality":"COBAR","postcode":"2835","state":"NSW"},"5293":{"id":"5293","locality":"CUBBA","postcode":"2835","state":"NSW"},"5294":{"id":"5294","locality":"GILGUNNIA","postcode":"2835","state":"NSW"},"5295":{"id":"5295","locality":"IRYMPLE","postcode":"2835","state":"NSW"},"5296":{"id":"5296","locality":"KERRIGUNDI","postcode":"2835","state":"NSW"},"5297":{"id":"5297","locality":"KULWIN","postcode":"2835","state":"NSW"},"5298":{"id":"5298","locality":"NOONA","postcode":"2835","state":"NSW"},"5299":{"id":"5299","locality":"SANDY CREEK","postcode":"2835","state":"NSW"},"5300":{"id":"5300","locality":"TINDAREY","postcode":"2835","state":"NSW"},"5301":{"id":"5301","locality":"WHITE CLIFFS","postcode":"2836","state":"NSW"},"5302":{"id":"5302","locality":"WILCANNIA","postcode":"2836","state":"NSW"},"5303":{"id":"5303","locality":"GOODOOGA","postcode":"2838","state":"NSW"},"5304":{"id":"5304","locality":"BREWARRINA","postcode":"2839","state":"NSW"},"5305":{"id":"5305","locality":"COLLERINA","postcode":"2839","state":"NSW"},"5306":{"id":"5306","locality":"GONGOLGON","postcode":"2839","state":"NSW"},"5307":{"id":"5307","locality":"NARRAN LAKE","postcode":"2839","state":"NSW"},"5308":{"id":"5308","locality":"TALAWANTA","postcode":"2839","state":"NSW"},"5309":{"id":"5309","locality":"WEILMORINGLE","postcode":"2839","state":"NSW"},"5310":{"id":"5310","locality":"BOURKE","postcode":"2840","state":"NSW"},"5311":{"id":"5311","locality":"ENNGONIA","postcode":"2840","state":"NSW"},"5312":{"id":"5312","locality":"FORDS BRIDGE","postcode":"2840","state":"NSW"},"5313":{"id":"5313","locality":"GUMBALIE","postcode":"2840","state":"NSW"},"5314":{"id":"5314","locality":"GUNDERBOOKA","postcode":"2840","state":"NSW"},"5315":{"id":"5315","locality":"HUNGERFORD","postcode":"2840","state":"NSW"},"5316":{"id":"5316","locality":"LOUTH","postcode":"2840","state":"NSW"},"5317":{"id":"5317","locality":"NORTH BOURKE","postcode":"2840","state":"NSW"},"5318":{"id":"5318","locality":"TILPA","postcode":"2840","state":"NSW"},"5319":{"id":"5319","locality":"WANAARING","postcode":"2840","state":"NSW"},"5320":{"id":"5320","locality":"YANTABULLA","postcode":"2840","state":"NSW"},"5321":{"id":"5321","locality":"MENDOORAN","postcode":"2842","state":"NSW"},"5322":{"id":"5322","locality":"MOLLYAN","postcode":"2842","state":"NSW"},"5323":{"id":"5323","locality":"YARRAGRIN","postcode":"2842","state":"NSW"},"5324":{"id":"5324","locality":"COOLAH","postcode":"2843","state":"NSW"},"5325":{"id":"5325","locality":"BIRRIWA","postcode":"2844","state":"NSW"},"5326":{"id":"5326","locality":"DUNEDOO","postcode":"2844","state":"NSW"},"5327":{"id":"5327","locality":"LEADVILLE","postcode":"2844","state":"NSW"},"5328":{"id":"5328","locality":"WALLERAWANG","postcode":"2845","state":"NSW"},"5329":{"id":"5329","locality":"CAPERTEE","postcode":"2846","state":"NSW"},"5330":{"id":"5330","locality":"GLEN DAVIS","postcode":"2846","state":"NSW"},"5331":{"id":"5331","locality":"ROUND SWAMP","postcode":"2846","state":"NSW"},"5332":{"id":"5332","locality":"PORTLAND","postcode":"2847","state":"NSW"},"5333":{"id":"5333","locality":"BROGANS CREEK","postcode":"2848","state":"NSW"},"5334":{"id":"5334","locality":"CHARBON","postcode":"2848","state":"NSW"},"5335":{"id":"5335","locality":"CLANDULLA","postcode":"2848","state":"NSW"},"5336":{"id":"5336","locality":"KANDOS","postcode":"2848","state":"NSW"},"5337":{"id":"5337","locality":"BOGEE","postcode":"2849","state":"NSW"},"5338":{"id":"5338","locality":"BREAKFAST CREEK","postcode":"2849","state":"NSW"},"5339":{"id":"5339","locality":"BUDDEN","postcode":"2849","state":"NSW"},"5340":{"id":"5340","locality":"BYLONG","postcode":"2849","state":"NSW"},"5341":{"id":"5341","locality":"CAMBOON","postcode":"2849","state":"NSW"},"5342":{"id":"5342","locality":"CARWELL","postcode":"2849","state":"NSW"},"5343":{"id":"5343","locality":"COGGAN","postcode":"2849","state":"NSW"},"5344":{"id":"5344","locality":"COXS CREEK","postcode":"2849","state":"NSW"},"5345":{"id":"5345","locality":"COXS CROWN","postcode":"2849","state":"NSW"},"5346":{"id":"5346","locality":"DABEE","postcode":"2849","state":"NSW"},"5347":{"id":"5347","locality":"DUNGEREE","postcode":"2849","state":"NSW"},"5348":{"id":"5348","locality":"DUNVILLE LOOP","postcode":"2849","state":"NSW"},"5349":{"id":"5349","locality":"GINGHI","postcode":"2849","state":"NSW"},"5350":{"id":"5350","locality":"GLEN ALICE","postcode":"2849","state":"NSW"},"5351":{"id":"5351","locality":"GROWEE","postcode":"2849","state":"NSW"},"5352":{"id":"5352","locality":"KELGOOLA","postcode":"2849","state":"NSW"},"5353":{"id":"5353","locality":"LEE CREEK","postcode":"2849","state":"NSW"},"5354":{"id":"5354","locality":"MOUNT MARSDEN","postcode":"2849","state":"NSW"},"5355":{"id":"5355","locality":"MURRUMBO","postcode":"2849","state":"NSW"},"5356":{"id":"5356","locality":"NULLO MOUNTAIN","postcode":"2849","state":"NSW"},"5357":{"id":"5357","locality":"OLINDA","postcode":"2849","state":"NSW"},"5358":{"id":"5358","locality":"PINNACLE SWAMP","postcode":"2849","state":"NSW"},"5359":{"id":"5359","locality":"PYANGLE","postcode":"2849","state":"NSW"},"5360":{"id":"5360","locality":"REEDY CREEK","postcode":"2849","state":"NSW"},"5361":{"id":"5361","locality":"RYLSTONE","postcode":"2849","state":"NSW"},"5362":{"id":"5362","locality":"UPPER BYLONG","postcode":"2849","state":"NSW"},"5363":{"id":"5363","locality":"UPPER GROWEE","postcode":"2849","state":"NSW"},"5364":{"id":"5364","locality":"UPPER NILE","postcode":"2849","state":"NSW"},"5365":{"id":"5365","locality":"WIRRABA","postcode":"2849","state":"NSW"},"5366":{"id":"5366","locality":"AARONS PASS","postcode":"2850","state":"NSW"},"5367":{"id":"5367","locality":"APPLE TREE FLAT","postcode":"2850","state":"NSW"},"5368":{"id":"5368","locality":"AVISFORD","postcode":"2850","state":"NSW"},"5369":{"id":"5369","locality":"BARA","postcode":"2850","state":"NSW"},"5370":{"id":"5370","locality":"BARIGAN","postcode":"2850","state":"NSW"},"5371":{"id":"5371","locality":"BOCOBLE","postcode":"2850","state":"NSW"},"5372":{"id":"5372","locality":"BOMBIRA","postcode":"2850","state":"NSW"},"5373":{"id":"5373","locality":"BOTOBOLAR","postcode":"2850","state":"NSW"},"5374":{"id":"5374","locality":"BUCKAROO","postcode":"2850","state":"NSW"},"5375":{"id":"5375","locality":"BUDGEE BUDGEE","postcode":"2850","state":"NSW"},"5376":{"id":"5376","locality":"BURRUNDULLA","postcode":"2850","state":"NSW"},"5377":{"id":"5377","locality":"CAERLEON","postcode":"2850","state":"NSW"},"5378":{"id":"5378","locality":"CANADIAN LEAD","postcode":"2850","state":"NSW"},"5379":{"id":"5379","locality":"CARCALGONG","postcode":"2850","state":"NSW"},"5380":{"id":"5380","locality":"COLLINGWOOD","postcode":"2850","state":"NSW"},"5381":{"id":"5381","locality":"COOKS GAP","postcode":"2850","state":"NSW"},"5382":{"id":"5382","locality":"COOYAL","postcode":"2850","state":"NSW"},"5383":{"id":"5383","locality":"CROSS ROADS","postcode":"2850","state":"NSW"},"5384":{"id":"5384","locality":"CUDGEGONG","postcode":"2850","state":"NSW"},"5385":{"id":"5385","locality":"CULLENBONE","postcode":"2850","state":"NSW"},"5386":{"id":"5386","locality":"CUMBO","postcode":"2850","state":"NSW"},"5387":{"id":"5387","locality":"ERUDGERE","postcode":"2850","state":"NSW"},"5388":{"id":"5388","locality":"EURUNDEREE","postcode":"2850","state":"NSW"},"5389":{"id":"5389","locality":"FROG ROCK","postcode":"2850","state":"NSW"},"5390":{"id":"5390","locality":"GALAMBINE","postcode":"2850","state":"NSW"},"5391":{"id":"5391","locality":"GRATTAI","postcode":"2850","state":"NSW"},"5392":{"id":"5392","locality":"GREEN GULLY","postcode":"2850","state":"NSW"},"5393":{"id":"5393","locality":"HARGRAVES","postcode":"2850","state":"NSW"},"5394":{"id":"5394","locality":"HAVILAH","postcode":"2850","state":"NSW"},"5395":{"id":"5395","locality":"HAYES GAP","postcode":"2850","state":"NSW"},"5396":{"id":"5396","locality":"HILL END","postcode":"2850","state":"NSW"},"5397":{"id":"5397","locality":"HOME RULE","postcode":"2850","state":"NSW"},"5398":{"id":"5398","locality":"ILFORD","postcode":"2850","state":"NSW"},"5399":{"id":"5399","locality":"KAINS FLAT","postcode":"2850","state":"NSW"},"5400":{"id":"5400","locality":"LINBURN","postcode":"2850","state":"NSW"},"5401":{"id":"5401","locality":"LUE","postcode":"2850","state":"NSW"},"5402":{"id":"5402","locality":"MAITLAND BAR","postcode":"2850","state":"NSW"},"5403":{"id":"5403","locality":"MENAH","postcode":"2850","state":"NSW"},"5404":{"id":"5404","locality":"MEROO","postcode":"2850","state":"NSW"},"5405":{"id":"5405","locality":"MILROY","postcode":"2850","state":"NSW"},"5406":{"id":"5406","locality":"MOGO","postcode":"2850","state":"NSW"},"5407":{"id":"5407","locality":"MONIVAE","postcode":"2850","state":"NSW"},"5408":{"id":"5408","locality":"MOOLARBEN","postcode":"2850","state":"NSW"},"5409":{"id":"5409","locality":"MOUNT FROME","postcode":"2850","state":"NSW"},"5410":{"id":"5410","locality":"MOUNT KNOWLES","postcode":"2850","state":"NSW"},"5411":{"id":"5411","locality":"MUDGEE","postcode":"2850","state":"NSW"},"5412":{"id":"5412","locality":"MULLAMUDDY","postcode":"2850","state":"NSW"},"5413":{"id":"5413","locality":"MUNGHORN","postcode":"2850","state":"NSW"},"5414":{"id":"5414","locality":"PIAMBONG","postcode":"2850","state":"NSW"},"5415":{"id":"5415","locality":"PUTTA BUCCA","postcode":"2850","state":"NSW"},"5416":{"id":"5416","locality":"PYRAMUL","postcode":"2850","state":"NSW"},"5417":{"id":"5417","locality":"QUEENS PINCH","postcode":"2850","state":"NSW"},"5418":{"id":"5418","locality":"RIVERLEA","postcode":"2850","state":"NSW"},"5419":{"id":"5419","locality":"RUNNING STREAM","postcode":"2850","state":"NSW"},"5420":{"id":"5420","locality":"SALLYS FLAT","postcode":"2850","state":"NSW"},"5421":{"id":"5421","locality":"SPRING FLAT","postcode":"2850","state":"NSW"},"5422":{"id":"5422","locality":"ST FILLANS","postcode":"2850","state":"NSW"},"5423":{"id":"5423","locality":"STONY CREEK","postcode":"2850","state":"NSW"},"5424":{"id":"5424","locality":"TAMBAROORA","postcode":"2850","state":"NSW"},"5425":{"id":"5425","locality":"TICHULAR","postcode":"2850","state":"NSW"},"5426":{"id":"5426","locality":"TOTNES VALLEY","postcode":"2850","state":"NSW"},"5427":{"id":"5427","locality":"TRIAMBLE","postcode":"2850","state":"NSW"},"5428":{"id":"5428","locality":"TURILL","postcode":"2850","state":"NSW"},"5429":{"id":"5429","locality":"TWELVE MILE","postcode":"2850","state":"NSW"},"5430":{"id":"5430","locality":"ULAN","postcode":"2850","state":"NSW"},"5431":{"id":"5431","locality":"ULLAMALLA","postcode":"2850","state":"NSW"},"5432":{"id":"5432","locality":"WILBETREE","postcode":"2850","state":"NSW"},"5433":{"id":"5433","locality":"WILPINJONG","postcode":"2850","state":"NSW"},"5434":{"id":"5434","locality":"WINDEYER","postcode":"2850","state":"NSW"},"5435":{"id":"5435","locality":"WOLLAR","postcode":"2850","state":"NSW"},"5436":{"id":"5436","locality":"WORLDS END","postcode":"2850","state":"NSW"},"5437":{"id":"5437","locality":"YARRABIN","postcode":"2850","state":"NSW"},"5438":{"id":"5438","locality":"YARRAWONGA","postcode":"2850","state":"NSW"},"5439":{"id":"5439","locality":"BARNEYS REEF","postcode":"2852","state":"NSW"},"5440":{"id":"5440","locality":"BERYL","postcode":"2852","state":"NSW"},"5441":{"id":"5441","locality":"BUNGABA","postcode":"2852","state":"NSW"},"5442":{"id":"5442","locality":"COPE","postcode":"2852","state":"NSW"},"5443":{"id":"5443","locality":"CUMBANDRY","postcode":"2852","state":"NSW"},"5444":{"id":"5444","locality":"GOOLMA","postcode":"2852","state":"NSW"},"5445":{"id":"5445","locality":"GULGONG","postcode":"2852","state":"NSW"},"5446":{"id":"5446","locality":"GUNTAWANG","postcode":"2852","state":"NSW"},"5447":{"id":"5447","locality":"MEBUL","postcode":"2852","state":"NSW"},"5448":{"id":"5448","locality":"MEROTHERIE","postcode":"2852","state":"NSW"},"5449":{"id":"5449","locality":"STUBBO","postcode":"2852","state":"NSW"},"5450":{"id":"5450","locality":"TALLAWANG","postcode":"2852","state":"NSW"},"5451":{"id":"5451","locality":"TWO MILE FLAT","postcode":"2852","state":"NSW"},"5452":{"id":"5452","locality":"BOWAN PARK","postcode":"2864","state":"NSW"},"5453":{"id":"5453","locality":"CUDAL","postcode":"2864","state":"NSW"},"5454":{"id":"5454","locality":"MURGA","postcode":"2864","state":"NSW"},"5455":{"id":"5455","locality":"TOOGONG","postcode":"2864","state":"NSW"},"5456":{"id":"5456","locality":"BOCOBRA","postcode":"2865","state":"NSW"},"5457":{"id":"5457","locality":"GUMBLE","postcode":"2865","state":"NSW"},"5458":{"id":"5458","locality":"MANILDRA","postcode":"2865","state":"NSW"},"5459":{"id":"5459","locality":"AMAROO","postcode":"2866","state":"NSW"},"5460":{"id":"5460","locality":"BOOMEY","postcode":"2866","state":"NSW"},"5461":{"id":"5461","locality":"CUNDUMBUL","postcode":"2866","state":"NSW"},"5462":{"id":"5462","locality":"EUCHAREENA","postcode":"2866","state":"NSW"},"5463":{"id":"5463","locality":"GARRA","postcode":"2866","state":"NSW"},"5464":{"id":"5464","locality":"LARRAS LEE","postcode":"2866","state":"NSW"},"5465":{"id":"5465","locality":"MOLONG","postcode":"2866","state":"NSW"},"5466":{"id":"5466","locality":"BALDRY","postcode":"2867","state":"NSW"},"5467":{"id":"5467","locality":"CUMNOCK","postcode":"2867","state":"NSW"},"5468":{"id":"5468","locality":"EURIMBLA","postcode":"2867","state":"NSW"},"5469":{"id":"5469","locality":"LOOMBAH","postcode":"2867","state":"NSW"},"5470":{"id":"5470","locality":"YULLUNDRY","postcode":"2867","state":"NSW"},"5471":{"id":"5471","locality":"BOURNEWOOD","postcode":"2868","state":"NSW"},"5472":{"id":"5472","locality":"LITTLE RIVER","postcode":"2868","state":"NSW"},"5473":{"id":"5473","locality":"NORTH YEOVAL","postcode":"2868","state":"NSW"},"5474":{"id":"5474","locality":"OBLEY","postcode":"2868","state":"NSW"},"5475":{"id":"5475","locality":"UPPER OBLEY","postcode":"2868","state":"NSW"},"5476":{"id":"5476","locality":"YEOVAL","postcode":"2868","state":"NSW"},"5477":{"id":"5477","locality":"PEAK HILL","postcode":"2869","state":"NSW"},"5478":{"id":"5478","locality":"TOMINGLEY","postcode":"2869","state":"NSW"},"5479":{"id":"5479","locality":"TREWILGA","postcode":"2869","state":"NSW"},"5480":{"id":"5480","locality":"ALECTOWN","postcode":"2870","state":"NSW"},"5481":{"id":"5481","locality":"BUMBERRY","postcode":"2870","state":"NSW"},"5482":{"id":"5482","locality":"COOKAMIDGERA","postcode":"2870","state":"NSW"},"5483":{"id":"5483","locality":"COOKS MYALLS","postcode":"2870","state":"NSW"},"5484":{"id":"5484","locality":"DAROOBALGIE","postcode":"2870","state":"NSW"},"5485":{"id":"5485","locality":"GOONUMBLA","postcode":"2870","state":"NSW"},"5486":{"id":"5486","locality":"MANDAGERY","postcode":"2870","state":"NSW"},"5487":{"id":"5487","locality":"PARKES","postcode":"2870","state":"NSW"},"5488":{"id":"5488","locality":"TICHBORNE","postcode":"2870","state":"NSW"},"5489":{"id":"5489","locality":"BEDGERABONG","postcode":"2871","state":"NSW"},"5490":{"id":"5490","locality":"CORINELLA","postcode":"2871","state":"NSW"},"5491":{"id":"5491","locality":"FAIRHOLME","postcode":"2871","state":"NSW"},"5492":{"id":"5492","locality":"FORBES","postcode":"2871","state":"NSW"},"5493":{"id":"5493","locality":"GAREMA","postcode":"2871","state":"NSW"},"5494":{"id":"5494","locality":"GUNNING GAP","postcode":"2871","state":"NSW"},"5495":{"id":"5495","locality":"JEMALONG","postcode":"2871","state":"NSW"},"5496":{"id":"5496","locality":"MULYANDRY","postcode":"2871","state":"NSW"},"5497":{"id":"5497","locality":"OOMA","postcode":"2871","state":"NSW"},"5498":{"id":"5498","locality":"PAYTENS BRIDGE","postcode":"2871","state":"NSW"},"5499":{"id":"5499","locality":"WARROO","postcode":"2871","state":"NSW"},"5500":{"id":"5500","locality":"WIRRINYA","postcode":"2871","state":"NSW"},"5501":{"id":"5501","locality":"ALBERT","postcode":"2873","state":"NSW"},"5502":{"id":"5502","locality":"FIVE WAYS","postcode":"2873","state":"NSW"},"5503":{"id":"5503","locality":"MIAMLEY","postcode":"2873","state":"NSW"},"5504":{"id":"5504","locality":"TOTTENHAM","postcode":"2873","state":"NSW"},"5505":{"id":"5505","locality":"TULLAMORE","postcode":"2874","state":"NSW"},"5506":{"id":"5506","locality":"BRUIE PLAINS","postcode":"2875","state":"NSW"},"5507":{"id":"5507","locality":"FIFIELD","postcode":"2875","state":"NSW"},"5508":{"id":"5508","locality":"OOTHA","postcode":"2875","state":"NSW"},"5509":{"id":"5509","locality":"TRUNDLE","postcode":"2875","state":"NSW"},"5510":{"id":"5510","locality":"YARRABANDAI","postcode":"2875","state":"NSW"},"5511":{"id":"5511","locality":"BOGAN GATE","postcode":"2876","state":"NSW"},"5512":{"id":"5512","locality":"GUNNINGBLAND","postcode":"2876","state":"NSW"},"5513":{"id":"5513","locality":"NELUNGALOO","postcode":"2876","state":"NSW"},"5514":{"id":"5514","locality":"BOBADAH","postcode":"2877","state":"NSW"},"5515":{"id":"5515","locality":"BOONA MOUNT","postcode":"2877","state":"NSW"},"5516":{"id":"5516","locality":"CONDOBOLIN","postcode":"2877","state":"NSW"},"5517":{"id":"5517","locality":"DERRIWONG","postcode":"2877","state":"NSW"},"5518":{"id":"5518","locality":"EREMERANG","postcode":"2877","state":"NSW"},"5519":{"id":"5519","locality":"EUABALONG","postcode":"2877","state":"NSW"},"5520":{"id":"5520","locality":"EUABALONG WEST","postcode":"2877","state":"NSW"},"5521":{"id":"5521","locality":"KIACATOO","postcode":"2877","state":"NSW"},"5522":{"id":"5522","locality":"MOUNT HOPE","postcode":"2877","state":"NSW"},"5523":{"id":"5523","locality":"MULGUTHRIE","postcode":"2877","state":"NSW"},"5524":{"id":"5524","locality":"IVANHOE","postcode":"2878","state":"NSW"},"5525":{"id":"5525","locality":"MOSSGIEL","postcode":"2878","state":"NSW"},"5526":{"id":"5526","locality":"MENINDEE","postcode":"2879","state":"NSW"},"5527":{"id":"5527","locality":"SUNSET STRIP","postcode":"2879","state":"NSW"},"5528":{"id":"5528","locality":"BROKEN HILL","postcode":"2880","state":"NSW"},"5529":{"id":"5529","locality":"BROKEN HILL NORTH","postcode":"2880","state":"NSW"},"5530":{"id":"5530","locality":"BROKEN HILL WEST","postcode":"2880","state":"NSW"},"5531":{"id":"5531","locality":"BROUGHAMS GATE","postcode":"2880","state":"NSW"},"5532":{"id":"5532","locality":"FOWLERS GAP","postcode":"2880","state":"NSW"},"5533":{"id":"5533","locality":"LITTLE TOPAR","postcode":"2880","state":"NSW"},"5534":{"id":"5534","locality":"MILPARINKA","postcode":"2880","state":"NSW"},"5535":{"id":"5535","locality":"MUTAWINTJI","postcode":"2880","state":"NSW"},"5536":{"id":"5536","locality":"PACKSADDLE","postcode":"2880","state":"NSW"},"5537":{"id":"5537","locality":"SILVERTON","postcode":"2880","state":"NSW"},"5538":{"id":"5538","locality":"SOUTH BROKEN HILL","postcode":"2880","state":"NSW"},"5539":{"id":"5539","locality":"TIBOOBURRA","postcode":"2880","state":"NSW"},"5540":{"id":"5540","locality":"AUSTRALIAN DEFENCE FORCES","postcode":"2890","state":"NSW"},"5541":{"id":"5541","locality":"SYDNEY GATEWAY FACILITY","postcode":"2891","state":"NSW"},"5542":{"id":"5542","locality":"LORD HOWE ISLAND","postcode":"2898","state":"NSW"},"5543":{"id":"5543","locality":"NORFOLK ISLAND","postcode":"2899","state":"NSW"},"5544":{"id":"5544","locality":"GREENWAY","postcode":"2900","state":"ACT"},"5545":{"id":"5545","locality":"TUGGERANONG","postcode":"2900","state":"ACT"},"5546":{"id":"5546","locality":"TUGGERANONG DC","postcode":"2901","state":"ACT"},"5547":{"id":"5547","locality":"KAMBAH","postcode":"2902","state":"ACT"},"5548":{"id":"5548","locality":"KAMBAH VILLAGE","postcode":"2902","state":"ACT"},"5549":{"id":"5549","locality":"ERINDALE CENTRE","postcode":"2903","state":"ACT"},"5550":{"id":"5550","locality":"OXLEY","postcode":"2903","state":"ACT"},"5551":{"id":"5551","locality":"WANNIASSA","postcode":"2903","state":"ACT"},"5552":{"id":"5552","locality":"FADDEN","postcode":"2904","state":"ACT"},"5553":{"id":"5553","locality":"GOWRIE","postcode":"2904","state":"ACT"},"5554":{"id":"5554","locality":"MACARTHUR","postcode":"2904","state":"ACT"},"5555":{"id":"5555","locality":"MONASH","postcode":"2904","state":"ACT"},"5556":{"id":"5556","locality":"BONYTHON","postcode":"2905","state":"ACT"},"5557":{"id":"5557","locality":"CALWELL","postcode":"2905","state":"ACT"},"5558":{"id":"5558","locality":"CHISHOLM","postcode":"2905","state":"ACT"},"5559":{"id":"5559","locality":"GILMORE","postcode":"2905","state":"ACT"},"5560":{"id":"5560","locality":"ISABELLA PLAINS","postcode":"2905","state":"ACT"},"5561":{"id":"5561","locality":"RICHARDSON","postcode":"2905","state":"ACT"},"5562":{"id":"5562","locality":"THEODORE","postcode":"2905","state":"ACT"},"5563":{"id":"5563","locality":"BANKS","postcode":"2906","state":"ACT"},"5564":{"id":"5564","locality":"CONDER","postcode":"2906","state":"ACT"},"5565":{"id":"5565","locality":"GORDON","postcode":"2906","state":"ACT"},"5566":{"id":"5566","locality":"CRACE","postcode":"2911","state":"ACT"},"5567":{"id":"5567","locality":"MITCHELL","postcode":"2911","state":"ACT"},"5568":{"id":"5568","locality":"GUNGAHLIN","postcode":"2912","state":"ACT"},"5569":{"id":"5569","locality":"CASEY","postcode":"2913","state":"ACT"},"5570":{"id":"5570","locality":"FRANKLIN","postcode":"2913","state":"ACT"},"5571":{"id":"5571","locality":"GINNINDERRA VILLAGE","postcode":"2913","state":"ACT"},"5572":{"id":"5572","locality":"KINLYSIDE","postcode":"2913","state":"ACT"},"5573":{"id":"5573","locality":"NGUNNAWAL","postcode":"2913","state":"ACT"},"5574":{"id":"5574","locality":"NICHOLLS","postcode":"2913","state":"ACT"},"5575":{"id":"5575","locality":"PALMERSTON","postcode":"2913","state":"ACT"},"5576":{"id":"5576","locality":"TAYLOR","postcode":"2913","state":"ACT"},"5577":{"id":"5577","locality":"AMAROO","postcode":"2914","state":"ACT"},"5578":{"id":"5578","locality":"BONNER","postcode":"2914","state":"ACT"},"5579":{"id":"5579","locality":"FORDE","postcode":"2914","state":"ACT"},"5580":{"id":"5580","locality":"HARRISON","postcode":"2914","state":"ACT"},"5581":{"id":"5581","locality":"MONCRIEFF","postcode":"2914","state":"ACT"},"5582":{"id":"5582","locality":"MELBOURNE","postcode":"3000","state":"VIC"},"5583":{"id":"5583","locality":"MELBOURNE","postcode":"3001","state":"VIC"},"5584":{"id":"5584","locality":"EAST MELBOURNE","postcode":"3002","state":"VIC"},"5585":{"id":"5585","locality":"WEST MELBOURNE","postcode":"3003","state":"VIC"},"5586":{"id":"5586","locality":"MELBOURNE","postcode":"3004","state":"VIC"},"5587":{"id":"5587","locality":"ST KILDA ROAD CENTRAL","postcode":"3004","state":"VIC"},"5588":{"id":"5588","locality":"ST KILDA ROAD MELBOURNE","postcode":"3004","state":"VIC"},"5589":{"id":"5589","locality":"WORLD TRADE CENTRE","postcode":"3005","state":"VIC"},"5590":{"id":"5590","locality":"SOUTH WHARF","postcode":"3006","state":"VIC"},"5591":{"id":"5591","locality":"SOUTHBANK","postcode":"3006","state":"VIC"},"5592":{"id":"5592","locality":"DOCKLANDS","postcode":"3008","state":"VIC"},"5593":{"id":"5593","locality":"UNIVERSITY OF MELBOURNE","postcode":"3010","state":"VIC"},"5594":{"id":"5594","locality":"FOOTSCRAY","postcode":"3011","state":"VIC"},"5595":{"id":"5595","locality":"SEDDON","postcode":"3011","state":"VIC"},"5596":{"id":"5596","locality":"SEDDON WEST","postcode":"3011","state":"VIC"},"5597":{"id":"5597","locality":"BROOKLYN","postcode":"3012","state":"VIC"},"5598":{"id":"5598","locality":"KINGSVILLE","postcode":"3012","state":"VIC"},"5599":{"id":"5599","locality":"MAIDSTONE","postcode":"3012","state":"VIC"},"5600":{"id":"5600","locality":"TOTTENHAM","postcode":"3012","state":"VIC"},"5601":{"id":"5601","locality":"WEST FOOTSCRAY","postcode":"3012","state":"VIC"},"5602":{"id":"5602","locality":"YARRAVILLE","postcode":"3013","state":"VIC"},"5603":{"id":"5603","locality":"YARRAVILLE WEST","postcode":"3013","state":"VIC"},"5604":{"id":"5604","locality":"NEWPORT","postcode":"3015","state":"VIC"},"5605":{"id":"5605","locality":"SOUTH KINGSVILLE","postcode":"3015","state":"VIC"},"5606":{"id":"5606","locality":"SPOTSWOOD","postcode":"3015","state":"VIC"},"5607":{"id":"5607","locality":"WILLIAMSTOWN","postcode":"3016","state":"VIC"},"5608":{"id":"5608","locality":"WILLIAMSTOWN NORTH","postcode":"3016","state":"VIC"},"5609":{"id":"5609","locality":"ALTONA","postcode":"3018","state":"VIC"},"5610":{"id":"5610","locality":"SEAHOLME","postcode":"3018","state":"VIC"},"5611":{"id":"5611","locality":"BRAYBROOK","postcode":"3019","state":"VIC"},"5612":{"id":"5612","locality":"ROBINSON","postcode":"3019","state":"VIC"},"5613":{"id":"5613","locality":"ALBION","postcode":"3020","state":"VIC"},"5614":{"id":"5614","locality":"GLENGALA","postcode":"3020","state":"VIC"},"5615":{"id":"5615","locality":"SUNSHINE","postcode":"3020","state":"VIC"},"5616":{"id":"5616","locality":"SUNSHINE NORTH","postcode":"3020","state":"VIC"},"5617":{"id":"5617","locality":"SUNSHINE WEST","postcode":"3020","state":"VIC"},"5618":{"id":"5618","locality":"ALBANVALE","postcode":"3021","state":"VIC"},"5619":{"id":"5619","locality":"KEALBA","postcode":"3021","state":"VIC"},"5620":{"id":"5620","locality":"KINGS PARK","postcode":"3021","state":"VIC"},"5621":{"id":"5621","locality":"ST ALBANS","postcode":"3021","state":"VIC"},"5622":{"id":"5622","locality":"ARDEER","postcode":"3022","state":"VIC"},"5623":{"id":"5623","locality":"DEER PARK EAST","postcode":"3022","state":"VIC"},"5624":{"id":"5624","locality":"BURNSIDE","postcode":"3023","state":"VIC"},"5625":{"id":"5625","locality":"BURNSIDE HEIGHTS","postcode":"3023","state":"VIC"},"5626":{"id":"5626","locality":"CAIRNLEA","postcode":"3023","state":"VIC"},"5627":{"id":"5627","locality":"CAROLINE SPRINGS","postcode":"3023","state":"VIC"},"5628":{"id":"5628","locality":"DEER PARK","postcode":"3023","state":"VIC"},"5629":{"id":"5629","locality":"DEER PARK NORTH","postcode":"3023","state":"VIC"},"5630":{"id":"5630","locality":"RAVENHALL","postcode":"3023","state":"VIC"},"5631":{"id":"5631","locality":"MAMBOURIN","postcode":"3024","state":"VIC"},"5632":{"id":"5632","locality":"MOUNT COTTRELL","postcode":"3024","state":"VIC"},"5633":{"id":"5633","locality":"WYNDHAM VALE","postcode":"3024","state":"VIC"},"5634":{"id":"5634","locality":"ALTONA EAST","postcode":"3025","state":"VIC"},"5635":{"id":"5635","locality":"ALTONA GATE","postcode":"3025","state":"VIC"},"5636":{"id":"5636","locality":"ALTONA NORTH","postcode":"3025","state":"VIC"},"5637":{"id":"5637","locality":"LAVERTON NORTH","postcode":"3026","state":"VIC"},"5638":{"id":"5638","locality":"WILLIAMS LANDING","postcode":"3027","state":"VIC"},"5639":{"id":"5639","locality":"ALTONA MEADOWS","postcode":"3028","state":"VIC"},"5640":{"id":"5640","locality":"LAVERTON","postcode":"3028","state":"VIC"},"5641":{"id":"5641","locality":"SEABROOK","postcode":"3028","state":"VIC"},"5642":{"id":"5642","locality":"HOPPERS CROSSING","postcode":"3029","state":"VIC"},"5643":{"id":"5643","locality":"TARNEIT","postcode":"3029","state":"VIC"},"5644":{"id":"5644","locality":"TRUGANINA","postcode":"3029","state":"VIC"},"5645":{"id":"5645","locality":"COCOROC","postcode":"3030","state":"VIC"},"5646":{"id":"5646","locality":"DERRIMUT","postcode":"3030","state":"VIC"},"5647":{"id":"5647","locality":"POINT COOK","postcode":"3030","state":"VIC"},"5648":{"id":"5648","locality":"QUANDONG","postcode":"3030","state":"VIC"},"5649":{"id":"5649","locality":"WERRIBEE","postcode":"3030","state":"VIC"},"5650":{"id":"5650","locality":"WERRIBEE SOUTH","postcode":"3030","state":"VIC"},"5651":{"id":"5651","locality":"FLEMINGTON","postcode":"3031","state":"VIC"},"5652":{"id":"5652","locality":"KENSINGTON","postcode":"3031","state":"VIC"},"5653":{"id":"5653","locality":"ASCOT VALE","postcode":"3032","state":"VIC"},"5654":{"id":"5654","locality":"HIGHPOINT CITY","postcode":"3032","state":"VIC"},"5655":{"id":"5655","locality":"MARIBYRNONG","postcode":"3032","state":"VIC"},"5656":{"id":"5656","locality":"TRAVANCORE","postcode":"3032","state":"VIC"},"5657":{"id":"5657","locality":"KEILOR EAST","postcode":"3033","state":"VIC"},"5658":{"id":"5658","locality":"AVONDALE HEIGHTS","postcode":"3034","state":"VIC"},"5659":{"id":"5659","locality":"KEILOR","postcode":"3036","state":"VIC"},"5660":{"id":"5660","locality":"KEILOR NORTH","postcode":"3036","state":"VIC"},"5661":{"id":"5661","locality":"CALDER PARK","postcode":"3037","state":"VIC"},"5662":{"id":"5662","locality":"DELAHEY","postcode":"3037","state":"VIC"},"5663":{"id":"5663","locality":"HILLSIDE","postcode":"3037","state":"VIC"},"5664":{"id":"5664","locality":"SYDENHAM","postcode":"3037","state":"VIC"},"5665":{"id":"5665","locality":"TAYLORS HILL","postcode":"3037","state":"VIC"},"5666":{"id":"5666","locality":"KEILOR DOWNS","postcode":"3038","state":"VIC"},"5667":{"id":"5667","locality":"KEILOR LODGE","postcode":"3038","state":"VIC"},"5668":{"id":"5668","locality":"TAYLORS LAKES","postcode":"3038","state":"VIC"},"5669":{"id":"5669","locality":"WATERGARDENS","postcode":"3038","state":"VIC"},"5670":{"id":"5670","locality":"MOONEE PONDS","postcode":"3039","state":"VIC"},"5671":{"id":"5671","locality":"ABERFELDIE","postcode":"3040","state":"VIC"},"5672":{"id":"5672","locality":"ESSENDON","postcode":"3040","state":"VIC"},"5673":{"id":"5673","locality":"ESSENDON WEST","postcode":"3040","state":"VIC"},"5674":{"id":"5674","locality":"CROSS KEYS","postcode":"3041","state":"VIC"},"5675":{"id":"5675","locality":"ESSENDON FIELDS","postcode":"3041","state":"VIC"},"5676":{"id":"5676","locality":"ESSENDON NORTH","postcode":"3041","state":"VIC"},"5677":{"id":"5677","locality":"STRATHMORE","postcode":"3041","state":"VIC"},"5678":{"id":"5678","locality":"STRATHMORE HEIGHTS","postcode":"3041","state":"VIC"},"5679":{"id":"5679","locality":"AIRPORT WEST","postcode":"3042","state":"VIC"},"5680":{"id":"5680","locality":"KEILOR PARK","postcode":"3042","state":"VIC"},"5681":{"id":"5681","locality":"NIDDRIE","postcode":"3042","state":"VIC"},"5682":{"id":"5682","locality":"NIDDRIE NORTH","postcode":"3042","state":"VIC"},"5683":{"id":"5683","locality":"GLADSTONE PARK","postcode":"3043","state":"VIC"},"5684":{"id":"5684","locality":"GOWANBRAE","postcode":"3043","state":"VIC"},"5685":{"id":"5685","locality":"TULLAMARINE","postcode":"3043","state":"VIC"},"5686":{"id":"5686","locality":"PASCOE VALE","postcode":"3044","state":"VIC"},"5687":{"id":"5687","locality":"PASCOE VALE SOUTH","postcode":"3044","state":"VIC"},"5688":{"id":"5688","locality":"MELBOURNE AIRPORT","postcode":"3045","state":"VIC"},"5689":{"id":"5689","locality":"GLENROY","postcode":"3046","state":"VIC"},"5690":{"id":"5690","locality":"HADFIELD","postcode":"3046","state":"VIC"},"5691":{"id":"5691","locality":"OAK PARK","postcode":"3046","state":"VIC"},"5692":{"id":"5692","locality":"BROADMEADOWS","postcode":"3047","state":"VIC"},"5693":{"id":"5693","locality":"DALLAS","postcode":"3047","state":"VIC"},"5694":{"id":"5694","locality":"JACANA","postcode":"3047","state":"VIC"},"5695":{"id":"5695","locality":"COOLAROO","postcode":"3048","state":"VIC"},"5696":{"id":"5696","locality":"MEADOW HEIGHTS","postcode":"3048","state":"VIC"},"5697":{"id":"5697","locality":"ATTWOOD","postcode":"3049","state":"VIC"},"5698":{"id":"5698","locality":"WESTMEADOWS","postcode":"3049","state":"VIC"},"5699":{"id":"5699","locality":"ROYAL MELBOURNE HOSPITAL","postcode":"3050","state":"VIC"},"5700":{"id":"5700","locality":"HOTHAM HILL","postcode":"3051","state":"VIC"},"5701":{"id":"5701","locality":"NORTH MELBOURNE","postcode":"3051","state":"VIC"},"5702":{"id":"5702","locality":"MELBOURNE UNIVERSITY","postcode":"3052","state":"VIC"},"5703":{"id":"5703","locality":"PARKVILLE","postcode":"3052","state":"VIC"},"5704":{"id":"5704","locality":"CARLTON","postcode":"3053","state":"VIC"},"5705":{"id":"5705","locality":"CARLTON SOUTH","postcode":"3053","state":"VIC"},"5706":{"id":"5706","locality":"CARLTON NORTH","postcode":"3054","state":"VIC"},"5707":{"id":"5707","locality":"PRINCES HILL","postcode":"3054","state":"VIC"},"5708":{"id":"5708","locality":"BRUNSWICK SOUTH","postcode":"3055","state":"VIC"},"5709":{"id":"5709","locality":"BRUNSWICK WEST","postcode":"3055","state":"VIC"},"5710":{"id":"5710","locality":"MOONEE VALE","postcode":"3055","state":"VIC"},"5711":{"id":"5711","locality":"MORELAND WEST","postcode":"3055","state":"VIC"},"5712":{"id":"5712","locality":"BRUNSWICK","postcode":"3056","state":"VIC"},"5713":{"id":"5713","locality":"BRUNSWICK LOWER","postcode":"3056","state":"VIC"},"5714":{"id":"5714","locality":"BRUNSWICK NORTH","postcode":"3056","state":"VIC"},"5715":{"id":"5715","locality":"BRUNSWICK EAST","postcode":"3057","state":"VIC"},"5716":{"id":"5716","locality":"SUMNER","postcode":"3057","state":"VIC"},"5717":{"id":"5717","locality":"BATMAN","postcode":"3058","state":"VIC"},"5718":{"id":"5718","locality":"COBURG","postcode":"3058","state":"VIC"},"5719":{"id":"5719","locality":"COBURG NORTH","postcode":"3058","state":"VIC"},"5720":{"id":"5720","locality":"MERLYNSTON","postcode":"3058","state":"VIC"},"5721":{"id":"5721","locality":"MORELAND","postcode":"3058","state":"VIC"},"5722":{"id":"5722","locality":"GREENVALE","postcode":"3059","state":"VIC"},"5723":{"id":"5723","locality":"FAWKNER","postcode":"3060","state":"VIC"},"5724":{"id":"5724","locality":"CAMPBELLFIELD","postcode":"3061","state":"VIC"},"5725":{"id":"5725","locality":"SOMERTON","postcode":"3062","state":"VIC"},"5726":{"id":"5726","locality":"OAKLANDS JUNCTION","postcode":"3063","state":"VIC"},"5727":{"id":"5727","locality":"YUROKE","postcode":"3063","state":"VIC"},"5728":{"id":"5728","locality":"CRAIGIEBURN","postcode":"3064","state":"VIC"},"5729":{"id":"5729","locality":"DONNYBROOK","postcode":"3064","state":"VIC"},"5730":{"id":"5730","locality":"KALKALLO","postcode":"3064","state":"VIC"},"5731":{"id":"5731","locality":"MICKLEHAM","postcode":"3064","state":"VIC"},"5732":{"id":"5732","locality":"ROXBURGH PARK","postcode":"3064","state":"VIC"},"5733":{"id":"5733","locality":"FITZROY","postcode":"3065","state":"VIC"},"5734":{"id":"5734","locality":"COLLINGWOOD","postcode":"3066","state":"VIC"},"5735":{"id":"5735","locality":"COLLINGWOOD NORTH","postcode":"3066","state":"VIC"},"5736":{"id":"5736","locality":"ABBOTSFORD","postcode":"3067","state":"VIC"},"5737":{"id":"5737","locality":"CLIFTON HILL","postcode":"3068","state":"VIC"},"5738":{"id":"5738","locality":"FITZROY NORTH","postcode":"3068","state":"VIC"},"5739":{"id":"5739","locality":"NORTHCOTE","postcode":"3070","state":"VIC"},"5740":{"id":"5740","locality":"NORTHCOTE SOUTH","postcode":"3070","state":"VIC"},"5741":{"id":"5741","locality":"THORNBURY","postcode":"3071","state":"VIC"},"5742":{"id":"5742","locality":"GILBERTON","postcode":"3072","state":"VIC"},"5743":{"id":"5743","locality":"NORTHLAND CENTRE","postcode":"3072","state":"VIC"},"5744":{"id":"5744","locality":"PRESTON","postcode":"3072","state":"VIC"},"5745":{"id":"5745","locality":"PRESTON LOWER","postcode":"3072","state":"VIC"},"5746":{"id":"5746","locality":"PRESTON SOUTH","postcode":"3072","state":"VIC"},"5747":{"id":"5747","locality":"PRESTON WEST","postcode":"3072","state":"VIC"},"5748":{"id":"5748","locality":"REGENT WEST","postcode":"3072","state":"VIC"},"5749":{"id":"5749","locality":"RESERVOIR","postcode":"3073","state":"VIC"},"5750":{"id":"5750","locality":"THOMASTOWN","postcode":"3074","state":"VIC"},"5751":{"id":"5751","locality":"LALOR","postcode":"3075","state":"VIC"},"5752":{"id":"5752","locality":"EPPING","postcode":"3076","state":"VIC"},"5753":{"id":"5753","locality":"ALPHINGTON","postcode":"3078","state":"VIC"},"5754":{"id":"5754","locality":"FAIRFIELD","postcode":"3078","state":"VIC"},"5755":{"id":"5755","locality":"IVANHOE","postcode":"3079","state":"VIC"},"5756":{"id":"5756","locality":"IVANHOE EAST","postcode":"3079","state":"VIC"},"5757":{"id":"5757","locality":"IVANHOE NORTH","postcode":"3079","state":"VIC"},"5758":{"id":"5758","locality":"BELLFIELD","postcode":"3081","state":"VIC"},"5759":{"id":"5759","locality":"HEIDELBERG HEIGHTS","postcode":"3081","state":"VIC"},"5760":{"id":"5760","locality":"HEIDELBERG RGH","postcode":"3081","state":"VIC"},"5761":{"id":"5761","locality":"HEIDELBERG WEST","postcode":"3081","state":"VIC"},"5762":{"id":"5762","locality":"MILL PARK","postcode":"3082","state":"VIC"},"5763":{"id":"5763","locality":"BUNDOORA","postcode":"3083","state":"VIC"},"5764":{"id":"5764","locality":"KINGSBURY","postcode":"3083","state":"VIC"},"5765":{"id":"5765","locality":"LA TROBE UNIVERSITY","postcode":"3083","state":"VIC"},"5766":{"id":"5766","locality":"BANYULE","postcode":"3084","state":"VIC"},"5767":{"id":"5767","locality":"EAGLEMONT","postcode":"3084","state":"VIC"},"5768":{"id":"5768","locality":"HEIDELBERG","postcode":"3084","state":"VIC"},"5769":{"id":"5769","locality":"ROSANNA","postcode":"3084","state":"VIC"},"5770":{"id":"5770","locality":"VIEWBANK","postcode":"3084","state":"VIC"},"5771":{"id":"5771","locality":"MACLEOD","postcode":"3085","state":"VIC"},"5772":{"id":"5772","locality":"MACLEOD WEST","postcode":"3085","state":"VIC"},"5773":{"id":"5773","locality":"YALLAMBIE","postcode":"3085","state":"VIC"},"5774":{"id":"5774","locality":"LA TROBE UNIVERSITY","postcode":"3086","state":"VIC"},"5775":{"id":"5775","locality":"WATSONIA","postcode":"3087","state":"VIC"},"5776":{"id":"5776","locality":"WATSONIA NORTH","postcode":"3087","state":"VIC"},"5777":{"id":"5777","locality":"BRIAR HILL","postcode":"3088","state":"VIC"},"5778":{"id":"5778","locality":"GREENSBOROUGH","postcode":"3088","state":"VIC"},"5779":{"id":"5779","locality":"ST HELENA","postcode":"3088","state":"VIC"},"5780":{"id":"5780","locality":"DIAMOND CREEK","postcode":"3089","state":"VIC"},"5781":{"id":"5781","locality":"PLENTY","postcode":"3090","state":"VIC"},"5782":{"id":"5782","locality":"YARRAMBAT","postcode":"3091","state":"VIC"},"5783":{"id":"5783","locality":"LOWER PLENTY","postcode":"3093","state":"VIC"},"5784":{"id":"5784","locality":"MONTMORENCY","postcode":"3094","state":"VIC"},"5785":{"id":"5785","locality":"ELTHAM","postcode":"3095","state":"VIC"},"5786":{"id":"5786","locality":"ELTHAM NORTH","postcode":"3095","state":"VIC"},"5787":{"id":"5787","locality":"RESEARCH","postcode":"3095","state":"VIC"},"5788":{"id":"5788","locality":"WATTLE GLEN","postcode":"3096","state":"VIC"},"5789":{"id":"5789","locality":"BEND OF ISLANDS","postcode":"3097","state":"VIC"},"5790":{"id":"5790","locality":"KANGAROO GROUND","postcode":"3097","state":"VIC"},"5791":{"id":"5791","locality":"WATSONS CREEK","postcode":"3097","state":"VIC"},"5792":{"id":"5792","locality":"ARTHURS CREEK","postcode":"3099","state":"VIC"},"5793":{"id":"5793","locality":"COTTLES BRIDGE","postcode":"3099","state":"VIC"},"5794":{"id":"5794","locality":"HURSTBRIDGE","postcode":"3099","state":"VIC"},"5795":{"id":"5795","locality":"NUTFIELD","postcode":"3099","state":"VIC"},"5796":{"id":"5796","locality":"STRATHEWEN","postcode":"3099","state":"VIC"},"5797":{"id":"5797","locality":"COTHAM","postcode":"3101","state":"VIC"},"5798":{"id":"5798","locality":"KEW","postcode":"3101","state":"VIC"},"5799":{"id":"5799","locality":"KEW EAST","postcode":"3102","state":"VIC"},"5800":{"id":"5800","locality":"BALWYN","postcode":"3103","state":"VIC"},"5801":{"id":"5801","locality":"BALWYN EAST","postcode":"3103","state":"VIC"},"5802":{"id":"5802","locality":"DEEPDENE","postcode":"3103","state":"VIC"},"5803":{"id":"5803","locality":"STRADBROKE PARK","postcode":"3103","state":"VIC"},"5804":{"id":"5804","locality":"BALWYN NORTH","postcode":"3104","state":"VIC"},"5805":{"id":"5805","locality":"GREYTHORN","postcode":"3104","state":"VIC"},"5806":{"id":"5806","locality":"BULLEEN","postcode":"3105","state":"VIC"},"5807":{"id":"5807","locality":"TEMPLESTOWE","postcode":"3106","state":"VIC"},"5808":{"id":"5808","locality":"TEMPLESTOWE LOWER","postcode":"3107","state":"VIC"},"5809":{"id":"5809","locality":"DONCASTER","postcode":"3108","state":"VIC"},"5810":{"id":"5810","locality":"DONCASTER EAST","postcode":"3109","state":"VIC"},"5811":{"id":"5811","locality":"DONCASTER HEIGHTS","postcode":"3109","state":"VIC"},"5812":{"id":"5812","locality":"NUNAWADING BC","postcode":"3110","state":"VIC"},"5813":{"id":"5813","locality":"DONVALE","postcode":"3111","state":"VIC"},"5814":{"id":"5814","locality":"NORTH WARRANDYTE","postcode":"3113","state":"VIC"},"5815":{"id":"5815","locality":"WARRANDYTE","postcode":"3113","state":"VIC"},"5816":{"id":"5816","locality":"PARK ORCHARDS","postcode":"3114","state":"VIC"},"5817":{"id":"5817","locality":"WONGA PARK","postcode":"3115","state":"VIC"},"5818":{"id":"5818","locality":"CHIRNSIDE PARK","postcode":"3116","state":"VIC"},"5819":{"id":"5819","locality":"BURNLEY","postcode":"3121","state":"VIC"},"5820":{"id":"5820","locality":"BURNLEY NORTH","postcode":"3121","state":"VIC"},"5821":{"id":"5821","locality":"CREMORNE","postcode":"3121","state":"VIC"},"5822":{"id":"5822","locality":"RICHMOND","postcode":"3121","state":"VIC"},"5823":{"id":"5823","locality":"RICHMOND EAST","postcode":"3121","state":"VIC"},"5824":{"id":"5824","locality":"RICHMOND NORTH","postcode":"3121","state":"VIC"},"5825":{"id":"5825","locality":"RICHMOND SOUTH","postcode":"3121","state":"VIC"},"5826":{"id":"5826","locality":"AUBURN SOUTH","postcode":"3122","state":"VIC"},"5827":{"id":"5827","locality":"GLENFERRIE SOUTH","postcode":"3122","state":"VIC"},"5828":{"id":"5828","locality":"HAWTHORN","postcode":"3122","state":"VIC"},"5829":{"id":"5829","locality":"HAWTHORN NORTH","postcode":"3122","state":"VIC"},"5830":{"id":"5830","locality":"HAWTHORN WEST","postcode":"3122","state":"VIC"},"5831":{"id":"5831","locality":"AUBURN","postcode":"3123","state":"VIC"},"5832":{"id":"5832","locality":"HAWTHORN EAST","postcode":"3123","state":"VIC"},"5833":{"id":"5833","locality":"CAMBERWELL","postcode":"3124","state":"VIC"},"5834":{"id":"5834","locality":"CAMBERWELL NORTH","postcode":"3124","state":"VIC"},"5835":{"id":"5835","locality":"CAMBERWELL SOUTH","postcode":"3124","state":"VIC"},"5836":{"id":"5836","locality":"CAMBERWELL WEST","postcode":"3124","state":"VIC"},"5837":{"id":"5837","locality":"HARTWELL","postcode":"3124","state":"VIC"},"5838":{"id":"5838","locality":"MIDDLE CAMBERWELL","postcode":"3124","state":"VIC"},"5839":{"id":"5839","locality":"BENNETTSWOOD","postcode":"3125","state":"VIC"},"5840":{"id":"5840","locality":"BURWOOD","postcode":"3125","state":"VIC"},"5841":{"id":"5841","locality":"SURREY HILLS SOUTH","postcode":"3125","state":"VIC"},"5842":{"id":"5842","locality":"CAMBERWELL EAST","postcode":"3126","state":"VIC"},"5843":{"id":"5843","locality":"CANTERBURY","postcode":"3126","state":"VIC"},"5844":{"id":"5844","locality":"MONT ALBERT","postcode":"3127","state":"VIC"},"5845":{"id":"5845","locality":"SURREY HILLS","postcode":"3127","state":"VIC"},"5846":{"id":"5846","locality":"SURREY HILLS NORTH","postcode":"3127","state":"VIC"},"5847":{"id":"5847","locality":"BOX HILL","postcode":"3128","state":"VIC"},"5848":{"id":"5848","locality":"BOX HILL CENTRAL","postcode":"3128","state":"VIC"},"5849":{"id":"5849","locality":"BOX HILL SOUTH","postcode":"3128","state":"VIC"},"5850":{"id":"5850","locality":"HOUSTON","postcode":"3128","state":"VIC"},"5851":{"id":"5851","locality":"WATTLE PARK","postcode":"3128","state":"VIC"},"5852":{"id":"5852","locality":"BOX HILL NORTH","postcode":"3129","state":"VIC"},"5853":{"id":"5853","locality":"KERRIMUIR","postcode":"3129","state":"VIC"},"5854":{"id":"5854","locality":"MONT ALBERT NORTH","postcode":"3129","state":"VIC"},"5855":{"id":"5855","locality":"BLACKBURN","postcode":"3130","state":"VIC"},"5856":{"id":"5856","locality":"BLACKBURN NORTH","postcode":"3130","state":"VIC"},"5857":{"id":"5857","locality":"BLACKBURN SOUTH","postcode":"3130","state":"VIC"},"5858":{"id":"5858","locality":"LABURNUM","postcode":"3130","state":"VIC"},"5859":{"id":"5859","locality":"BRENTFORD SQUARE","postcode":"3131","state":"VIC"},"5860":{"id":"5860","locality":"FOREST HILL","postcode":"3131","state":"VIC"},"5861":{"id":"5861","locality":"NUNAWADING","postcode":"3131","state":"VIC"},"5862":{"id":"5862","locality":"MITCHAM","postcode":"3132","state":"VIC"},"5863":{"id":"5863","locality":"MITCHAM NORTH","postcode":"3132","state":"VIC"},"5864":{"id":"5864","locality":"RANGEVIEW","postcode":"3132","state":"VIC"},"5865":{"id":"5865","locality":"VERMONT","postcode":"3133","state":"VIC"},"5866":{"id":"5866","locality":"VERMONT SOUTH","postcode":"3133","state":"VIC"},"5867":{"id":"5867","locality":"HEATHWOOD","postcode":"3134","state":"VIC"},"5868":{"id":"5868","locality":"RINGWOOD","postcode":"3134","state":"VIC"},"5869":{"id":"5869","locality":"RINGWOOD NORTH","postcode":"3134","state":"VIC"},"5870":{"id":"5870","locality":"WARRANDYTE SOUTH","postcode":"3134","state":"VIC"},"5871":{"id":"5871","locality":"WARRANWOOD","postcode":"3134","state":"VIC"},"5872":{"id":"5872","locality":"BEDFORD ROAD","postcode":"3135","state":"VIC"},"5873":{"id":"5873","locality":"HEATHMONT","postcode":"3135","state":"VIC"},"5874":{"id":"5874","locality":"RINGWOOD EAST","postcode":"3135","state":"VIC"},"5875":{"id":"5875","locality":"CROYDON","postcode":"3136","state":"VIC"},"5876":{"id":"5876","locality":"CROYDON HILLS","postcode":"3136","state":"VIC"},"5877":{"id":"5877","locality":"CROYDON NORTH","postcode":"3136","state":"VIC"},"5878":{"id":"5878","locality":"CROYDON SOUTH","postcode":"3136","state":"VIC"},"5879":{"id":"5879","locality":"KILSYTH","postcode":"3137","state":"VIC"},"5880":{"id":"5880","locality":"KILSYTH SOUTH","postcode":"3137","state":"VIC"},"5881":{"id":"5881","locality":"MOOROOLBARK","postcode":"3138","state":"VIC"},"5882":{"id":"5882","locality":"BEENAK","postcode":"3139","state":"VIC"},"5883":{"id":"5883","locality":"DON VALLEY","postcode":"3139","state":"VIC"},"5884":{"id":"5884","locality":"HODDLES CREEK","postcode":"3139","state":"VIC"},"5885":{"id":"5885","locality":"LAUNCHING PLACE","postcode":"3139","state":"VIC"},"5886":{"id":"5886","locality":"SEVILLE","postcode":"3139","state":"VIC"},"5887":{"id":"5887","locality":"SEVILLE EAST","postcode":"3139","state":"VIC"},"5888":{"id":"5888","locality":"WANDIN EAST","postcode":"3139","state":"VIC"},"5889":{"id":"5889","locality":"WANDIN NORTH","postcode":"3139","state":"VIC"},"5890":{"id":"5890","locality":"WOORI YALLOCK","postcode":"3139","state":"VIC"},"5891":{"id":"5891","locality":"YELLINGBO","postcode":"3139","state":"VIC"},"5892":{"id":"5892","locality":"LILYDALE","postcode":"3140","state":"VIC"},"5893":{"id":"5893","locality":"SOUTH YARRA","postcode":"3141","state":"VIC"},"5894":{"id":"5894","locality":"HAWKSBURN","postcode":"3142","state":"VIC"},"5895":{"id":"5895","locality":"TOORAK","postcode":"3142","state":"VIC"},"5896":{"id":"5896","locality":"ARMADALE","postcode":"3143","state":"VIC"},"5897":{"id":"5897","locality":"ARMADALE NORTH","postcode":"3143","state":"VIC"},"5898":{"id":"5898","locality":"KOOYONG","postcode":"3144","state":"VIC"},"5899":{"id":"5899","locality":"MALVERN","postcode":"3144","state":"VIC"},"5900":{"id":"5900","locality":"MALVERN NORTH","postcode":"3144","state":"VIC"},"5901":{"id":"5901","locality":"CAULFIELD EAST","postcode":"3145","state":"VIC"},"5902":{"id":"5902","locality":"CENTRAL PARK","postcode":"3145","state":"VIC"},"5903":{"id":"5903","locality":"DARLING","postcode":"3145","state":"VIC"},"5904":{"id":"5904","locality":"DARLING SOUTH","postcode":"3145","state":"VIC"},"5905":{"id":"5905","locality":"MALVERN EAST","postcode":"3145","state":"VIC"},"5906":{"id":"5906","locality":"WATTLETREE ROAD PO","postcode":"3145","state":"VIC"},"5907":{"id":"5907","locality":"GLEN IRIS","postcode":"3146","state":"VIC"},"5908":{"id":"5908","locality":"TOORONGA","postcode":"3146","state":"VIC"},"5909":{"id":"5909","locality":"ASHBURTON","postcode":"3147","state":"VIC"},"5910":{"id":"5910","locality":"ASHWOOD","postcode":"3147","state":"VIC"},"5911":{"id":"5911","locality":"CHADSTONE","postcode":"3148","state":"VIC"},"5912":{"id":"5912","locality":"CHADSTONE CENTRE","postcode":"3148","state":"VIC"},"5913":{"id":"5913","locality":"HOLMESGLEN","postcode":"3148","state":"VIC"},"5914":{"id":"5914","locality":"JORDANVILLE","postcode":"3148","state":"VIC"},"5915":{"id":"5915","locality":"MOUNT WAVERLEY","postcode":"3149","state":"VIC"},"5916":{"id":"5916","locality":"PINEWOOD","postcode":"3149","state":"VIC"},"5917":{"id":"5917","locality":"SYNDAL","postcode":"3149","state":"VIC"},"5918":{"id":"5918","locality":"BRANDON PARK","postcode":"3150","state":"VIC"},"5919":{"id":"5919","locality":"GLEN WAVERLEY","postcode":"3150","state":"VIC"},"5920":{"id":"5920","locality":"WHEELERS HILL","postcode":"3150","state":"VIC"},"5921":{"id":"5921","locality":"BURWOOD EAST","postcode":"3151","state":"VIC"},"5922":{"id":"5922","locality":"BURWOOD HEIGHTS","postcode":"3151","state":"VIC"},"5923":{"id":"5923","locality":"KNOX CITY CENTRE","postcode":"3152","state":"VIC"},"5924":{"id":"5924","locality":"STUDFIELD","postcode":"3152","state":"VIC"},"5925":{"id":"5925","locality":"WANTIRNA","postcode":"3152","state":"VIC"},"5926":{"id":"5926","locality":"WANTIRNA SOUTH","postcode":"3152","state":"VIC"},"5927":{"id":"5927","locality":"BAYSWATER","postcode":"3153","state":"VIC"},"5928":{"id":"5928","locality":"BAYSWATER NORTH","postcode":"3153","state":"VIC"},"5929":{"id":"5929","locality":"THE BASIN","postcode":"3154","state":"VIC"},"5930":{"id":"5930","locality":"BORONIA","postcode":"3155","state":"VIC"},"5931":{"id":"5931","locality":"FERNTREE GULLY","postcode":"3156","state":"VIC"},"5932":{"id":"5932","locality":"LYSTERFIELD","postcode":"3156","state":"VIC"},"5933":{"id":"5933","locality":"LYSTERFIELD SOUTH","postcode":"3156","state":"VIC"},"5934":{"id":"5934","locality":"MOUNTAIN GATE","postcode":"3156","state":"VIC"},"5935":{"id":"5935","locality":"UPPER FERNTREE GULLY","postcode":"3156","state":"VIC"},"5936":{"id":"5936","locality":"UPWEY","postcode":"3158","state":"VIC"},"5937":{"id":"5937","locality":"MENZIES CREEK","postcode":"3159","state":"VIC"},"5938":{"id":"5938","locality":"SELBY","postcode":"3159","state":"VIC"},"5939":{"id":"5939","locality":"BELGRAVE","postcode":"3160","state":"VIC"},"5940":{"id":"5940","locality":"BELGRAVE HEIGHTS","postcode":"3160","state":"VIC"},"5941":{"id":"5941","locality":"BELGRAVE SOUTH","postcode":"3160","state":"VIC"},"5942":{"id":"5942","locality":"TECOMA","postcode":"3160","state":"VIC"},"5943":{"id":"5943","locality":"CAULFIELD JUNCTION","postcode":"3161","state":"VIC"},"5944":{"id":"5944","locality":"CAULFIELD NORTH","postcode":"3161","state":"VIC"},"5945":{"id":"5945","locality":"CAULFIELD","postcode":"3162","state":"VIC"},"5946":{"id":"5946","locality":"CAULFIELD SOUTH","postcode":"3162","state":"VIC"},"5947":{"id":"5947","locality":"HOPETOUN GARDENS","postcode":"3162","state":"VIC"},"5948":{"id":"5948","locality":"BOORAN ROAD PO","postcode":"3163","state":"VIC"},"5949":{"id":"5949","locality":"CARNEGIE","postcode":"3163","state":"VIC"},"5950":{"id":"5950","locality":"GLEN HUNTLY","postcode":"3163","state":"VIC"},"5951":{"id":"5951","locality":"MURRUMBEENA","postcode":"3163","state":"VIC"},"5952":{"id":"5952","locality":"DANDENONG SOUTH","postcode":"3164","state":"VIC"},"5953":{"id":"5953","locality":"BENTLEIGH EAST","postcode":"3165","state":"VIC"},"5954":{"id":"5954","locality":"HUGHESDALE","postcode":"3166","state":"VIC"},"5955":{"id":"5955","locality":"HUNTINGDALE","postcode":"3166","state":"VIC"},"5956":{"id":"5956","locality":"OAKLEIGH","postcode":"3166","state":"VIC"},"5957":{"id":"5957","locality":"OAKLEIGH EAST","postcode":"3166","state":"VIC"},"5958":{"id":"5958","locality":"OAKLEIGH SOUTH","postcode":"3167","state":"VIC"},"5959":{"id":"5959","locality":"CLAYTON","postcode":"3168","state":"VIC"},"5960":{"id":"5960","locality":"NOTTING HILL","postcode":"3168","state":"VIC"},"5961":{"id":"5961","locality":"CLARINDA","postcode":"3169","state":"VIC"},"5962":{"id":"5962","locality":"CLAYTON SOUTH","postcode":"3169","state":"VIC"},"5963":{"id":"5963","locality":"MULGRAVE","postcode":"3170","state":"VIC"},"5964":{"id":"5964","locality":"WAVERLEY GARDENS","postcode":"3170","state":"VIC"},"5965":{"id":"5965","locality":"SANDOWN VILLAGE","postcode":"3171","state":"VIC"},"5966":{"id":"5966","locality":"SPRINGVALE","postcode":"3171","state":"VIC"},"5967":{"id":"5967","locality":"DINGLEY VILLAGE","postcode":"3172","state":"VIC"},"5968":{"id":"5968","locality":"SPRINGVALE SOUTH","postcode":"3172","state":"VIC"},"5969":{"id":"5969","locality":"KEYSBOROUGH","postcode":"3173","state":"VIC"},"5970":{"id":"5970","locality":"NOBLE PARK","postcode":"3174","state":"VIC"},"5971":{"id":"5971","locality":"NOBLE PARK NORTH","postcode":"3174","state":"VIC"},"5972":{"id":"5972","locality":"BANGHOLME","postcode":"3175","state":"VIC"},"5973":{"id":"5973","locality":"DANDENONG","postcode":"3175","state":"VIC"},"5974":{"id":"5974","locality":"DANDENONG EAST","postcode":"3175","state":"VIC"},"5975":{"id":"5975","locality":"DANDENONG NORTH","postcode":"3175","state":"VIC"},"5976":{"id":"5976","locality":"DANDENONG SOUTH","postcode":"3175","state":"VIC"},"5977":{"id":"5977","locality":"DUNEARN","postcode":"3175","state":"VIC"},"5978":{"id":"5978","locality":"SCORESBY BC","postcode":"3176","state":"VIC"},"5979":{"id":"5979","locality":"DOVETON","postcode":"3177","state":"VIC"},"5980":{"id":"5980","locality":"EUMEMMERRING","postcode":"3177","state":"VIC"},"5981":{"id":"5981","locality":"ROWVILLE","postcode":"3178","state":"VIC"},"5982":{"id":"5982","locality":"SCORESBY","postcode":"3179","state":"VIC"},"5983":{"id":"5983","locality":"KNOXFIELD","postcode":"3180","state":"VIC"},"5984":{"id":"5984","locality":"PRAHRAN","postcode":"3181","state":"VIC"},"5985":{"id":"5985","locality":"PRAHRAN EAST","postcode":"3181","state":"VIC"},"5986":{"id":"5986","locality":"WINDSOR","postcode":"3181","state":"VIC"},"5987":{"id":"5987","locality":"ST KILDA","postcode":"3182","state":"VIC"},"5988":{"id":"5988","locality":"ST KILDA SOUTH","postcode":"3182","state":"VIC"},"5989":{"id":"5989","locality":"ST KILDA WEST","postcode":"3182","state":"VIC"},"5990":{"id":"5990","locality":"BALACLAVA","postcode":"3183","state":"VIC"},"5991":{"id":"5991","locality":"ST KILDA EAST","postcode":"3183","state":"VIC"},"5992":{"id":"5992","locality":"BRIGHTON ROAD","postcode":"3184","state":"VIC"},"5993":{"id":"5993","locality":"ELWOOD","postcode":"3184","state":"VIC"},"5994":{"id":"5994","locality":"ELSTERNWICK","postcode":"3185","state":"VIC"},"5995":{"id":"5995","locality":"GARDENVALE","postcode":"3185","state":"VIC"},"5996":{"id":"5996","locality":"RIPPONLEA","postcode":"3185","state":"VIC"},"5997":{"id":"5997","locality":"BRIGHTON","postcode":"3186","state":"VIC"},"5998":{"id":"5998","locality":"BRIGHTON NORTH","postcode":"3186","state":"VIC"},"5999":{"id":"5999","locality":"DENDY","postcode":"3186","state":"VIC"},"6000":{"id":"6000","locality":"WERE STREET PO","postcode":"3186","state":"VIC"},"6001":{"id":"6001","locality":"BRIGHTON EAST","postcode":"3187","state":"VIC"},"6002":{"id":"6002","locality":"NORTH ROAD","postcode":"3187","state":"VIC"},"6003":{"id":"6003","locality":"HAMPTON","postcode":"3188","state":"VIC"},"6004":{"id":"6004","locality":"HAMPTON EAST","postcode":"3188","state":"VIC"},"6005":{"id":"6005","locality":"HAMPTON NORTH","postcode":"3188","state":"VIC"},"6006":{"id":"6006","locality":"MOORABBIN","postcode":"3189","state":"VIC"},"6007":{"id":"6007","locality":"MOORABBIN EAST","postcode":"3189","state":"VIC"},"6008":{"id":"6008","locality":"WISHART","postcode":"3189","state":"VIC"},"6009":{"id":"6009","locality":"HIGHETT","postcode":"3190","state":"VIC"},"6010":{"id":"6010","locality":"SANDRINGHAM","postcode":"3191","state":"VIC"},"6011":{"id":"6011","locality":"CHELTENHAM","postcode":"3192","state":"VIC"},"6012":{"id":"6012","locality":"CHELTENHAM EAST","postcode":"3192","state":"VIC"},"6013":{"id":"6013","locality":"SOUTHLAND CENTRE","postcode":"3192","state":"VIC"},"6014":{"id":"6014","locality":"BEAUMARIS","postcode":"3193","state":"VIC"},"6015":{"id":"6015","locality":"BLACK ROCK","postcode":"3193","state":"VIC"},"6016":{"id":"6016","locality":"BLACK ROCK NORTH","postcode":"3193","state":"VIC"},"6017":{"id":"6017","locality":"CROMER","postcode":"3193","state":"VIC"},"6018":{"id":"6018","locality":"MENTONE","postcode":"3194","state":"VIC"},"6019":{"id":"6019","locality":"MENTONE EAST","postcode":"3194","state":"VIC"},"6020":{"id":"6020","locality":"MOORABBIN AIRPORT","postcode":"3194","state":"VIC"},"6021":{"id":"6021","locality":"ASPENDALE","postcode":"3195","state":"VIC"},"6022":{"id":"6022","locality":"ASPENDALE GARDENS","postcode":"3195","state":"VIC"},"6023":{"id":"6023","locality":"BRAESIDE","postcode":"3195","state":"VIC"},"6024":{"id":"6024","locality":"MORDIALLOC","postcode":"3195","state":"VIC"},"6025":{"id":"6025","locality":"PARKDALE","postcode":"3195","state":"VIC"},"6026":{"id":"6026","locality":"WATERWAYS","postcode":"3195","state":"VIC"},"6027":{"id":"6027","locality":"BONBEACH","postcode":"3196","state":"VIC"},"6028":{"id":"6028","locality":"CHELSEA","postcode":"3196","state":"VIC"},"6029":{"id":"6029","locality":"CHELSEA HEIGHTS","postcode":"3196","state":"VIC"},"6030":{"id":"6030","locality":"EDITHVALE","postcode":"3196","state":"VIC"},"6031":{"id":"6031","locality":"CARRUM","postcode":"3197","state":"VIC"},"6032":{"id":"6032","locality":"PATTERSON LAKES","postcode":"3197","state":"VIC"},"6033":{"id":"6033","locality":"SEAFORD","postcode":"3198","state":"VIC"},"6034":{"id":"6034","locality":"FRANKSTON","postcode":"3199","state":"VIC"},"6035":{"id":"6035","locality":"FRANKSTON EAST","postcode":"3199","state":"VIC"},"6036":{"id":"6036","locality":"FRANKSTON HEIGHTS","postcode":"3199","state":"VIC"},"6037":{"id":"6037","locality":"FRANKSTON SOUTH","postcode":"3199","state":"VIC"},"6038":{"id":"6038","locality":"KARINGAL","postcode":"3199","state":"VIC"},"6039":{"id":"6039","locality":"KARINGAL CENTRE","postcode":"3199","state":"VIC"},"6040":{"id":"6040","locality":"FRANKSTON NORTH","postcode":"3200","state":"VIC"},"6041":{"id":"6041","locality":"PINES FOREST","postcode":"3200","state":"VIC"},"6042":{"id":"6042","locality":"CARRUM DOWNS","postcode":"3201","state":"VIC"},"6043":{"id":"6043","locality":"HEATHERTON","postcode":"3202","state":"VIC"},"6044":{"id":"6044","locality":"BENTLEIGH","postcode":"3204","state":"VIC"},"6045":{"id":"6045","locality":"MCKINNON","postcode":"3204","state":"VIC"},"6046":{"id":"6046","locality":"ORMOND","postcode":"3204","state":"VIC"},"6047":{"id":"6047","locality":"PATTERSON","postcode":"3204","state":"VIC"},"6048":{"id":"6048","locality":"SOUTH MELBOURNE","postcode":"3205","state":"VIC"},"6049":{"id":"6049","locality":"ALBERT PARK","postcode":"3206","state":"VIC"},"6050":{"id":"6050","locality":"MIDDLE PARK","postcode":"3206","state":"VIC"},"6051":{"id":"6051","locality":"GARDEN CITY","postcode":"3207","state":"VIC"},"6052":{"id":"6052","locality":"PORT MELBOURNE","postcode":"3207","state":"VIC"},"6053":{"id":"6053","locality":"LITTLE RIVER","postcode":"3211","state":"VIC"},"6054":{"id":"6054","locality":"AVALON","postcode":"3212","state":"VIC"},"6055":{"id":"6055","locality":"LARA","postcode":"3212","state":"VIC"},"6056":{"id":"6056","locality":"POINT WILSON","postcode":"3212","state":"VIC"},"6057":{"id":"6057","locality":"ANAKIE","postcode":"3213","state":"VIC"},"6058":{"id":"6058","locality":"BATESFORD","postcode":"3213","state":"VIC"},"6059":{"id":"6059","locality":"LOVELY BANKS","postcode":"3213","state":"VIC"},"6060":{"id":"6060","locality":"MOORABOOL","postcode":"3213","state":"VIC"},"6061":{"id":"6061","locality":"CORIO","postcode":"3214","state":"VIC"},"6062":{"id":"6062","locality":"NORLANE","postcode":"3214","state":"VIC"},"6063":{"id":"6063","locality":"NORTH SHORE","postcode":"3214","state":"VIC"},"6064":{"id":"6064","locality":"BELL PARK","postcode":"3215","state":"VIC"},"6065":{"id":"6065","locality":"BELL POST HILL","postcode":"3215","state":"VIC"},"6066":{"id":"6066","locality":"DRUMCONDRA","postcode":"3215","state":"VIC"},"6067":{"id":"6067","locality":"GEELONG NORTH","postcode":"3215","state":"VIC"},"6068":{"id":"6068","locality":"HAMLYN HEIGHTS","postcode":"3215","state":"VIC"},"6069":{"id":"6069","locality":"NORTH GEELONG","postcode":"3215","state":"VIC"},"6070":{"id":"6070","locality":"RIPPLESIDE","postcode":"3215","state":"VIC"},"6071":{"id":"6071","locality":"BELMONT","postcode":"3216","state":"VIC"},"6072":{"id":"6072","locality":"GROVEDALE","postcode":"3216","state":"VIC"},"6073":{"id":"6073","locality":"GROVEDALE EAST","postcode":"3216","state":"VIC"},"6074":{"id":"6074","locality":"HIGHTON","postcode":"3216","state":"VIC"},"6075":{"id":"6075","locality":"MARSHALL","postcode":"3216","state":"VIC"},"6076":{"id":"6076","locality":"WANDANA HEIGHTS","postcode":"3216","state":"VIC"},"6077":{"id":"6077","locality":"WAURN PONDS","postcode":"3216","state":"VIC"},"6078":{"id":"6078","locality":"ARMSTRONG CREEK","postcode":"3217","state":"VIC"},"6079":{"id":"6079","locality":"CHARLEMONT","postcode":"3217","state":"VIC"},"6080":{"id":"6080","locality":"FRESHWATER CREEK","postcode":"3217","state":"VIC"},"6081":{"id":"6081","locality":"MOUNT DUNEED","postcode":"3217","state":"VIC"},"6082":{"id":"6082","locality":"FYANSFORD","postcode":"3218","state":"VIC"},"6083":{"id":"6083","locality":"GEELONG WEST","postcode":"3218","state":"VIC"},"6084":{"id":"6084","locality":"HERNE HILL","postcode":"3218","state":"VIC"},"6085":{"id":"6085","locality":"MANIFOLD HEIGHTS","postcode":"3218","state":"VIC"},"6086":{"id":"6086","locality":"MURGHEBOLUC","postcode":"3218","state":"VIC"},"6087":{"id":"6087","locality":"STONEHAVEN","postcode":"3218","state":"VIC"},"6088":{"id":"6088","locality":"BREAKWATER","postcode":"3219","state":"VIC"},"6089":{"id":"6089","locality":"EAST GEELONG","postcode":"3219","state":"VIC"},"6090":{"id":"6090","locality":"NEWCOMB","postcode":"3219","state":"VIC"},"6091":{"id":"6091","locality":"ST ALBANS PARK","postcode":"3219","state":"VIC"},"6092":{"id":"6092","locality":"THOMSON","postcode":"3219","state":"VIC"},"6093":{"id":"6093","locality":"WHITTINGTON","postcode":"3219","state":"VIC"},"6094":{"id":"6094","locality":"BAREENA","postcode":"3220","state":"VIC"},"6095":{"id":"6095","locality":"GEELONG","postcode":"3220","state":"VIC"},"6096":{"id":"6096","locality":"NEWTOWN","postcode":"3220","state":"VIC"},"6097":{"id":"6097","locality":"SOUTH GEELONG","postcode":"3220","state":"VIC"},"6098":{"id":"6098","locality":"BARRABOOL","postcode":"3221","state":"VIC"},"6099":{"id":"6099","locality":"CERES","postcode":"3221","state":"VIC"},"6100":{"id":"6100","locality":"GEELONG MC","postcode":"3221","state":"VIC"},"6101":{"id":"6101","locality":"GNARWARRE","postcode":"3221","state":"VIC"},"6102":{"id":"6102","locality":"CLIFTON SPRINGS","postcode":"3222","state":"VIC"},"6103":{"id":"6103","locality":"CURLEWIS","postcode":"3222","state":"VIC"},"6104":{"id":"6104","locality":"DRYSDALE","postcode":"3222","state":"VIC"},"6105":{"id":"6105","locality":"MANNERIM","postcode":"3222","state":"VIC"},"6106":{"id":"6106","locality":"MARCUS HILL","postcode":"3222","state":"VIC"},"6107":{"id":"6107","locality":"WALLINGTON","postcode":"3222","state":"VIC"},"6108":{"id":"6108","locality":"BELLARINE","postcode":"3223","state":"VIC"},"6109":{"id":"6109","locality":"INDENTED HEAD","postcode":"3223","state":"VIC"},"6110":{"id":"6110","locality":"PORTARLINGTON","postcode":"3223","state":"VIC"},"6111":{"id":"6111","locality":"ST LEONARDS","postcode":"3223","state":"VIC"},"6112":{"id":"6112","locality":"LEOPOLD","postcode":"3224","state":"VIC"},"6113":{"id":"6113","locality":"MOOLAP","postcode":"3224","state":"VIC"},"6114":{"id":"6114","locality":"POINT LONSDALE","postcode":"3225","state":"VIC"},"6115":{"id":"6115","locality":"QUEENSCLIFF","postcode":"3225","state":"VIC"},"6116":{"id":"6116","locality":"SWAN BAY","postcode":"3225","state":"VIC"},"6117":{"id":"6117","locality":"SWAN ISLAND","postcode":"3225","state":"VIC"},"6118":{"id":"6118","locality":"OCEAN GROVE","postcode":"3226","state":"VIC"},"6119":{"id":"6119","locality":"BARWON HEADS","postcode":"3227","state":"VIC"},"6120":{"id":"6120","locality":"BREAMLEA","postcode":"3227","state":"VIC"},"6121":{"id":"6121","locality":"CONNEWARRE","postcode":"3227","state":"VIC"},"6122":{"id":"6122","locality":"BELLBRAE","postcode":"3228","state":"VIC"},"6123":{"id":"6123","locality":"BELLS BEACH","postcode":"3228","state":"VIC"},"6124":{"id":"6124","locality":"JAN JUC","postcode":"3228","state":"VIC"},"6125":{"id":"6125","locality":"TORQUAY","postcode":"3228","state":"VIC"},"6126":{"id":"6126","locality":"ANGLESEA","postcode":"3230","state":"VIC"},"6127":{"id":"6127","locality":"AIREYS INLET","postcode":"3231","state":"VIC"},"6128":{"id":"6128","locality":"BIG HILL","postcode":"3231","state":"VIC"},"6129":{"id":"6129","locality":"EASTERN VIEW","postcode":"3231","state":"VIC"},"6130":{"id":"6130","locality":"FAIRHAVEN","postcode":"3231","state":"VIC"},"6131":{"id":"6131","locality":"MOGGS CREEK","postcode":"3231","state":"VIC"},"6132":{"id":"6132","locality":"LORNE","postcode":"3232","state":"VIC"},"6133":{"id":"6133","locality":"APOLLO BAY","postcode":"3233","state":"VIC"},"6134":{"id":"6134","locality":"CAPE OTWAY","postcode":"3233","state":"VIC"},"6135":{"id":"6135","locality":"MARENGO","postcode":"3233","state":"VIC"},"6136":{"id":"6136","locality":"PETTICOAT CREEK","postcode":"3233","state":"VIC"},"6137":{"id":"6137","locality":"SKENES CREEK","postcode":"3233","state":"VIC"},"6138":{"id":"6138","locality":"SKENES CREEK NORTH","postcode":"3233","state":"VIC"},"6139":{"id":"6139","locality":"GREY RIVER","postcode":"3234","state":"VIC"},"6140":{"id":"6140","locality":"KENNETT RIVER","postcode":"3234","state":"VIC"},"6141":{"id":"6141","locality":"SEPARATION CREEK","postcode":"3234","state":"VIC"},"6142":{"id":"6142","locality":"SUGARLOAF","postcode":"3234","state":"VIC"},"6143":{"id":"6143","locality":"WONGARRA","postcode":"3234","state":"VIC"},"6144":{"id":"6144","locality":"WYE RIVER","postcode":"3234","state":"VIC"},"6145":{"id":"6145","locality":"BENWERRIN","postcode":"3235","state":"VIC"},"6146":{"id":"6146","locality":"BOONAH","postcode":"3235","state":"VIC"},"6147":{"id":"6147","locality":"DEANS MARSH","postcode":"3235","state":"VIC"},"6148":{"id":"6148","locality":"PENNYROYAL","postcode":"3235","state":"VIC"},"6149":{"id":"6149","locality":"FORREST","postcode":"3236","state":"VIC"},"6150":{"id":"6150","locality":"MOUNT SABINE","postcode":"3236","state":"VIC"},"6151":{"id":"6151","locality":"AIRE VALLEY","postcode":"3237","state":"VIC"},"6152":{"id":"6152","locality":"BEECH FOREST","postcode":"3237","state":"VIC"},"6153":{"id":"6153","locality":"FERGUSON","postcode":"3237","state":"VIC"},"6154":{"id":"6154","locality":"GELLIBRAND LOWER","postcode":"3237","state":"VIC"},"6155":{"id":"6155","locality":"WATTLE HILL","postcode":"3237","state":"VIC"},"6156":{"id":"6156","locality":"WEEAPROINAH","postcode":"3237","state":"VIC"},"6157":{"id":"6157","locality":"WYELANGTA","postcode":"3237","state":"VIC"},"6158":{"id":"6158","locality":"YUULONG","postcode":"3237","state":"VIC"},"6159":{"id":"6159","locality":"GLENAIRE","postcode":"3238","state":"VIC"},"6160":{"id":"6160","locality":"HORDERN VALE","postcode":"3238","state":"VIC"},"6161":{"id":"6161","locality":"JOHANNA","postcode":"3238","state":"VIC"},"6162":{"id":"6162","locality":"LAVERS HILL","postcode":"3238","state":"VIC"},"6163":{"id":"6163","locality":"CARLISLE RIVER","postcode":"3239","state":"VIC"},"6164":{"id":"6164","locality":"CHAPPLE VALE","postcode":"3239","state":"VIC"},"6165":{"id":"6165","locality":"GELLIBRAND","postcode":"3239","state":"VIC"},"6166":{"id":"6166","locality":"KENNEDYS CREEK","postcode":"3239","state":"VIC"},"6167":{"id":"6167","locality":"BUCKLEY","postcode":"3240","state":"VIC"},"6168":{"id":"6168","locality":"GHERANG","postcode":"3240","state":"VIC"},"6169":{"id":"6169","locality":"MODEWARRE","postcode":"3240","state":"VIC"},"6170":{"id":"6170","locality":"MORIAC","postcode":"3240","state":"VIC"},"6171":{"id":"6171","locality":"MOUNT MORIAC","postcode":"3240","state":"VIC"},"6172":{"id":"6172","locality":"PARAPARAP","postcode":"3240","state":"VIC"},"6173":{"id":"6173","locality":"BAMBRA","postcode":"3241","state":"VIC"},"6174":{"id":"6174","locality":"OMBERSLEY","postcode":"3241","state":"VIC"},"6175":{"id":"6175","locality":"WENSLEYDALE","postcode":"3241","state":"VIC"},"6176":{"id":"6176","locality":"WINCHELSEA","postcode":"3241","state":"VIC"},"6177":{"id":"6177","locality":"WINCHELSEA SOUTH","postcode":"3241","state":"VIC"},"6178":{"id":"6178","locality":"WURDIBOLUC","postcode":"3241","state":"VIC"},"6179":{"id":"6179","locality":"BIRREGURRA","postcode":"3242","state":"VIC"},"6180":{"id":"6180","locality":"BARWON DOWNS","postcode":"3243","state":"VIC"},"6181":{"id":"6181","locality":"MURROON","postcode":"3243","state":"VIC"},"6182":{"id":"6182","locality":"WARNCOORT","postcode":"3243","state":"VIC"},"6183":{"id":"6183","locality":"WHOOREL","postcode":"3243","state":"VIC"},"6184":{"id":"6184","locality":"ALVIE","postcode":"3249","state":"VIC"},"6185":{"id":"6185","locality":"BALINTORE","postcode":"3249","state":"VIC"},"6186":{"id":"6186","locality":"BARONGAROOK","postcode":"3249","state":"VIC"},"6187":{"id":"6187","locality":"BARONGAROOK WEST","postcode":"3249","state":"VIC"},"6188":{"id":"6188","locality":"BARRAMUNGA","postcode":"3249","state":"VIC"},"6189":{"id":"6189","locality":"CORAGULAC","postcode":"3249","state":"VIC"},"6190":{"id":"6190","locality":"CORUNNUN","postcode":"3249","state":"VIC"},"6191":{"id":"6191","locality":"DREEITE","postcode":"3249","state":"VIC"},"6192":{"id":"6192","locality":"DREEITE SOUTH","postcode":"3249","state":"VIC"},"6193":{"id":"6193","locality":"GERANGAMETE","postcode":"3249","state":"VIC"},"6194":{"id":"6194","locality":"IRREWARRA","postcode":"3249","state":"VIC"},"6195":{"id":"6195","locality":"IRREWILLIPE","postcode":"3249","state":"VIC"},"6196":{"id":"6196","locality":"IRREWILLIPE EAST","postcode":"3249","state":"VIC"},"6197":{"id":"6197","locality":"KAWARREN","postcode":"3249","state":"VIC"},"6198":{"id":"6198","locality":"LARPENT","postcode":"3249","state":"VIC"},"6199":{"id":"6199","locality":"NALANGIL","postcode":"3249","state":"VIC"},"6200":{"id":"6200","locality":"ONDIT","postcode":"3249","state":"VIC"},"6201":{"id":"6201","locality":"PIRRON YALLOCK","postcode":"3249","state":"VIC"},"6202":{"id":"6202","locality":"POMBORNEIT EAST","postcode":"3249","state":"VIC"},"6203":{"id":"6203","locality":"SWAN MARSH","postcode":"3249","state":"VIC"},"6204":{"id":"6204","locality":"TANYBRYN","postcode":"3249","state":"VIC"},"6205":{"id":"6205","locality":"WARRION","postcode":"3249","state":"VIC"},"6206":{"id":"6206","locality":"WOOL WOOL","postcode":"3249","state":"VIC"},"6207":{"id":"6207","locality":"YEO","postcode":"3249","state":"VIC"},"6208":{"id":"6208","locality":"YEODENE","postcode":"3249","state":"VIC"},"6209":{"id":"6209","locality":"COLAC","postcode":"3250","state":"VIC"},"6210":{"id":"6210","locality":"COLAC EAST","postcode":"3250","state":"VIC"},"6211":{"id":"6211","locality":"COLAC WEST","postcode":"3250","state":"VIC"},"6212":{"id":"6212","locality":"ELLIMINYT","postcode":"3250","state":"VIC"},"6213":{"id":"6213","locality":"BEEAC","postcode":"3251","state":"VIC"},"6214":{"id":"6214","locality":"CUNDARE","postcode":"3251","state":"VIC"},"6215":{"id":"6215","locality":"CUNDARE NORTH","postcode":"3251","state":"VIC"},"6216":{"id":"6216","locality":"EURACK","postcode":"3251","state":"VIC"},"6217":{"id":"6217","locality":"WEERING","postcode":"3251","state":"VIC"},"6218":{"id":"6218","locality":"COROROOKE","postcode":"3254","state":"VIC"},"6219":{"id":"6219","locality":"BOOKAAR","postcode":"3260","state":"VIC"},"6220":{"id":"6220","locality":"BOSTOCKS CREEK","postcode":"3260","state":"VIC"},"6221":{"id":"6221","locality":"BUNGADOR","postcode":"3260","state":"VIC"},"6222":{"id":"6222","locality":"CAMPERDOWN","postcode":"3260","state":"VIC"},"6223":{"id":"6223","locality":"CARPENDEIT","postcode":"3260","state":"VIC"},"6224":{"id":"6224","locality":"CHOCOLYN","postcode":"3260","state":"VIC"},"6225":{"id":"6225","locality":"GNOTUK","postcode":"3260","state":"VIC"},"6226":{"id":"6226","locality":"KARIAH","postcode":"3260","state":"VIC"},"6227":{"id":"6227","locality":"KOALLAH","postcode":"3260","state":"VIC"},"6228":{"id":"6228","locality":"LESLIE MANOR","postcode":"3260","state":"VIC"},"6229":{"id":"6229","locality":"POMBORNEIT","postcode":"3260","state":"VIC"},"6230":{"id":"6230","locality":"POMBORNEIT NORTH","postcode":"3260","state":"VIC"},"6231":{"id":"6231","locality":"SKIBO","postcode":"3260","state":"VIC"},"6232":{"id":"6232","locality":"SOUTH PURRUMBETE","postcode":"3260","state":"VIC"},"6233":{"id":"6233","locality":"STONYFORD","postcode":"3260","state":"VIC"},"6234":{"id":"6234","locality":"TANDAROOK","postcode":"3260","state":"VIC"},"6235":{"id":"6235","locality":"TESBURY","postcode":"3260","state":"VIC"},"6236":{"id":"6236","locality":"WEERITE","postcode":"3260","state":"VIC"},"6237":{"id":"6237","locality":"TERANG","postcode":"3264","state":"VIC"},"6238":{"id":"6238","locality":"BOORCAN","postcode":"3265","state":"VIC"},"6239":{"id":"6239","locality":"CUDGEE","postcode":"3265","state":"VIC"},"6240":{"id":"6240","locality":"DIXIE","postcode":"3265","state":"VIC"},"6241":{"id":"6241","locality":"ECKLIN SOUTH","postcode":"3265","state":"VIC"},"6242":{"id":"6242","locality":"ELLERSLIE","postcode":"3265","state":"VIC"},"6243":{"id":"6243","locality":"FRAMLINGHAM","postcode":"3265","state":"VIC"},"6244":{"id":"6244","locality":"FRAMLINGHAM EAST","postcode":"3265","state":"VIC"},"6245":{"id":"6245","locality":"GARVOC","postcode":"3265","state":"VIC"},"6246":{"id":"6246","locality":"GLENORMISTON NORTH","postcode":"3265","state":"VIC"},"6247":{"id":"6247","locality":"GLENORMISTON SOUTH","postcode":"3265","state":"VIC"},"6248":{"id":"6248","locality":"KOLORA","postcode":"3265","state":"VIC"},"6249":{"id":"6249","locality":"LAANG","postcode":"3265","state":"VIC"},"6250":{"id":"6250","locality":"NOORAT","postcode":"3265","state":"VIC"},"6251":{"id":"6251","locality":"NOORAT EAST","postcode":"3265","state":"VIC"},"6252":{"id":"6252","locality":"PANMURE","postcode":"3265","state":"VIC"},"6253":{"id":"6253","locality":"TAROON","postcode":"3265","state":"VIC"},"6254":{"id":"6254","locality":"THE SISTERS","postcode":"3265","state":"VIC"},"6255":{"id":"6255","locality":"BULLAHARRE","postcode":"3266","state":"VIC"},"6256":{"id":"6256","locality":"COBDEN","postcode":"3266","state":"VIC"},"6257":{"id":"6257","locality":"COBRICO","postcode":"3266","state":"VIC"},"6258":{"id":"6258","locality":"ELINGAMITE","postcode":"3266","state":"VIC"},"6259":{"id":"6259","locality":"ELINGAMITE NORTH","postcode":"3266","state":"VIC"},"6260":{"id":"6260","locality":"GLENFYNE","postcode":"3266","state":"VIC"},"6261":{"id":"6261","locality":"JANCOURT","postcode":"3266","state":"VIC"},"6262":{"id":"6262","locality":"JANCOURT EAST","postcode":"3266","state":"VIC"},"6263":{"id":"6263","locality":"NAROGHID","postcode":"3266","state":"VIC"},"6264":{"id":"6264","locality":"SIMPSON","postcode":"3266","state":"VIC"},"6265":{"id":"6265","locality":"SCOTTS CREEK","postcode":"3267","state":"VIC"},"6266":{"id":"6266","locality":"AYRFORD","postcode":"3268","state":"VIC"},"6267":{"id":"6267","locality":"BRUCKNELL","postcode":"3268","state":"VIC"},"6268":{"id":"6268","locality":"COORIEMUNGLE","postcode":"3268","state":"VIC"},"6269":{"id":"6269","locality":"COWLEYS CREEK","postcode":"3268","state":"VIC"},"6270":{"id":"6270","locality":"CURDIES RIVER","postcode":"3268","state":"VIC"},"6271":{"id":"6271","locality":"CURDIEVALE","postcode":"3268","state":"VIC"},"6272":{"id":"6272","locality":"HEYTESBURY LOWER","postcode":"3268","state":"VIC"},"6273":{"id":"6273","locality":"NEWFIELD","postcode":"3268","state":"VIC"},"6274":{"id":"6274","locality":"NIRRANDA","postcode":"3268","state":"VIC"},"6275":{"id":"6275","locality":"NIRRANDA EAST","postcode":"3268","state":"VIC"},"6276":{"id":"6276","locality":"NIRRANDA SOUTH","postcode":"3268","state":"VIC"},"6277":{"id":"6277","locality":"NULLAWARRE","postcode":"3268","state":"VIC"},"6278":{"id":"6278","locality":"NULLAWARRE NORTH","postcode":"3268","state":"VIC"},"6279":{"id":"6279","locality":"PAARATTE","postcode":"3268","state":"VIC"},"6280":{"id":"6280","locality":"THE COVE","postcode":"3268","state":"VIC"},"6281":{"id":"6281","locality":"TIMBOON","postcode":"3268","state":"VIC"},"6282":{"id":"6282","locality":"TIMBOON WEST","postcode":"3268","state":"VIC"},"6283":{"id":"6283","locality":"PORT CAMPBELL","postcode":"3269","state":"VIC"},"6284":{"id":"6284","locality":"PRINCETOWN","postcode":"3269","state":"VIC"},"6285":{"id":"6285","locality":"WAARRE","postcode":"3269","state":"VIC"},"6286":{"id":"6286","locality":"PETERBOROUGH","postcode":"3270","state":"VIC"},"6287":{"id":"6287","locality":"DARLINGTON","postcode":"3271","state":"VIC"},"6288":{"id":"6288","locality":"DUNDONNELL","postcode":"3271","state":"VIC"},"6289":{"id":"6289","locality":"PURA PURA","postcode":"3271","state":"VIC"},"6290":{"id":"6290","locality":"MORTLAKE","postcode":"3272","state":"VIC"},"6291":{"id":"6291","locality":"WOORNDOO","postcode":"3272","state":"VIC"},"6292":{"id":"6292","locality":"HEXHAM","postcode":"3273","state":"VIC"},"6293":{"id":"6293","locality":"CARAMUT","postcode":"3274","state":"VIC"},"6294":{"id":"6294","locality":"MAILORS FLAT","postcode":"3275","state":"VIC"},"6295":{"id":"6295","locality":"MINJAH","postcode":"3276","state":"VIC"},"6296":{"id":"6296","locality":"WOOLSTHORPE","postcode":"3276","state":"VIC"},"6297":{"id":"6297","locality":"ALLANSFORD","postcode":"3277","state":"VIC"},"6298":{"id":"6298","locality":"MEPUNGA","postcode":"3277","state":"VIC"},"6299":{"id":"6299","locality":"MEPUNGA EAST","postcode":"3277","state":"VIC"},"6300":{"id":"6300","locality":"MEPUNGA WEST","postcode":"3277","state":"VIC"},"6301":{"id":"6301","locality":"NARINGAL","postcode":"3277","state":"VIC"},"6302":{"id":"6302","locality":"NARINGAL EAST","postcode":"3277","state":"VIC"},"6303":{"id":"6303","locality":"PURNIM","postcode":"3278","state":"VIC"},"6304":{"id":"6304","locality":"PURNIM WEST","postcode":"3278","state":"VIC"},"6305":{"id":"6305","locality":"BALLANGEICH","postcode":"3279","state":"VIC"},"6306":{"id":"6306","locality":"WANGOOM","postcode":"3279","state":"VIC"},"6307":{"id":"6307","locality":"DENNINGTON","postcode":"3280","state":"VIC"},"6308":{"id":"6308","locality":"WARRNAMBOOL","postcode":"3280","state":"VIC"},"6309":{"id":"6309","locality":"BUSHFIELD","postcode":"3281","state":"VIC"},"6310":{"id":"6310","locality":"GRASSMERE","postcode":"3281","state":"VIC"},"6311":{"id":"6311","locality":"WINSLOW","postcode":"3281","state":"VIC"},"6312":{"id":"6312","locality":"WOODFORD","postcode":"3281","state":"VIC"},"6313":{"id":"6313","locality":"ILLOWA","postcode":"3282","state":"VIC"},"6314":{"id":"6314","locality":"KOROIT","postcode":"3282","state":"VIC"},"6315":{"id":"6315","locality":"CROSSLEY","postcode":"3283","state":"VIC"},"6316":{"id":"6316","locality":"KILLARNEY","postcode":"3283","state":"VIC"},"6317":{"id":"6317","locality":"KIRKSTALL","postcode":"3283","state":"VIC"},"6318":{"id":"6318","locality":"SOUTHERN CROSS","postcode":"3283","state":"VIC"},"6319":{"id":"6319","locality":"TARRONE","postcode":"3283","state":"VIC"},"6320":{"id":"6320","locality":"TOWER HILL","postcode":"3283","state":"VIC"},"6321":{"id":"6321","locality":"WARRONG","postcode":"3283","state":"VIC"},"6322":{"id":"6322","locality":"WILLATOOK","postcode":"3283","state":"VIC"},"6323":{"id":"6323","locality":"YANGERY","postcode":"3283","state":"VIC"},"6324":{"id":"6324","locality":"YARPTURK","postcode":"3283","state":"VIC"},"6325":{"id":"6325","locality":"ORFORD","postcode":"3284","state":"VIC"},"6326":{"id":"6326","locality":"PORT FAIRY","postcode":"3284","state":"VIC"},"6327":{"id":"6327","locality":"CODRINGTON","postcode":"3285","state":"VIC"},"6328":{"id":"6328","locality":"NARRAWONG","postcode":"3285","state":"VIC"},"6329":{"id":"6329","locality":"ROSEBROOK","postcode":"3285","state":"VIC"},"6330":{"id":"6330","locality":"ST HELENS","postcode":"3285","state":"VIC"},"6331":{"id":"6331","locality":"TOOLONG","postcode":"3285","state":"VIC"},"6332":{"id":"6332","locality":"TYRENDARRA","postcode":"3285","state":"VIC"},"6333":{"id":"6333","locality":"TYRENDARRA EAST","postcode":"3285","state":"VIC"},"6334":{"id":"6334","locality":"YAMBUK","postcode":"3285","state":"VIC"},"6335":{"id":"6335","locality":"CONDAH SWAMP","postcode":"3286","state":"VIC"},"6336":{"id":"6336","locality":"KNEBSWORTH","postcode":"3286","state":"VIC"},"6337":{"id":"6337","locality":"MACARTHUR","postcode":"3286","state":"VIC"},"6338":{"id":"6338","locality":"WARRABKOOK","postcode":"3286","state":"VIC"},"6339":{"id":"6339","locality":"HAWKESDALE","postcode":"3287","state":"VIC"},"6340":{"id":"6340","locality":"MINHAMITE","postcode":"3287","state":"VIC"},"6341":{"id":"6341","locality":"GAZETTE","postcode":"3289","state":"VIC"},"6342":{"id":"6342","locality":"GERRIGERRUP","postcode":"3289","state":"VIC"},"6343":{"id":"6343","locality":"PENSHURST","postcode":"3289","state":"VIC"},"6344":{"id":"6344","locality":"PURDEET","postcode":"3289","state":"VIC"},"6345":{"id":"6345","locality":"TABOR","postcode":"3289","state":"VIC"},"6346":{"id":"6346","locality":"NELSON","postcode":"3292","state":"VIC"},"6347":{"id":"6347","locality":"GLENTHOMPSON","postcode":"3293","state":"VIC"},"6348":{"id":"6348","locality":"NAREEB","postcode":"3293","state":"VIC"},"6349":{"id":"6349","locality":"NARRAPUMELAP SOUTH","postcode":"3293","state":"VIC"},"6350":{"id":"6350","locality":"DUNKELD","postcode":"3294","state":"VIC"},"6351":{"id":"6351","locality":"KARABEAL","postcode":"3294","state":"VIC"},"6352":{"id":"6352","locality":"MIRRANATWA","postcode":"3294","state":"VIC"},"6353":{"id":"6353","locality":"MOUTAJUP","postcode":"3294","state":"VIC"},"6354":{"id":"6354","locality":"VICTORIA POINT","postcode":"3294","state":"VIC"},"6355":{"id":"6355","locality":"VICTORIA VALLEY","postcode":"3294","state":"VIC"},"6356":{"id":"6356","locality":"WOODHOUSE","postcode":"3294","state":"VIC"},"6357":{"id":"6357","locality":"BYADUK NORTH","postcode":"3300","state":"VIC"},"6358":{"id":"6358","locality":"HAMILTON","postcode":"3300","state":"VIC"},"6359":{"id":"6359","locality":"BOCHARA","postcode":"3301","state":"VIC"},"6360":{"id":"6360","locality":"BROADWATER","postcode":"3301","state":"VIC"},"6361":{"id":"6361","locality":"BUCKLEY SWAMP","postcode":"3301","state":"VIC"},"6362":{"id":"6362","locality":"BYADUK","postcode":"3301","state":"VIC"},"6363":{"id":"6363","locality":"CROXTON EAST","postcode":"3301","state":"VIC"},"6364":{"id":"6364","locality":"HENSLEY PARK","postcode":"3301","state":"VIC"},"6365":{"id":"6365","locality":"MORGIANA","postcode":"3301","state":"VIC"},"6366":{"id":"6366","locality":"MOUNT NAPIER","postcode":"3301","state":"VIC"},"6367":{"id":"6367","locality":"STRATHKELLAR","postcode":"3301","state":"VIC"},"6368":{"id":"6368","locality":"TAHARA","postcode":"3301","state":"VIC"},"6369":{"id":"6369","locality":"TARRINGTON","postcode":"3301","state":"VIC"},"6370":{"id":"6370","locality":"WANNON","postcode":"3301","state":"VIC"},"6371":{"id":"6371","locality":"WARRAYURE","postcode":"3301","state":"VIC"},"6372":{"id":"6372","locality":"YATCHAW","postcode":"3301","state":"VIC"},"6373":{"id":"6373","locality":"YULECART","postcode":"3301","state":"VIC"},"6374":{"id":"6374","locality":"BRANXHOLME","postcode":"3302","state":"VIC"},"6375":{"id":"6375","locality":"GRASSDALE","postcode":"3302","state":"VIC"},"6376":{"id":"6376","locality":"BREAKAWAY CREEK","postcode":"3303","state":"VIC"},"6377":{"id":"6377","locality":"CONDAH","postcode":"3303","state":"VIC"},"6378":{"id":"6378","locality":"HOTSPUR","postcode":"3303","state":"VIC"},"6379":{"id":"6379","locality":"LAKE CONDAH","postcode":"3303","state":"VIC"},"6380":{"id":"6380","locality":"WALLACEDALE","postcode":"3303","state":"VIC"},"6381":{"id":"6381","locality":"BESSIEBELLE","postcode":"3304","state":"VIC"},"6382":{"id":"6382","locality":"DARTMOOR","postcode":"3304","state":"VIC"},"6383":{"id":"6383","locality":"DRIK DRIK","postcode":"3304","state":"VIC"},"6384":{"id":"6384","locality":"DRUMBORG","postcode":"3304","state":"VIC"},"6385":{"id":"6385","locality":"GREENWALD","postcode":"3304","state":"VIC"},"6386":{"id":"6386","locality":"HEYWOOD","postcode":"3304","state":"VIC"},"6387":{"id":"6387","locality":"HOMERTON","postcode":"3304","state":"VIC"},"6388":{"id":"6388","locality":"LYONS","postcode":"3304","state":"VIC"},"6389":{"id":"6389","locality":"MILLTOWN","postcode":"3304","state":"VIC"},"6390":{"id":"6390","locality":"MUMBANNAR","postcode":"3304","state":"VIC"},"6391":{"id":"6391","locality":"MYAMYN","postcode":"3304","state":"VIC"},"6392":{"id":"6392","locality":"WINNAP","postcode":"3304","state":"VIC"},"6393":{"id":"6393","locality":"ALLESTREE","postcode":"3305","state":"VIC"},"6394":{"id":"6394","locality":"BOLWARRA","postcode":"3305","state":"VIC"},"6395":{"id":"6395","locality":"CAPE BRIDGEWATER","postcode":"3305","state":"VIC"},"6396":{"id":"6396","locality":"CASHMORE","postcode":"3305","state":"VIC"},"6397":{"id":"6397","locality":"DUTTON WAY","postcode":"3305","state":"VIC"},"6398":{"id":"6398","locality":"GORAE","postcode":"3305","state":"VIC"},"6399":{"id":"6399","locality":"GORAE WEST","postcode":"3305","state":"VIC"},"6400":{"id":"6400","locality":"HEATHMERE","postcode":"3305","state":"VIC"},"6401":{"id":"6401","locality":"MOUNT RICHMOND","postcode":"3305","state":"VIC"},"6402":{"id":"6402","locality":"PORTLAND","postcode":"3305","state":"VIC"},"6403":{"id":"6403","locality":"PORTLAND NORTH","postcode":"3305","state":"VIC"},"6404":{"id":"6404","locality":"PORTLAND WEST","postcode":"3305","state":"VIC"},"6405":{"id":"6405","locality":"DIGBY","postcode":"3309","state":"VIC"},"6406":{"id":"6406","locality":"MERINO","postcode":"3310","state":"VIC"},"6407":{"id":"6407","locality":"TAHARA WEST","postcode":"3310","state":"VIC"},"6408":{"id":"6408","locality":"CASTERTON","postcode":"3311","state":"VIC"},"6409":{"id":"6409","locality":"CORNDALE","postcode":"3311","state":"VIC"},"6410":{"id":"6410","locality":"BAHGALLAH","postcode":"3312","state":"VIC"},"6411":{"id":"6411","locality":"BRIMBOAL","postcode":"3312","state":"VIC"},"6412":{"id":"6412","locality":"CARAPOOK","postcode":"3312","state":"VIC"},"6413":{"id":"6413","locality":"CHETWYND","postcode":"3312","state":"VIC"},"6414":{"id":"6414","locality":"DERGHOLM","postcode":"3312","state":"VIC"},"6415":{"id":"6415","locality":"DORODONG","postcode":"3312","state":"VIC"},"6416":{"id":"6416","locality":"DUNROBIN","postcode":"3312","state":"VIC"},"6417":{"id":"6417","locality":"HENTY","postcode":"3312","state":"VIC"},"6418":{"id":"6418","locality":"KILLARA","postcode":"3312","state":"VIC"},"6419":{"id":"6419","locality":"LAKE MUNDI","postcode":"3312","state":"VIC"},"6420":{"id":"6420","locality":"LINDSAY","postcode":"3312","state":"VIC"},"6421":{"id":"6421","locality":"NANGEELA","postcode":"3312","state":"VIC"},"6422":{"id":"6422","locality":"POOLAIJELO","postcode":"3312","state":"VIC"},"6423":{"id":"6423","locality":"POWERS CREEK","postcode":"3312","state":"VIC"},"6424":{"id":"6424","locality":"SANDFORD","postcode":"3312","state":"VIC"},"6425":{"id":"6425","locality":"STRATHDOWNIE","postcode":"3312","state":"VIC"},"6426":{"id":"6426","locality":"WANDO BRIDGE","postcode":"3312","state":"VIC"},"6427":{"id":"6427","locality":"WANDO VALE","postcode":"3312","state":"VIC"},"6428":{"id":"6428","locality":"WARROCK","postcode":"3312","state":"VIC"},"6429":{"id":"6429","locality":"BULART","postcode":"3314","state":"VIC"},"6430":{"id":"6430","locality":"CAVENDISH","postcode":"3314","state":"VIC"},"6431":{"id":"6431","locality":"GLENISLA","postcode":"3314","state":"VIC"},"6432":{"id":"6432","locality":"GRAMPIANS","postcode":"3314","state":"VIC"},"6433":{"id":"6433","locality":"MOORALLA","postcode":"3314","state":"VIC"},"6434":{"id":"6434","locality":"BRIT BRIT","postcode":"3315","state":"VIC"},"6435":{"id":"6435","locality":"CLOVER FLAT","postcode":"3315","state":"VIC"},"6436":{"id":"6436","locality":"COLERAINE","postcode":"3315","state":"VIC"},"6437":{"id":"6437","locality":"COOJAR","postcode":"3315","state":"VIC"},"6438":{"id":"6438","locality":"CULLA","postcode":"3315","state":"VIC"},"6439":{"id":"6439","locality":"GRINGEGALGONA","postcode":"3315","state":"VIC"},"6440":{"id":"6440","locality":"GRITJURK","postcode":"3315","state":"VIC"},"6441":{"id":"6441","locality":"HILGAY","postcode":"3315","state":"VIC"},"6442":{"id":"6442","locality":"KONONGWOOTONG","postcode":"3315","state":"VIC"},"6443":{"id":"6443","locality":"MELVILLE FOREST","postcode":"3315","state":"VIC"},"6444":{"id":"6444","locality":"MUNTHAM","postcode":"3315","state":"VIC"},"6445":{"id":"6445","locality":"NAREEN","postcode":"3315","state":"VIC"},"6446":{"id":"6446","locality":"PASCHENDALE","postcode":"3315","state":"VIC"},"6447":{"id":"6447","locality":"TAHARA BRIDGE","postcode":"3315","state":"VIC"},"6448":{"id":"6448","locality":"TARRAYOUKYAN","postcode":"3315","state":"VIC"},"6449":{"id":"6449","locality":"TARRENLEA","postcode":"3315","state":"VIC"},"6450":{"id":"6450","locality":"WOOTONG VALE","postcode":"3315","state":"VIC"},"6451":{"id":"6451","locality":"HARROW","postcode":"3317","state":"VIC"},"6452":{"id":"6452","locality":"CHARAM","postcode":"3318","state":"VIC"},"6453":{"id":"6453","locality":"CONNEWIRRICOO","postcode":"3318","state":"VIC"},"6454":{"id":"6454","locality":"EDENHOPE","postcode":"3318","state":"VIC"},"6455":{"id":"6455","locality":"KADNOOK","postcode":"3318","state":"VIC"},"6456":{"id":"6456","locality":"LANGKOOP","postcode":"3318","state":"VIC"},"6457":{"id":"6457","locality":"PATYAH","postcode":"3318","state":"VIC"},"6458":{"id":"6458","locality":"ULLSWATER","postcode":"3318","state":"VIC"},"6459":{"id":"6459","locality":"APSLEY","postcode":"3319","state":"VIC"},"6460":{"id":"6460","locality":"BENAYEO","postcode":"3319","state":"VIC"},"6461":{"id":"6461","locality":"BRINGALBERT","postcode":"3319","state":"VIC"},"6462":{"id":"6462","locality":"HESSE","postcode":"3321","state":"VIC"},"6463":{"id":"6463","locality":"INVERLEIGH","postcode":"3321","state":"VIC"},"6464":{"id":"6464","locality":"WINGEEL","postcode":"3321","state":"VIC"},"6465":{"id":"6465","locality":"CRESSY","postcode":"3322","state":"VIC"},"6466":{"id":"6466","locality":"BERRYBANK","postcode":"3323","state":"VIC"},"6467":{"id":"6467","locality":"DUVERNEY","postcode":"3323","state":"VIC"},"6468":{"id":"6468","locality":"FOXHOW","postcode":"3323","state":"VIC"},"6469":{"id":"6469","locality":"LISMORE","postcode":"3324","state":"VIC"},"6470":{"id":"6470","locality":"MINGAY","postcode":"3324","state":"VIC"},"6471":{"id":"6471","locality":"MOUNT BUTE","postcode":"3324","state":"VIC"},"6472":{"id":"6472","locality":"DERRINALLUM","postcode":"3325","state":"VIC"},"6473":{"id":"6473","locality":"LARRALEA","postcode":"3325","state":"VIC"},"6474":{"id":"6474","locality":"VITE VITE","postcode":"3325","state":"VIC"},"6475":{"id":"6475","locality":"VITE VITE NORTH","postcode":"3325","state":"VIC"},"6476":{"id":"6476","locality":"TEESDALE","postcode":"3328","state":"VIC"},"6477":{"id":"6477","locality":"BARUNAH PARK","postcode":"3329","state":"VIC"},"6478":{"id":"6478","locality":"BARUNAH PLAINS","postcode":"3329","state":"VIC"},"6479":{"id":"6479","locality":"SHELFORD","postcode":"3329","state":"VIC"},"6480":{"id":"6480","locality":"ROKEWOOD","postcode":"3330","state":"VIC"},"6481":{"id":"6481","locality":"BANNOCKBURN","postcode":"3331","state":"VIC"},"6482":{"id":"6482","locality":"GHERINGHAP","postcode":"3331","state":"VIC"},"6483":{"id":"6483","locality":"MAUDE","postcode":"3331","state":"VIC"},"6484":{"id":"6484","locality":"RUSSELLS BRIDGE","postcode":"3331","state":"VIC"},"6485":{"id":"6485","locality":"SHE OAKS","postcode":"3331","state":"VIC"},"6486":{"id":"6486","locality":"STEIGLITZ","postcode":"3331","state":"VIC"},"6487":{"id":"6487","locality":"SUTHERLANDS CREEK","postcode":"3331","state":"VIC"},"6488":{"id":"6488","locality":"LETHBRIDGE","postcode":"3332","state":"VIC"},"6489":{"id":"6489","locality":"BAMGANIE","postcode":"3333","state":"VIC"},"6490":{"id":"6490","locality":"MEREDITH","postcode":"3333","state":"VIC"},"6491":{"id":"6491","locality":"BUNGAL","postcode":"3334","state":"VIC"},"6492":{"id":"6492","locality":"CARGERIE","postcode":"3334","state":"VIC"},"6493":{"id":"6493","locality":"ELAINE","postcode":"3334","state":"VIC"},"6494":{"id":"6494","locality":"MORRISONS","postcode":"3334","state":"VIC"},"6495":{"id":"6495","locality":"MOUNT DORAN","postcode":"3334","state":"VIC"},"6496":{"id":"6496","locality":"PLUMPTON","postcode":"3335","state":"VIC"},"6497":{"id":"6497","locality":"ROCKBANK","postcode":"3335","state":"VIC"},"6498":{"id":"6498","locality":"KURUNJANG","postcode":"3337","state":"VIC"},"6499":{"id":"6499","locality":"MELTON","postcode":"3337","state":"VIC"},"6500":{"id":"6500","locality":"MELTON WEST","postcode":"3337","state":"VIC"},"6501":{"id":"6501","locality":"TOOLERN VALE","postcode":"3337","state":"VIC"},"6502":{"id":"6502","locality":"BROOKFIELD","postcode":"3338","state":"VIC"},"6503":{"id":"6503","locality":"EXFORD","postcode":"3338","state":"VIC"},"6504":{"id":"6504","locality":"EYNESBURY","postcode":"3338","state":"VIC"},"6505":{"id":"6505","locality":"MELTON SOUTH","postcode":"3338","state":"VIC"},"6506":{"id":"6506","locality":"BACCHUS MARSH","postcode":"3340","state":"VIC"},"6507":{"id":"6507","locality":"BALLIANG","postcode":"3340","state":"VIC"},"6508":{"id":"6508","locality":"BALLIANG EAST","postcode":"3340","state":"VIC"},"6509":{"id":"6509","locality":"COIMADAI","postcode":"3340","state":"VIC"},"6510":{"id":"6510","locality":"DARLEY","postcode":"3340","state":"VIC"},"6511":{"id":"6511","locality":"GLENMORE","postcode":"3340","state":"VIC"},"6512":{"id":"6512","locality":"HOPETOUN PARK","postcode":"3340","state":"VIC"},"6513":{"id":"6513","locality":"LONG FOREST","postcode":"3340","state":"VIC"},"6514":{"id":"6514","locality":"MADDINGLEY","postcode":"3340","state":"VIC"},"6515":{"id":"6515","locality":"MERRIMU","postcode":"3340","state":"VIC"},"6516":{"id":"6516","locality":"PARWAN","postcode":"3340","state":"VIC"},"6517":{"id":"6517","locality":"ROWSLEY","postcode":"3340","state":"VIC"},"6518":{"id":"6518","locality":"STAUGHTON VALE","postcode":"3340","state":"VIC"},"6519":{"id":"6519","locality":"DALES CREEK","postcode":"3341","state":"VIC"},"6520":{"id":"6520","locality":"GREENDALE","postcode":"3341","state":"VIC"},"6521":{"id":"6521","locality":"KOROBEIT","postcode":"3341","state":"VIC"},"6522":{"id":"6522","locality":"MYRNIONG","postcode":"3341","state":"VIC"},"6523":{"id":"6523","locality":"PENTLAND HILLS","postcode":"3341","state":"VIC"},"6524":{"id":"6524","locality":"BALLAN","postcode":"3342","state":"VIC"},"6525":{"id":"6525","locality":"BEREMBOKE","postcode":"3342","state":"VIC"},"6526":{"id":"6526","locality":"BLAKEVILLE","postcode":"3342","state":"VIC"},"6527":{"id":"6527","locality":"BUNDING","postcode":"3342","state":"VIC"},"6528":{"id":"6528","locality":"COLBROOK","postcode":"3342","state":"VIC"},"6529":{"id":"6529","locality":"DURDIDWARRAH","postcode":"3342","state":"VIC"},"6530":{"id":"6530","locality":"FISKVILLE","postcode":"3342","state":"VIC"},"6531":{"id":"6531","locality":"INGLISTON","postcode":"3342","state":"VIC"},"6532":{"id":"6532","locality":"MOUNT WALLACE","postcode":"3342","state":"VIC"},"6533":{"id":"6533","locality":"GORDON","postcode":"3345","state":"VIC"},"6534":{"id":"6534","locality":"ALFREDTON","postcode":"3350","state":"VIC"},"6535":{"id":"6535","locality":"BAKERY HILL","postcode":"3350","state":"VIC"},"6536":{"id":"6536","locality":"BALLARAT","postcode":"3350","state":"VIC"},"6537":{"id":"6537","locality":"BALLARAT CENTRAL","postcode":"3350","state":"VIC"},"6538":{"id":"6538","locality":"BALLARAT EAST","postcode":"3350","state":"VIC"},"6539":{"id":"6539","locality":"BALLARAT NORTH","postcode":"3350","state":"VIC"},"6540":{"id":"6540","locality":"BALLARAT WEST","postcode":"3350","state":"VIC"},"6541":{"id":"6541","locality":"BLACK HILL","postcode":"3350","state":"VIC"},"6542":{"id":"6542","locality":"BROWN HILL","postcode":"3350","state":"VIC"},"6543":{"id":"6543","locality":"CANADIAN","postcode":"3350","state":"VIC"},"6544":{"id":"6544","locality":"EUREKA","postcode":"3350","state":"VIC"},"6545":{"id":"6545","locality":"GOLDEN POINT","postcode":"3350","state":"VIC"},"6546":{"id":"6546","locality":"INVERMAY PARK","postcode":"3350","state":"VIC"},"6547":{"id":"6547","locality":"LAKE WENDOUREE","postcode":"3350","state":"VIC"},"6548":{"id":"6548","locality":"MOUNT CLEAR","postcode":"3350","state":"VIC"},"6549":{"id":"6549","locality":"MOUNT HELEN","postcode":"3350","state":"VIC"},"6550":{"id":"6550","locality":"MOUNT PLEASANT","postcode":"3350","state":"VIC"},"6551":{"id":"6551","locality":"NERRINA","postcode":"3350","state":"VIC"},"6552":{"id":"6552","locality":"NEWINGTON","postcode":"3350","state":"VIC"},"6553":{"id":"6553","locality":"REDAN","postcode":"3350","state":"VIC"},"6554":{"id":"6554","locality":"SOLDIERS HILL","postcode":"3350","state":"VIC"},"6555":{"id":"6555","locality":"BERRINGA","postcode":"3351","state":"VIC"},"6556":{"id":"6556","locality":"BO PEEP","postcode":"3351","state":"VIC"},"6557":{"id":"6557","locality":"CAPE CLEAR","postcode":"3351","state":"VIC"},"6558":{"id":"6558","locality":"CARNGHAM","postcode":"3351","state":"VIC"},"6559":{"id":"6559","locality":"CHEPSTOWE","postcode":"3351","state":"VIC"},"6560":{"id":"6560","locality":"HADDON","postcode":"3351","state":"VIC"},"6561":{"id":"6561","locality":"HILLCREST","postcode":"3351","state":"VIC"},"6562":{"id":"6562","locality":"ILLABAROOK","postcode":"3351","state":"VIC"},"6563":{"id":"6563","locality":"LAKE BOLAC","postcode":"3351","state":"VIC"},"6564":{"id":"6564","locality":"MININERA","postcode":"3351","state":"VIC"},"6565":{"id":"6565","locality":"MOUNT EMU","postcode":"3351","state":"VIC"},"6566":{"id":"6566","locality":"NERRIN NERRIN","postcode":"3351","state":"VIC"},"6567":{"id":"6567","locality":"NEWTOWN","postcode":"3351","state":"VIC"},"6568":{"id":"6568","locality":"NINTINGBOOL","postcode":"3351","state":"VIC"},"6569":{"id":"6569","locality":"PIGGOREET","postcode":"3351","state":"VIC"},"6570":{"id":"6570","locality":"PITFIELD","postcode":"3351","state":"VIC"},"6571":{"id":"6571","locality":"ROKEWOOD JUNCTION","postcode":"3351","state":"VIC"},"6572":{"id":"6572","locality":"ROSS CREEK","postcode":"3351","state":"VIC"},"6573":{"id":"6573","locality":"SCARSDALE","postcode":"3351","state":"VIC"},"6574":{"id":"6574","locality":"SMYTHES CREEK","postcode":"3351","state":"VIC"},"6575":{"id":"6575","locality":"SMYTHESDALE","postcode":"3351","state":"VIC"},"6576":{"id":"6576","locality":"SNAKE VALLEY","postcode":"3351","state":"VIC"},"6577":{"id":"6577","locality":"SPRINGDALLAH","postcode":"3351","state":"VIC"},"6578":{"id":"6578","locality":"STAFFORDSHIRE REEF","postcode":"3351","state":"VIC"},"6579":{"id":"6579","locality":"STREATHAM","postcode":"3351","state":"VIC"},"6580":{"id":"6580","locality":"WALLINDUC","postcode":"3351","state":"VIC"},"6581":{"id":"6581","locality":"WESTMERE","postcode":"3351","state":"VIC"},"6582":{"id":"6582","locality":"ADDINGTON","postcode":"3352","state":"VIC"},"6583":{"id":"6583","locality":"BALLARAT ROADSIDE DELIVERY","postcode":"3352","state":"VIC"},"6584":{"id":"6584","locality":"BLOWHARD","postcode":"3352","state":"VIC"},"6585":{"id":"6585","locality":"BOLWARRAH","postcode":"3352","state":"VIC"},"6586":{"id":"6586","locality":"BONSHAW","postcode":"3352","state":"VIC"},"6587":{"id":"6587","locality":"BREWSTER","postcode":"3352","state":"VIC"},"6588":{"id":"6588","locality":"BULLAROOK","postcode":"3352","state":"VIC"},"6589":{"id":"6589","locality":"BUNGAREE","postcode":"3352","state":"VIC"},"6590":{"id":"6590","locality":"BUNKERS HILL","postcode":"3352","state":"VIC"},"6591":{"id":"6591","locality":"BURRUMBEET","postcode":"3352","state":"VIC"},"6592":{"id":"6592","locality":"CAMBRIAN HILL","postcode":"3352","state":"VIC"},"6593":{"id":"6593","locality":"CARDIGAN","postcode":"3352","state":"VIC"},"6594":{"id":"6594","locality":"CARDIGAN VILLAGE","postcode":"3352","state":"VIC"},"6595":{"id":"6595","locality":"CHAPEL FLAT","postcode":"3352","state":"VIC"},"6596":{"id":"6596","locality":"CLARENDON","postcode":"3352","state":"VIC"},"6597":{"id":"6597","locality":"CLARETOWN","postcode":"3352","state":"VIC"},"6598":{"id":"6598","locality":"CLARKES HILL","postcode":"3352","state":"VIC"},"6599":{"id":"6599","locality":"CORINDHAP","postcode":"3352","state":"VIC"},"6600":{"id":"6600","locality":"DEREEL","postcode":"3352","state":"VIC"},"6601":{"id":"6601","locality":"DUNNSTOWN","postcode":"3352","state":"VIC"},"6602":{"id":"6602","locality":"DURHAM LEAD","postcode":"3352","state":"VIC"},"6603":{"id":"6603","locality":"ENFIELD","postcode":"3352","state":"VIC"},"6604":{"id":"6604","locality":"ERCILDOUNE","postcode":"3352","state":"VIC"},"6605":{"id":"6605","locality":"GARIBALDI","postcode":"3352","state":"VIC"},"6606":{"id":"6606","locality":"GLEN PARK","postcode":"3352","state":"VIC"},"6607":{"id":"6607","locality":"GLENBRAE","postcode":"3352","state":"VIC"},"6608":{"id":"6608","locality":"GONG GONG","postcode":"3352","state":"VIC"},"6609":{"id":"6609","locality":"GRENVILLE","postcode":"3352","state":"VIC"},"6610":{"id":"6610","locality":"INVERMAY","postcode":"3352","state":"VIC"},"6611":{"id":"6611","locality":"LAL LAL","postcode":"3352","state":"VIC"},"6612":{"id":"6612","locality":"LAMPLOUGH","postcode":"3352","state":"VIC"},"6613":{"id":"6613","locality":"LANGI KAL KAL","postcode":"3352","state":"VIC"},"6614":{"id":"6614","locality":"LEARMONTH","postcode":"3352","state":"VIC"},"6615":{"id":"6615","locality":"LEIGH CREEK","postcode":"3352","state":"VIC"},"6616":{"id":"6616","locality":"LEXTON","postcode":"3352","state":"VIC"},"6617":{"id":"6617","locality":"MAGPIE","postcode":"3352","state":"VIC"},"6618":{"id":"6618","locality":"MILLBROOK","postcode":"3352","state":"VIC"},"6619":{"id":"6619","locality":"MINERS REST","postcode":"3352","state":"VIC"},"6620":{"id":"6620","locality":"MITCHELL PARK","postcode":"3352","state":"VIC"},"6621":{"id":"6621","locality":"MOLLONGGHIP","postcode":"3352","state":"VIC"},"6622":{"id":"6622","locality":"MOUNT BOLTON","postcode":"3352","state":"VIC"},"6623":{"id":"6623","locality":"MOUNT EGERTON","postcode":"3352","state":"VIC"},"6624":{"id":"6624","locality":"MOUNT MERCER","postcode":"3352","state":"VIC"},"6625":{"id":"6625","locality":"MOUNT ROWAN","postcode":"3352","state":"VIC"},"6626":{"id":"6626","locality":"NAPOLEONS","postcode":"3352","state":"VIC"},"6627":{"id":"6627","locality":"NAVIGATORS","postcode":"3352","state":"VIC"},"6628":{"id":"6628","locality":"POOTILLA","postcode":"3352","state":"VIC"},"6629":{"id":"6629","locality":"SCOTCHMANS LEAD","postcode":"3352","state":"VIC"},"6630":{"id":"6630","locality":"SCOTSBURN","postcode":"3352","state":"VIC"},"6631":{"id":"6631","locality":"SPRINGBANK","postcode":"3352","state":"VIC"},"6632":{"id":"6632","locality":"SULKY","postcode":"3352","state":"VIC"},"6633":{"id":"6633","locality":"WALLACE","postcode":"3352","state":"VIC"},"6634":{"id":"6634","locality":"WARRENHEIP","postcode":"3352","state":"VIC"},"6635":{"id":"6635","locality":"WATTLE FLAT","postcode":"3352","state":"VIC"},"6636":{"id":"6636","locality":"WAUBRA","postcode":"3352","state":"VIC"},"6637":{"id":"6637","locality":"WEATHERBOARD","postcode":"3352","state":"VIC"},"6638":{"id":"6638","locality":"WERNETH","postcode":"3352","state":"VIC"},"6639":{"id":"6639","locality":"WINDERMERE","postcode":"3352","state":"VIC"},"6640":{"id":"6640","locality":"YENDON","postcode":"3352","state":"VIC"},"6641":{"id":"6641","locality":"BALLARAT","postcode":"3353","state":"VIC"},"6642":{"id":"6642","locality":"BAKERY HILL","postcode":"3354","state":"VIC"},"6643":{"id":"6643","locality":"BALLARAT MC","postcode":"3354","state":"VIC"},"6644":{"id":"6644","locality":"LAKE GARDENS","postcode":"3355","state":"VIC"},"6645":{"id":"6645","locality":"MITCHELL PARK","postcode":"3355","state":"VIC"},"6646":{"id":"6646","locality":"WENDOUREE","postcode":"3355","state":"VIC"},"6647":{"id":"6647","locality":"WENDOUREE VILLAGE","postcode":"3355","state":"VIC"},"6648":{"id":"6648","locality":"DELACOMBE","postcode":"3356","state":"VIC"},"6649":{"id":"6649","locality":"SEBASTOPOL","postcode":"3356","state":"VIC"},"6650":{"id":"6650","locality":"BUNINYONG","postcode":"3357","state":"VIC"},"6651":{"id":"6651","locality":"HAPPY VALLEY","postcode":"3360","state":"VIC"},"6652":{"id":"6652","locality":"LINTON","postcode":"3360","state":"VIC"},"6653":{"id":"6653","locality":"MANNIBADAR","postcode":"3360","state":"VIC"},"6654":{"id":"6654","locality":"PITTONG","postcode":"3360","state":"VIC"},"6655":{"id":"6655","locality":"WILLOWVALE","postcode":"3360","state":"VIC"},"6656":{"id":"6656","locality":"BRADVALE","postcode":"3361","state":"VIC"},"6657":{"id":"6657","locality":"CARRANBALLAC","postcode":"3361","state":"VIC"},"6658":{"id":"6658","locality":"SKIPTON","postcode":"3361","state":"VIC"},"6659":{"id":"6659","locality":"CRESWICK","postcode":"3363","state":"VIC"},"6660":{"id":"6660","locality":"CRESWICK NORTH","postcode":"3363","state":"VIC"},"6661":{"id":"6661","locality":"DEAN","postcode":"3363","state":"VIC"},"6662":{"id":"6662","locality":"GLENDARUEL","postcode":"3363","state":"VIC"},"6663":{"id":"6663","locality":"LANGDONS HILL","postcode":"3363","state":"VIC"},"6664":{"id":"6664","locality":"MOUNT BECKWORTH","postcode":"3363","state":"VIC"},"6665":{"id":"6665","locality":"TOURELLO","postcode":"3363","state":"VIC"},"6666":{"id":"6666","locality":"ALLENDALE","postcode":"3364","state":"VIC"},"6667":{"id":"6667","locality":"ASCOT","postcode":"3364","state":"VIC"},"6668":{"id":"6668","locality":"BALD HILLS","postcode":"3364","state":"VIC"},"6669":{"id":"6669","locality":"BARKSTEAD","postcode":"3364","state":"VIC"},"6670":{"id":"6670","locality":"BLAMPIED","postcode":"3364","state":"VIC"},"6671":{"id":"6671","locality":"BROOMFIELD","postcode":"3364","state":"VIC"},"6672":{"id":"6672","locality":"CABBAGE TREE","postcode":"3364","state":"VIC"},"6673":{"id":"6673","locality":"CAMPBELLTOWN","postcode":"3364","state":"VIC"},"6674":{"id":"6674","locality":"COGHILLS CREEK","postcode":"3364","state":"VIC"},"6675":{"id":"6675","locality":"GLENDONALD","postcode":"3364","state":"VIC"},"6676":{"id":"6676","locality":"JOYCES CREEK","postcode":"3364","state":"VIC"},"6677":{"id":"6677","locality":"KINGSTON","postcode":"3364","state":"VIC"},"6678":{"id":"6678","locality":"KOOROOCHEANG","postcode":"3364","state":"VIC"},"6679":{"id":"6679","locality":"LAWRENCE","postcode":"3364","state":"VIC"},"6680":{"id":"6680","locality":"MOUNT PROSPECT","postcode":"3364","state":"VIC"},"6681":{"id":"6681","locality":"NEWLYN","postcode":"3364","state":"VIC"},"6682":{"id":"6682","locality":"NEWLYN NORTH","postcode":"3364","state":"VIC"},"6683":{"id":"6683","locality":"ROCKLYN","postcode":"3364","state":"VIC"},"6684":{"id":"6684","locality":"SMEATON","postcode":"3364","state":"VIC"},"6685":{"id":"6685","locality":"SMOKEYTOWN","postcode":"3364","state":"VIC"},"6686":{"id":"6686","locality":"SPRINGMOUNT","postcode":"3364","state":"VIC"},"6687":{"id":"6687","locality":"STRATHLEA","postcode":"3364","state":"VIC"},"6688":{"id":"6688","locality":"WERONA","postcode":"3364","state":"VIC"},"6689":{"id":"6689","locality":"CLUNES","postcode":"3370","state":"VIC"},"6690":{"id":"6690","locality":"GLENGOWER","postcode":"3370","state":"VIC"},"6691":{"id":"6691","locality":"MOUNT CAMERON","postcode":"3370","state":"VIC"},"6692":{"id":"6692","locality":"ULLINA","postcode":"3370","state":"VIC"},"6693":{"id":"6693","locality":"AMHERST","postcode":"3371","state":"VIC"},"6694":{"id":"6694","locality":"BURNBANK","postcode":"3371","state":"VIC"},"6695":{"id":"6695","locality":"CARALULUP","postcode":"3371","state":"VIC"},"6696":{"id":"6696","locality":"DUNACH","postcode":"3371","state":"VIC"},"6697":{"id":"6697","locality":"EVANSFORD","postcode":"3371","state":"VIC"},"6698":{"id":"6698","locality":"LILLICUR","postcode":"3371","state":"VIC"},"6699":{"id":"6699","locality":"MOUNT GLASGOW","postcode":"3371","state":"VIC"},"6700":{"id":"6700","locality":"RED LION","postcode":"3371","state":"VIC"},"6701":{"id":"6701","locality":"STONY CREEK","postcode":"3371","state":"VIC"},"6702":{"id":"6702","locality":"TALBOT","postcode":"3371","state":"VIC"},"6703":{"id":"6703","locality":"BEAUFORT","postcode":"3373","state":"VIC"},"6704":{"id":"6704","locality":"CHUTE","postcode":"3373","state":"VIC"},"6705":{"id":"6705","locality":"CROSS ROADS","postcode":"3373","state":"VIC"},"6706":{"id":"6706","locality":"LAKE GOLDSMITH","postcode":"3373","state":"VIC"},"6707":{"id":"6707","locality":"LAKE WONGAN","postcode":"3373","state":"VIC"},"6708":{"id":"6708","locality":"MAIN LEAD","postcode":"3373","state":"VIC"},"6709":{"id":"6709","locality":"MENA PARK","postcode":"3373","state":"VIC"},"6710":{"id":"6710","locality":"NERRING","postcode":"3373","state":"VIC"},"6711":{"id":"6711","locality":"RAGLAN","postcode":"3373","state":"VIC"},"6712":{"id":"6712","locality":"STOCKYARD HILL","postcode":"3373","state":"VIC"},"6713":{"id":"6713","locality":"STONELEIGH","postcode":"3373","state":"VIC"},"6714":{"id":"6714","locality":"TRAWALLA","postcode":"3373","state":"VIC"},"6715":{"id":"6715","locality":"WATERLOO","postcode":"3373","state":"VIC"},"6716":{"id":"6716","locality":"GREAT WESTERN","postcode":"3374","state":"VIC"},"6717":{"id":"6717","locality":"BALLYROGAN","postcode":"3375","state":"VIC"},"6718":{"id":"6718","locality":"BAYINDEEN","postcode":"3375","state":"VIC"},"6719":{"id":"6719","locality":"BUANGOR","postcode":"3375","state":"VIC"},"6720":{"id":"6720","locality":"MIDDLE CREEK","postcode":"3375","state":"VIC"},"6721":{"id":"6721","locality":"ARARAT","postcode":"3377","state":"VIC"},"6722":{"id":"6722","locality":"ARMSTRONG","postcode":"3377","state":"VIC"},"6723":{"id":"6723","locality":"BULGANA","postcode":"3377","state":"VIC"},"6724":{"id":"6724","locality":"CATHCART","postcode":"3377","state":"VIC"},"6725":{"id":"6725","locality":"CROWLANDS","postcode":"3377","state":"VIC"},"6726":{"id":"6726","locality":"DENICULL CREEK","postcode":"3377","state":"VIC"},"6727":{"id":"6727","locality":"DOBIE","postcode":"3377","state":"VIC"},"6728":{"id":"6728","locality":"DUNNEWORTHY","postcode":"3377","state":"VIC"},"6729":{"id":"6729","locality":"EVERSLEY","postcode":"3377","state":"VIC"},"6730":{"id":"6730","locality":"LANGI LOGAN","postcode":"3377","state":"VIC"},"6731":{"id":"6731","locality":"MAROONA","postcode":"3377","state":"VIC"},"6732":{"id":"6732","locality":"MOUNT COLE","postcode":"3377","state":"VIC"},"6733":{"id":"6733","locality":"MOUNT COLE CREEK","postcode":"3377","state":"VIC"},"6734":{"id":"6734","locality":"MOYSTON","postcode":"3377","state":"VIC"},"6735":{"id":"6735","locality":"NORVAL","postcode":"3377","state":"VIC"},"6736":{"id":"6736","locality":"RHYMNEY","postcode":"3377","state":"VIC"},"6737":{"id":"6737","locality":"ROCKY POINT","postcode":"3377","state":"VIC"},"6738":{"id":"6738","locality":"ROSSBRIDGE","postcode":"3377","state":"VIC"},"6739":{"id":"6739","locality":"SHAYS FLAT","postcode":"3377","state":"VIC"},"6740":{"id":"6740","locality":"WARRAK","postcode":"3377","state":"VIC"},"6741":{"id":"6741","locality":"TATYOON","postcode":"3378","state":"VIC"},"6742":{"id":"6742","locality":"YALLA-Y-POORA","postcode":"3378","state":"VIC"},"6743":{"id":"6743","locality":"BORNES HILL","postcode":"3379","state":"VIC"},"6744":{"id":"6744","locality":"CHATSWORTH","postcode":"3379","state":"VIC"},"6745":{"id":"6745","locality":"MAFEKING","postcode":"3379","state":"VIC"},"6746":{"id":"6746","locality":"STAVELY","postcode":"3379","state":"VIC"},"6747":{"id":"6747","locality":"WICKLIFFE","postcode":"3379","state":"VIC"},"6748":{"id":"6748","locality":"WILLAURA","postcode":"3379","state":"VIC"},"6749":{"id":"6749","locality":"WILLAURA NORTH","postcode":"3379","state":"VIC"},"6750":{"id":"6750","locality":"STAWELL","postcode":"3380","state":"VIC"},"6751":{"id":"6751","locality":"STAWELL WEST","postcode":"3380","state":"VIC"},"6752":{"id":"6752","locality":"BELLELLEN","postcode":"3381","state":"VIC"},"6753":{"id":"6753","locality":"BELLFIELD","postcode":"3381","state":"VIC"},"6754":{"id":"6754","locality":"BLACK RANGE","postcode":"3381","state":"VIC"},"6755":{"id":"6755","locality":"FYANS CREEK","postcode":"3381","state":"VIC"},"6756":{"id":"6756","locality":"HALLS GAP","postcode":"3381","state":"VIC"},"6757":{"id":"6757","locality":"ILLAWARRA","postcode":"3381","state":"VIC"},"6758":{"id":"6758","locality":"LAKE FYANS","postcode":"3381","state":"VIC"},"6759":{"id":"6759","locality":"LAKE LONSDALE","postcode":"3381","state":"VIC"},"6760":{"id":"6760","locality":"MOKEPILLY","postcode":"3381","state":"VIC"},"6761":{"id":"6761","locality":"MOUNT DRYDEN","postcode":"3381","state":"VIC"},"6762":{"id":"6762","locality":"POMONAL","postcode":"3381","state":"VIC"},"6763":{"id":"6763","locality":"BARKLY","postcode":"3384","state":"VIC"},"6764":{"id":"6764","locality":"CONCONGELLA","postcode":"3384","state":"VIC"},"6765":{"id":"6765","locality":"FRENCHMANS","postcode":"3384","state":"VIC"},"6766":{"id":"6766","locality":"JOEL JOEL","postcode":"3384","state":"VIC"},"6767":{"id":"6767","locality":"JOEL SOUTH","postcode":"3384","state":"VIC"},"6768":{"id":"6768","locality":"LANDSBOROUGH","postcode":"3384","state":"VIC"},"6769":{"id":"6769","locality":"LANDSBOROUGH WEST","postcode":"3384","state":"VIC"},"6770":{"id":"6770","locality":"NAVARRE","postcode":"3384","state":"VIC"},"6771":{"id":"6771","locality":"TULKARA","postcode":"3384","state":"VIC"},"6772":{"id":"6772","locality":"WATTLE CREEK","postcode":"3384","state":"VIC"},"6773":{"id":"6773","locality":"DADSWELLS BRIDGE","postcode":"3385","state":"VIC"},"6774":{"id":"6774","locality":"DEEP LEAD","postcode":"3385","state":"VIC"},"6775":{"id":"6775","locality":"GLENORCHY","postcode":"3385","state":"VIC"},"6776":{"id":"6776","locality":"LEDCOURT","postcode":"3385","state":"VIC"},"6777":{"id":"6777","locality":"LUBECK","postcode":"3385","state":"VIC"},"6778":{"id":"6778","locality":"RIACHELLA","postcode":"3385","state":"VIC"},"6779":{"id":"6779","locality":"ROSES GAP","postcode":"3385","state":"VIC"},"6780":{"id":"6780","locality":"WAL WAL","postcode":"3385","state":"VIC"},"6781":{"id":"6781","locality":"BOLANGUM","postcode":"3387","state":"VIC"},"6782":{"id":"6782","locality":"CALLAWADDA","postcode":"3387","state":"VIC"},"6783":{"id":"6783","locality":"CAMPBELLS BRIDGE","postcode":"3387","state":"VIC"},"6784":{"id":"6784","locality":"GERMANIA","postcode":"3387","state":"VIC"},"6785":{"id":"6785","locality":"GREENS CREEK","postcode":"3387","state":"VIC"},"6786":{"id":"6786","locality":"KANYA","postcode":"3387","state":"VIC"},"6787":{"id":"6787","locality":"MARNOO","postcode":"3387","state":"VIC"},"6788":{"id":"6788","locality":"MARNOO WEST","postcode":"3387","state":"VIC"},"6789":{"id":"6789","locality":"MORRL MORRL","postcode":"3387","state":"VIC"},"6790":{"id":"6790","locality":"WALLALOO","postcode":"3387","state":"VIC"},"6791":{"id":"6791","locality":"WALLALOO EAST","postcode":"3387","state":"VIC"},"6792":{"id":"6792","locality":"BANYENA","postcode":"3388","state":"VIC"},"6793":{"id":"6793","locality":"RUPANYUP","postcode":"3388","state":"VIC"},"6794":{"id":"6794","locality":"KEWELL","postcode":"3390","state":"VIC"},"6795":{"id":"6795","locality":"MURTOA","postcode":"3390","state":"VIC"},"6796":{"id":"6796","locality":"BRIM","postcode":"3391","state":"VIC"},"6797":{"id":"6797","locality":"BOOLITE","postcode":"3392","state":"VIC"},"6798":{"id":"6798","locality":"MINYIP","postcode":"3392","state":"VIC"},"6799":{"id":"6799","locality":"SHEEP HILLS","postcode":"3392","state":"VIC"},"6800":{"id":"6800","locality":"AUBREY","postcode":"3393","state":"VIC"},"6801":{"id":"6801","locality":"BANGERANG","postcode":"3393","state":"VIC"},"6802":{"id":"6802","locality":"CANNUM","postcode":"3393","state":"VIC"},"6803":{"id":"6803","locality":"CRYMELON","postcode":"3393","state":"VIC"},"6804":{"id":"6804","locality":"KELLALAC","postcode":"3393","state":"VIC"},"6805":{"id":"6805","locality":"LAH","postcode":"3393","state":"VIC"},"6806":{"id":"6806","locality":"WARRACKNABEAL","postcode":"3393","state":"VIC"},"6807":{"id":"6807","locality":"WILKUR","postcode":"3393","state":"VIC"},"6808":{"id":"6808","locality":"WILLENABRINA","postcode":"3393","state":"VIC"},"6809":{"id":"6809","locality":"BEULAH","postcode":"3395","state":"VIC"},"6810":{"id":"6810","locality":"KENMARE","postcode":"3395","state":"VIC"},"6811":{"id":"6811","locality":"REEDY DAM","postcode":"3395","state":"VIC"},"6812":{"id":"6812","locality":"ROSEBERY","postcode":"3395","state":"VIC"},"6813":{"id":"6813","locality":"HOPETOUN","postcode":"3396","state":"VIC"},"6814":{"id":"6814","locality":"HORSHAM","postcode":"3400","state":"VIC"},"6815":{"id":"6815","locality":"BLACKHEATH","postcode":"3401","state":"VIC"},"6816":{"id":"6816","locality":"BRIMPAEN","postcode":"3401","state":"VIC"},"6817":{"id":"6817","locality":"BUNGALALLY","postcode":"3401","state":"VIC"},"6818":{"id":"6818","locality":"CHERRYPOOL","postcode":"3401","state":"VIC"},"6819":{"id":"6819","locality":"DOOEN","postcode":"3401","state":"VIC"},"6820":{"id":"6820","locality":"DRUNG","postcode":"3401","state":"VIC"},"6821":{"id":"6821","locality":"GYMBOWEN","postcode":"3401","state":"VIC"},"6822":{"id":"6822","locality":"HAVEN","postcode":"3401","state":"VIC"},"6823":{"id":"6823","locality":"JUNG","postcode":"3401","state":"VIC"},"6824":{"id":"6824","locality":"KALKEE","postcode":"3401","state":"VIC"},"6825":{"id":"6825","locality":"KANAGULK","postcode":"3401","state":"VIC"},"6826":{"id":"6826","locality":"KARNAK","postcode":"3401","state":"VIC"},"6827":{"id":"6827","locality":"LAHARUM","postcode":"3401","state":"VIC"},"6828":{"id":"6828","locality":"LONGERENONG","postcode":"3401","state":"VIC"},"6829":{"id":"6829","locality":"LOWER NORTON","postcode":"3401","state":"VIC"},"6830":{"id":"6830","locality":"MCKENZIE CREEK","postcode":"3401","state":"VIC"},"6831":{"id":"6831","locality":"MOCKINYA","postcode":"3401","state":"VIC"},"6832":{"id":"6832","locality":"MURRA WARRA","postcode":"3401","state":"VIC"},"6833":{"id":"6833","locality":"NURCOUNG","postcode":"3401","state":"VIC"},"6834":{"id":"6834","locality":"NURRABIEL","postcode":"3401","state":"VIC"},"6835":{"id":"6835","locality":"PIMPINIO","postcode":"3401","state":"VIC"},"6836":{"id":"6836","locality":"QUANTONG","postcode":"3401","state":"VIC"},"6837":{"id":"6837","locality":"RIVERSIDE","postcode":"3401","state":"VIC"},"6838":{"id":"6838","locality":"ROCKLANDS","postcode":"3401","state":"VIC"},"6839":{"id":"6839","locality":"ST HELENS PLAINS","postcode":"3401","state":"VIC"},"6840":{"id":"6840","locality":"TELANGATUK EAST","postcode":"3401","state":"VIC"},"6841":{"id":"6841","locality":"TOOLONDO","postcode":"3401","state":"VIC"},"6842":{"id":"6842","locality":"VECTIS","postcode":"3401","state":"VIC"},"6843":{"id":"6843","locality":"WAIL","postcode":"3401","state":"VIC"},"6844":{"id":"6844","locality":"WALLUP","postcode":"3401","state":"VIC"},"6845":{"id":"6845","locality":"WARTOOK","postcode":"3401","state":"VIC"},"6846":{"id":"6846","locality":"WONWONDAH","postcode":"3401","state":"VIC"},"6847":{"id":"6847","locality":"ZUMSTEINS","postcode":"3401","state":"VIC"},"6848":{"id":"6848","locality":"HORSHAM","postcode":"3402","state":"VIC"},"6849":{"id":"6849","locality":"BALMORAL","postcode":"3407","state":"VIC"},"6850":{"id":"6850","locality":"ENGLEFIELD","postcode":"3407","state":"VIC"},"6851":{"id":"6851","locality":"GATUM","postcode":"3407","state":"VIC"},"6852":{"id":"6852","locality":"PIGEON PONDS","postcode":"3407","state":"VIC"},"6853":{"id":"6853","locality":"VASEY","postcode":"3407","state":"VIC"},"6854":{"id":"6854","locality":"ARAPILES","postcode":"3409","state":"VIC"},"6855":{"id":"6855","locality":"CLEAR LAKE","postcode":"3409","state":"VIC"},"6856":{"id":"6856","locality":"DOUGLAS","postcode":"3409","state":"VIC"},"6857":{"id":"6857","locality":"DUCHEMBEGARRA","postcode":"3409","state":"VIC"},"6858":{"id":"6858","locality":"GRASS FLAT","postcode":"3409","state":"VIC"},"6859":{"id":"6859","locality":"JILPANGER","postcode":"3409","state":"VIC"},"6860":{"id":"6860","locality":"MIGA LAKE","postcode":"3409","state":"VIC"},"6861":{"id":"6861","locality":"MITRE","postcode":"3409","state":"VIC"},"6862":{"id":"6862","locality":"NATIMUK","postcode":"3409","state":"VIC"},"6863":{"id":"6863","locality":"NORADJUHA","postcode":"3409","state":"VIC"},"6864":{"id":"6864","locality":"TOOAN","postcode":"3409","state":"VIC"},"6865":{"id":"6865","locality":"WOMBELANO","postcode":"3409","state":"VIC"},"6866":{"id":"6866","locality":"GOROKE","postcode":"3412","state":"VIC"},"6867":{"id":"6867","locality":"MINIMAY","postcode":"3413","state":"VIC"},"6868":{"id":"6868","locality":"NEUARPURR","postcode":"3413","state":"VIC"},"6869":{"id":"6869","locality":"OZENKADNOOK","postcode":"3413","state":"VIC"},"6870":{"id":"6870","locality":"PERONNE","postcode":"3413","state":"VIC"},"6871":{"id":"6871","locality":"ANTWERP","postcode":"3414","state":"VIC"},"6872":{"id":"6872","locality":"DIMBOOLA","postcode":"3414","state":"VIC"},"6873":{"id":"6873","locality":"TARRANYURK","postcode":"3414","state":"VIC"},"6874":{"id":"6874","locality":"MIRAM","postcode":"3415","state":"VIC"},"6875":{"id":"6875","locality":"BROUGHTON","postcode":"3418","state":"VIC"},"6876":{"id":"6876","locality":"GERANG GERUNG","postcode":"3418","state":"VIC"},"6877":{"id":"6877","locality":"GLENLEE","postcode":"3418","state":"VIC"},"6878":{"id":"6878","locality":"KIATA","postcode":"3418","state":"VIC"},"6879":{"id":"6879","locality":"LAWLOIT","postcode":"3418","state":"VIC"},"6880":{"id":"6880","locality":"LITTLE DESERT","postcode":"3418","state":"VIC"},"6881":{"id":"6881","locality":"LORQUON","postcode":"3418","state":"VIC"},"6882":{"id":"6882","locality":"NETHERBY","postcode":"3418","state":"VIC"},"6883":{"id":"6883","locality":"NHILL","postcode":"3418","state":"VIC"},"6884":{"id":"6884","locality":"YANAC","postcode":"3418","state":"VIC"},"6885":{"id":"6885","locality":"KANIVA","postcode":"3419","state":"VIC"},"6886":{"id":"6886","locality":"LILLIMUR","postcode":"3420","state":"VIC"},"6887":{"id":"6887","locality":"SERVICETON","postcode":"3420","state":"VIC"},"6888":{"id":"6888","locality":"TELOPEA DOWNS","postcode":"3420","state":"VIC"},"6889":{"id":"6889","locality":"JEPARIT","postcode":"3423","state":"VIC"},"6890":{"id":"6890","locality":"ALBACUTYA","postcode":"3424","state":"VIC"},"6891":{"id":"6891","locality":"RAINBOW","postcode":"3424","state":"VIC"},"6892":{"id":"6892","locality":"YAAPEET","postcode":"3424","state":"VIC"},"6893":{"id":"6893","locality":"DIGGERS REST","postcode":"3427","state":"VIC"},"6894":{"id":"6894","locality":"BULLA","postcode":"3428","state":"VIC"},"6895":{"id":"6895","locality":"SUNBURY","postcode":"3429","state":"VIC"},"6896":{"id":"6896","locality":"WILDWOOD","postcode":"3429","state":"VIC"},"6897":{"id":"6897","locality":"CLARKEFIELD","postcode":"3430","state":"VIC"},"6898":{"id":"6898","locality":"RIDDELLS CREEK","postcode":"3431","state":"VIC"},"6899":{"id":"6899","locality":"BOLINDA","postcode":"3432","state":"VIC"},"6900":{"id":"6900","locality":"MONEGEETTA","postcode":"3433","state":"VIC"},"6901":{"id":"6901","locality":"CHEROKEE","postcode":"3434","state":"VIC"},"6902":{"id":"6902","locality":"KERRIE","postcode":"3434","state":"VIC"},"6903":{"id":"6903","locality":"ROMSEY","postcode":"3434","state":"VIC"},"6904":{"id":"6904","locality":"SPRINGFIELD","postcode":"3434","state":"VIC"},"6905":{"id":"6905","locality":"BENLOCH","postcode":"3435","state":"VIC"},"6906":{"id":"6906","locality":"GOLDIE","postcode":"3435","state":"VIC"},"6907":{"id":"6907","locality":"LANCEFIELD","postcode":"3435","state":"VIC"},"6908":{"id":"6908","locality":"NULLA VALE","postcode":"3435","state":"VIC"},"6909":{"id":"6909","locality":"BULLENGAROOK","postcode":"3437","state":"VIC"},"6910":{"id":"6910","locality":"GISBORNE","postcode":"3437","state":"VIC"},"6911":{"id":"6911","locality":"GISBORNE SOUTH","postcode":"3437","state":"VIC"},"6912":{"id":"6912","locality":"NEW GISBORNE","postcode":"3438","state":"VIC"},"6913":{"id":"6913","locality":"MACEDON","postcode":"3440","state":"VIC"},"6914":{"id":"6914","locality":"MOUNT MACEDON","postcode":"3441","state":"VIC"},"6915":{"id":"6915","locality":"ASHBOURNE","postcode":"3442","state":"VIC"},"6916":{"id":"6916","locality":"CADELLO","postcode":"3442","state":"VIC"},"6917":{"id":"6917","locality":"CARLSRUHE","postcode":"3442","state":"VIC"},"6918":{"id":"6918","locality":"COBAW","postcode":"3442","state":"VIC"},"6919":{"id":"6919","locality":"HESKET","postcode":"3442","state":"VIC"},"6920":{"id":"6920","locality":"NEWHAM","postcode":"3442","state":"VIC"},"6921":{"id":"6921","locality":"ROCHFORD","postcode":"3442","state":"VIC"},"6922":{"id":"6922","locality":"WOODEND","postcode":"3442","state":"VIC"},"6923":{"id":"6923","locality":"WOODEND NORTH","postcode":"3442","state":"VIC"},"6924":{"id":"6924","locality":"BARFOLD","postcode":"3444","state":"VIC"},"6925":{"id":"6925","locality":"BAYNTON","postcode":"3444","state":"VIC"},"6926":{"id":"6926","locality":"BAYNTON EAST","postcode":"3444","state":"VIC"},"6927":{"id":"6927","locality":"EDGECOMBE","postcode":"3444","state":"VIC"},"6928":{"id":"6928","locality":"GLENHOPE","postcode":"3444","state":"VIC"},"6929":{"id":"6929","locality":"GREENHILL","postcode":"3444","state":"VIC"},"6930":{"id":"6930","locality":"KYNETON","postcode":"3444","state":"VIC"},"6931":{"id":"6931","locality":"KYNETON SOUTH","postcode":"3444","state":"VIC"},"6932":{"id":"6932","locality":"LANGLEY","postcode":"3444","state":"VIC"},"6933":{"id":"6933","locality":"LAURISTON","postcode":"3444","state":"VIC"},"6934":{"id":"6934","locality":"LYAL","postcode":"3444","state":"VIC"},"6935":{"id":"6935","locality":"METCALFE EAST","postcode":"3444","state":"VIC"},"6936":{"id":"6936","locality":"MIA MIA","postcode":"3444","state":"VIC"},"6937":{"id":"6937","locality":"PASTORIA","postcode":"3444","state":"VIC"},"6938":{"id":"6938","locality":"PASTORIA EAST","postcode":"3444","state":"VIC"},"6939":{"id":"6939","locality":"PIPERS CREEK","postcode":"3444","state":"VIC"},"6940":{"id":"6940","locality":"REDESDALE","postcode":"3444","state":"VIC"},"6941":{"id":"6941","locality":"SIDONIA","postcode":"3444","state":"VIC"},"6942":{"id":"6942","locality":"SPRING HILL","postcode":"3444","state":"VIC"},"6943":{"id":"6943","locality":"TYLDEN","postcode":"3444","state":"VIC"},"6944":{"id":"6944","locality":"TYLDEN SOUTH","postcode":"3444","state":"VIC"},"6945":{"id":"6945","locality":"DRUMMOND NORTH","postcode":"3446","state":"VIC"},"6946":{"id":"6946","locality":"MALMSBURY","postcode":"3446","state":"VIC"},"6947":{"id":"6947","locality":"TARADALE","postcode":"3447","state":"VIC"},"6948":{"id":"6948","locality":"ELPHINSTONE","postcode":"3448","state":"VIC"},"6949":{"id":"6949","locality":"METCALFE","postcode":"3448","state":"VIC"},"6950":{"id":"6950","locality":"SUTTON GRANGE","postcode":"3448","state":"VIC"},"6951":{"id":"6951","locality":"CASTLEMAINE","postcode":"3450","state":"VIC"},"6952":{"id":"6952","locality":"MOONLIGHT FLAT","postcode":"3450","state":"VIC"},"6953":{"id":"6953","locality":"BARKERS CREEK","postcode":"3451","state":"VIC"},"6954":{"id":"6954","locality":"CAMPBELLS CREEK","postcode":"3451","state":"VIC"},"6955":{"id":"6955","locality":"CHEWTON","postcode":"3451","state":"VIC"},"6956":{"id":"6956","locality":"CHEWTON BUSHLANDS","postcode":"3451","state":"VIC"},"6957":{"id":"6957","locality":"FARADAY","postcode":"3451","state":"VIC"},"6958":{"id":"6958","locality":"FRYERSTOWN","postcode":"3451","state":"VIC"},"6959":{"id":"6959","locality":"GLENLUCE","postcode":"3451","state":"VIC"},"6960":{"id":"6960","locality":"GOLDEN POINT","postcode":"3451","state":"VIC"},"6961":{"id":"6961","locality":"GOWER","postcode":"3451","state":"VIC"},"6962":{"id":"6962","locality":"GUILDFORD","postcode":"3451","state":"VIC"},"6963":{"id":"6963","locality":"IRISHTOWN","postcode":"3451","state":"VIC"},"6964":{"id":"6964","locality":"MCKENZIE HILL","postcode":"3451","state":"VIC"},"6965":{"id":"6965","locality":"MUCKLEFORD","postcode":"3451","state":"VIC"},"6966":{"id":"6966","locality":"TARILTA","postcode":"3451","state":"VIC"},"6967":{"id":"6967","locality":"VAUGHAN","postcode":"3451","state":"VIC"},"6968":{"id":"6968","locality":"YAPEEN","postcode":"3451","state":"VIC"},"6969":{"id":"6969","locality":"HARCOURT","postcode":"3453","state":"VIC"},"6970":{"id":"6970","locality":"HARCOURT NORTH","postcode":"3453","state":"VIC"},"6971":{"id":"6971","locality":"RAVENSWOOD","postcode":"3453","state":"VIC"},"6972":{"id":"6972","locality":"RAVENSWOOD SOUTH","postcode":"3453","state":"VIC"},"6973":{"id":"6973","locality":"BARRYS REEF","postcode":"3458","state":"VIC"},"6974":{"id":"6974","locality":"BLACKWOOD","postcode":"3458","state":"VIC"},"6975":{"id":"6975","locality":"FERN HILL","postcode":"3458","state":"VIC"},"6976":{"id":"6976","locality":"LERDERDERG","postcode":"3458","state":"VIC"},"6977":{"id":"6977","locality":"LITTLE HAMPTON","postcode":"3458","state":"VIC"},"6978":{"id":"6978","locality":"NEWBURY","postcode":"3458","state":"VIC"},"6979":{"id":"6979","locality":"NORTH BLACKWOOD","postcode":"3458","state":"VIC"},"6980":{"id":"6980","locality":"TRENTHAM","postcode":"3458","state":"VIC"},"6981":{"id":"6981","locality":"TRENTHAM EAST","postcode":"3458","state":"VIC"},"6982":{"id":"6982","locality":"BASALT","postcode":"3460","state":"VIC"},"6983":{"id":"6983","locality":"DAYLESFORD","postcode":"3460","state":"VIC"},"6984":{"id":"6984","locality":"BULLARTO","postcode":"3461","state":"VIC"},"6985":{"id":"6985","locality":"BULLARTO SOUTH","postcode":"3461","state":"VIC"},"6986":{"id":"6986","locality":"CLYDESDALE","postcode":"3461","state":"VIC"},"6987":{"id":"6987","locality":"COOMOORA","postcode":"3461","state":"VIC"},"6988":{"id":"6988","locality":"DENVER","postcode":"3461","state":"VIC"},"6989":{"id":"6989","locality":"DRUMMOND","postcode":"3461","state":"VIC"},"6990":{"id":"6990","locality":"DRY DIGGINGS","postcode":"3461","state":"VIC"},"6991":{"id":"6991","locality":"EGANSTOWN","postcode":"3461","state":"VIC"},"6992":{"id":"6992","locality":"ELEVATED PLAINS","postcode":"3461","state":"VIC"},"6993":{"id":"6993","locality":"FRANKLINFORD","postcode":"3461","state":"VIC"},"6994":{"id":"6994","locality":"GLENLYON","postcode":"3461","state":"VIC"},"6995":{"id":"6995","locality":"HEPBURN","postcode":"3461","state":"VIC"},"6996":{"id":"6996","locality":"HEPBURN SPRINGS","postcode":"3461","state":"VIC"},"6997":{"id":"6997","locality":"KORWEINGUBOORA","postcode":"3461","state":"VIC"},"6998":{"id":"6998","locality":"LEONARDS HILL","postcode":"3461","state":"VIC"},"6999":{"id":"6999","locality":"LYONVILLE","postcode":"3461","state":"VIC"},"7000":{"id":"7000","locality":"MOUNT FRANKLIN","postcode":"3461","state":"VIC"},"7001":{"id":"7001","locality":"MUSK","postcode":"3461","state":"VIC"},"7002":{"id":"7002","locality":"MUSK VALE","postcode":"3461","state":"VIC"},"7003":{"id":"7003","locality":"PORCUPINE RIDGE","postcode":"3461","state":"VIC"},"7004":{"id":"7004","locality":"SAILORS FALLS","postcode":"3461","state":"VIC"},"7005":{"id":"7005","locality":"SAILORS HILL","postcode":"3461","state":"VIC"},"7006":{"id":"7006","locality":"SHEPHERDS FLAT","postcode":"3461","state":"VIC"},"7007":{"id":"7007","locality":"SPARGO CREEK","postcode":"3461","state":"VIC"},"7008":{"id":"7008","locality":"STRANGWAYS","postcode":"3461","state":"VIC"},"7009":{"id":"7009","locality":"WHEATSHEAF","postcode":"3461","stat