<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>HeartOfTheHouse.org &#187; Recipes</title>
	<atom:link href="http://heartofthehouse.org/category/recipes/feed/" rel="self" type="application/rss+xml" />
	<link>http://heartofthehouse.org</link>
	<description>Sharing stories, knowledge, wisdoms, recipes ... and spreading the love.</description>
	<lastBuildDate>Thu, 03 May 2012 05:19:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Citrus Cured Lamb Hearts</title>
		<link>http://heartofthehouse.org/citrus-cured-lamb-hearts/</link>
		<comments>http://heartofthehouse.org/citrus-cured-lamb-hearts/#comments</comments>
		<pubDate>Thu, 03 May 2012 05:19:51 +0000</pubDate>
		<dc:creator>elsie</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[offals]]></category>
		<category><![CDATA[Recipes]]></category>

		<guid isPermaLink="false">http://heartofthehouse.org/?p=2387</guid>
		<description><![CDATA[Inspired by a recipe for citrus cured wagyu beef in Luke Nguyen&#8217;s Indochine, I made this amazingly delicious appetizer using lamb hearts. Citrus-cured lamb hearts Ingredients 2 lamb hearts juice from 2  Tahitian limes 2 tsp of coconut aminos 1 tsp of coconut nectar a pinch of salt &#38; freshly ground pepper 1 tsp of <a href="http://heartofthehouse.org/citrus-cured-lamb-hearts/">Read More...</a>


Related posts:<ol><li><a href='http://heartofthehouse.org/slow-roasted-lamb-with-pomegranate-glaze/' rel='bookmark' title='Permanent Link: Slow Roasted Lamb with Pomegranate Glaze'>Slow Roasted Lamb with Pomegranate Glaze</a></li>
<li><a href='http://heartofthehouse.org/sri-lankan-lamb-curry/' rel='bookmark' title='Permanent Link: Sri Lankan Lamb Curry'>Sri Lankan Lamb Curry</a></li>
<li><a href='http://heartofthehouse.org/green-papaya-salad/' rel='bookmark' title='Permanent Link: Green Papaya Salad'>Green Papaya Salad</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://heartofthehouse.org/citrus-cured-lamb-hearts/lamb-hearts/" rel="attachment wp-att-2388"><img class="aligncenter size-large wp-image-2388" title="lamb hearts" src="http://heartofthehouse.org/wp-content/uploads/2012/05/lamb-hearts-1024x700.jpg" alt="" width="620" height="423" /></a></p>
<p>Inspired by a recipe for citrus cured wagyu beef in Luke Nguyen&#8217;s Indochine, I made this amazingly delicious appetizer using lamb hearts.</p>
<p><strong>Citrus-cured lamb hearts</strong></p>
<p><strong>Ingredients</strong></p>
<ul>
<li>2 lamb hearts</li>
<li>juice from 2  Tahitian limes</li>
<li>2 tsp of coconut aminos</li>
<li>1 tsp of coconut nectar</li>
<li>a pinch of salt &amp; freshly ground pepper</li>
<li>1 tsp of grated ginger (optional)</li>
<li>1 tsp of fried garlic</li>
<li>a handful of herbs finely chopped (I used saw-tooth coriander, mint, green onion)</li>
<li>1 tbs chopped crispy nuts</li>
<li>a drizzle of coconut vinaigrette</li>
</ul>
<p><strong>Method</strong></p>
<ol>
<li>Clean and trim the heart and cut into thin slices.</li>
<li>Arrange in a single layer in a dish.</li>
<li>Mix the lime juice, coconut aminos, salt &amp; pepper, ginger and coconut nectar in a bowl and pour the mixture over the slices of lamb hearts.</li>
<li>Cover and set aside to marinate for 1/2 hour.</li>
<li>Remove the lamb hearts from the lime mixture and give it a squeeze to remove the excess.</li>
<li>Place the lamb hearts in a bowl with the mixed herbs, fried garlic and chopped crispy nuts.</li>
<li>Drizzle with the coconut vinaigrette.</li>
</ol>
<p><em>For the coconut vinaigrette combine the following ingredients in a jar, screw tight and give it a good shake.</em></p>
<p>3 tbs coconut vinegar<br />
3 tbs garlic infused EVOO<br />
1 tsp coconut aminos<br />
a pinch of salt<br />
a pinch of chilli flakes<br />
1 tbs lime juice<br />
1 tbs coconut nectar (or a couple drops of stevia)</p>
<img src="http://heartofthehouse.org/?ak_action=api_record_view&id=2387&type=feed" alt="" /><!-- PHP 5.x --><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fheartofthehouse.org%2Fcitrus-cured-lamb-hearts%2F&amp;title=Citrus%20Cured%20Lamb%20Hearts" id="wpa2a_2"><img src="http://heartofthehouse.org/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>

<p>Related posts:<ol><li><a href='http://heartofthehouse.org/slow-roasted-lamb-with-pomegranate-glaze/' rel='bookmark' title='Permanent Link: Slow Roasted Lamb with Pomegranate Glaze'>Slow Roasted Lamb with Pomegranate Glaze</a></li>
<li><a href='http://heartofthehouse.org/sri-lankan-lamb-curry/' rel='bookmark' title='Permanent Link: Sri Lankan Lamb Curry'>Sri Lankan Lamb Curry</a></li>
<li><a href='http://heartofthehouse.org/green-papaya-salad/' rel='bookmark' title='Permanent Link: Green Papaya Salad'>Green Papaya Salad</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://heartofthehouse.org/citrus-cured-lamb-hearts/feed/</wfw:commentRss>
		<slash:comments></slash:comments>
		</item>
		<item>
		<title>Feta Cheese</title>
		<link>http://heartofthehouse.org/feta-cheese/</link>
		<comments>http://heartofthehouse.org/feta-cheese/#comments</comments>
		<pubDate>Sat, 21 Apr 2012 01:49:10 +0000</pubDate>
		<dc:creator>elsie</dc:creator>
				<category><![CDATA[Cheese]]></category>
		<category><![CDATA[Dairy]]></category>
		<category><![CDATA[Recipes]]></category>

		<guid isPermaLink="false">http://heartofthehouse.org/?p=2370</guid>
		<description><![CDATA[Homemade Feta Cheese Ingredients 10 litres raw milk 1/4 tsp mesophilic culture 6 ml liquid rennet cheese salt whey/brine solution Method Heat the milk to 31deg C. Add the culture, stirring to combine. Cover and allow the milk to ripen for 1 hour. Add the diluted rennet and gently stir for a few minutes. Cover <a href="http://heartofthehouse.org/feta-cheese/">Read More...</a>


Related posts:<ol><li><a href='http://heartofthehouse.org/homemade-ricotta/' rel='bookmark' title='Permanent Link: Homemade ricotta'>Homemade ricotta</a></li>
<li><a href='http://heartofthehouse.org/home-cured-bacon/' rel='bookmark' title='Permanent Link: Home-Cured Bacon'>Home-Cured Bacon</a></li>
<li><a href='http://heartofthehouse.org/lacto-fermented-mustard/' rel='bookmark' title='Permanent Link: Lacto-Fermented Mustard'>Lacto-Fermented Mustard</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://heartofthehouse.org/feta-cheese/feta-cheese/" rel="attachment wp-att-2371"><img class="aligncenter size-large wp-image-2371" title="feta cheese" src="http://heartofthehouse.org/wp-content/uploads/2012/04/feta-cheese-1024x872.jpg" alt="" width="620" height="527" /><br />
</a><a href="http://heartofthehouse.org/feta-cheese/feta-blocks/" rel="attachment wp-att-2372"><img class="aligncenter size-large wp-image-2372" title="feta blocks" src="http://heartofthehouse.org/wp-content/uploads/2012/04/feta-blocks-1024x705.jpg" alt="" width="620" height="426" /></a></p>
<p><a href="http://heartofthehouse.org/feta-cheese/feta-marinated/" rel="attachment wp-att-2373"><img class="aligncenter size-large wp-image-2373" title="feta marinated" src="http://heartofthehouse.org/wp-content/uploads/2012/04/feta-marinated-1024x753.jpg" alt="" width="620" height="455" /></a></p>
<p><strong>Homemade Feta Cheese</strong></p>
<p><strong>Ingredients</strong></p>
<ul>
<li>10 litres raw milk</li>
<li>1/4 tsp mesophilic culture</li>
<li>6 ml liquid rennet</li>
<li>cheese salt</li>
<li>whey/brine solution</li>
</ul>
<p><strong>Method</strong></p>
<ol>
<li>Heat the milk to 31deg C.</li>
<li>Add the culture, stirring to combine.</li>
<li>Cover and allow the milk to ripen for 1 hour.</li>
<li>Add the diluted rennet and gently stir for a few minutes.</li>
<li>Cover and allow curd to form  (about 1- 1-1/2 hours).</li>
<li>Cut the curd into cubes (about 20 mm) and leave for 2 hours.</li>
<li>Drain the whey into a container and set aside.</li>
<li>Ladle the curds into the cloth lined frame.</li>
<li>Weigh down with a weight for about 1/2 hour.</li>
<li>Remove the weight and flip the cheese and leave for 2 hours.</li>
<li>Flip the cheese again and leave to drain overnight.</li>
<li>Next day cut up the cheese into 15 cm square pieces and sprinkle the cubes with the salt to taste.</li>
<li>Place in a bowl or box and allow to age for a few days (2 &#8211; 4 days) in the refrigerator, turning it a couple times a day to evenly distribute the salt.</li>
<li>Store it in whey or make a whey/brine solution, and place the cheese in the solution and store in the refrigerator.</li>
<li>Alternatively, you can marinate the feta in olive oil.</li>
</ol>
<p>To make whey brine solution:  add 1/4 cup of salt to 1 litre of the reserved whey.<br />
<em></em></p>
<p><em>Note:  Without a feta frame:  Pour your curds into a colander lined with cheese cloth.  Tie the corners o the cheesecloth and hang the bag to drain for 4 hours.  Untie the bag and cut curds into cubes and sprinkle with salt to taste.  Continue as per step 12 &amp; 13.</em></p>
<img src="http://heartofthehouse.org/?ak_action=api_record_view&id=2370&type=feed" alt="" /><!-- PHP 5.x --><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fheartofthehouse.org%2Ffeta-cheese%2F&amp;title=Feta%20Cheese" id="wpa2a_4"><img src="http://heartofthehouse.org/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>

<p>Related posts:<ol><li><a href='http://heartofthehouse.org/homemade-ricotta/' rel='bookmark' title='Permanent Link: Homemade ricotta'>Homemade ricotta</a></li>
<li><a href='http://heartofthehouse.org/home-cured-bacon/' rel='bookmark' title='Permanent Link: Home-Cured Bacon'>Home-Cured Bacon</a></li>
<li><a href='http://heartofthehouse.org/lacto-fermented-mustard/' rel='bookmark' title='Permanent Link: Lacto-Fermented Mustard'>Lacto-Fermented Mustard</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://heartofthehouse.org/feta-cheese/feed/</wfw:commentRss>
		<slash:comments></slash:comments>
		</item>
		<item>
		<title>Steak Tartare</title>
		<link>http://heartofthehouse.org/steak-tartare/</link>
		<comments>http://heartofthehouse.org/steak-tartare/#comments</comments>
		<pubDate>Thu, 19 Apr 2012 07:43:07 +0000</pubDate>
		<dc:creator>elsie</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Meat]]></category>
		<category><![CDATA[Recipes]]></category>

		<guid isPermaLink="false">http://heartofthehouse.org/?p=2336</guid>
		<description><![CDATA[Steak Tartare A simple, nutrient dense meal! Ingredients best quality grass fed beef fillet (allow 125 to 150 grams per person) egg yolk (1 per person), use only the freshest, best quality eggs, preferably pastured seasonings spanish onions (finally chopped) salted capers (rinsed and chopped) gherkins (I used my own lacto fermented cucumbers) flat leaf <a href="http://heartofthehouse.org/steak-tartare/">Read More...</a>


Related posts:<ol><li><a href='http://heartofthehouse.org/beef-mushroom-guinness-stew/' rel='bookmark' title='Permanent Link: Beef, Mushroom &#038; Guinness Stew'>Beef, Mushroom &#038; Guinness Stew</a></li>
<li><a href='http://heartofthehouse.org/salsa-verde/' rel='bookmark' title='Permanent Link: Salsa Verde'>Salsa Verde</a></li>
<li><a href='http://heartofthehouse.org/sardines-with-kamut-pasta/' rel='bookmark' title='Permanent Link: Sardines with Kamut Pasta'>Sardines with Kamut Pasta</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://heartofthehouse.org/steak-tartare/steak-tartar3-2/" rel="attachment wp-att-2341"><img class="aligncenter size-large wp-image-2341" title="steak tartare" src="http://heartofthehouse.org/wp-content/uploads/2012/04/steak-tartar31-1024x777.jpg" alt="" width="620" height="470" /></a></p>
<p><a href="http://heartofthehouse.org/steak-tartare/steak-tartare1/" rel="attachment wp-att-2348"><img class="aligncenter size-large wp-image-2348" title="steak tartare1" src="http://heartofthehouse.org/wp-content/uploads/2012/04/steak-tartare1-682x1024.jpg" alt="" width="620" height="930" /></a><strong>Steak Tartare</strong></p>
<p><em>A simple, nutrient dense meal!</em></p>
<p><strong>Ingredients</strong></p>
<ul>
<li>best quality grass fed beef fillet (allow 125 to 150 grams per person)</li>
<li>egg yolk (1 per person), use only the freshest, best quality eggs, preferably pastured</li>
</ul>
<p><em>seasonings</em></p>
<ul>
<li>spanish onions (finally chopped)</li>
<li>salted capers (rinsed and chopped)</li>
<li>gherkins (I used my own lacto fermented cucumbers)</li>
<li>flat leaf parsley (finely chopped)</li>
<li>chives (finally chopped)</li>
<li>garlic infused EV olive oil</li>
<li>Coconut aminos</li>
<li>piment d&#8217;espelette</li>
<li>salt &amp; black pepper</li>
</ul>
<p><strong>Method</strong></p>
<ol>
<li>Trim the meat and chop it finely.</li>
<li>Add the seasonings (onions, capers, gherkins, parsley, chives, piment d&#8217;espelette, olive oil, coconut aminos, salt &amp; pepper) according to your liking.</li>
<li>Form into a patty.</li>
<li>Place an egg yolk on top.</li>
<li>Serve with a side salad and thin slices of toasted sourdough bread.</li>
</ol>
<p><em>To make steak tartare you need to use the best quality beef.  Fortunately,  we  have access to good quality, chemical free, grass fed beef directly from the farmer.  Our beef comes from Hawthorne Partnership (a father and son team) whose farm is located in Tannymorel  near the border town of Killarney, Queensland (see flyer below):   </em></p>
<p><em><a href="http://heartofthehouse.org/steak-tartare/aviary-picture-1/" rel="attachment wp-att-2349"><img class="aligncenter size-full wp-image-2349" title="Aviary Picture 1" src="http://heartofthehouse.org/wp-content/uploads/2012/04/Aviary-Picture-1.png" alt="" width="267" height="478" /></a></em></p>
<img src="http://heartofthehouse.org/?ak_action=api_record_view&id=2336&type=feed" alt="" /><!-- PHP 5.x --><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fheartofthehouse.org%2Fsteak-tartare%2F&amp;title=Steak%20Tartare" id="wpa2a_6"><img src="http://heartofthehouse.org/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>

<p>Related posts:<ol><li><a href='http://heartofthehouse.org/beef-mushroom-guinness-stew/' rel='bookmark' title='Permanent Link: Beef, Mushroom &#038; Guinness Stew'>Beef, Mushroom &#038; Guinness Stew</a></li>
<li><a href='http://heartofthehouse.org/salsa-verde/' rel='bookmark' title='Permanent Link: Salsa Verde'>Salsa Verde</a></li>
<li><a href='http://heartofthehouse.org/sardines-with-kamut-pasta/' rel='bookmark' title='Permanent Link: Sardines with Kamut Pasta'>Sardines with Kamut Pasta</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://heartofthehouse.org/steak-tartare/feed/</wfw:commentRss>
		<slash:comments></slash:comments>
		</item>
		<item>
		<title>Baked Ricotta with tomatoes &amp; olives</title>
		<link>http://heartofthehouse.org/baked-ricotta-with-tomatoes-olives/</link>
		<comments>http://heartofthehouse.org/baked-ricotta-with-tomatoes-olives/#comments</comments>
		<pubDate>Wed, 18 Apr 2012 03:21:49 +0000</pubDate>
		<dc:creator>elsie</dc:creator>
				<category><![CDATA[Cheese]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Recipes]]></category>

		<guid isPermaLink="false">http://heartofthehouse.org/?p=2302</guid>
		<description><![CDATA[Ingredients 350g ricotta (homemade) 50g parmesan (grated) 1 egg (separated) 1 tbs basil  (sliced thinly) lemon zest sea salt &#38; pepper Method Preheat the oven to 180 C. In a bowl place the ricotta, egg yolk, parmesan, lemon zest, basil leaves and stir to combine. Add whisked egg white to the mixture  and gently fold <a href="http://heartofthehouse.org/baked-ricotta-with-tomatoes-olives/">Read More...</a>


Related posts:<ol><li><a href='http://heartofthehouse.org/spinach-ricotta-cannelloni/' rel='bookmark' title='Permanent Link: Spinach &#038; Ricotta Cannelloni'>Spinach &#038; Ricotta Cannelloni</a></li>
<li><a href='http://heartofthehouse.org/sardines-with-kamut-pasta/' rel='bookmark' title='Permanent Link: Sardines with Kamut Pasta'>Sardines with Kamut Pasta</a></li>
<li><a href='http://heartofthehouse.org/lemony-avocado-sauce/' rel='bookmark' title='Permanent Link: Lemony Avocado Sauce'>Lemony Avocado Sauce</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://heartofthehouse.org/baked-ricotta-with-tomatoes-olives/baked-ricotta/" rel="attachment wp-att-2321"><img class="aligncenter size-large wp-image-2321" title="baked ricotta" src="http://heartofthehouse.org/wp-content/uploads/2012/04/baked-ricotta-1024x809.jpg" alt="" width="620" height="489" /></a></p>
<p><strong>Ingredients</strong></p>
<ul>
<li>350g <a href="http://http://heartofthehouse.org/homemade-ricotta/">ricotta (homemade)</a></li>
<li>50g parmesan (grated)</li>
<li>1 egg (separated)</li>
<li>1 tbs basil  (sliced thinly)</li>
<li>lemon zest</li>
<li>sea salt &amp; pepper</li>
</ul>
<p><strong>Method</strong></p>
<ul>
<li>Preheat the oven to 180 C.</li>
<li>In a bowl place the ricotta, egg yolk, parmesan, lemon zest, basil leaves and stir to combine.</li>
<li>Add whisked egg white to the mixture  and gently fold until combined.  Season with salt &amp; pepper.</li>
<li>Spoon the mixture into well greased baking dish and bake for about 20 minutes or until golden.</li>
</ul>
<p><em>For a delicious lunch serve it with olives &amp; roasted cherry tomatoes!</em></p>
<img src="http://heartofthehouse.org/?ak_action=api_record_view&id=2302&type=feed" alt="" /><!-- PHP 5.x --><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fheartofthehouse.org%2Fbaked-ricotta-with-tomatoes-olives%2F&amp;title=Baked%20Ricotta%20with%20tomatoes%20%26%23038%3B%20olives" id="wpa2a_8"><img src="http://heartofthehouse.org/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>

<p>Related posts:<ol><li><a href='http://heartofthehouse.org/spinach-ricotta-cannelloni/' rel='bookmark' title='Permanent Link: Spinach &#038; Ricotta Cannelloni'>Spinach &#038; Ricotta Cannelloni</a></li>
<li><a href='http://heartofthehouse.org/sardines-with-kamut-pasta/' rel='bookmark' title='Permanent Link: Sardines with Kamut Pasta'>Sardines with Kamut Pasta</a></li>
<li><a href='http://heartofthehouse.org/lemony-avocado-sauce/' rel='bookmark' title='Permanent Link: Lemony Avocado Sauce'>Lemony Avocado Sauce</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://heartofthehouse.org/baked-ricotta-with-tomatoes-olives/feed/</wfw:commentRss>
		<slash:comments></slash:comments>
		</item>
		<item>
		<title>When Chocolate is inevitable &#8230;&#8230; make it a good one!</title>
		<link>http://heartofthehouse.org/when-chocolate-is-inevitable-make-it-a-good-one/</link>
		<comments>http://heartofthehouse.org/when-chocolate-is-inevitable-make-it-a-good-one/#comments</comments>
		<pubDate>Sun, 15 Apr 2012 03:41:33 +0000</pubDate>
		<dc:creator>elsie</dc:creator>
				<category><![CDATA[Dessert]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Recipes]]></category>

		<guid isPermaLink="false">http://heartofthehouse.org/?p=2220</guid>
		<description><![CDATA[Over the Easter holidays, I received an email from Pam, a friend and member of our monthly cook &#38; chat group,  sharing a recipe for a homemade chocolate that she created.   With her permission, I am posting her recipe here: When Chocolate is inevitable &#8211; make a good one! &#160; &#160; &#160; &#160; &#160; <a href="http://heartofthehouse.org/when-chocolate-is-inevitable-make-it-a-good-one/">Read More...</a>


Related posts:<ol><li><a href='http://heartofthehouse.org/sourdough-chocolate-cake/' rel='bookmark' title='Permanent Link: Sourdough Chocolate Cake'>Sourdough Chocolate Cake</a></li>
<li><a href='http://heartofthehouse.org/coconutty-squares/' rel='bookmark' title='Permanent Link: Coconutty Squares'>Coconutty Squares</a></li>
<li><a href='http://heartofthehouse.org/ghee-licious/' rel='bookmark' title='Permanent Link: Ghee&#8230;licious!'>Ghee&#8230;licious!</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Over the Easter holidays, I received an email from Pam, a friend and member of our monthly cook &amp; chat group,  sharing a recipe for a homemade chocolate that she created.   With her permission, I am posting her recipe here:</p>
<p><span style="color: #3366ff;"><em><strong>When Chocolate is inevitable &#8211; make a good one!</strong></em></span></p>
<p><a href="http://heartofthehouse.org/when-chocolate-is-inevitable-make-it-a-good-one/img_2000/" rel="attachment wp-att-2261"><img class="alignleft size-medium wp-image-2261" title="Pam's chocolate" src="http://heartofthehouse.org/wp-content/uploads/2012/04/IMG_2000-300x164.jpg" alt="" width="300" height="164" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><span style="color: #3366ff;">S<em>omeone gave me a small box of cherry liqueur chocolates which started me thinking!  Loved the liqueur bit and I had some dried cranberries so here is the recipe -</em></span><br />
<span style="color: #3366ff;"><em>Easter Chocolate Special</em></span></p>
<p><span style="color: #3366ff;"><em>2 heaped tablespoons Creamed Coconut</em></span><br />
<span style="color: #3366ff;"><em>1 tablespoon good coconut oil</em></span><br />
<span style="color: #3366ff;"><em>1/2 cup Organic Cocoa</em></span><br />
<span style="color: #3366ff;"><em>1/2 cup Organic Carob  (it is naturally sweet so no sugar needed)</em></span><br />
<span style="color: #3366ff;"><em>1/2 cup flaky Coconut</em></span><br />
<span style="color: #3366ff;"><em>1/2 cup dried Cranberries, chopped a bit smaller</em></span><br />
<span style="color: #3366ff;"><em>1/2 cup of a chocolate liqueur mixed with a raspberry liqueur  (left over Christmas gifts!)</em></span><br />
<span style="color: #3366ff;"><em>Dash of pure Vanilla</em></span><br />
<span style="color: #3366ff;"><em>1 desert spoon home made butter </em></span><br />
<span style="color: #3366ff;"><em>1/4 to 1/2 cup good thick cream</em></span></p>
<p><span style="color: #3366ff;"><em>Soak the chopped Cranberries in the liqueur for as long as possible</em></span></p>
<p><span style="color: #3366ff;"><em>As the creamed coconut was solid I put the lot minus the cream into a double boiler and stirred it over hot water till it all melted together</em></span></p>
<p><span style="color: #3366ff;"><em>Take it off the heat and stir in the cream.  I think at this stage as much stirring as possible helps with the smoothness of the chocolate.</em></span></p>
<p><span style="color: #3366ff;"><em>I set about half into heart shaped moulds.</em></span></p>
<p><span style="color: #3366ff;"><em>Set the rest on a piece of baking paper on a flat tray. Freeze then cut into squares.</em></span></p>
<p><span style="color: #3366ff;"><em>Store in freezer or fridge depending on how hard you like it.</em></span></p>
<p><span style="color: #3366ff;"><em>Have fun.</em></span></p>
<p><span style="color: #3366ff;"><em>Happy &amp; Healthy eating(plus chocolate!)</em></span></p>
<p><span style="color: #3366ff;"><em>Pam</em></span></p>
<p><span style="color: #000000;">Following on from Pam&#8217;s recipe</span>, I  made a batch at home using mostly carob (recipe after the photos).</p>
<p><a href="http://heartofthehouse.org/when-chocolate-is-inevitable-make-it-a-good-one/chocolate4/" rel="attachment wp-att-2246"><img class="aligncenter  wp-image-2246" title="chocolate4" src="http://heartofthehouse.org/wp-content/uploads/2012/04/chocolate4.jpg" alt="" width="1700" height="1547" /></a></p>
<p><a href="http://heartofthehouse.org/when-chocolate-is-inevitable-make-it-a-good-one/chocolate2/" rel="attachment wp-att-2245"><img class="aligncenter size-full wp-image-2245" title="chocolate2" src="http://heartofthehouse.org/wp-content/uploads/2012/04/chocolate2.jpg" alt="" width="2500" height="1667" /></a> <strong>Ingredients</strong>:</p>
<ul>
<li>100 gm creamed coconut</li>
<li>35 gm coconut oil</li>
<li>35 gm cultured butter</li>
<li>60 gm roasted carob powder</li>
<li>20 gm raw cacao powder (for the chocolaty flavour)</li>
<li>1/4 tsp sea salt</li>
<li>for variations you can add dried fruits, nuts, &#8230;&#8230;</li>
</ul>
<p><strong>Method</strong></p>
<ol>
<li>Place the creamed coconut, coconut oil and butter in a double boiler over low heat and stir until melted.</li>
<li>Remove from heat and add the sifted carob powder, cacao powder &amp; salt, stirring until well combined.</li>
<li>Place in chocolate moulds or baking tray.</li>
<li>Refrigerate.</li>
</ol>
<p><em> I put some into chocolate moulds and placed a sour cherry in each mould and to the rest I  added a couple drops of peppermint oil and spread thinly onto a parchment paper to make thin mint.</em></p>
<p><em>This recipe is for special occasions when chocolate is inevitable &#8230;..<br />
</em></p>
<p>More about carob <a href="http://en.wikipedia.org/wiki/Ceratonia_siliqua">here</a>.</p>
<img src="http://heartofthehouse.org/?ak_action=api_record_view&id=2220&type=feed" alt="" /><!-- PHP 5.x --><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fheartofthehouse.org%2Fwhen-chocolate-is-inevitable-make-it-a-good-one%2F&amp;title=When%20Chocolate%20is%20inevitable%20%26%238230%3B%26%238230%3B%20make%20it%20a%20good%20one%21" id="wpa2a_10"><img src="http://heartofthehouse.org/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>

<p>Related posts:<ol><li><a href='http://heartofthehouse.org/sourdough-chocolate-cake/' rel='bookmark' title='Permanent Link: Sourdough Chocolate Cake'>Sourdough Chocolate Cake</a></li>
<li><a href='http://heartofthehouse.org/coconutty-squares/' rel='bookmark' title='Permanent Link: Coconutty Squares'>Coconutty Squares</a></li>
<li><a href='http://heartofthehouse.org/ghee-licious/' rel='bookmark' title='Permanent Link: Ghee&#8230;licious!'>Ghee&#8230;licious!</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://heartofthehouse.org/when-chocolate-is-inevitable-make-it-a-good-one/feed/</wfw:commentRss>
		<slash:comments></slash:comments>
		</item>
		<item>
		<title>Lacto Fermented Granola</title>
		<link>http://heartofthehouse.org/lacto-fermented-granola/</link>
		<comments>http://heartofthehouse.org/lacto-fermented-granola/#comments</comments>
		<pubDate>Mon, 09 Apr 2012 07:35:53 +0000</pubDate>
		<dc:creator>elsie</dc:creator>
				<category><![CDATA[breakfast]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Recipes]]></category>

		<guid isPermaLink="false">http://heartofthehouse.org/?p=2082</guid>
		<description><![CDATA[Making Lacto-Fermented Granola  (for the recipe click here). Preparing the mix. 2-day fermentation using the pickl-it system Dehydrated Granola.  Sprinkle over your  kefir or yogurt for that added crunch.   Granola Bar To make the Granola Bar  &#8211;   3 cups of granola,  a handful of crispy nuts, sour cherries and coconut flakes, 1/4 cup of <a href="http://heartofthehouse.org/lacto-fermented-granola/">Read More...</a>


Related posts:<ol><li><a href='http://heartofthehouse.org/making-lacto-fermented-drinks-with-water-kefir/' rel='bookmark' title='Permanent Link: Making lacto fermented drinks with water kefir'>Making lacto fermented drinks with water kefir</a></li>
<li><a href='http://heartofthehouse.org/lacto-fermented-mustard/' rel='bookmark' title='Permanent Link: Lacto-Fermented Mustard'>Lacto-Fermented Mustard</a></li>
<li><a href='http://heartofthehouse.org/sourdough-rice-crackers/' rel='bookmark' title='Permanent Link: Sourdough Rice Crackers'>Sourdough Rice Crackers</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Making Lacto-Fermented Granola  (for the recipe click <a href="http://www.pickl-it.com/blog/442/turkish-fig-coconut-oatmeal-granola-fermented/">here</a>).</p>
<p style="text-align: center;"><a href="http://heartofthehouse.org/lacto-fermented-granola/lf-granola1/" rel="attachment wp-att-2084"><img class="aligncenter size-large wp-image-2084" title="Preparing the mix" src="http://heartofthehouse.org/wp-content/uploads/2012/04/LF-Granola1-1024x682.jpg" alt="" width="620" height="412" /></a>Preparing the mix.</p>
<p style="text-align: center;"><a href="http://heartofthehouse.org/lacto-fermented-granola/lf-granola3/" rel="attachment wp-att-2085"><img class="aligncenter size-large wp-image-2085" title="Fermenting the mix" src="http://heartofthehouse.org/wp-content/uploads/2012/04/LF-Granola3-942x1024.jpg" alt="" width="620" height="673" /></a>2-day fermentation using the pickl-it system</p>
<p style="text-align: center;"><a href="http://heartofthehouse.org/lacto-fermented-granola/lf-granola4/" rel="attachment wp-att-2086"><img class="aligncenter size-large wp-image-2086" title="LF Granola" src="http://heartofthehouse.org/wp-content/uploads/2012/04/LF-Granola4-1024x682.jpg" alt="" width="620" height="412" /></a>Dehydrated Granola.  Sprinkle over your  kefir or yogurt for that added crunch.</p>
<p style="text-align: center;"> <a href="http://heartofthehouse.org/lacto-fermented-granola/granola-bar/" rel="attachment wp-att-2169"><img class="aligncenter size-large wp-image-2169" title="granola bar" src="http://heartofthehouse.org/wp-content/uploads/2012/04/granola-bar-1024x780.jpg" alt="" width="620" height="472" /></a> Granola Bar</p>
<p style="text-align: center;">To make the Granola Bar  &#8211;   3 cups of granola,  a handful of crispy nuts, sour cherries and coconut flakes, 1/4 cup of raw honey, 1/3 cup of melted coconut oil and 1/3 cup of softened creamed coconut.  Combine all ingredients and mix well.  Pour mixture into tray and refrigerate for 1/2 hour.  Cut into slices and keep refrigerated.</p>
<p style="text-align: left;">Why do we need to soak and ferment our grains?<em>  </em></p>
<p style="text-align: left;"><em>&#8220;Traditional cuisines and pre-industrialized peoples from around the world took great care to soak or ferment their grains before consuming them as porridges, breads and casseroles.</em>&#8230;&#8221;</p>
<p style="text-align: left;">Read <a href="http://www.westonaprice.org/food-features/be-kind-to-your-grains">this article </a>by Sally Fallon and watch this <a href="http://http://www.westonaprice.org/beginner-videos/proper-preparation-of-grains-and-legumes-video-by-sarah-pope">video</a> by Sarah Pope on proper preparation of grains &amp; legumes (Weston A Price Foundation).</p>
<p style="text-align: left;"><em><br />
</em><em></em></p>
<img src="http://heartofthehouse.org/?ak_action=api_record_view&id=2082&type=feed" alt="" /><!-- PHP 5.x --><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fheartofthehouse.org%2Flacto-fermented-granola%2F&amp;title=Lacto%20Fermented%20Granola" id="wpa2a_12"><img src="http://heartofthehouse.org/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>

<p>Related posts:<ol><li><a href='http://heartofthehouse.org/making-lacto-fermented-drinks-with-water-kefir/' rel='bookmark' title='Permanent Link: Making lacto fermented drinks with water kefir'>Making lacto fermented drinks with water kefir</a></li>
<li><a href='http://heartofthehouse.org/lacto-fermented-mustard/' rel='bookmark' title='Permanent Link: Lacto-Fermented Mustard'>Lacto-Fermented Mustard</a></li>
<li><a href='http://heartofthehouse.org/sourdough-rice-crackers/' rel='bookmark' title='Permanent Link: Sourdough Rice Crackers'>Sourdough Rice Crackers</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://heartofthehouse.org/lacto-fermented-granola/feed/</wfw:commentRss>
		<slash:comments></slash:comments>
		</item>
		<item>
		<title>Cultured Mascarpone Cheese</title>
		<link>http://heartofthehouse.org/cultured-mascarpone-cheese/</link>
		<comments>http://heartofthehouse.org/cultured-mascarpone-cheese/#comments</comments>
		<pubDate>Fri, 06 Apr 2012 03:47:10 +0000</pubDate>
		<dc:creator>elsie</dc:creator>
				<category><![CDATA[Cheese]]></category>
		<category><![CDATA[Recipes]]></category>

		<guid isPermaLink="false">http://heartofthehouse.org/?p=2126</guid>
		<description><![CDATA[ Thick Creamy Mascarpone Cheese Yummy dessert &#8211; Whipped Mascarpone with Blueberries Sauteed assorted mushrooms and mascarpone Mascarpone is an Italian cream cheese.   This cheese is normally made by heating the cream to 85 deg C and coagulating it with citric or tartaric acid.  There is another method in which a mesophilic culture is added to <a href="http://heartofthehouse.org/cultured-mascarpone-cheese/">Read More...</a>


No related posts.]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://heartofthehouse.org/cultured-mascarpone-cheese/mascarpone4/" rel="attachment wp-att-2146"><img class="aligncenter size-large wp-image-2146" title="mascarpone cheese" src="http://heartofthehouse.org/wp-content/uploads/2012/04/mascarpone4-1024x747.jpg" alt="" width="620" height="452" /></a> Thick Creamy Mascarpone Cheese</p>
<p style="text-align: center;"><a href="http://heartofthehouse.org/cultured-mascarpone-cheese/mascarpone3/" rel="attachment wp-att-2145"><img class="aligncenter size-large wp-image-2145" title="a yummy dessert - whipped mascarpone with blueberries " src="http://heartofthehouse.org/wp-content/uploads/2012/04/mascarpone3-1024x812.jpg" alt="" width="620" height="491" /></a>Yummy dessert &#8211; Whipped Mascarpone with Blueberries</p>
<p style="text-align: center;"><a href="http://heartofthehouse.org/cultured-mascarpone-cheese/mushroom-with-mascarpone-2/" rel="attachment wp-att-2152"><img class="aligncenter size-large wp-image-2152" title="mushrooms and mascarpone" src="http://heartofthehouse.org/wp-content/uploads/2012/04/Mushroom-with-mascarpone1-1024x866.jpg" alt="" width="620" height="524" /></a>Sauteed assorted mushrooms and mascarpone</p>
<p>Mascarpone is an Italian cream cheese.   This cheese is normally made by heating the cream to 85 deg C and coagulating it with citric or tartaric acid.  There is another method in which a mesophilic culture is added to warmed cream.  Here I have chosen to make the cultured version using <em>Flora Danica</em> culture which gives it a rich buttery taste.</p>
<p><strong>Ingredients</strong></p>
<ul>
<li>2  litres  of raw cream  (or  1 litre raw milk +1 litre raw cream)</li>
<li>mesophilic starter culture (1/8 tsp)</li>
</ul>
<p><strong>Method</strong></p>
<ol>
<li>Heat the cream to 30 C.</li>
<li>Add starter culture and stir through.</li>
<li>Cover and let it sit at room temperature for 12 hours or more until set.</li>
<li>Pour into a colander lined with cheesecloth.</li>
<li>Let it drain for about an hour or more depending on the consistency desired.</li>
<li>When ready place cheese in a covered container and refrigerate.</li>
</ol>
<p>Note:  Because it is cultured, it can lasts up to 4 weeks in the refrigerator.</p>
<p><em>(source:  Home Cheese Making by Ricki Carroll)</em></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><script id="AviaryFeatherScript1" type="text/javascript">// <![CDATA[
 Feather_EditOptions = "all";Feather_OpenType = "lightbox";Feather_OnSave = function(aImageID, aNewURL){  var e = document.createElement("AviaryFeatherData");  e.setAttribute("imageID", aImageID);  e.setAttribute("newURL", aNewURL);  document.documentElement.appendChild(e);  var evt = document.createEvent("Event");  evt.initEvent("AviaryFeatherSave", true, true);  e.dispatchEvent(evt);  document.documentElement.removeChild(e);  if (aNewURL)  aviaryeditor_close();};Feather_OnLoad = function(){  var evt = document.createEvent("Event");  evt.initEvent("AviaryFeatherLoad", true, true);  window.dispatchEvent(evt);};Feather_APIKey="02a9e8ff996ac47075a06b687de875cb";
// ]]&gt;</script><script id="AviaryFeatherScript2" type="text/javascript">// <![CDATA[
 AV_version="1.5.8";AV_betaversion="";AV_closureCompiled=!0;AV_imgrecvServer="http://featherservices.aviary.com/FeatherReceiver.aspx";AV_imgrecvBase="http://featherservices.aviary.com/";AV_imgtrackServer="http://featherservices.aviary.com/featherlog.aspx";AV_filterServer="http://featherservices.aviary.com/moa.ashx";AV__jsonp_imgserver="http://featherservices.aviary.com/imgjsonpserver.aspx";AV__featherTargetAnnounce="http://featherservices.aviary.com/feather_target_announce.html"; AV__featherFilterAnnounce="http://featherservices.aviary.com/feather_filter_announce.html";AV_proxyServer="http://www.aviary.com/apps/xmlapi/proxy.aspx";typeof AV_feather_baseURL=="undefined"&#038;&#038;(AV_feather_baseURL="http://feather.aviary.com/1.5.8/");AV_sticker_baseURL="http://www.aviary.com/images/feather/sticker/";
// ]]&gt;</script><script id="AviaryFeatherScript3" type="text/javascript">// <![CDATA[
var avpw_swfobject=function(){function a(){if(!P){try{var a=o.getElementsByTagName("body")[0].appendChild(o.createElement("span"));a.parentNode.removeChild(a)}catch(c){return}P=!0;for(var a=Q.length,d=0;d<a;d++)Q[d]()}}function c(a){P?a():Q[Q.length]=a}function d(a){if(typeof J.addEventListener!=x)J.addEventListener("load",a,!1);else if(typeof o.addEventListener!=x)o.addEventListener("load",a,!1);else if(typeof J.attachEvent!=x)z(J,"onload",a);else if(typeof J.onload=="function"){var c=J.onload;J.onload=
function(){c();a()}}else J.onload=a}function e(){var a=o.getElementsByTagName("body")[0],c=o.createElement(E);c.setAttribute("type",B);var d=a.appendChild(c);if(d){var e=0;(function(){if(typeof d.GetVariable!=x){var h=d.GetVariable("$version");if(h)h=h.split(" ")[1].split(","),w.pv=[parseInt(h[0],10),parseInt(h[1],10),parseInt(h[2],10)]}else if(e<10){e++;setTimeout(arguments.callee,10);return}a.removeChild(c);d=null;f()})()}else f()}function f(){var a=M.length;if(a>0)for(var c=0;c<a;c++){var d=M[c].id, e=M[c].callbackFn,h={success:!1,id:d};if(w.pv[0]>0){var f=u(d);if(f)if(A(M[c].swfVersion)&#038;&#038;!(w.wk&#038;&#038;w.wk<312)){if(H(d,!0),e)h.success=!0,h.ref=j(d),e(h)}else if(M[c].expressInstall&#038;&#038;k()){h={};h.data=M[c].expressInstall;h.width=f.getAttribute("width")||"0";h.height=f.getAttribute("height")||"0";if(f.getAttribute("class"))h.styleclass=f.getAttribute("class");if(f.getAttribute("align"))h.align=f.getAttribute("align");for(var o={},f=f.getElementsByTagName("param"),q=f.length,p=0;p<q;p++)f[p].getAttribute("name").toLowerCase()!=
"movie"&#038;&#038;(o[f[p].getAttribute("name")]=f[p].getAttribute("value"));m(h,o,d,e)}else l(f),e&#038;&#038;e(h)}else if(H(d,!0),e){if((d=j(d))&#038;&#038;typeof d.SetVariable!=x)h.success=!0,h.ref=d;e(h)}}}function j(a){var c=null;if((a=u(a))&#038;&#038;a.nodeName=="OBJECT")typeof a.SetVariable!=x?c=a:(a=a.getElementsByTagName(E)[0])&#038;&#038;(c=a);return c}function k(){return!N&#038;&#038;A("6.0.65")&#038;&#038;(w.win||w.mac)&#038;&#038;!(w.wk&#038;&#038;w.wk<312)}function m(a,c,d,e){N=!0;ea=e||null;fa={success:!1,id:d};var h=u(d);if(h){h.nodeName=="OBJECT"?(S=p(h),$=null):(S=h,
$=d);a.id=T;if(typeof a.width==x||!/%$/.test(a.width)&#038;&#038;parseInt(a.width,10)<310)a.width="310";if(typeof a.height==x||!/%$/.test(a.height)&#038;&#038;parseInt(a.height,10)<137)a.height="137";o.title=o.title.slice(0,47)+" - Flash Player Installation";e=w.ie&#038;&#038;w.win?"ActiveX":"PlugIn";e="MMredirectURL="+encodeURI(window.location).toString().replace(/&#038;/g,"%26")+"&#038;MMplayerType="+e+"&#038;MMdoctitle="+o.title;typeof c.flashvars!=x?c.flashvars+="&#038;"+e:c.flashvars=e;if(w.ie&#038;&#038;w.win&#038;&#038;h.readyState!=4)e=o.createElement("div"),
d+="SWFObjectNew",e.setAttribute("id",d),h.parentNode.insertBefore(e,h),h.style.display="none",function(){h.readyState==4?h.parentNode.removeChild(h):setTimeout(arguments.callee,10)}();q(a,c,d)}}function l(a){if(w.ie&#038;&#038;w.win&#038;&#038;a.readyState!=4){var c=o.createElement("div");a.parentNode.insertBefore(c,a);c.parentNode.replaceChild(p(a),c);a.style.display="none";(function(){a.readyState==4?a.parentNode.removeChild(a):setTimeout(arguments.callee,10)})()}else a.parentNode.replaceChild(p(a),a)}function p(a){var c=
o.createElement("div");if(w.win&#038;&#038;w.ie)c.innerHTML=a.innerHTML;else if(a=a.getElementsByTagName(E)[0])if(a=a.childNodes)for(var d=a.length,e=0;e<d;e++)!(a[e].nodeType==1&#038;&#038;a[e].nodeName=="PARAM")&#038;&#038;a[e].nodeType!=8&#038;&#038;c.appendChild(a[e].cloneNode(!0));return c}function q(a,c,d){var e,h=u(d);if(w.wk&#038;&#038;w.wk<312)return e;if(h){if(typeof a.id==x)a.id=d;if(w.ie&#038;&#038;w.win){var f="",j;for(j in a)if(a[j]!=Object.prototype[j])j.toLowerCase()=="data"?c.movie=a[j]:j.toLowerCase()=="styleclass"?f+=' class="'+a[j]+'"':
j.toLowerCase()!="classid"&#038;&#038;(f+=" "+j+'="'+a[j]+'"');j="";for(var k in c)c[k]!=Object.prototype[k]&#038;&#038;(j+='<param name="'+k+'" value="'+c[k]+'" />');h.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+f+">"+j+"</object>";aa[aa.length]=a.id;e=u(a.id)}else{k=o.createElement(E);k.setAttribute("type",B);for(var m in a)a[m]!=Object.prototype[m]&#038;&#038;(m.toLowerCase()=="styleclass"?k.setAttribute("class",a[m]):m.toLowerCase()!="classid"&#038;&#038;k.setAttribute(m,a[m]));for(f in c)c[f]!=Object.prototype[f]&#038;&#038;
f.toLowerCase()!="movie"&#038;&#038;(a=k,j=f,m=c[f],d=o.createElement("param"),d.setAttribute("name",j),d.setAttribute("value",m),a.appendChild(d));h.parentNode.replaceChild(k,h);e=k}}return e}function v(a){var c=u(a);if(c&#038;&#038;c.nodeName=="OBJECT")w.ie&#038;&#038;w.win?(c.style.display="none",function(){if(c.readyState==4){var d=u(a);if(d){for(var e in d)typeof d[e]=="function"&#038;&#038;(d[e]=null);d.parentNode.removeChild(d)}}else setTimeout(arguments.callee,10)}()):c.parentNode.removeChild(c)}function u(a){var c=null;try{c=o.getElementById(a)}catch(d){}return c}
function z(a,c,d){a.attachEvent(c,d);R[R.length]=[a,c,d]}function A(a){var c=w.pv,a=a.split(".");a[0]=parseInt(a[0],10);a[1]=parseInt(a[1],10)||0;a[2]=parseInt(a[2],10)||0;return c[0]>a[0]||c[0]==a[0]&#038;&#038;c[1]>a[1]||c[0]==a[0]&#038;&#038;c[1]==a[1]&#038;&#038;c[2]>=a[2]?!0:!1}function C(a,c,d,e){if(!w.ie||!w.mac){var h=o.getElementsByTagName("head")[0];if(h){d=d&#038;&#038;typeof d=="string"?d:"screen";e&#038;&#038;(ga=U=null);if(!U||ga!=d)e=o.createElement("style"),e.setAttribute("type","text/css"),e.setAttribute("media",d),U=h.appendChild(e),
w.ie&#038;&#038;w.win&#038;&#038;typeof o.styleSheets!=x&#038;&#038;o.styleSheets.length>0&#038;&#038;(U=o.styleSheets[o.styleSheets.length-1]),ga=d;w.ie&#038;&#038;w.win?U&#038;&#038;typeof U.addRule==E&#038;&#038;U.addRule(a,c):U&#038;&#038;typeof o.createTextNode!=x&#038;&#038;U.appendChild(o.createTextNode(a+" {"+c+"}"))}}}function H(a,c){if(ka){var d=c?"visible":"hidden";P&#038;&#038;u(a)?u(a).style.visibility=d:C("#"+a,"visibility:"+d)}}function K(a){return/[\\\"<>\.;]/.exec(a)!=null&#038;&#038;typeof encodeURIComponent!=x?encodeURIComponent(a):a}var x="undefined",E="object",B="application/x-shockwave-flash",
T="SWFObjectExprInst",J=window,o=document,h=navigator,la=!1,Q=[function(){la?e():f()}],M=[],aa=[],R=[],S,$,ea,fa,P=!1,N=!1,U,ga,ka=!0,w=function(){var a=typeof o.getElementById!=x&#038;&#038;typeof o.getElementsByTagName!=x&#038;&#038;typeof o.createElement!=x,c=h.userAgent.toLowerCase(),d=h.platform.toLowerCase(),e=d?/win/.test(d):/win/.test(c),d=d?/mac/.test(d):/mac/.test(c),c=/webkit/.test(c)?parseFloat(c.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):!1,f=!+"\u000b1",j=[0,0,0],k=null;if(typeof h.plugins!=x&#038;&#038;typeof h.plugins["Shockwave Flash"]==
E){if((k=h.plugins["Shockwave Flash"].description)&#038;&#038;!(typeof h.mimeTypes!=x&#038;&#038;h.mimeTypes[B]&#038;&#038;!h.mimeTypes[B].enabledPlugin))la=!0,f=!1,k=k.replace(/^.*\s+(\S+\s+\S+$)/,"$1"),j[0]=parseInt(k.replace(/^(.*)\..*$/,"$1"),10),j[1]=parseInt(k.replace(/^.*\.(.*)\s.*$/,"$1"),10),j[2]=/[a-zA-Z]/.test(k)?parseInt(k.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}else if(typeof J.ActiveXObject!=x)try{var m=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");if(m&#038;&#038;(k=m.GetVariable("$version")))f=!0,k=k.split(" ")[1].split(","),
j=[parseInt(k[0],10),parseInt(k[1],10),parseInt(k[2],10)]}catch(l){}return{w3:a,pv:j,wk:c,ie:f,win:e,mac:d}}();(function(){w.w3&#038;&#038;((typeof o.readyState!=x&#038;&#038;o.readyState=="complete"||typeof o.readyState==x&#038;&#038;(o.getElementsByTagName("body")[0]||o.body))&#038;&#038;a(),P||(typeof o.addEventListener!=x&#038;&#038;o.addEventListener("DOMContentLoaded",a,!1),w.ie&#038;&#038;w.win&#038;&#038;(o.attachEvent("onreadystatechange",function(){o.readyState=="complete"&#038;&#038;(o.detachEvent("onreadystatechange",arguments.callee),a())}),J==top&#038;&#038;function(){if(!P){try{o.documentElement.doScroll("left")}catch(c){setTimeout(arguments.callee,
0);return}a()}}()),w.wk&#038;&#038;function(){P||(/loaded|complete/.test(o.readyState)?a():setTimeout(arguments.callee,0))}(),d(a)))})();(function(){w.ie&#038;&#038;w.win&#038;&#038;window.attachEvent("onunload",function(){for(var a=R.length,c=0;c<a;c++)R[c][0].detachEvent(R[c][1],R[c][2]);a=aa.length;for(c=0;c<a;c++)v(aa[c]);for(var d in w)w[d]=null;w=null;for(var e in avpw_swfobject)avpw_swfobject[e]=null;avpw_swfobject=null})})();return{registerObject:function(a,c,d,e){if(w.w3&#038;&#038;a&#038;&#038;c){var h={};h.id=a;h.swfVersion=c;h.expressInstall=
d;h.callbackFn=e;M[M.length]=h;H(a,!1)}else e&#038;&#038;e({success:!1,id:a})},getObjectById:function(a){if(w.w3)return j(a)},embedSWF:function(a,d,e,h,f,j,l,o,p,u){var v={success:!1,id:d};w.w3&#038;&#038;!(w.wk&#038;&#038;w.wk<312)&#038;&#038;a&#038;&#038;d&#038;&#038;e&#038;&#038;h&#038;&#038;f?(H(d,!1),c(function(){e+="";h+="";var c={};if(p&#038;&#038;typeof p===E)for(var z in p)c[z]=p[z];c.data=a;c.width=e;c.height=h;z={};if(o&#038;&#038;typeof o===E)for(var w in o)z[w]=o[w];if(l&#038;&#038;typeof l===E)for(var C in l)typeof z.flashvars!=x?z.flashvars+="&#038;"+C+"="+l[C]:z.flashvars=C+"="+l[C];if(A(f))w=
q(c,z,d),c.id==d&#038;&#038;H(d,!0),v.success=!0,v.ref=w;else if(j&#038;&#038;k()){c.data=j;m(c,z,d,u);return}else H(d,!0);u&#038;&#038;u(v)})):u&#038;&#038;u(v)},switchOffAutoHideShow:function(){ka=!1},ua:w,getFlashPlayerVersion:function(){return{major:w.pv[0],minor:w.pv[1],release:w.pv[2]}},hasFlashPlayerVersion:A,createSWF:function(a,c,d){if(w.w3)return q(a,c,d)},showExpressInstall:function(a,c,d,e){w.w3&#038;&#038;k()&#038;&#038;m(a,c,d,e)},removeSWF:function(a){w.w3&#038;&#038;v(a)},createCSS:function(a,c,d,e){w.w3&#038;&#038;C(a,c,d,e)},addDomLoadEvent:c,addLoadEvent:d,
getQueryParamValue:function(a){var c=o.location.search||o.location.hash;if(c){/\?/.test(c)&#038;&#038;(c=c.split("?")[1]);if(a==null)return K(c);for(var c=c.split("&#038;"),d=0;d<c.length;d++)if(c[d].substring(0,c[d].indexOf("="))==a)return K(c[d].substring(c[d].indexOf("=")+1))}return""},expressInstallCallback:function(){if(N){var a=u(T);if(a&#038;&#038;S){a.parentNode.replaceChild(S,a);if($&#038;&#038;(H($,!0),w.ie&#038;&#038;w.win))S.style.display="block";ea&#038;&#038;ea(fa)}N=!1}}}}();(function(a,c){function d(a){return h.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function e(a){if(!ra[a]){var c=h("<"+a+">").appendTo("body"),d=c.css("display");c.remove();if(d==="none"||d==="")d="block";ra[a]=d}return ra[a]}function f(a,c){var d={};h.each(Da.concat.apply([],Da.slice(0,c)),function(){d[this]=a});return d}function j(){try{return new a.XMLHttpRequest}catch(c){}}function k(){h(a).unload(function(){for(var a in ba)ba[a](0,1)})}function m(a,c,d,e){if(h.isArray(c)&#038;&#038;c.length)h.each(c,
function(c,y){d||$a.test(a)?e(a,y):m(a+"["+(typeof y==="object"||h.isArray(y)?c:"")+"]",y,d,e)});else if(d||c==null||typeof c!=="object")e(a,c);else if(h.isArray(c)||h.isEmptyObject(c))e(a,"");else for(var f in c)m(a+"["+f+"]",c[f],d,e)}function l(a,d,e,h,f,j){f=f||d.dataTypes[0];j=j||{};j[f]=!0;for(var f=a[f],k=0,m=f?f.length:0,ta=a===sa,s;k<m&#038;&#038;(ta||!s);k++)s=f[k](d,e,h),typeof s==="string"&#038;&#038;(!ta||j[s]?s=c:(d.dataTypes.unshift(s),s=l(a,d,e,h,s,j)));(ta||!s)&#038;&#038;!j["*"]&#038;&#038;(s=l(a,d,e,h,"*",j));return s}
function p(a){return function(c,d){var n;typeof c!=="string"&#038;&#038;(d=c,c="*");if(h.isFunction(d))for(var e=c.toLowerCase().split(Ea),f=0,j=e.length,k,m;f<j;f++)k=e[f],(m=/^\+/.test(k))&#038;&#038;(k=k.substr(1)||"*"),n=a[k]=a[k]||[],k=n,k[m?"unshift":"push"](d)}}function q(a,c,d){var e=c==="width"?a.offsetWidth:a.offsetHeight;if(d==="border")return e;h.each(c==="width"?bb:cb,function(){d||(e-=parseFloat(h.css(a,"padding"+this))||0);d==="margin"?e+=parseFloat(h.css(a,"margin"+this))||0:e-=parseFloat(h.css(a,"border"+
this+"Width"))||0});return e}function v(a,c){c.src?h.ajax({url:c.src,async:!1,dataType:"script"}):h.globalEval(c.text||c.textContent||c.innerHTML||"");c.parentNode&#038;&#038;c.parentNode.removeChild(c)}function u(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function z(a,c){if(c.nodeType===1){var d=c.nodeName.toLowerCase();c.clearAttributes();c.mergeAttributes(a);if(d==="object")c.outerHTML=a.outerHTML;else if(d!=="input"||a.type!=="checkbox"&#038;&#038;
a.type!=="radio")if(d==="option")c.selected=a.defaultSelected;else{if(d==="input"||d==="textarea")c.defaultValue=a.defaultValue}else a.checked&#038;&#038;(c.defaultChecked=c.checked=a.checked),c.value!==a.value&#038;&#038;(c.value=a.value);c.removeAttribute(h.expando)}}function A(a,c){if(c.nodeType===1&#038;&#038;h.hasData(a)){var d=h.expando,e=h.data(a),f=h.data(c,e);if(e=e[d]){var j=e.events,f=f[d]=h.extend({},e);if(j){delete f.handle;f.events={};for(var k in j){d=0;for(e=j[k].length;d<e;d++)h.event.add(c,k+(j[k][d].namespace? ".":"")+j[k][d].namespace,j[k][d],j[k][d].data)}}}}}function C(a,c,d){if(h.isFunction(c))return h.grep(a,function(a,n){return!!c.call(a,n,a)===d});if(c.nodeType)return h.grep(a,function(a){return a===c===d});if(typeof c==="string"){var e=h.grep(a,function(a){return a.nodeType===1});if(Va.test(c))return h.filter(c,e,!d);c=h.filter(c,e)}return h.grep(a,function(a){return h.inArray(a,c)>=0===d})}function H(a,c){return(a&#038;&#038;a!=="*"?a+".":"")+c.replace(U,"`").replace(ga,"&#038;")}function K(a){var c,d,e,f,j,
k,m,l,s,o,q,p=[];f=[];j=h._data(this,"events");if(a.liveFired!==this&#038;&#038;j&#038;&#038;j.live&#038;&#038;!a.target.disabled&#038;&#038;(!a.button||a.type!=="click")){a.namespace&#038;&#038;(q=RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)"));a.liveFired=this;var u=j.live.slice(0);for(m=0;m<u.length;m++)j=u[m],j.origType.replace(P,"")===a.type?f.push(j.selector):u.splice(m--,1);f=h(a.target).closest(f,a.currentTarget);l=0;for(s=f.length;l<s;l++){o=f[l];for(m=0;m<u.length;m++)if(j=u[m],o.selector===j.selector&#038;&#038;(!q||q.test(j.namespace))&#038;&#038;
!o.elem.disabled){k=o.elem;e=null;if(j.preType==="mouseenter"||j.preType==="mouseleave")a.type=j.preType,e=h(a.relatedTarget).closest(j.selector)[0];(!e||e!==k)&#038;&#038;p.push({elem:k,handleObj:j,level:o.level})}}l=0;for(s=p.length;l<s;l++){f=p[l];if(d&#038;&#038;f.level>d)break;a.currentTarget=f.elem;a.data=f.handleObj.data;a.handleObj=f.handleObj;q=f.handleObj.origHandler.apply(f.elem,arguments);if(q===!1||a.isPropagationStopped())if(d=f.level,q===!1&#038;&#038;(c=!1),a.isImmediatePropagationStopped())break}return c}}function x(a,
d,e){var f=h.extend({},e[0]);f.type=a;f.originalEvent={};f.liveFired=c;h.event.handle.call(d,f);f.isDefaultPrevented()&#038;&#038;e[0].preventDefault()}function E(){return!0}function B(){return!1}function T(a){for(var c in a)if(c!=="toJSON")return!1;return!0}function J(a,d,e){if(e===c&#038;&#038;a.nodeType===1)if(e=a.getAttribute("data-"+d),typeof e==="string"){try{e=e==="true"?!0:e==="false"?!1:e==="null"?null:h.isNaN(e)?la.test(e)?h.parseJSON(e):e:parseFloat(e)}catch(f){}h.data(a,d,e)}else e=c;return e}var o=a.document,
h=function(){function n(){if(!d.isReady){try{o.documentElement.doScroll("left")}catch(a){setTimeout(n,1);return}d.ready()}}var d=function(a,c){return new d.fn.init(a,c,f)},e=a.jQuery,h=a.$,f,j=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,k=/\S/,m=/^\s+/,l=/\s+$/,s=/\d/,q=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,p=/^[\],:{}\s]*$/,u=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,A=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,v=/(?:^|:|,)(?:\s*\[)+/g,z=/(webkit)[ \/]([\w.]+)/,w=/(opera)(?:.*version)?[ \/]([\w.]+)/,
C=/(msie) ([\w.]+)/,x=/(mozilla)(?:.*? rv:([\w.]+))?/,D=navigator.userAgent,Fa=!1,va,wa="then done fail isResolved isRejected promise".split(" "),ca,db=Object.prototype.toString,xa=Object.prototype.hasOwnProperty,ya=Array.prototype.push,ha=Array.prototype.slice,H=String.prototype.trim,B=Array.prototype.indexOf,K={};d.fn=d.prototype={constructor:d,init:function(a,n,e){var h,f;if(!a)return this;if(a.nodeType)return this.context=this[0]=a,this.length=1,this;if(a==="body"&#038;&#038;!n&#038;&#038;o.body)return this.context=
o,this[0]=o.body,this.selector="body",this.length=1,this;if(typeof a==="string"){h=j.exec(a);if(!h||!h[1]&#038;&#038;n)return!n||n.jquery?(n||e).find(a):this.constructor(n).find(a);if(h[1])return f=(n=n instanceof d?n[0]:n)?n.ownerDocument||n:o,(e=q.exec(a))?d.isPlainObject(n)?(a=[o.createElement(e[1])],d.fn.attr.call(a,n,!0)):a=[f.createElement(e[1])]:(e=d.buildFragment([h[1]],[f]),a=(e.cacheable?d.clone(e.fragment):e.fragment).childNodes),d.merge(this,a);if((n=o.getElementById(h[2]))&#038;&#038;n.parentNode){if(n.id!==
h[2])return e.find(a);this.length=1;this[0]=n}this.context=o;this.selector=a;return this}if(d.isFunction(a))return e.ready(a);a.selector!==c&#038;&#038;(this.selector=a.selector,this.context=a.context);return d.makeArray(a,this)},selector:"",jquery:"1.5.1",length:0,size:function(){return this.length},toArray:function(){return ha.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,c,n){var e=this.constructor();d.isArray(a)?ya.apply(e,a):d.merge(e,
a);e.prevObject=this;e.context=this.context;c==="find"?e.selector=this.selector+(this.selector?" ":"")+n:c&#038;&#038;(e.selector=this.selector+"."+c+"("+n+")");return e},each:function(a,c){return d.each(this,a,c)},ready:function(a){d.bindReady();va.done(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(ha.apply(this,arguments),"slice",ha.call(arguments).join(","))},map:function(a){return this.pushStack(d.map(this,
function(c,d){return a.call(c,d,c)}))},end:function(){return this.prevObject||this.constructor(null)},push:ya,sort:[].sort,splice:[].splice};d.fn.init.prototype=d.fn;d.extend=d.fn.extend=function(){var a,n,e,h,f,G,j=arguments[0]||{},I=1,k=arguments.length,D=!1;typeof j==="boolean"&#038;&#038;(D=j,j=arguments[1]||{},I=2);typeof j!=="object"&#038;&#038;!d.isFunction(j)&#038;&#038;(j={});for(k===I&#038;&#038;(j=this,--I);I<k;I++)if((a=arguments[I])!=null)for(n in a)e=j[n],h=a[n],j!==h&#038;&#038;(D&#038;&#038;h&#038;&#038;(d.isPlainObject(h)||(f=d.isArray(h)))?(f?(f=!1, G=e&#038;&#038;d.isArray(e)?e:[]):G=e&#038;&#038;d.isPlainObject(e)?e:{},j[n]=d.extend(D,G,h)):h!==c&#038;&#038;(j[n]=h));return j};d.extend({noConflict:function(c){a.$=h;c&#038;&#038;(a.jQuery=e);return d},isReady:!1,readyWait:1,ready:function(a){a===!0&#038;&#038;d.readyWait--;if(!d.readyWait||a!==!0&#038;&#038;!d.isReady){if(!o.body)return setTimeout(d.ready,1);d.isReady=!0;a!==!0&#038;&#038;--d.readyWait>0||(va.resolveWith(o,[d]),d.fn.trigger&#038;&#038;d(o).trigger("ready").unbind("ready"))}},bindReady:function(){if(!Fa){Fa=!0;if(o.readyState==="complete")return setTimeout(d.ready,
1);if(o.addEventListener)o.addEventListener("DOMContentLoaded",ca,!1),a.addEventListener("load",d.ready,!1);else if(o.attachEvent){o.attachEvent("onreadystatechange",ca);a.attachEvent("onload",d.ready);var c=!1;try{c=a.frameElement==null}catch(e){}o.documentElement.doScroll&#038;&#038;c&#038;&#038;n()}}},isFunction:function(a){return d.type(a)==="function"},isArray:Array.isArray||function(a){return d.type(a)==="array"},isWindow:function(a){return a&#038;&#038;typeof a==="object"&#038;&#038;"setInterval"in a},isNaN:function(a){return a==
null||!s.test(a)||isNaN(a)},type:function(a){return a==null?String(a):K[db.call(a)]||"object"},isPlainObject:function(a){if(!a||d.type(a)!=="object"||a.nodeType||d.isWindow(a))return!1;if(a.constructor&#038;&#038;!xa.call(a,"constructor")&#038;&#038;!xa.call(a.constructor.prototype,"isPrototypeOf"))return!1;for(var n in a);return n===c||xa.call(a,n)},isEmptyObject:function(a){for(var c in a)return!1;return!0},error:function(a){throw a;},parseJSON:function(c){if(typeof c!=="string"||!c)return null;c=d.trim(c);if(p.test(c.replace(u,
"@").replace(A,"]").replace(v,"")))return a.JSON&#038;&#038;a.JSON.parse?a.JSON.parse(c):(new Function("return "+c))();d.error("Invalid JSON: "+c)},parseXML:function(c,n,e){a.DOMParser?(e=new DOMParser,n=e.parseFromString(c,"text/xml")):(n=new ActiveXObject("Microsoft.XMLDOM"),n.async="false",n.loadXML(c));e=n.documentElement;(!e||!e.nodeName||e.nodeName==="parsererror")&#038;&#038;d.error("Invalid XML: "+c);return n},noop:function(){},globalEval:function(a){if(a&#038;&#038;k.test(a)){var c=o.head||o.getElementsByTagName("head")[0]||
o.documentElement,n=o.createElement("script");d.support.scriptEval()?n.appendChild(o.createTextNode(a)):n.text=a;c.insertBefore(n,c.firstChild);c.removeChild(n)}},nodeName:function(a,c){return a.nodeName&#038;&#038;a.nodeName.toUpperCase()===c.toUpperCase()},each:function(a,n,e){var h,f=0,G=a.length,j=G===c||d.isFunction(a);if(e)if(j)for(h in a){if(n.apply(a[h],e)===!1)break}else for(;f<G;){if(n.apply(a[f++],e)===!1)break}else if(j)for(h in a){if(n.call(a[h],h,a[h])===!1)break}else for(e=a[0];f<G&#038;&#038;n.call(e,
f,e)!==!1;e=a[++f]);return a},trim:H?function(a){return a==null?"":H.call(a)}:function(a){return a==null?"":(a+"").replace(m,"").replace(l,"")},makeArray:function(a,c){var n=c||[];if(a!=null){var e=d.type(a);a.length==null||e==="string"||e==="function"||e==="regexp"||d.isWindow(a)?ya.call(n,a):d.merge(n,a)}return n},inArray:function(a,c){if(c.indexOf)return c.indexOf(a);for(var n=0,d=c.length;n<d;n++)if(c[n]===a)return n;return-1},merge:function(a,n){var d=a.length,e=0;if(typeof n.length==="number")for(var h=
n.length;e<h;e++)a[d++]=n[e];else for(;n[e]!==c;)a[d++]=n[e++];a.length=d;return a},grep:function(a,c,n){for(var d=[],e,n=!!n,h=0,y=a.length;h<y;h++)e=!!c(a[h],h),n!==e&#038;&#038;d.push(a[h]);return d},map:function(a,c,n){for(var d=[],e,h=0,y=a.length;h<y;h++)e=c(a[h],h,n),e!=null&#038;&#038;(d[d.length]=e);return d.concat.apply([],d)},guid:1,proxy:function(a,n,e){arguments.length===2&#038;&#038;(typeof n==="string"?(e=a,a=e[n],n=c):n&#038;&#038;!d.isFunction(n)&#038;&#038;(e=n,n=c));!n&#038;&#038;a&#038;&#038;(n=function(){return a.apply(e||this,arguments)});a&#038;&#038;(n.guid=
a.guid=a.guid||n.guid||d.guid++);return n},access:function(a,n,e,h,f,G){var j=a.length;if(typeof n==="object"){for(var I in n)d.access(a,I,n[I],h,f,e);return a}if(e!==c){h=!G&#038;&#038;h&#038;&#038;d.isFunction(e);for(I=0;I<j;I++)f(a[I],n,h?e.call(a[I],I,f(a[I],n)):e,G);return a}return j?f(a[0],n):c},now:function(){return(new Date).getTime()},_Deferred:function(){var a=[],c,n,e,h={done:function(){if(!e){var n=arguments,f,G,j,I,k;c&#038;&#038;(k=c,c=0);f=0;for(G=n.length;f<G;f++)j=n[f],I=d.type(j),I==="array"?h.done.apply(h,j):
I==="function"&#038;&#038;a.push(j);k&#038;&#038;h.resolveWith(k[0],k[1])}return this},resolveWith:function(d,h){if(!e&#038;&#038;!c&#038;&#038;!n){n=1;try{for(;a[0];)a.shift().apply(d,h)}catch(y){throw y;}finally{c=[d,h],n=0}}return this},resolve:function(){h.resolveWith(d.isFunction(this.promise)?this.promise():this,arguments);return this},isResolved:function(){return n||c},cancel:function(){e=1;a=[];return this}};return h},Deferred:function(a){var c=d._Deferred(),n=d._Deferred(),e;d.extend(c,{then:function(a,n){c.done(a).fail(n);return this},
fail:n.done,rejectWith:n.resolveWith,reject:n.resolve,isRejected:n.isResolved,promise:function(a){if(a==null){if(e)return e;e=a={}}for(var n=wa.length;n--;)a[wa[n]]=c[wa[n]];return a}});c.done(n.cancel).fail(c.cancel);delete c.cancel;a&#038;&#038;a.call(c,c);return c},when:function(a){var c=arguments.length,n=c<=1&#038;&#038;a&#038;&#038;d.isFunction(a.promise)?a:d.Deferred(),e=n.promise();if(c>1){for(var h=ha.call(arguments,0),f=c,j=function(a){return function(c){h[a]=arguments.length>1?ha.call(arguments,0):c;--f||n.resolveWith(e,
h)}};c--;)(a=h[c])&#038;&#038;d.isFunction(a.promise)?a.promise().then(j(c),n.reject):--f;f||n.resolveWith(e,h)}else n!==a&#038;&#038;n.resolve(a);return e},uaMatch:function(a){a=a.toLowerCase();a=z.exec(a)||w.exec(a)||C.exec(a)||a.indexOf("compatible")<0&#038;&#038;x.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},sub:function(){function a(c,n){return new a.fn.init(c,n)}d.extend(!0,a,this);a.superclass=this;a.fn=a.prototype=this();a.fn.constructor=a;a.subclass=this.subclass;a.fn.init=function L(L,n){n&#038;&#038;n instanceof d&#038;&#038;
!(n instanceof a)&#038;&#038;(n=a(n));return d.fn.init.call(this,L,n,c)};a.fn.init.prototype=a.fn;var c=a(o);return a},browser:{}});va=d._Deferred();d.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,c){K["[object "+c+"]"]=c.toLowerCase()});D=d.uaMatch(D);D.browser&#038;&#038;(d.browser[D.browser]=!0,d.browser.version=D.version);d.browser.webkit&#038;&#038;(d.browser.safari=!0);B&#038;&#038;(d.inArray=function(a,c){return B.call(c,a)});k.test("\u00a0")&#038;&#038;(m=/^[\s\xA0]+/,l=/[\s\xA0]+$/);f=d(o);o.addEventListener?
ca=function(){o.removeEventListener("DOMContentLoaded",ca,!1);d.ready()}:o.attachEvent&#038;&#038;(ca=function(){o.readyState==="complete"&#038;&#038;(o.detachEvent("onreadystatechange",ca),d.ready())});return d}();(function(){h.support={};var c=o.createElement("div");c.style.display="none";c.innerHTML="   	</p>
<link/>
<table></table>
<p><a href='/a' style='color:red;float:left;opacity:.55;'>a</a></p>
<input type='checkbox'/>";var d=c.getElementsByTagName("*"),e=c.getElementsByTagName("a")[0],f=o.createElement("select"),j=f.appendChild(o.createElement("option")),
k=c.getElementsByTagName("input")[0];if(d&#038;&#038;d.length&#038;&#038;e){h.support={leadingWhitespace:c.firstChild.nodeType===3,tbody:!c.getElementsByTagName("tbody").length,htmlSerialize:!!c.getElementsByTagName("link").length,style:/red/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55$/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:k.value==="on",optSelected:j.selected,deleteExpando:!0,optDisabled:!1,checkClone:!1,noCloneEvent:!0,noCloneChecked:!0,boxModel:null,
inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableHiddenOffsets:!0};k.checked=!0;h.support.noCloneChecked=k.cloneNode(!0).checked;f.disabled=!0;h.support.optDisabled=!j.disabled;var F=null;h.support.scriptEval=function(){if(F===null){var c=o.documentElement,n=o.createElement("script"),d="script"+h.now();try{n.appendChild(o.createTextNode("window."+d+"=1;"))}catch(e){}c.insertBefore(n,c.firstChild);a[d]?(F=!0,delete a[d]):F=!1;c.removeChild(n)}return F};try{delete c.test}catch(m){h.support.deleteExpando=
!1}!c.addEventListener&#038;&#038;c.attachEvent&#038;&#038;c.fireEvent&#038;&#038;(c.attachEvent("onclick",function s(){h.support.noCloneEvent=!1;c.detachEvent("onclick",s)}),c.cloneNode(!0).fireEvent("onclick"));c=o.createElement("div");c.innerHTML="</p>
<input type='radio' name='radiotest' checked='checked'/>";d=o.createDocumentFragment();d.appendChild(c.firstChild);h.support.checkClone=d.cloneNode(!0).cloneNode(!0).lastChild.checked;h(function(){var a=o.createElement("div"),c=o.getElementsByTagName("body")[0];if(c){a.style.width=
a.style.paddingLeft="1px";c.appendChild(a);h.boxModel=h.support.boxModel=a.offsetWidth===2;"zoom"in a.style&#038;&#038;(a.style.display="inline",a.style.zoom=1,h.support.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="</p>
<div style='width:4px;'></div>
<p>",h.support.shrinkWrapBlocks=a.offsetWidth!==2);a.innerHTML="</p>
<table>
<tr>
<td style='padding:0;border:0;display:none'></td>
<td>t</td>
</tr>
</table>
<p>";var n=a.getElementsByTagName("td");h.support.reliableHiddenOffsets=n[0].offsetHeight===0;n[0].style.display=
"";n[1].style.display="none";h.support.reliableHiddenOffsets=h.support.reliableHiddenOffsets&#038;&#038;n[0].offsetHeight===0;a.innerHTML="";c.removeChild(a).style.display="none"}});d=function(a){var c=o.createElement("div"),a="on"+a;if(!c.attachEvent)return!0;var n=a in c;n||(c.setAttribute(a,"return;"),n=typeof c[a]==="function");return n};h.support.submitBubbles=d("submit");h.support.changeBubbles=d("change");c=d=e=null}})();var la=/^(?:\{.*\}|\[.*\])$/;h.extend({cache:{},uuid:0,expando:"jQuery"+(h.fn.jquery+
Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?h.cache[a[h.expando]]:a[h.expando];return!!a&#038;&#038;!T(a)},data:function(a,d,e,f){if(h.acceptData(a)){var j=h.expando,k=typeof d==="string",F=a.nodeType,m=F?h.cache:a,l=F?a[h.expando]:a[h.expando]&#038;&#038;h.expando;if(l&#038;&#038;(!f||!l||m[l][j])||!(k&#038;&#038;e===c)){l||(F?a[h.expando]=l=++h.uuid:l=h.expando);m[l]||(m[l]={},F||(m[l].toJSON=h.noop));if(typeof d==="object"||typeof d===
"function")f?m[l][j]=h.extend(m[l][j],d):m[l]=h.extend(m[l],d);a=m[l];f&#038;&#038;(a[j]||(a[j]={}),a=a[j]);e!==c&#038;&#038;(a[d]=e);if(d==="events"&#038;&#038;!a[d])return a[j]&#038;&#038;a[j].events;return k?a[d]:a}}},removeData:function(c,d,e){if(h.acceptData(c)){var f=h.expando,j=c.nodeType,k=j?h.cache:c,m=j?c[h.expando]:h.expando;if(k[m]){if(d){var l=e?k[m][f]:k[m];if(l&#038;&#038;(delete l[d],!T(l)))return}if(e&#038;&#038;(delete k[m][f],!T(k[m])))return;d=k[m][f];h.support.deleteExpando||k!=a?delete k[m]:k[m]=null;d?(k[m]={},j||(k[m].toJSON=h.noop),
k[m][f]=d):j&#038;&#038;(h.support.deleteExpando?delete c[h.expando]:c.removeAttribute?c.removeAttribute(h.expando):c[h.expando]=null)}}},_data:function(a,c,d){return h.data(a,c,d,!0)},acceptData:function(a){if(a.nodeName){var c=h.noData[a.nodeName.toLowerCase()];if(c)return c!==!0&#038;&#038;a.getAttribute("classid")===c}return!0}});h.fn.extend({data:function(a,d){var e=null;if(typeof a==="undefined"){if(this.length&#038;&#038;(e=h.data(this[0]),this[0].nodeType===1))for(var f=this[0].attributes,j,k=0,m=f.length;k<m;k++)j=f[k].name,
j.indexOf("data-")===0&#038;&#038;(j=j.substr(5),J(this[0],j,e[j]));return e}if(typeof a==="object")return this.each(function(){h.data(this,a)});var l=a.split(".");l[1]=l[1]?"."+l[1]:"";if(d===c)return e=this.triggerHandler("getData"+l[1]+"!",[l[0]]),e===c&#038;&#038;this.length&#038;&#038;(e=h.data(this[0],a),e=J(this[0],a,e)),e===c&#038;&#038;l[1]?this.data(l[0]):e;return this.each(function(){var c=h(this),e=[l[0],d];c.triggerHandler("setData"+l[1]+"!",e);h.data(this,a,d);c.triggerHandler("changeData"+l[1]+"!",e)})},removeData:function(a){return this.each(function(){h.removeData(this,
a)})}});h.extend({queue:function(a,c,d){if(a){var c=(c||"fx")+"queue",e=h._data(a,c);if(!d)return e||[];!e||h.isArray(d)?e=h._data(a,c,h.makeArray(d)):e.push(d);return e}},dequeue:function(a,c){var c=c||"fx",d=h.queue(a,c),e=d.shift();e==="inprogress"&#038;&#038;(e=d.shift());e&#038;&#038;(c==="fx"&#038;&#038;d.unshift("inprogress"),e.call(a,function(){h.dequeue(a,c)}));d.length||h.removeData(a,c+"queue",!0)}});h.fn.extend({queue:function(a,d){typeof a!=="string"&#038;&#038;(d=a,a="fx");if(d===c)return h.queue(this[0],a);return this.each(function(){var c=
h.queue(this,a,d);a==="fx"&#038;&#038;c[0]!=="inprogress"&#038;&#038;h.dequeue(this,a)})},dequeue:function(a){return this.each(function(){h.dequeue(this,a)})},delay:function(a,c){a=h.fx?h.fx.speeds[a]||a:a;c=c||"fx";return this.queue(c,function(){var d=this;setTimeout(function(){h.dequeue(d,c)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var Q=/[\n\t\r]/g,M=/\s+/,aa=/\r/g,R=/^(?:href|src|style)$/,S=/^(?:button|input)$/i,$=/^(?:button|input|object|select|textarea)$/i,ea=/^a(?:rea)?$/i,fa=/^(?:radio|checkbox)$/i;
h.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};h.fn.extend({attr:function(a,c){return h.access(this,a,c,!0,h.attr)},removeAttr:function(a){return this.each(function(){h.attr(this,a,"");this.nodeType===1&#038;&#038;this.removeAttribute(a)})},addClass:function(a){if(h.isFunction(a))return this.each(function(c){var d=h(this);d.addClass(a.call(this,
c,d.attr("class")))});if(a&#038;&#038;typeof a==="string")for(var c=(a||"").split(M),d=0,e=this.length;d<e;d++){var f=this[d];if(f.nodeType===1)if(f.className){for(var j=" "+f.className+" ",k=f.className,m=0,l=c.length;m<l;m++)j.indexOf(" "+c[m]+" ")<0&#038;&#038;(k+=" "+c[m]);f.className=h.trim(k)}else f.className=a}return this},removeClass:function(a){if(h.isFunction(a))return this.each(function(c){var d=h(this);d.removeClass(a.call(this,c,d.attr("class")))});if(a&#038;&#038;typeof a==="string"||a===c)for(var d=(a||"").split(M),
e=0,f=this.length;e<f;e++){var j=this[e];if(j.nodeType===1&#038;&#038;j.className)if(a){for(var k=(" "+j.className+" ").replace(Q," "),m=0,l=d.length;m<l;m++)k=k.replace(" "+d[m]+" "," ");j.className=h.trim(k)}else j.className=""}return this},toggleClass:function(a,c){var d=typeof a,e=typeof c==="boolean";if(h.isFunction(a))return this.each(function(d){var e=h(this);e.toggleClass(a.call(this,d,e.attr("class"),c),c)});return this.each(function(){if(d==="string")for(var f,j=0,k=h(this),m=c,l=a.split(M);f=l[j++];)m=
e?m:!k.hasClass(f),k[m?"addClass":"removeClass"](f);else if(d==="undefined"||d==="boolean")this.className&#038;&#038;h._data(this,"__className__",this.className),this.className=this.className||a===!1?"":h._data(this,"__className__")||""})},hasClass:function(a){for(var a=" "+a+" ",c=0,d=this.length;c<d;c++)if((" "+this[c].className+" ").replace(Q," ").indexOf(a)>-1)return!0;return!1},val:function(a){if(!arguments.length){var d=this[0];if(d){if(h.nodeName(d,"option")){var e=d.attributes.value;return!e||e.specified?
d.value:d.text}if(h.nodeName(d,"select")){var e=d.selectedIndex,f=[],j=d.options,d=d.type==="select-one";if(e<0)return null;for(var k=d?e:0,m=d?e+1:j.length;k<m;k++){var l=j[k];if(l.selected&#038;&#038;(h.support.optDisabled?!l.disabled:l.getAttribute("disabled")===null)&#038;&#038;(!l.parentNode.disabled||!h.nodeName(l.parentNode,"optgroup"))){a=h(l).val();if(d)return a;f.push(a)}}if(d&#038;&#038;!f.length&#038;&#038;j.length)return h(j[e]).val();return f}if(fa.test(d.type)&#038;&#038;!h.support.checkOn)return d.getAttribute("value")===null?"on": d.value;return(d.value||"").replace(aa,"")}return c}var o=h.isFunction(a);return this.each(function(c){var d=h(this),e=a;if(this.nodeType===1)if(o&#038;&#038;(e=a.call(this,c,d.val())),e==null?e="":typeof e==="number"?e+="":h.isArray(e)&#038;&#038;(e=h.map(e,function(a){return a==null?"":a+""})),h.isArray(e)&#038;&#038;fa.test(this.type))this.checked=h.inArray(d.val(),e)>=0;else if(h.nodeName(this,"select")){var f=h.makeArray(e);h("option",this).each(function(){this.selected=h.inArray(h(this).val(),f)>=0});f.length||(this.selectedIndex=
-1)}else this.value=e})}});h.extend({attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,d,e,f){if(!a||a.nodeType===3||a.nodeType===8||a.nodeType===2)return c;if(f&#038;&#038;d in h.attrFn)return h(a)[d](e);var f=a.nodeType!==1||!h.isXMLDoc(a),j=e!==c,d=f&#038;&#038;h.props[d]||d;if(a.nodeType===1){var k=R.test(d);if((d in a||a[d]!==c)&#038;&#038;f&#038;&#038;!k){j&#038;&#038;(d==="type"&#038;&#038;S.test(a.nodeName)&#038;&#038;a.parentNode&#038;&#038;h.error("type property can't be changed"),e===null?a.nodeType===1&#038;&#038;a.removeAttribute(d):
a[d]=e);if(h.nodeName(a,"form")&#038;&#038;a.getAttributeNode(d))return a.getAttributeNode(d).nodeValue;if(d==="tabIndex")return(d=a.getAttributeNode("tabIndex"))&#038;&#038;d.specified?d.value:$.test(a.nodeName)||ea.test(a.nodeName)&#038;&#038;a.href?0:c;return a[d]}if(!h.support.style&#038;&#038;f&#038;&#038;d==="style")return j&#038;&#038;(a.style.cssText=""+e),a.style.cssText;j&#038;&#038;a.setAttribute(d,""+e);if(!a.attributes[d]&#038;&#038;a.hasAttribute&#038;&#038;!a.hasAttribute(d))return c;a=!h.support.hrefNormalized&#038;&#038;f&#038;&#038;k?a.getAttribute(d,2):a.getAttribute(d);return a===null?
c:a}j&#038;&#038;(a[d]=e);return a[d]}});var P=/\.(.*)$/,N=/^(?:textarea|input|select)$/i,U=/\./g,ga=/ /g,ka=/[^\w\s.|`]/g,w=function(a){return a.replace(ka,"\\$&#038;")};h.event={add:function(d,e,f,j){if(d.nodeType!==3&#038;&#038;d.nodeType!==8){try{h.isWindow(d)&#038;&#038;d!==a&#038;&#038;!d.frameElement&#038;&#038;(d=a)}catch(k){}if(f===!1)f=B;else if(!f)return;var m,l;f.handler&#038;&#038;(m=f,f=m.handler);f.guid||(f.guid=h.guid++);if(l=h._data(d)){var o=l.events,q=l.handle;o||(l.events=o={});q||(l.handle=q=function(){return typeof h!=="undefined"&#038;&#038;!h.event.triggered?
h.event.handle.apply(q.elem,arguments):c});q.elem=d;for(var e=e.split(" "),s,p=0,u;s=e[p++];){l=m?h.extend({},m):{handler:f,data:j};s.indexOf(".")>-1?(u=s.split("."),s=u.shift(),l.namespace=u.slice(0).sort().join(".")):(u=[],l.namespace="");l.type=s;l.guid||(l.guid=f.guid);var A=o[s],v=h.event.special[s]||{};if(!A&#038;&#038;(A=o[s]=[],!v.setup||v.setup.call(d,j,u,q)===!1))d.addEventListener?d.addEventListener(s,q,!1):d.attachEvent&#038;&#038;d.attachEvent("on"+s,q);v.add&#038;&#038;(v.add.call(d,l),l.handler.guid||(l.handler.guid=
f.guid));A.push(l);h.event.global[s]=!0}d=null}}},global:{},remove:function(a,d,e,f){if(a.nodeType!==3&#038;&#038;a.nodeType!==8){e===!1&#038;&#038;(e=B);var j,k,m=0,l,o,s,q,p,u,v=h.hasData(a)&#038;&#038;h._data(a),A=v&#038;&#038;v.events;if(v&#038;&#038;A)if(d&#038;&#038;d.type&#038;&#038;(e=d.handler,d=d.type),!d||typeof d==="string"&#038;&#038;d.charAt(0)===".")for(j in d=d||"",A)h.event.remove(a,j+d);else{for(d=d.split(" ");j=d[m++];)if(q=j,l=j.indexOf(".")<0,o=[],l||(o=j.split("."),j=o.shift(),s=RegExp("(^|\\.)"+h.map(o.slice(0).sort(),w).join("\\.(?:.*\\.)?")+"(\\.|$)")),
p=A[j])if(e){q=h.event.special[j]||{};for(k=f||0;k</p>
<p.length;k++)if(u=p[k],e.guid===u.guid){if(l||s.test(u.namespace))f==null&#038;&#038;p.splice(k--,1),q.remove&#038;&#038;q.remove.call(a,u);if(f!=null)break}if(p.length===0||f!=null&#038;&#038;p.length===1)(!q.teardown||q.teardown.call(a,o)===!1)&#038;&#038;h.removeEvent(a,j,v.handle),delete A[j]}else for(k=0;k<p.length;k++)if(u=p[k],l||s.test(u.namespace))h.event.remove(a,q,u.handler,k),p.splice(k--,1);if(h.isEmptyObject(A))(d=v.handle)&#038;&#038;(d.elem=null),delete v.events,delete v.handle,h.isEmptyObject(v)&#038;&#038; h.removeData(a,c,!0)}}},trigger:function(a,d,e,f){var j=a.type||a;if(!f){a=typeof a==="object"?a[h.expando]?a:h.extend(h.Event(j),a):h.Event(j);j.indexOf("!")>=0&#038;&#038;(a.type=j=j.slice(0,-1),a.exclusive=!0);e||(a.stopPropagation(),h.event.global[j]&#038;&#038;h.each(h.cache,function(){var c=this[h.expando];c&#038;&#038;c.events&#038;&#038;c.events[j]&#038;&#038;h.event.trigger(a,d,c.handle.elem)}));if(!e||e.nodeType===3||e.nodeType===8)return c;a.result=c;a.target=e;d=h.makeArray(d);d.unshift(a)}a.currentTarget=e;(f=h._data(e,"handle"))&#038;&#038;f.apply(e,
d);f=e.parentNode||e.ownerDocument;try{e&#038;&#038;e.nodeName&#038;&#038;h.noData[e.nodeName.toLowerCase()]||e["on"+j]&#038;&#038;e["on"+j].apply(e,d)===!1&#038;&#038;(a.result=!1,a.preventDefault())}catch(k){}if(!a.isPropagationStopped()&#038;&#038;f)h.event.trigger(a,d,f,!0);else if(!a.isDefaultPrevented()){var m,f=a.target,l=j.replace(P,""),o=h.nodeName(f,"a")&#038;&#038;l==="click",s=h.event.special[l]||{};if((!s._default||s._default.call(e,a)===!1)&#038;&#038;!o&#038;&#038;(!f||!f.nodeName||!h.noData[f.nodeName.toLowerCase()])){try{f[l]&#038;&#038;(m=f["on"+l],m&#038;&#038;(f["on"+l]=null),
h.event.triggered=!0,f[l]())}catch(q){}m&#038;&#038;(f["on"+l]=m);h.event.triggered=!1}}},handle:function(d){var e,f,j,k;k=[];var m=h.makeArray(arguments),d=m[0]=h.event.fix(d||a.event);d.currentTarget=this;(e=d.type.indexOf(".")<0&#038;&#038;!d.exclusive)||(f=d.type.split("."),d.type=f.shift(),k=f.slice(0).sort(),j=RegExp("(^|\\.)"+k.join("\\.(?:.*\\.)?")+"(\\.|$)"));d.namespace=d.namespace||k.join(".");k=h._data(this,"events");f=(k||{})[d.type];if(k&#038;&#038;f){f=f.slice(0);k=0;for(var l=f.length;k<l;k++){var o=f[k];if(e|| j.test(o.namespace))if(d.handler=o.handler,d.data=o.data,d.handleObj=o,o=o.handler.apply(this,m),o!==c&#038;&#038;(d.result=o,o===!1&#038;&#038;(d.preventDefault(),d.stopPropagation())),d.isImmediatePropagationStopped())break}}return d.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "), fix:function(a){if(a[h.expando])return a;for(var d=a,a=h.Event(d),e=this.props.length,f;e;)f=this.props[--e],a[f]=d[f];a.target||(a.target=a.srcElement||o);a.target.nodeType===3&#038;&#038;(a.target=a.target.parentNode);!a.relatedTarget&#038;&#038;a.fromElement&#038;&#038;(a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement);if(a.pageX==null&#038;&#038;a.clientX!=null)d=o.documentElement,e=o.body,a.pageX=a.clientX+(d&#038;&#038;d.scrollLeft||e&#038;&#038;e.scrollLeft||0)-(d&#038;&#038;d.clientLeft||e&#038;&#038;e.clientLeft||0),a.pageY=a.clientY+(d&#038;&#038;d.scrollTop|| e&#038;&#038;e.scrollTop||0)-(d&#038;&#038;d.clientTop||e&#038;&#038;e.clientTop||0);a.which==null&#038;&#038;(a.charCode!=null||a.keyCode!=null)&#038;&#038;(a.which=a.charCode!=null?a.charCode:a.keyCode);!a.metaKey&#038;&#038;a.ctrlKey&#038;&#038;(a.metaKey=a.ctrlKey);!a.which&#038;&#038;a.button!==c&#038;&#038;(a.which=a.button&#038;1?1:a.button&#038;2?3:a.button&#038;4?2:0);return a},guid:1E8,proxy:h.proxy,special:{ready:{setup:h.bindReady,teardown:h.noop},live:{add:function(a){h.event.add(this,H(a.origType,a.selector),h.extend({},a,{handler:K,guid:a.handler.guid}))},remove:function(a){h.event.remove(this, H(a.origType,a.selector),a)}},beforeunload:{setup:function(a,c,d){h.isWindow(this)&#038;&#038;(this.onbeforeunload=d)},teardown:function(a,c){this.onbeforeunload===c&#038;&#038;(this.onbeforeunload=null)}}}};h.removeEvent=o.removeEventListener?function(a,c,d){a.removeEventListener&#038;&#038;a.removeEventListener(c,d,!1)}:function(a,c,d){a.detachEvent&#038;&#038;a.detachEvent("on"+c,d)};h.Event=function(a){if(!this.preventDefault)return new h.Event(a);a&#038;&#038;a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented|| a.returnValue===!1||a.getPreventDefault&#038;&#038;a.getPreventDefault()?E:B):this.type=a;this.timeStamp=h.now();this[h.expando]=!0};h.Event.prototype={preventDefault:function(){this.isDefaultPrevented=E;var a=this.originalEvent;a&#038;&#038;(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=E;var a=this.originalEvent;a&#038;&#038;(a.stopPropagation&#038;&#038;a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=E;this.stopPropagation()}, isDefaultPrevented:B,isPropagationStopped:B,isImmediatePropagationStopped:B};var za=function(a){var c=a.relatedTarget;try{if(c===o||c.parentNode){for(;c&#038;&#038;c!==this;)c=c.parentNode;c!==this&#038;&#038;(a.type=a.data,h.event.handle.apply(this,arguments))}}catch(d){}},Aa=function(a){a.type=a.data;h.event.handle.apply(this,arguments)};h.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,c){h.event.special[a]={setup:function(d){h.event.add(this,c,d&#038;&#038;d.selector?Aa:za,a)},teardown:function(a){h.event.remove(this, c,a&#038;&#038;a.selector?Aa:za)}}});h.support.submitBubbles||(h.event.special.submit={setup:function(){if(this.nodeName&#038;&#038;this.nodeName.toLowerCase()!=="form")h.event.add(this,"click.specialSubmit",function(a){var c=a.target,d=c.type;(d==="submit"||d==="image")&#038;&#038;h(c).closest("form").length&#038;&#038;x("submit",this,arguments)}),h.event.add(this,"keypress.specialSubmit",function(a){var c=a.target,d=c.type;(d==="text"||d==="password")&#038;&#038;h(c).closest("form").length&#038;&#038;a.keyCode===13&#038;&#038;x("submit",this,arguments)});else return!1}, teardown:function(){h.event.remove(this,".specialSubmit")}});if(!h.support.changeBubbles){var da,Ba=function(a){var c=a.type,d=a.value;c==="radio"||c==="checkbox"?d=a.checked:c==="select-multiple"?d=a.selectedIndex>-1?h.map(a.options,function(a){return a.selected}).join("-"):"":a.nodeName.toLowerCase()==="select"&#038;&#038;(d=a.selectedIndex);return d},ja=function(a,d){var e=a.target,f,j;if(N.test(e.nodeName)&#038;&#038;!e.readOnly&#038;&#038;(f=h._data(e,"_change_data"),j=Ba(e),(a.type!=="focusout"||e.type!=="radio")&#038;&#038;h._data(e,
"_change_data",j),!(f===c||j===f)))if(f!=null||j)a.type="change",a.liveFired=c,h.event.trigger(a,d,e)};h.event.special.change={filters:{focusout:ja,beforedeactivate:ja,click:function(a){var c=a.target,d=c.type;(d==="radio"||d==="checkbox"||c.nodeName.toLowerCase()==="select")&#038;&#038;ja.call(this,a)},keydown:function(a){var c=a.target,d=c.type;(a.keyCode===13&#038;&#038;c.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&#038;&#038;(d==="checkbox"||d==="radio")||d==="select-multiple")&#038;&#038;ja.call(this,a)},beforeactivate:function(a){a=
a.target;h._data(a,"_change_data",Ba(a))}},setup:function(){if(this.type==="file")return!1;for(var a in da)h.event.add(this,a+".specialChange",da[a]);return N.test(this.nodeName)},teardown:function(){h.event.remove(this,".specialChange");return N.test(this.nodeName)}};da=h.event.special.change.filters;da.focus=da.beforeactivate}o.addEventListener&#038;&#038;h.each({focus:"focusin",blur:"focusout"},function(a,c){function d(a){a=h.event.fix(a);a.type=c;return h.event.handle.call(this,a)}h.event.special[c]={setup:function(){this.addEventListener(a,
d,!0)},teardown:function(){this.removeEventListener(a,d,!0)}}});h.each(["bind","one"],function(a,d){h.fn[d]=function(a,e,f){if(typeof a==="object"){for(var n in a)this[d](n,e,a[n],f);return this}if(h.isFunction(e)||e===!1)f=e,e=c;var j=d==="one"?h.proxy(f,function(a){h(this).unbind(a,j);return f.apply(this,arguments)}):f;if(a==="unload"&#038;&#038;d!=="one")this.one(a,e,f);else{n=0;for(var k=this.length;n<k;n++)h.event.add(this[n],a,j,e)}return this}});h.fn.extend({unbind:function(a,c){if(typeof a!=="object"||
a.preventDefault)for(var d=0,e=this.length;d<e;d++)h.event.remove(this[d],a,c);else for(d in a)this.unbind(d,a[d]);return this},delegate:function(a,c,d,e){return this.live(c,d,e,a)},undelegate:function(a,c,d){return arguments.length===0?this.unbind("live"):this.die(c,null,d,a)},trigger:function(a,c){return this.each(function(){h.event.trigger(a,c,this)})},triggerHandler:function(a,c){if(this[0]){var d=h.Event(a);d.preventDefault();d.stopPropagation();h.event.trigger(d,c,this[0]);return d.result}},
toggle:function(a){for(var c=arguments,d=1;d<c.length;)h.proxy(a,c[d++]);return this.click(h.proxy(a,function(e){var f=(h._data(this,"lastToggle"+a.guid)||0)%d;h._data(this,"lastToggle"+a.guid,f+1);e.preventDefault();return c[f].apply(this,arguments)||!1}))},hover:function(a,c){return this.mouseenter(a).mouseleave(c||a)}});var Ca={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};h.each(["live","die"],function(a,d){h.fn[d]=function(a,e,f,n){var j,k=0,m,l,o=n||this.selector,
n=n?this:h(this.context);if(typeof a==="object"&#038;&#038;!a.preventDefault){for(j in a)n[d](j,e,a[j],o);return this}h.isFunction(e)&#038;&#038;(f=e,e=c);for(a=(a||"").split(" ");(j=a[k++])!=null;)if(m=P.exec(j),l="",m&#038;&#038;(l=m[0],j=j.replace(P,"")),j==="hover")a.push("mouseenter"+l,"mouseleave"+l);else if(m=j,j==="focus"||j==="blur"?(a.push(Ca[j]+l),j+=l):j=(Ca[j]||j)+l,d==="live"){l=0;for(var q=n.length;l<q;l++)h.event.add(n[l],"live."+H(j,o),{data:e,selector:o,handler:f,origType:j,origHandler:f,preType:m})}else n.unbind("live."+ H(j,o),f);return this}});h.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(a,c){h.fn[c]=function(a,d){d==null&#038;&#038;(d=a,a=null);return arguments.length>0?this.bind(c,a,d):this.trigger(c)};h.attrFn&#038;&#038;(h.attrFn[c]=!0)});(function(){function a(c,d,e,f,h,n){for(var h=0,j=f.length;h<j;h++){var k=f[h];if(k){for(var y=!1,k=k[c];k;){if(k.sizcache=== e){y=f[k.sizset];break}if(k.nodeType===1)if(n||(k.sizcache=e,k.sizset=h),typeof d!=="string"){if(k===d){y=!0;break}}else if(s.filter(d,[k]).length>0){y=k;break}k=k[c]}f[h]=y}}}function d(a,c,e,h,f,n){for(var f=0,j=h.length;f<j;f++){var k=h[f];if(k){for(var y=!1,k=k[a];k;){if(k.sizcache===e){y=h[k.sizset];break}k.nodeType===1&#038;&#038;!n&#038;&#038;(k.sizcache=e,k.sizset=f);if(k.nodeName.toLowerCase()===c){y=k;break}k=k[a]}h[f]=y}}}var e=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,
f=0,j=Object.prototype.toString,k=!1,m=!0,l=/\\/g,q=/\W/;[0,0].sort(function(){m=!1;return 0});var s=function(a,c,d,f){var d=d||[],h=c=c||o;if(c.nodeType!==1&#038;&#038;c.nodeType!==9)return[];if(!a||typeof a!=="string")return d;var n,k,y,I,m,l,X=!0,q=s.isXML(c),F=[],A=a;do if(e.exec(""),n=e.exec(A))if(A=n[3],F.push(n[1]),n[2]){I=n[3];break}while(n);if(F.length>1&#038;&#038;u.exec(a))if(F.length===2&#038;&#038;p.relative[F[0]])k=H(F[0]+F[1],c);else for(k=p.relative[F[0]]?[c]:s(F.shift(),c);F.length;)a=F.shift(),p.relative[a]&#038;&#038;
(a+=F.shift()),k=H(a,k);else if(!f&#038;&#038;F.length>1&#038;&#038;c.nodeType===9&#038;&#038;!q&#038;&#038;p.match.ID.test(F[0])&#038;&#038;!p.match.ID.test(F[F.length-1])&#038;&#038;(m=s.find(F.shift(),c,q),c=m.expr?s.filter(m.expr,m.set)[0]:m.set[0]),c){m=f?{expr:F.pop(),set:z(f)}:s.find(F.pop(),F.length===1&#038;&#038;(F[0]==="~"||F[0]==="+")&#038;&#038;c.parentNode?c.parentNode:c,q);k=m.expr?s.filter(m.expr,m.set):m.set;for(F.length>0?y=z(k):X=!1;F.length;)n=l=F.pop(),p.relative[l]?n=F.pop():l="",n==null&#038;&#038;(n=c),p.relative[l](y,n,q)}else y=[];y||(y=k);y||s.error(l||a);if(j.call(y)===
"[object Array]")if(X)if(c&#038;&#038;c.nodeType===1)for(a=0;y[a]!=null;a++)y[a]&#038;&#038;(y[a]===!0||y[a].nodeType===1&#038;&#038;s.contains(c,y[a]))&#038;&#038;d.push(k[a]);else for(a=0;y[a]!=null;a++)y[a]&#038;&#038;y[a].nodeType===1&#038;&#038;d.push(k[a]);else d.push.apply(d,y);else z(y,d);I&#038;&#038;(s(I,h,d,f),s.uniqueSort(d));return d};s.uniqueSort=function(a){if(C&#038;&#038;(k=m,a.sort(C),k))for(var c=1;c<a.length;c++)a[c]===a[c-1]&#038;&#038;a.splice(c--,1);return a};s.matches=function(a,c){return s(a,null,null,c)};s.matchesSelector=function(a,c){return s(c,null,null,[a]).length>
0};s.find=function(a,c,d){var e;if(!a)return[];for(var f=0,h=p.order.length;f<h;f++){var n,j=p.order[f];if(n=p.leftMatch[j].exec(a)){var k=n[1];n.splice(1,1);if(k.substr(k.length-1)!=="\\"&#038;&#038;(n[1]=(n[1]||"").replace(l,""),e=p.find[j](n,c,d),e!=null)){a=a.replace(p.match[j],"");break}}}e||(e=typeof c.getElementsByTagName!=="undefined"?c.getElementsByTagName("*"):[]);return{set:e,expr:a}};s.filter=function(a,d,e,f){for(var h,n,j=a,k=[],y=d,I=d&#038;&#038;d[0]&#038;&#038;s.isXML(d[0]);a&#038;&#038;d.length;){for(var G in p.filter)if((h=
p.leftMatch[G].exec(a))!=null&#038;&#038;h[2]){var m,l,ab=p.filter[G];l=h[1];n=!1;h.splice(1,1);if(l.substr(l.length-1)!=="\\"){y===k&#038;&#038;(k=[]);if(p.preFilter[G])if(h=p.preFilter[G](h,y,e,k,f,I)){if(h===!0)continue}else n=m=!0;if(h)for(var X=0;(l=y[X])!=null;X++)if(l){m=ab(l,h,X,y);var o=f^!!m;e&#038;&#038;m!=null?o?n=!0:y[X]=!1:o&#038;&#038;(k.push(l),n=!0)}if(m!==c){e||(y=k);a=a.replace(p.match[G],"");if(!n)return[];break}}}if(a===j)if(n==null)s.error(a);else break;j=a}return y};s.error=function(a){throw"Syntax error, unrecognized expression: "+
a;};var p=s.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,
PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,c){var d=typeof c==="string",e=d&#038;&#038;!q.test(c),d=d&#038;&!e;e&#038;&#038;(c=c.toLowerCase());for(var e=0,h=a.length,f;e<h;e++)if(f=a[e]){for(;(f=f.previousSibling)&#038;&#038;f.nodeType!==1;);a[e]=d||f&#038;&#038;f.nodeName.toLowerCase()===c?f||!1:f===c}d&#038;&#038;s.filter(c, a,!0)},">":function(a,c){var d,e=typeof c==="string",f=0,h=a.length;if(e&#038;&#038;!q.test(c))for(c=c.toLowerCase();f<h;f++){if(d=a[f])d=d.parentNode,a[f]=d.nodeName.toLowerCase()===c?d:!1}else{for(;f<h;f++)(d=a[f])&#038;&#038;(a[f]=e?d.parentNode:d.parentNode===c);e&#038;&#038;s.filter(c,a,!0)}},"":function(c,e,h){var j,k=f++,G=a;typeof e==="string"&#038;&#038;!q.test(e)&#038;&#038;(e=e.toLowerCase(),j=e,G=d);G("parentNode",e,k,c,j,h)},"~":function(c,e,h){var j,k=f++,G=a;typeof e==="string"&#038;&#038;!q.test(e)&#038;&#038;(e=e.toLowerCase(),j=e,G=d);G("previousSibling",
e,k,c,j,h)}},find:{ID:function(a,c,d){if(typeof c.getElementById!=="undefined"&#038;&#038;!d)return(a=c.getElementById(a[1]))&#038;&#038;a.parentNode?[a]:[]},NAME:function(a,c){if(typeof c.getElementsByName!=="undefined"){for(var d=[],e=c.getElementsByName(a[1]),f=0,h=e.length;f<h;f++)e[f].getAttribute("name")===a[1]&#038;&#038;d.push(e[f]);return d.length===0?null:d}},TAG:function(a,c){if(typeof c.getElementsByTagName!=="undefined")return c.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,c,d,e,f,h){a=" "+a[1].replace(l, "")+" ";if(h)return a;for(var h=0,n;(n=c[h])!=null;h++)n&#038;&#038;(f^(n.className&#038;&#038;(" "+n.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?d||e.push(n):d&#038;&#038;(c[h]=!1));return!1},ID:function(a){return a[1].replace(l,"")},TAG:function(a){return a[1].replace(l,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||s.error(a[0]);a[2]=a[2].replace(/^\+|\s*/g,"");var c=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&#038;&#038;"2n"||a[2]==="odd"&#038;&#038;"2n+1"||!/\D/.test(a[2])&#038;&#038;"0n+"+a[2]||a[2]);a[2]=c[1]+(c[2]||1)-0;
a[3]=c[3]-0}else a[2]&#038;&#038;s.error(a[0]);a[0]=f++;return a},ATTR:function(a,c,d,e,f,h){c=a[1]=a[1].replace(l,"");!h&#038;&#038;p.attrMap[c]&#038;&#038;(a[1]=p.attrMap[c]);a[4]=(a[4]||a[5]||"").replace(l,"");a[2]==="~="&#038;&#038;(a[4]=" "+a[4]+" ");return a},PSEUDO:function(a,c,d,f,h){if(a[1]==="not")if((e.exec(a[3])||"").length>1||/^\w/.test(a[3]))a[3]=s(a[3],null,null,c);else return a=s.filter(a[3],c,d,1^h),d||f.push.apply(f,a),!1;else if(p.match.POS.test(a[0])||p.match.CHILD.test(a[0]))return!0;return a},POS:function(a){a.unshift(!0);
return a}},filters:{enabled:function(a){return a.disabled===!1&#038;&#038;a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,c,d){return!!s(d[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){return"text"===a.getAttribute("type")},radio:function(a){return"radio"===a.type},checkbox:function(a){return"checkbox"===
a.type},file:function(a){return"file"===a.type},password:function(a){return"password"===a.type},submit:function(a){return"submit"===a.type},image:function(a){return"image"===a.type},reset:function(a){return"reset"===a.type},button:function(a){return"button"===a.type||a.nodeName.toLowerCase()==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)}},setFilters:{first:function(a,c){return c===0},last:function(a,c,d,e){return c===e.length-1},even:function(a,c){return c%2===
0},odd:function(a,c){return c%2===1},lt:function(a,c,d){return c<d[3]-0},gt:function(a,c,d){return c>d[3]-0},nth:function(a,c,d){return d[3]-0===c},eq:function(a,c,d){return d[3]-0===c}},filter:{PSEUDO:function(a,c,d,e){var f=c[1],h=p.filters[f];if(h)return h(a,d,c,e);if(f==="contains")return(a.textContent||a.innerText||s.getText([a])||"").indexOf(c[3])>=0;if(f==="not"){c=c[3];d=0;for(e=c.length;d<e;d++)if(c[d]===a)return!1;return!0}s.error(f)},CHILD:function(a,c){var d=c[1],e=a;switch(d){case "only":case "first":for(;e= e.previousSibling;)if(e.nodeType===1)return!1;if(d==="first")return!0;e=a;case "last":for(;e=e.nextSibling;)if(e.nodeType===1)return!1;return!0;case "nth":var d=c[2],f=c[3];if(d===1&#038;&#038;f===0)return!0;var h=c[0],n=a.parentNode;if(n&#038;&#038;(n.sizcache!==h||!a.nodeIndex)){for(var j=0,e=n.firstChild;e;e=e.nextSibling)e.nodeType===1&#038;&#038;(e.nodeIndex=++j);n.sizcache=h}e=a.nodeIndex-f;return d===0?e===0:e%d===0&#038;&#038;e/d>=0}},ID:function(a,c){return a.nodeType===1&#038;&#038;a.getAttribute("id")===c},TAG:function(a,c){return c===
"*"&#038;&#038;a.nodeType===1||a.nodeName.toLowerCase()===c},CLASS:function(a,c){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(c)>-1},ATTR:function(a,c){var d=c[1],d=p.attrHandle[d]?p.attrHandle[d](a):a[d]!=null?a[d]:a.getAttribute(d),e=d+"",f=c[2],h=c[4];return d==null?f==="!=":f==="="?e===h:f==="*="?e.indexOf(h)>=0:f==="~="?(" "+e+" ").indexOf(h)>=0:h?f==="!="?e!==h:f==="^="?e.indexOf(h)===0:f==="$="?e.substr(e.length-h.length)===h:f==="|="?e===h||e.substr(0,h.length+1)===h+"-":!1:e&#038;&#038;d!==
!1},POS:function(a,c,d,e){var f=p.setFilters[c[2]];if(f)return f(a,d,c,e)}}},u=p.match.POS,v=function(a,c){return"\\"+(c-0+1)},A;for(A in p.match)p.match[A]=RegExp(p.match[A].source+/(?![^\[]*\])(?![^\(]*\))/.source),p.leftMatch[A]=RegExp(/(^(?:.|\r|\n)*?)/.source+p.match[A].source.replace(/\\(\d+)/g,v));var z=function(a,c){a=Array.prototype.slice.call(a,0);if(c)return c.push.apply(c,a),c;return a};try{Array.prototype.slice.call(o.documentElement.childNodes,0)}catch(w){z=function(a,c){var d=0,e=c||
[];if(j.call(a)==="[object Array]")Array.prototype.push.apply(e,a);else if(typeof a.length==="number")for(var f=a.length;d<f;d++)e.push(a[d]);else for(;a[d];d++)e.push(a[d]);return e}}var C,x;o.documentElement.compareDocumentPosition?C=function(a,c){if(a===c)return k=!0,0;if(!a.compareDocumentPosition||!c.compareDocumentPosition)return a.compareDocumentPosition?-1:1;return a.compareDocumentPosition(c)&#038;4?-1:1}:(C=function(a,c){var d,e,f=[],h=[];d=a.parentNode;e=c.parentNode;var n=d;if(a===c)return k=
!0,0;if(d===e)return x(a,c);if(!d)return-1;if(!e)return 1;for(;n;)f.unshift(n),n=n.parentNode;for(n=e;n;)h.unshift(n),n=n.parentNode;d=f.length;e=h.length;for(n=0;n<d&#038;&#038;n<e;n++)if(f[n]!==h[n])return x(f[n],h[n]);return n===d?x(a,h[n],-1):x(f[n],c,1)},x=function(a,c,d){if(a===c)return d;for(a=a.nextSibling;a;){if(a===c)return-1;a=a.nextSibling}return 1});s.getText=function(a){for(var c="",d,e=0;a[e];e++)d=a[e],d.nodeType===3||d.nodeType===4?c+=d.nodeValue:d.nodeType!==8&#038;&#038;(c+=s.getText(d.childNodes));
return c};(function(){var a=o.createElement("div"),d="script"+(new Date).getTime(),e=o.documentElement;a.innerHTML="<a name='"+d+"'/>";e.insertBefore(a,e.firstChild);o.getElementById(d)&#038;&#038;(p.find.ID=function(a,d,e){if(typeof d.getElementById!=="undefined"&#038;&#038;!e)return(d=d.getElementById(a[1]))?d.id===a[1]||typeof d.getAttributeNode!=="undefined"&#038;&#038;d.getAttributeNode("id").nodeValue===a[1]?[d]:c:[]},p.filter.ID=function(a,c){var d=typeof a.getAttributeNode!=="undefined"&#038;&#038;a.getAttributeNode("id");return a.nodeType===
1&#038;&#038;d&#038;&#038;d.nodeValue===c});e.removeChild(a);e=a=null})();(function(){var a=o.createElement("div");a.appendChild(o.createComment(""));a.getElementsByTagName("*").length>0&#038;&#038;(p.find.TAG=function(a,c){var d=c.getElementsByTagName(a[1]);if(a[1]==="*"){for(var e=[],f=0;d[f];f++)d[f].nodeType===1&#038;&#038;e.push(d[f]);d=e}return d});a.innerHTML="<a href='#'></a>";a.firstChild&#038;&#038;typeof a.firstChild.getAttribute!=="undefined"&#038;&#038;a.firstChild.getAttribute("href")!=="#"&#038;&#038;(p.attrHandle.href=function(a){return a.getAttribute("href",
2)});a=null})();o.querySelectorAll&#038;&#038;function(){var a=s,c=o.createElement("div");c.innerHTML="</p>
<p>";if(!c.querySelectorAll||c.querySelectorAll(".TEST").length!==0){s=function(c,d,e,f){d=d||o;if(!f&#038;&#038;!s.isXML(d)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(c);if(h&#038;&#038;(d.nodeType===1||d.nodeType===9)){if(h[1])return z(d.getElementsByTagName(c),e);if(h[2]&#038;&#038;p.find.CLASS&#038;&#038;d.getElementsByClassName)return z(d.getElementsByClassName(h[2]),e)}if(d.nodeType===9){if(c==="body"&#038;&#038;d.body)return z([d.body],
e);if(h&#038;&#038;h[3]){var n=d.getElementById(h[3]);if(!n||!n.parentNode)return z([],e);if(n.id===h[3])return z([n],e)}try{return z(d.querySelectorAll(c),e)}catch(j){}}else if(d.nodeType===1&#038;&#038;d.nodeName.toLowerCase()!=="object"){var h=d,k=(n=d.getAttribute("id"))||"__sizzle__",y=d.parentNode,I=/^\s*[+~]/.test(c);n?k=k.replace(/'/g,"\\$&#038;"):d.setAttribute("id",k);I&#038;&#038;y&#038;&#038;(d=d.parentNode);try{if(!I||y)return z(d.querySelectorAll("[id='"+k+"'] "+c),e)}catch(G){}finally{n||h.removeAttribute("id")}}}return a(c,d,
e,f)};for(var d in a)s[d]=a[d];c=null}}();(function(){var a=o.documentElement,c=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector,d=!1;try{c.call(o.documentElement,"[test!='']:sizzle")}catch(e){d=!0}c&#038;&#038;(s.matchesSelector=function(a,e){e=e.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!s.isXML(a))try{if(d||!p.match.PSEUDO.test(e)&#038;&#038;!/!=/.test(e))return c.call(a,e)}catch(f){}return s(e,null,null,[a]).length>0})})();(function(){var a=o.createElement("div");a.innerHTML=
"</p>
<div class='test e'></div>
<div class='test'></div>
<p>";if(a.getElementsByClassName&#038;&#038;a.getElementsByClassName("e").length!==0&#038;&#038;(a.lastChild.className="e",a.getElementsByClassName("e").length!==1))p.order.splice(1,0,"CLASS"),p.find.CLASS=function(a,c,d){if(typeof c.getElementsByClassName!=="undefined"&#038;&#038;!d)return c.getElementsByClassName(a[1])},a=null})();o.documentElement.contains?s.contains=function(a,c){return a!==c&#038;&#038;(a.contains?a.contains(c):!0)}:o.documentElement.compareDocumentPosition?s.contains=
function(a,c){return!!(a.compareDocumentPosition(c)&#038;16)}:s.contains=function(){return!1};s.isXML=function(a){return(a=(a?a.ownerDocument||a:0).documentElement)?a.nodeName!=="HTML":!1};var H=function(a,c){for(var d,e=[],f="",h=c.nodeType?[c]:c;d=p.match.PSEUDO.exec(a);)f+=d[0],a=a.replace(p.match.PSEUDO,"");a=p.relative[a]?a+"*":a;d=0;for(var n=h.length;d<n;d++)s(a,h[d],e);return s.filter(f,e)};h.find=s;h.expr=s.selectors;h.expr[":"]=h.expr.filters;h.unique=s.uniqueSort;h.text=s.getText;h.isXMLDoc=
s.isXML;h.contains=s.contains})();var Sa=/Until$/,Ta=/^(?:parents|prevUntil|prevAll)/,Ua=/,/,Va=/^.[^:#\[\.,]*$/,Wa=Array.prototype.slice,Xa=h.expr.match.POS,Ya={children:!0,contents:!0,next:!0,prev:!0};h.fn.extend({find:function(a){for(var c=this.pushStack("","find",a),d=0,e=0,f=this.length;e<f;e++)if(d=c.length,h.find(a,this[e],c),e>0)for(var j=d;j<c.length;j++)for(var k=0;k<d;k++)if(c[k]===c[j]){c.splice(j--,1);break}return c},has:function(a){var c=h(a);return this.filter(function(){for(var a=
0,d=c.length;a<d;a++)if(h.contains(this,c[a]))return!0})},not:function(a){return this.pushStack(C(this,a,!1),"not",a)},filter:function(a){return this.pushStack(C(this,a,!0),"filter",a)},is:function(a){return!!a&#038;&#038;h.filter(a,this).length>0},closest:function(a,c){var d=[],e,f,j=this[0];if(h.isArray(a)){var k,m={},l=1;if(j&#038;&#038;a.length){e=0;for(f=a.length;e<f;e++)k=a[e],m[k]||(m[k]=h.expr.match.POS.test(k)?h(k,c||this.context):k);for(;j&#038;&#038;j.ownerDocument&#038;&#038;j!==c;){for(k in m)e=m[k],(e.jquery?e.index(j)>-1:
h(j).is(e))&#038;&#038;d.push({selector:k,elem:j,level:l});j=j.parentNode;l++}}return d}k=Xa.test(a)?h(a,c||this.context):null;e=0;for(f=this.length;e<f;e++)for(j=this[e];j;){if(k?k.index(j)>-1:h.find.matchesSelector(j,a)){d.push(j);break}j=j.parentNode;if(!j||!j.ownerDocument||j===c)break}d=d.length>1?h.unique(d):d;return this.pushStack(d,"closest",a)},index:function(a){if(!a||typeof a==="string")return h.inArray(this[0],a?h(a):this.parent().children());return h.inArray(a.jquery?a[0]:a,this)},add:function(a,
c){var d=typeof a==="string"?h(a,c):h.makeArray(a),e=h.merge(this.get(),d);return this.pushStack(!d[0]||!d[0].parentNode||d[0].parentNode.nodeType===11||!e[0]||!e[0].parentNode||e[0].parentNode.nodeType===11?e:h.unique(e))},andSelf:function(){return this.add(this.prevObject)}});h.each({parent:function(a){return(a=a.parentNode)&#038;&#038;a.nodeType!==11?a:null},parents:function(a){return h.dir(a,"parentNode")},parentsUntil:function(a,c,d){return h.dir(a,"parentNode",d)},next:function(a){return h.nth(a,2,"nextSibling")},
prev:function(a){return h.nth(a,2,"previousSibling")},nextAll:function(a){return h.dir(a,"nextSibling")},prevAll:function(a){return h.dir(a,"previousSibling")},nextUntil:function(a,c,d){return h.dir(a,"nextSibling",d)},prevUntil:function(a,c,d){return h.dir(a,"previousSibling",d)},siblings:function(a){return h.sibling(a.parentNode.firstChild,a)},children:function(a){return h.sibling(a.firstChild)},contents:function(a){return h.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:h.makeArray(a.childNodes)}},
function(a,c){h.fn[a]=function(d,e){var f=h.map(this,c,d),j=Wa.call(arguments);Sa.test(a)||(e=d);e&#038;&#038;typeof e==="string"&#038;&#038;(f=h.filter(e,f));f=this.length>1&#038;&#038;!Ya[a]?h.unique(f):f;(this.length>1||Ua.test(e))&#038;&#038;Ta.test(a)&#038;&#038;(f=f.reverse());return this.pushStack(f,a,j.join(","))}});h.extend({filter:function(a,c,d){d&#038;&#038;(a=":not("+a+")");return c.length===1?h.find.matchesSelector(c[0],a)?[c[0]]:[]:h.find.matches(a,c)},dir:function(a,d,e){for(var f=[],a=a[d];a&#038;&#038;a.nodeType!==9&#038;&#038;(e===c||a.nodeType!==1||!h(a).is(e));)a.nodeType===
1&#038;&#038;f.push(a),a=a[d];return f},nth:function(a,c,d){for(var c=c||1,e=0;a;a=a[d])if(a.nodeType===1&#038;&#038;++e===c)break;return a},sibling:function(a,c){for(var d=[];a;a=a.nextSibling)a.nodeType===1&#038;&#038;a!==c&#038;&#038;d.push(a);return d}});var Za=/ jQuery\d+="(?:\d+|null)"/g,qa=/^\s+/,Ga=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Ha=/<([\w:]+)/,eb=/</p>
<tbody/i,fb=/<|&#?\w+;/,Ia=/<(?:script|object|embed|option|style)/i,Ja=/checked\s*(?:[^=]|=\s*.checked.)/i,O={option:[1,"
<select multiple='multiple'>",
"</select>
<p>"],legend:[1,"</p>
<fieldset>","</fieldset>
<p>"],thead:[1,"</p>
<table>","</table>
<p>"],tr:[2,"</p>
<table>
<tbody>","</tbody>
</table>
<p>"],td:[3,"</p>
<table>
<tbody>
<tr>","</tr>
</tbody>
</table>
<p>"],col:[2,"</p>
<table>
<tbody></tbody>
<colgroup>","</colgroup>
</table>
<p>"],area:[1,"</p>
<map>","</map>
<p>"],_default:[0,"",""]};O.optgroup=O.option;O.tbody=O.tfoot=O.colgroup=O.caption=O.thead;O.th=O.td;h.support.htmlSerialize||(O._default=[1,"div</p>
<div>","</div>
<p>"]);h.fn.extend({text:function(a){if(h.isFunction(a))return this.each(function(c){var d=
h(this);d.text(a.call(this,c,d.text()))});if(typeof a!=="object"&#038;&#038;a!==c)return this.empty().append((this[0]&#038;&#038;this[0].ownerDocument||o).createTextNode(a));return h.text(this)},wrapAll:function(a){if(h.isFunction(a))return this.each(function(c){h(this).wrapAll(a.call(this,c))});if(this[0]){var c=h(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&#038;&#038;c.insertBefore(this[0]);c.map(function(){for(var a=this;a.firstChild&#038;&#038;a.firstChild.nodeType===1;)a=a.firstChild;return a}).append(this)}return this},
wrapInner:function(a){if(h.isFunction(a))return this.each(function(c){h(this).wrapInner(a.call(this,c))});return this.each(function(){var c=h(this),d=c.contents();d.length?d.wrapAll(a):c.append(a)})},wrap:function(a){return this.each(function(){h(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){h.nodeName(this,"body")||h(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&#038;&#038;this.appendChild(a)})},prepend:function(){return this.domManip(arguments,
!0,function(a){this.nodeType===1&#038;&#038;this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&#038;&#038;this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=h(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&#038;&#038;this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,
"after",arguments);a.push.apply(a,h(arguments[0]).toArray());return a}},remove:function(a,c){for(var d=0,e;(e=this[d])!=null;d++)if(!a||h.filter(a,[e]).length)!c&#038;&#038;e.nodeType===1&#038;&#038;(h.cleanData(e.getElementsByTagName("*")),h.cleanData([e])),e.parentNode&#038;&#038;e.parentNode.removeChild(e);return this},empty:function(){for(var a=0,c;(c=this[a])!=null;a++)for(c.nodeType===1&#038;&#038;h.cleanData(c.getElementsByTagName("*"));c.firstChild;)c.removeChild(c.firstChild);return this},clone:function(a,c){a=a==null?!1:a;c=c==
null?a:c;return this.map(function(){return h.clone(this,a,c)})},html:function(a){if(a===c)return this[0]&#038;&#038;this[0].nodeType===1?this[0].innerHTML.replace(Za,""):null;if(typeof a!=="string"||Ia.test(a)||!h.support.leadingWhitespace&#038;&#038;qa.test(a)||O[(Ha.exec(a)||["",""])[1].toLowerCase()])h.isFunction(a)?this.each(function(c){var d=h(this);d.html(a.call(this,c,d.html()))}):this.empty().append(a);else{a=a.replace(Ga,"<$1></$2>");try{for(var d=0,e=this.length;d<e;d++)this[d].nodeType===1&#038;&#038;(h.cleanData(this[d].getElementsByTagName("*")),
this[d].innerHTML=a)}catch(f){this.empty().append(a)}}return this},replaceWith:function(a){if(this[0]&#038;&#038;this[0].parentNode){if(h.isFunction(a))return this.each(function(c){var d=h(this),e=d.html();d.replaceWith(a.call(this,c,e))});typeof a!=="string"&#038;&#038;(a=h(a).detach());return this.each(function(){var c=this.nextSibling,d=this.parentNode;h(this).remove();c?h(c).before(a):h(d).append(a)})}return this.pushStack(h(h.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,!0)},domManip:function(a,
d,e){var f,j,k,m=a[0],l=[];if(!h.support.checkClone&#038;&#038;arguments.length===3&#038;&#038;typeof m==="string"&#038;&#038;Ja.test(m))return this.each(function(){h(this).domManip(a,d,e,!0)});if(h.isFunction(m))return this.each(function(f){var j=h(this);a[0]=m.call(this,f,d?j.html():c);j.domManip(a,d,e)});if(this[0]){k=m&#038;&#038;m.parentNode;h.support.parentNode&#038;&#038;k&#038;&#038;k.nodeType===11&#038;&#038;k.childNodes.length===this.length?f={fragment:k}:f=h.buildFragment(a,this,l);k=f.fragment;k.childNodes.length===1?j=k=k.firstChild:j=k.firstChild;if(j){d=
d&#038;&#038;h.nodeName(j,"tr");j=0;for(var o=this.length,p=o-1;j<o;j++)e.call(d?h.nodeName(this[j],"table")?this[j].getElementsByTagName("tbody")[0]||this[j].appendChild(this[j].ownerDocument.createElement("tbody")):this[j]:this[j],f.cacheable||o>1&#038;&#038;j</p>
<p?h.clone(k,!0,!0):k)}l.length&#038;&#038;h.each(l,v)}return this}});h.buildFragment=function(a,c,d){var e,f,j,c=c&#038;&#038;c[0]?c[0].ownerDocument||c[0]:o;a.length===1&#038;&#038;typeof a[0]==="string"&#038;&#038;a[0].length<512&#038;&#038;c===o&#038;&#038;a[0].charAt(0)==="<"&#038;&#038;!Ia.test(a[0])&#038;&#038;(h.support.checkClone||
!Ja.test(a[0]))&#038;&#038;(f=!0,j=h.fragments[a[0]],j&#038;&#038;j!==1&#038;&#038;(e=j));e||(e=c.createDocumentFragment(),h.clean(a,c,e,d));f&#038;&#038;(h.fragments[a[0]]=j?e:1);return{fragment:e,cacheable:f}};h.fragments={};h.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,c){h.fn[a]=function(d){var e=[],d=h(d),f=this.length===1&#038;&#038;this[0].parentNode;if(f&#038;&#038;f.nodeType===11&#038;&#038;f.childNodes.length===1&#038;&#038;d.length===1)return d[c](this[0]),this;for(var f=0,j=d.length;f< j;f++){var k=(f>0?this.clone(!0):this).get();h(d[f])[c](k);e=e.concat(k)}return this.pushStack(e,a,d.selector)}});h.extend({clone:function(a,c,d){var e=a.cloneNode(!0),f,j,k;if((!h.support.noCloneEvent||!h.support.noCloneChecked)&#038;&#038;(a.nodeType===1||a.nodeType===11)&#038;&#038;!h.isXMLDoc(a)){z(a,e);f=u(a);j=u(e);for(k=0;f[k];++k)z(f[k],j[k])}if(c&#038;&#038;(A(a,e),d)){f=u(a);j=u(e);for(k=0;f[k];++k)A(f[k],j[k])}return e},clean:function(a,c,d,e){c=c||o;typeof c.createElement==="undefined"&#038;&#038;(c=c.ownerDocument||c[0]&#038;&#038;c[0].ownerDocument||
o);for(var f=[],j=0,k;(k=a[j])!=null;j++)if(typeof k==="number"&#038;&#038;(k+=""),k){if(typeof k!=="string"||fb.test(k)){if(typeof k==="string"){k=k.replace(Ga,"<$1></$2>");var m=(Ha.exec(k)||["",""])[1].toLowerCase(),l=O[m]||O._default,p=l[0],q=c.createElement("div");for(q.innerHTML=l[1]+k+l[2];p--;)q=q.lastChild;if(!h.support.tbody){p=eb.test(k);m=m==="table"&#038;&#038;!p?q.firstChild&#038;&#038;q.firstChild.childNodes:l[1]==="</p>
<table>"&#038;&#038;!p?q.childNodes:[];for(l=m.length-1;l>=0;--l)h.nodeName(m[l],"tbody")&#038;&#038;!m[l].childNodes.length&#038;&#038;
m[l].parentNode.removeChild(m[l])}!h.support.leadingWhitespace&#038;&#038;qa.test(k)&#038;&#038;q.insertBefore(c.createTextNode(qa.exec(k)[0]),q.firstChild);k=q.childNodes}}else k=c.createTextNode(k);k.nodeType?f.push(k):f=h.merge(f,k)}if(d)for(j=0;f[j];j++)!e||!h.nodeName(f[j],"script")||f[j].type&#038;&#038;f[j].type.toLowerCase()!=="text/javascript"?(f[j].nodeType===1&#038;&#038;f.splice.apply(f,[j+1,0].concat(h.makeArray(f[j].getElementsByTagName("script")))),d.appendChild(f[j])):e.push(f[j].parentNode?f[j].parentNode.removeChild(f[j]):
f[j]);return f},cleanData:function(a){for(var c,d,e=h.cache,f=h.expando,j=h.event.special,k=h.support.deleteExpando,m=0,l;(l=a[m])!=null;m++)if(!l.nodeName||!h.noData[l.nodeName.toLowerCase()])if(d=l[h.expando]){if((c=e[d]&#038;&#038;e[d][f])&#038;&#038;c.events){for(var p in c.events)j[p]?h.event.remove(l,p):h.removeEvent(l,p,c.handle);c.handle&#038;&#038;(c.handle.elem=null)}k?delete l[h.expando]:l.removeAttribute&#038;&#038;l.removeAttribute(h.expando);delete e[d]}}});var Ka=/alpha\([^)]*\)/i,gb=/opacity=([^)]*)/,hb=/-([a-z])/ig,ib=
/([A-Z])/g,La=/^-?\d+(?:px)?$/i,jb=/^-?\d/,kb={position:"absolute",visibility:"hidden",display:"block"},bb=["Left","Right"],cb=["Top","Bottom"],ia,V,na,lb=function(a,c){return c.toUpperCase()};h.fn.css=function(a,d){if(arguments.length===2&#038;&#038;d===c)return this;return h.access(this,a,d,!0,function(a,d,e){return e!==c?h.style(a,d,e):h.css(a,d)})};h.extend({cssHooks:{opacity:{get:function(a,c){if(c){var d=ia(a,"opacity","opacity");return d===""?"1":d}return a.style.opacity}}},cssNumber:{zIndex:!0,fontWeight:!0,
opacity:!0,zoom:!0,lineHeight:!0},cssProps:{"float":h.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,d,e,f){if(a&#038;&#038;a.nodeType!==3&#038;&#038;a.nodeType!==8&#038;&#038;a.style){var j,k=h.camelCase(d),m=a.style,l=h.cssHooks[k],d=h.cssProps[k]||k;if(e===c){if(l&#038;&#038;"get"in l&#038;&#038;(j=l.get(a,!1,f))!==c)return j;return m[d]}if(!(typeof e==="number"&#038;&#038;isNaN(e)||e==null))if(typeof e==="number"&#038;&#038;!h.cssNumber[k]&#038;&#038;(e+="px"),!l||!("set"in l)||(e=l.set(a,e))!==c)try{m[d]=e}catch(p){}}},css:function(a,d,e){var f,j=h.camelCase(d),
k=h.cssHooks[j],d=h.cssProps[j]||j;if(k&#038;&#038;"get"in k&#038;&#038;(f=k.get(a,!0,e))!==c)return f;if(ia)return ia(a,d,j)},swap:function(a,c,d){var e={},f;for(f in c)e[f]=a.style[f],a.style[f]=c[f];d.call(a);for(f in c)a.style[f]=e[f]},camelCase:function(a){return a.replace(hb,lb)}});h.curCSS=h.css;h.each(["height","width"],function(a,c){h.cssHooks[c]={get:function(a,d,e){var f;if(d){a.offsetWidth!==0?f=q(a,c,e):h.swap(a,kb,function(){f=q(a,c,e)});if(f<=0&#038;&#038;(f=ia(a,c,c),f==="0px"&#038;&#038;na&#038;&#038;(f=na(a,c,c)),f!=null))return f===
""||f==="auto"?"0px":f;if(f<0||f==null)return f=a.style[c],f===""||f==="auto"?"0px":f;return typeof f==="string"?f:f+"px"}},set:function(a,c){if(!La.test(c))return c;c=parseFloat(c);if(c>=0)return c+"px"}}});h.support.opacity||(h.cssHooks.opacity={get:function(a,c){return gb.test((c&#038;&#038;a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":c?"1":""},set:function(a,c){var d=a.style;d.zoom=1;var e=h.isNaN(c)?"":"alpha(opacity="+c*100+")",f=d.filter||"";d.filter=Ka.test(f)?
f.replace(Ka,e):d.filter+" "+e}});o.defaultView&#038;&#038;o.defaultView.getComputedStyle&#038;&#038;(V=function(a,d,e){var f,e=e.replace(ib,"-$1").toLowerCase();if(!(d=a.ownerDocument.defaultView))return c;if(d=d.getComputedStyle(a,null))f=d.getPropertyValue(e),f===""&#038;&#038;!h.contains(a.ownerDocument.documentElement,a)&#038;&#038;(f=h.style(a,e));return f});o.documentElement.currentStyle&#038;&#038;(na=function(a,c){var d,e=a.currentStyle&#038;&#038;a.currentStyle[c],f=a.runtimeStyle&#038;&#038;a.runtimeStyle[c],h=a.style;!La.test(e)&#038;&#038;jb.test(e)&#038;&#038;(d=h.left,f&#038;&#038;
(a.runtimeStyle.left=a.currentStyle.left),h.left=c==="fontSize"?"1em":e||0,e=h.pixelLeft+"px",h.left=d,f&#038;&#038;(a.runtimeStyle.left=f));return e===""?"auto":e});ia=V||na;h.expr&#038;&#038;h.expr.filters&#038;&#038;(h.expr.filters.hidden=function(a){var c=a.offsetHeight;return a.offsetWidth===0&#038;&#038;c===0||!h.support.reliableHiddenOffsets&#038;&#038;(a.style.display||h.css(a,"display"))==="none"},h.expr.filters.visible=function(a){return!h.expr.filters.hidden(a)});var mb=/%20/g,$a=/\[\]$/,Ma=/\r?\n/g,nb=/#.*$/,ob=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,
pb=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,qb=/^(?:GET|HEAD)$/,rb=/^\/\//,Na=/\?/,sb=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,tb=/^(?:select|textarea)/i,Ea=/\s+/,ub=/([?&#038;])_=[^&#038;]*/,vb=/(^|\-)([a-z])/g,wb=function(a,c,d){return c+d.toUpperCase()},Oa=/^([\w\+\.\-]+:)\/\/([^\/?#:]*)(?::(\d+))?/,Pa=h.fn.load,sa={},Qa={},Y,Z;try{Y=o.location.href}catch(Cb){Y=o.createElement("a"),Y.href="",Y=Y.href}Z=Oa.exec(Y.toLowerCase());h.fn.extend({load:function(a,
d,e){if(typeof a!=="string"&#038;&#038;Pa)return Pa.apply(this,arguments);if(!this.length)return this;var f=a.indexOf(" ");if(f>=0)var j=a.slice(f,a.length),a=a.slice(0,f);f="GET";d&#038;&#038;(h.isFunction(d)?(e=d,d=c):typeof d==="object"&#038;&#038;(d=h.param(d,h.ajaxSettings.traditional),f="POST"));var k=this;h.ajax({url:a,type:f,dataType:"html",data:d,complete:function(a,c,d){d=a.responseText;a.isResolved()&#038;&#038;(a.done(function(a){d=a}),k.html(j?h("</p>
<div>").append(d.replace(sb,"")).find(j):d));e&#038;&#038;k.each(e,[d,c,a])}});return this},
serialize:function(){return h.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?h.makeArray(this.elements):this}).filter(function(){return this.name&#038;&#038;!this.disabled&#038;&#038;(this.checked||tb.test(this.nodeName)||pb.test(this.type))}).map(function(a,c){var d=h(this).val();return d==null?null:h.isArray(d)?h.map(d,function(a){return{name:c.name,value:a.replace(Ma,"\r\n")}}):{name:c.name,value:d.replace(Ma,"\r\n")}}).get()}});h.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),
function(a,c){h.fn[c]=function(a){return this.bind(c,a)}});h.each(["get","post"],function(a,d){h[d]=function(a,e,f,j){h.isFunction(e)&#038;&#038;(j=j||f,f=e,e=c);return h.ajax({type:d,url:a,data:e,success:f,dataType:j})}});h.extend({getScript:function(a,d){return h.get(a,c,d,"script")},getJSON:function(a,c,d){return h.get(a,c,d,"json")},ajaxSetup:function(a,c){c?h.extend(!0,a,h.ajaxSettings,c):(c=a,a=h.extend(!0,h.ajaxSettings,c));for(var d in{context:1,url:1})d in c?a[d]=c[d]:d in h.ajaxSettings&#038;&#038;(a[d]=h.ajaxSettings[d]);
return a},ajaxSettings:{url:Y,isLocal:/(?:^file|^widget|\-extension):$/.test(Z[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":h.parseJSON,"text xml":h.parseXML}},ajaxPrefilter:p(sa),
ajaxTransport:p(Qa),ajax:function(a,d){function e(a,d,n,l){if(x!==2){x=2;w&#038;&#038;clearTimeout(w);z=c;A=l||"";D.readyState=a?4:0;var y,G,u;if(n){var l=f,v=D,C=l.contents,B=l.dataTypes,K=l.responseFields,E,L,J,O;for(L in K)L in n&#038;&#038;(v[K[L]]=n[L]);for(;B[0]==="*";)B.shift(),E===c&#038;&#038;(E=l.mimeType||v.getResponseHeader("content-type"));if(E)for(L in C)if(C[L]&#038;&#038;C[L].test(E)){B.unshift(L);break}if(B[0]in n)J=B[0];else{for(L in n){if(!B[0]||l.converters[L+" "+B[0]]){J=L;break}O||(O=L)}J=J||O}J?(J!==B[0]&#038;&#038;B.unshift(J),
n=n[J]):n=void 0}else n=c;if(a>=200&#038;&#038;a<300||a===304){if(f.ifModified){if(E=D.getResponseHeader("Last-Modified"))h.lastModified[q]=E;if(E=D.getResponseHeader("Etag"))h.etag[q]=E}if(a===304)d="notmodified",y=!0;else try{E=f;E.dataFilter&#038;&#038;(n=E.dataFilter(n,E.dataType));var P=E.dataTypes;L={};var M,ma,U=P.length,T,N=P[0],R,ua,W,Q,S;for(M=1;M<U;M++){if(M===1)for(ma in E.converters)typeof ma==="string"&#038;&#038;(L[ma.toLowerCase()]=E.converters[ma]);R=N;N=P[M];if(N==="*")N=R;else if(R!=="*"&#038;&#038;R!==N){ua=R+" "+N;
W=L[ua]||L["* "+N];if(!W)for(Q in S=c,L)if(T=Q.split(" "),T[0]===R||T[0]==="*")if(S=L[T[1]+" "+N]){Q=L[Q];Q===!0?W=S:S===!0&#038;&#038;(W=Q);break}!W&#038;&#038;!S&#038;&#038;h.error("No conversion from "+ua.replace(" "," to "));W!==!0&#038;&#038;(n=W?W(n):S(Q(n)))}}G=n;d="success";y=!0}catch(V){d="parsererror",u=V}}else if(u=d,!d||a)d="error",a<0&#038;&#038;(a=0);D.status=a;D.statusText=d;y?m.resolveWith(j,[G,d,D]):m.rejectWith(j,[D,d,u]);D.statusCode(o);o=c;H&#038;&#038;k.trigger("ajax"+(y?"Success":"Error"),[D,f,y?G:u]);p.resolveWith(j,[D,d]);H&#038;&#038;(k.trigger("ajaxComplete",
[D,f]),--h.active||h.event.trigger("ajaxStop"))}}typeof a==="object"&#038;&#038;(d=a,a=c);var d=d||{},f=h.ajaxSetup({},d),j=f.context||f,k=j!==f&#038;&#038;(j.nodeType||j instanceof h)?h(j):h.event,m=h.Deferred(),p=h._Deferred(),o=f.statusCode||{},q,u={},A,v,z,w,C,x=0,H,B,D={readyState:0,setRequestHeader:function(a,c){x||(u[a.toLowerCase().replace(vb,wb)]=c);return this},getAllResponseHeaders:function(){return x===2?A:null},getResponseHeader:function(a){var d;if(x===2){if(!v)for(v={};d=ob.exec(A);)v[d[1].toLowerCase()]=
d[2];d=v[a.toLowerCase()]}return d===c?null:d},overrideMimeType:function(a){x||(f.mimeType=a);return this},abort:function(a){a=a||"abort";z&#038;&#038;z.abort(a);e(0,a);return this}};m.promise(D);D.success=D.done;D.error=D.fail;D.complete=p.done;D.statusCode=function(a){if(a){var c;if(x<2)for(c in a)o[c]=[o[c],a[c]];else c=a[D.status],D.then(c,c)}return this};f.url=((a||f.url)+"").replace(nb,"").replace(rb,Z[1]+"//");f.dataTypes=h.trim(f.dataType||"*").toLowerCase().split(Ea);f.crossDomain||(C=Oa.exec(f.url.toLowerCase()), f.crossDomain=C&#038;&#038;(C[1]!=Z[1]||C[2]!=Z[2]||(C[3]||(C[1]==="http:"?80:443))!=(Z[3]||(Z[1]==="http:"?80:443))));f.data&#038;&#038;f.processData&#038;&#038;typeof f.data!=="string"&#038;&#038;(f.data=h.param(f.data,f.traditional));l(sa,f,d,D);if(x===2)return!1;H=f.global;f.type=f.type.toUpperCase();f.hasContent=!qb.test(f.type);H&#038;&#038;h.active++===0&#038;&#038;h.event.trigger("ajaxStart");if(!f.hasContent&#038;&#038;(f.data&#038;&#038;(f.url+=(Na.test(f.url)?"&#038;":"?")+f.data),q=f.url,f.cache===!1)){C=h.now();var K=f.url.replace(ub,"$1_="+C);f.url=K+(K===f.url?(Na.test(f.url)? "&#038;":"?")+"_="+C:"")}if(f.data&#038;&#038;f.hasContent&#038;&#038;f.contentType!==!1||d.contentType)u["Content-Type"]=f.contentType;f.ifModified&#038;&#038;(q=q||f.url,h.lastModified[q]&#038;&#038;(u["If-Modified-Since"]=h.lastModified[q]),h.etag[q]&#038;&#038;(u["If-None-Match"]=h.etag[q]));u.Accept=f.dataTypes[0]&#038;&#038;f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+(f.dataTypes[0]!=="*"?", */*; q=0.01":""):f.accepts["*"];for(B in f.headers)D.setRequestHeader(B,f.headers[B]);if(f.beforeSend&#038;&#038;(f.beforeSend.call(j,D,f)===!1||x===2))return D.abort(), !1;for(B in{success:1,error:1,complete:1})D[B](f[B]);if(z=l(Qa,f,d,D)){D.readyState=1;H&#038;&#038;k.trigger("ajaxSend",[D,f]);f.async&#038;&#038;f.timeout>0&#038;&#038;(w=setTimeout(function(){D.abort("timeout")},f.timeout));try{x=1,z.send(u,e)}catch(E){status<2?e(-1,E):h.error(E)}}else e(-1,"No Transport");return D},param:function(a,d){var e=[],f=function(a,c){c=h.isFunction(c)?c():c;e[e.length]=encodeURIComponent(a)+"="+encodeURIComponent(c)};d===c&#038;&#038;(d=h.ajaxSettings.traditional);if(h.isArray(a)||a.jquery&#038;&#038;!h.isPlainObject(a))h.each(a,
function(){f(this.name,this.value)});else for(var j in a)m(j,a[j],d,f);return e.join("&#038;").replace(mb,"+")}});h.extend({active:0,lastModified:{},etag:{}});var xb=h.now(),oa=/(\=)\?(&#038;|$)|()\?\?()/i;h.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return h.expando+"_"+xb++}});h.ajaxPrefilter("json jsonp",function(c,d,e){var f=typeof c.data==="string";if(c.dataTypes[0]==="jsonp"||d.jsonpCallback||d.jsonp!=null||c.jsonp!==!1&#038;&#038;(oa.test(c.url)||f&#038;&#038;oa.test(c.data))){var j,k=c.jsonpCallback=h.isFunction(c.jsonpCallback)?
c.jsonpCallback():c.jsonpCallback,m=a[k],d=c.url,l=c.data,p="$1"+k+"$2",o=function(){a[k]=m;j&#038;&#038;h.isFunction(m)&#038;&#038;a[k](j[0])};c.jsonp!==!1&#038;&#038;(d=d.replace(oa,p),c.url===d&#038;&#038;(f&#038;&#038;(l=l.replace(oa,p)),c.data===l&#038;&#038;(d+=(/\?/.test(d)?"&#038;":"?")+c.jsonp+"="+k)));c.url=d;c.data=l;a[k]=function(a){j=[a]};e.then(o,o);c.converters["script json"]=function(){j||h.error(k+" was not called");return j[0]};c.dataTypes[0]="json";return"script"}});h.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},
contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){h.globalEval(a);return a}}});h.ajaxPrefilter("script",function(a){a.cache===c&#038;&#038;(a.cache=!1);a.crossDomain&#038;&#038;(a.type="GET",a.global=!1)});h.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=o.head||o.getElementsByTagName("head")[0]||o.documentElement;return{send:function(f,h){d=o.createElement("script");d.async="async";a.scriptCharset&#038;&#038;(d.charset=a.scriptCharset);d.src=a.url;d.onload=d.onreadystatechange=function(a,
f){if(!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&#038;&#038;d.parentNode&#038;&#038;e.removeChild(d),d=c,f||h(200,"success")};e.insertBefore(d,e.firstChild)},abort:function(){d&#038;&#038;d.onload(0,1)}}}});var yb=h.now(),ba;h.ajaxSettings.xhr=a.ActiveXObject?function(){var c;if(!(c=!this.isLocal&#038;&#038;j()))a:{try{c=new a.ActiveXObject("Microsoft.XMLHTTP");break a}catch(d){}c=void 0}return c}:j;V=h.ajaxSettings.xhr();h.support.ajax=!!V;h.support.cors=V&#038;&#038;"withCredentials"in V;V=c;h.support.ajax&#038;&#038;
h.ajaxTransport(function(a){if(!a.crossDomain||h.support.cors){var d;return{send:function(e,f){var j=a.xhr(),m,l;a.username?j.open(a.type,a.url,a.async,a.username,a.password):j.open(a.type,a.url,a.async);if(a.xhrFields)for(l in a.xhrFields)j[l]=a.xhrFields[l];a.mimeType&#038;&#038;j.overrideMimeType&#038;&#038;j.overrideMimeType(a.mimeType);(!a.crossDomain||a.hasContent)&#038;&#038;!e["X-Requested-With"]&#038;&#038;(e["X-Requested-With"]="XMLHttpRequest");try{for(l in e)j.setRequestHeader(l,e[l])}catch(p){}j.send(a.hasContent&#038;&#038;a.data||
null);d=function(e,k){var l,p,o,q,G;try{if(d&#038;&#038;(k||j.readyState===4))if(d=c,m&#038;&#038;(j.onreadystatechange=h.noop,delete ba[m]),k)j.readyState!==4&#038;&#038;j.abort();else{l=j.status;o=j.getAllResponseHeaders();q={};(G=j.responseXML)&#038;&#038;G.documentElement&#038;&#038;(q.xml=G);q.text=j.responseText;try{p=j.statusText}catch(u){p=""}l||!a.isLocal||a.crossDomain?l===1223&#038;&#038;(l=204):l=q.text?200:404}}catch(v){k||f(-1,v)}q&#038;&#038;f(l,p,q,o)};a.async&#038;&#038;j.readyState!==4?(ba||(ba={},k()),m=yb++,j.onreadystatechange=ba[m]=d):d()},abort:function(){d&#038;&#038;
d(0,1)}}}});var ra={},zb=/^(?:toggle|show|hide)$/,Ab=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,pa,Da=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];h.fn.extend({show:function(a,c,d){if(a||a===0)return this.animate(f("show",3),a,c,d);for(var d=0,j=this.length;d<j;d++)a=this[d],c=a.style.display,!h._data(a,"olddisplay")&#038;&#038;c==="none"&#038;&#038;(c=a.style.display=""),c===""&#038;&#038;h.css(a,"display")==="none"&#038;&#038;h._data(a,"olddisplay",
e(a.nodeName));for(d=0;d<j;d++)if(a=this[d],c=a.style.display,c===""||c==="none")a.style.display=h._data(a,"olddisplay")||"";return this},hide:function(a,c,d){if(a||a===0)return this.animate(f("hide",3),a,c,d);a=0;for(c=this.length;a<c;a++)d=h.css(this[a],"display"),d!=="none"&#038;&#038;!h._data(this[a],"olddisplay")&#038;&#038;h._data(this[a],"olddisplay",d);for(a=0;a<c;a++)this[a].style.display="none";return this},_toggle:h.fn.toggle,toggle:function(a,c,d){var e=typeof a==="boolean";h.isFunction(a)&#038;&#038;h.isFunction(c)? this._toggle.apply(this,arguments):a==null||e?this.each(function(){var c=e?a:h(this).is(":hidden");h(this)[c?"show":"hide"]()}):this.animate(f("toggle",3),a,c,d);return this},fadeTo:function(a,c,d,e){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:c},a,d,e)},animate:function(a,c,d,f){var j=h.speed(c,d,f);if(h.isEmptyObject(a))return this.each(j.complete);return this[j.queue===!1?"each":"queue"](function(){var c=h.extend({},j),d,f=this.nodeType===1,k=f&#038;&#038;h(this).is(":hidden"), m=this;for(d in a){var l=h.camelCase(d);d!==l&#038;&#038;(a[l]=a[d],delete a[d],d=l);if(a[d]==="hide"&#038;&#038;k||a[d]==="show"&#038;&#038;!k)return c.complete.call(this);if(f&#038;&#038;(d==="height"||d==="width"))if(c.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],h.css(this,"display")==="inline"&#038;&#038;h.css(this,"float")==="none")h.support.inlineBlockNeedsLayout?e(this.nodeName)==="inline"?this.style.display="inline-block":(this.style.display="inline",this.style.zoom=1):this.style.display="inline-block";h.isArray(a[d])&#038;&#038; ((c.specialEasing=c.specialEasing||{})[d]=a[d][1],a[d]=a[d][0])}c.overflow!=null&#038;&#038;(this.style.overflow="hidden");c.curAnim=h.extend({},a);h.each(a,function(d,e){var f=new h.fx(m,c,d);if(zb.test(e))f[e==="toggle"?k?"show":"hide":e](a);else{var j=Ab.exec(e),l=f.cur();if(j){var p=parseFloat(j[2]),o=j[3]||(h.cssNumber[d]?"":"px");o!=="px"&#038;&#038;(h.style(m,d,(p||1)+o),l*=(p||1)/f.cur(),h.style(m,d,l+o));j[1]&#038;&#038;(p=(j[1]==="-="?-1:1)*p+l);f.custom(l,p,o)}else f.custom(l,e,"")}});return!0})},stop:function(a,c){var d= h.timers;a&#038;&#038;this.queue([]);this.each(function(){for(var a=d.length-1;a>=0;a--)d[a].elem===this&#038;&#038;(c&#038;&#038;d[a](!0),d.splice(a,1))});c||this.dequeue();return this}});h.each({slideDown:f("show",1),slideUp:f("hide",1),slideToggle:f("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,c){h.fn[a]=function(a,d,e){return this.animate(c,a,d,e)}});h.extend({speed:function(a,c,d){var e=a&#038;&#038;typeof a==="object"?h.extend({},a):{complete:d||!d&#038;&#038;c||h.isFunction(a)&#038;&#038;a,duration:a,
easing:d&#038;&#038;c||c&#038;&#038;!h.isFunction(c)&#038;&#038;c};e.duration=h.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in h.fx.speeds?h.fx.speeds[e.duration]:h.fx.speeds._default;e.old=e.complete;e.complete=function(){e.queue!==!1&#038;&#038;h(this).dequeue();h.isFunction(e.old)&#038;&#038;e.old.call(this)};return e},easing:{linear:function(a,c,d,e){return d+e*a},swing:function(a,c,d,e){return(-Math.cos(a*Math.PI)/2+0.5)*e+d}},timers:[],fx:function(a,c,d){this.options=c;this.elem=a;this.prop=d;c.orig||(c.orig={})}});h.fx.prototype=
{update:function(){this.options.step&#038;&#038;this.options.step.call(this.elem,this.now,this);(h.fx.step[this.prop]||h.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&#038;&#038;(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a,c=h.css(this.elem,this.prop);return isNaN(a=parseFloat(c))?!c||c==="auto"?0:c:a},custom:function(a,c,d){function e(a){return f.step(a)}var f=this,j=h.fx;this.startTime=h.now();this.start=a;this.end=c;this.unit=d||this.unit||(h.cssNumber[this.prop]?
"":"px");this.now=this.start;this.pos=this.state=0;e.elem=this.elem;e()&#038;&#038;h.timers.push(e)&#038;&#038;!pa&#038;&#038;(pa=setInterval(j.tick,j.interval))},show:function(){this.options.orig[this.prop]=h.style(this.elem,this.prop);this.options.show=!0;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());h(this.elem).show()},hide:function(){this.options.orig[this.prop]=h.style(this.elem,this.prop);this.options.hide=!0;this.custom(this.cur(),0)},step:function(a){var c=h.now(),d=!0;if(a||c>=this.options.duration+
this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=!0;for(var e in this.options.curAnim)this.options.curAnim[e]!==!0&#038;&#038;(d=!1);if(d){if(this.options.overflow!=null&#038;&#038;!h.support.shrinkWrapBlocks){var f=this.elem,j=this.options;h.each(["","X","Y"],function(a,c){f.style["overflow"+c]=j.overflow[a]})}this.options.hide&#038;&#038;h(this.elem).hide();if(this.options.hide||this.options.show)for(var k in this.options.curAnim)h.style(this.elem,k,this.options.orig[k]);
this.options.complete.call(this.elem)}return!1}a=c-this.startTime;this.state=a/this.options.duration;c=this.options.easing||(h.easing.swing?"swing":"linear");this.pos=h.easing[this.options.specialEasing&#038;&#038;this.options.specialEasing[this.prop]||c](this.state,a,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update();return!0}};h.extend(h.fx,{tick:function(){for(var a=h.timers,c=0;c<a.length;c++)a[c]()||a.splice(c--,1);a.length||h.fx.stop()},interval:13,stop:function(){clearInterval(pa);
pa=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){h.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&#038;&#038;a.elem.style[a.prop]!=null?a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit:a.elem[a.prop]=a.now}}});h.expr&#038;&#038;h.expr.filters&#038;&#038;(h.expr.filters.animated=function(a){return h.grep(h.timers,function(c){return a===c.elem}).length});var Bb=/^t(?:able|d|h)$/i,Ra=/^(?:body|html)$/i;"getBoundingClientRect"in o.documentElement?
h.fn.offset=function(a){var c=this[0],e;if(a)return this.each(function(c){h.offset.setOffset(this,a,c)});if(!c||!c.ownerDocument)return null;if(c===c.ownerDocument.body)return h.offset.bodyOffset(c);try{e=c.getBoundingClientRect()}catch(f){}var j=c.ownerDocument,k=j.documentElement;if(!e||!h.contains(k,c))return e?{top:e.top,left:e.left}:{top:0,left:0};c=j.body;j=d(j);return{top:e.top+(j.pageYOffset||h.support.boxModel&#038;&#038;k.scrollTop||c.scrollTop)-(k.clientTop||c.clientTop||0),left:e.left+(j.pageXOffset||
h.support.boxModel&#038;&#038;k.scrollLeft||c.scrollLeft)-(k.clientLeft||c.clientLeft||0)}}:h.fn.offset=function(a){var c=this[0];if(a)return this.each(function(c){h.offset.setOffset(this,a,c)});if(!c||!c.ownerDocument)return null;if(c===c.ownerDocument.body)return h.offset.bodyOffset(c);h.offset.initialize();var d,e=c.offsetParent,f=c.ownerDocument,j=f.documentElement,k=f.body;d=(f=f.defaultView)?f.getComputedStyle(c,null):c.currentStyle;for(var l=c.offsetTop,m=c.offsetLeft;(c=c.parentNode)&#038;&#038;c!==k&#038;&#038;c!==j;){if(h.offset.supportsFixedPosition&#038;&#038;
d.position==="fixed")break;d=f?f.getComputedStyle(c,null):c.currentStyle;l-=c.scrollTop;m-=c.scrollLeft;c===e&#038;&#038;(l+=c.offsetTop,m+=c.offsetLeft,h.offset.doesNotAddBorder&#038;&#038;(!h.offset.doesAddBorderForTableAndCells||!Bb.test(c.nodeName))&#038;&#038;(l+=parseFloat(d.borderTopWidth)||0,m+=parseFloat(d.borderLeftWidth)||0),e=c.offsetParent);h.offset.subtractsBorderForOverflowNotVisible&#038;&#038;d.overflow!=="visible"&#038;&#038;(l+=parseFloat(d.borderTopWidth)||0,m+=parseFloat(d.borderLeftWidth)||0)}if(d.position==="relative"||d.position===
"static")l+=k.offsetTop,m+=k.offsetLeft;h.offset.supportsFixedPosition&#038;&#038;d.position==="fixed"&#038;&#038;(l+=Math.max(j.scrollTop,k.scrollTop),m+=Math.max(j.scrollLeft,k.scrollLeft));return{top:l,left:m}};h.offset={initialize:function(){var a=o.body,c=o.createElement("div"),d,e,f,j=parseFloat(h.css(a,"marginTop"))||0;h.extend(c.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});c.innerHTML="</p>
<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'>
<div></div>
</div>
<table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'>
<tr>
<td></td>
</tr>
</table>
<p>";
a.insertBefore(c,a.firstChild);d=c.firstChild;e=d.firstChild;f=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=e.offsetTop!==5;this.doesAddBorderForTableAndCells=f.offsetTop===5;e.style.position="fixed";e.style.top="20px";this.supportsFixedPosition=e.offsetTop===20||e.offsetTop===15;e.style.position=e.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=e.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==j;a.removeChild(c);
h.offset.initialize=h.noop},bodyOffset:function(a){var c=a.offsetTop,d=a.offsetLeft;h.offset.initialize();h.offset.doesNotIncludeMarginInBodyOffset&#038;&#038;(c+=parseFloat(h.css(a,"marginTop"))||0,d+=parseFloat(h.css(a,"marginLeft"))||0);return{top:c,left:d}},setOffset:function(a,c,d){var e=h.css(a,"position");e==="static"&#038;&#038;(a.style.position="relative");var f=h(a),j=f.offset(),k=h.css(a,"top"),l=h.css(a,"left"),m=e==="absolute"&#038;&#038;h.inArray("auto",[k,l])>-1,e={},p={};m&#038;&#038;(p=f.position());k=m?p.top:parseInt(k,
10)||0;l=m?p.left:parseInt(l,10)||0;h.isFunction(c)&#038;&#038;(c=c.call(a,d,j));c.top!=null&#038;&#038;(e.top=c.top-j.top+k);c.left!=null&#038;&#038;(e.left=c.left-j.left+l);"using"in c?c.using.call(a,e):f.css(e)}};h.fn.extend({position:function(){if(!this[0])return null;var a=this[0],c=this.offsetParent(),d=this.offset(),e=Ra.test(c[0].nodeName)?{top:0,left:0}:c.offset();d.top-=parseFloat(h.css(a,"marginTop"))||0;d.left-=parseFloat(h.css(a,"marginLeft"))||0;e.top+=parseFloat(h.css(c[0],"borderTopWidth"))||0;e.left+=parseFloat(h.css(c[0],
"borderLeftWidth"))||0;return{top:d.top-e.top,left:d.left-e.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||o.body;a&#038;&#038;!Ra.test(a.nodeName)&#038;&#038;h.css(a,"position")==="static";)a=a.offsetParent;return a})}});h.each(["Left","Top"],function(a,e){var f="scroll"+e;h.fn[f]=function(e){var j=this[0],k;if(!j)return null;if(e!==c)return this.each(function(){(k=d(this))?k.scrollTo(a?h(k).scrollLeft():e,a?e:h(k).scrollTop()):this[f]=e});return(k=d(j))?"pageXOffset"in k?k[a?
"pageYOffset":"pageXOffset"]:h.support.boxModel&#038;&#038;k.document.documentElement[f]||k.document.body[f]:j[f]}});h.each(["Height","Width"],function(a,d){var e=d.toLowerCase();h.fn["inner"+d]=function(){return this[0]?parseFloat(h.css(this[0],e,"padding")):null};h.fn["outer"+d]=function(a){return this[0]?parseFloat(h.css(this[0],e,a?"margin":"border")):null};h.fn[e]=function(a){var f=this[0];if(!f)return a==null?null:this;if(h.isFunction(a))return this.each(function(c){var d=h(this);d[e](a.call(this,c,d[e]()))});
if(h.isWindow(f)){var j=f.document.documentElement["client"+d];return f.document.compatMode==="CSS1Compat"&#038;&#038;j||f.document.body["client"+d]||j}if(f.nodeType===9)return Math.max(f.documentElement["client"+d],f.body["scroll"+d],f.documentElement["scroll"+d],f.body["offset"+d],f.documentElement["offset"+d]);if(a===c)return f=h.css(f,e),j=parseFloat(f),h.isNaN(j)?f:j;return this.css(e,typeof a==="string"?a:a+"px")}});a.avpw_jQuery=a.avpw$=h})(window);(function(a,c){function d(c){return!a(c).parents().andSelf().filter(function(){return a.curCSS(this,"visibility")==="hidden"||a.expr.filters.hidden(this)}).length}a.ui=a.ui||{};a.ui.version||(a.extend(a.ui,{version:"1.8.11",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,
PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}}),a.fn.extend({_focus:a.fn.focus,focus:function(c,d){return typeof c==="number"?this.each(function(){var j=this;setTimeout(function(){a(j).focus();d&#038;&#038;d.call(j)},c)}):this._focus.apply(this,arguments)},scrollParent:function(){var c;c=a.browser.msie&#038;&#038;/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(a.curCSS(this,
"position",1))&#038;&#038;/(auto|scroll)/.test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!c.length?a(document):c},zIndex:function(d){if(d!==c)return this.css("zIndex",d);if(this.length)for(var d=a(this[0]),f;d.length&#038;&#038;d[0]!==document;){f=d.css("position");if(f===
"absolute"||f==="relative"||f==="fixed")if(f=parseInt(d.css("zIndex"),10),!isNaN(f)&#038;&#038;f!==0)return f;d=d.parent()}return 0},disableSelection:function(){return this.bind((a.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(a){a.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),a.each(["Width","Height"],function(d,f){function j(c,d,e,f){a.each(k,function(){d-=parseFloat(a.curCSS(c,"padding"+this,!0))||0;e&#038;&#038;(d-=parseFloat(a.curCSS(c,
"border"+this+"Width",!0))||0);f&#038;&#038;(d-=parseFloat(a.curCSS(c,"margin"+this,!0))||0)});return d}var k=f==="Width"?["Left","Right"]:["Top","Bottom"],m=f.toLowerCase(),l={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};a.fn["inner"+f]=function(d){if(d===c)return l["inner"+f].call(this);return this.each(function(){a(this).css(m,j(this,d)+"px")})};a.fn["outer"+f]=function(c,d){if(typeof c!=="number")return l["outer"+f].call(this,c);return this.each(function(){a(this).css(m,
j(this,c,!0,d)+"px")})}}),a.extend(a.expr[":"],{data:function(c,d,j){return!!a.data(c,j[3])},focusable:function(c){var f=c.nodeName.toLowerCase(),j=a.attr(c,"tabindex");if("area"===f){f=c.parentNode;j=f.name;if(!c.href||!j||f.nodeName.toLowerCase()!=="map")return!1;c=a("img[usemap=#"+j+"]")[0];return!!c&#038;&#038;d(c)}return(/input|select|textarea|button|object/.test(f)?!c.disabled:"a"==f?c.href||!isNaN(j):!isNaN(j))&#038;&#038;d(c)},tabbable:function(c){var d=a.attr(c,"tabindex");return(isNaN(d)||d>=0)&#038;&#038;a(c).is(":focusable")}}),
a(function(){var c=document.body,d=c.appendChild(d=document.createElement("div"));a.extend(d.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});a.support.minHeight=d.offsetHeight===100;a.support.selectstart="onselectstart"in d;c.removeChild(d).style.display="none"}),a.extend(a.ui,{plugin:{add:function(c,d,j){var c=a.ui[c].prototype,k;for(k in j)c.plugins[k]=c.plugins[k]||[],c.plugins[k].push([d,j[k]])},call:function(a,c,d){if((c=a.plugins[c])&#038;&#038;a.element[0].parentNode)for(var k=0;k<c.length;k++)a.options[c[k][0]]&#038;&#038; c[k][1].apply(a.element,d)}},contains:function(a,c){return document.compareDocumentPosition?a.compareDocumentPosition(c)&#038;16:a!==c&#038;&#038;a.contains(c)},hasScroll:function(c,d){if(a(c).css("overflow")==="hidden")return!1;var d=d&#038;&#038;d==="left"?"scrollLeft":"scrollTop",j=!1;if(c[d]>0)return!0;c[d]=1;j=c[d]>0;c[d]=0;return j},isOverAxis:function(a,c,d){return a>c&#038;&#038;a<c+d},isOver:function(c,d,j,k,m,l){return a.ui.isOverAxis(c,j,m)&#038;&#038;a.ui.isOverAxis(d,k,l)}}))})(avpw_jQuery); (function(a,c){if(a.cleanData){var d=a.cleanData;a.cleanData=function(c){for(var e=0,k;(k=c[e])!=null;e++)a(k).triggerHandler("remove");d(c)}}else{var e=a.fn.remove;a.fn.remove=function(c,d){return this.each(function(){d||(!c||a.filter(c,[this]).length)&#038;&#038;a("*",this).add([this]).each(function(){a(this).triggerHandler("remove")});return e.call(a(this),c,d)})}}a.widget=function(c,d,e){var m=c.split(".")[0],l,c=c.split(".")[1];l=m+"-"+c;if(!e)e=d,d=a.Widget;a.expr[":"][l]=function(d){return!!a.data(d, c)};a[m]=a[m]||{};a[m][c]=function(a,c){arguments.length&#038;&#038;this._createWidget(a,c)};d=new d;d.options=a.extend(!0,{},d.options);a[m][c].prototype=a.extend(!0,d,{namespace:m,widgetName:c,widgetEventPrefix:a[m][c].prototype.widgetEventPrefix||c,widgetBaseClass:l},e);a.widget.bridge(c,a[m][c])};a.widget.bridge=function(d,e){a.fn[d]=function(k){var m=typeof k==="string",l=Array.prototype.slice.call(arguments,1),p=this,k=!m&#038;&#038;l.length?a.extend.apply(null,[!0,k].concat(l)):k;if(m&#038;&#038;k.charAt(0)==="_")return p; m?this.each(function(){var e=a.data(this,d),j=e&#038;&#038;a.isFunction(e[k])?e[k].apply(e,l):e;if(j!==e&#038;&#038;j!==c)return p=j,!1}):this.each(function(){var c=a.data(this,d);c?c.option(k||{})._init():a.data(this,d,new e(k,this))});return p}};a.Widget=function(a,c){arguments.length&#038;&#038;this._createWidget(a,c)};a.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:!1},_createWidget:function(c,d){a.data(d,this.widgetName,this);this.element=a(d);this.options=a.extend(!0,{},this.options,this._getCreateOptions(), c);var e=this;this.element.bind("remove."+this.widgetName,function(){e.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return a.metadata&#038;&#038;a.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element}, option:function(d,e){var k=d;if(arguments.length===0)return a.extend({},this.options);if(typeof d==="string"){if(e===c)return this.options[d];k={};k[d]=e}this._setOptions(k);return this},_setOptions:function(c){var d=this;a.each(c,function(a,c){d._setOption(a,c)});return this},_setOption:function(a,c){this.options[a]=c;a==="disabled"&#038;&#038;this.widget()[c?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",c);return this},enable:function(){return this._setOption("disabled", !1)},disable:function(){return this._setOption("disabled",!0)},_trigger:function(c,d,e){var m=this.options[c],d=a.Event(d);d.type=(c===this.widgetEventPrefix?c:this.widgetEventPrefix+c).toLowerCase();e=e||{};if(d.originalEvent)for(var c=a.event.props.length,l;c;)l=a.event.props[--c],d[l]=d.originalEvent[l];this.element.trigger(d,e);return!(a.isFunction(m)&#038;&#038;m.call(this.element[0],d,e)===!1||d.isDefaultPrevented())}}})(avpw_jQuery); (function(a){a.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var c=this;this.element.bind("mousedown."+this.widgetName,function(a){return c._mouseDown(a)}).bind("click."+this.widgetName,function(d){if(!0===a.data(d.target,c.widgetName+".preventClickEvent"))return a.removeData(d.target,c.widgetName+".preventClickEvent"),d.stopImmediatePropagation(),!1});this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(c){c.originalEvent= c.originalEvent||{};if(!c.originalEvent.mouseHandled){this._mouseStarted&#038;&#038;this._mouseUp(c);this._mouseDownEvent=c;var d=this,e=c.which==1,f=typeof this.options.cancel=="string"?a(c.target).parents().add(c.target).filter(this.options.cancel).length:!1;if(!e||f||!this._mouseCapture(c))return!0;this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet)this._mouseDelayTimer=setTimeout(function(){d.mouseDelayMet=!0},this.options.delay);if(this._mouseDistanceMet(c)&#038;&#038;this._mouseDelayMet(c)&#038;&#038;(this._mouseStarted= this._mouseStart(c)!==!1,!this._mouseStarted))return c.preventDefault(),!0;!0===a.data(c.target,this.widgetName+".preventClickEvent")&#038;&#038;a.removeData(c.target,this.widgetName+".preventClickEvent");this._mouseMoveDelegate=function(a){return d._mouseMove(a)};this._mouseUpDelegate=function(a){return d._mouseUp(a)};a(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);c.preventDefault();return c.originalEvent.mouseHandled=!0}},_mouseMove:function(c){if(a.browser.msie&#038;&#038; !(document.documentMode>=9)&#038;&#038;!c.button)return this._mouseUp(c);if(this._mouseStarted)return this._mouseDrag(c),c.preventDefault();if(this._mouseDistanceMet(c)&#038;&#038;this._mouseDelayMet(c))(this._mouseStarted=this._mouseStart(this._mouseDownEvent,c)!==!1)?this._mouseDrag(c):this._mouseUp(c);return!this._mouseStarted},_mouseUp:function(c){a(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted)this._mouseStarted=
!1,c.target==this._mouseDownEvent.target&#038;&#038;a.data(c.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(c);return!1},_mouseDistanceMet:function(a){return Math.max(Math.abs(this._mouseDownEvent.pageX-a.pageX),Math.abs(this._mouseDownEvent.pageY-a.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})})(avpw_jQuery);
(function(a){a.ui=a.ui||{};var c=/left|center|right/,d=/top|center|bottom/,e=a.fn.position,f=a.fn.offset;a.fn.position=function(f){if(!f||!f.of)return e.apply(this,arguments);var f=a.extend({},f),k=a(f.of),m=k[0],l=(f.collision||"flip").split(" "),p=f.offset?f.offset.split(" "):[0,0],q,v,u;m.nodeType===9?(q=k.width(),v=k.height(),u={top:0,left:0}):m.setTimeout?(q=k.width(),v=k.height(),u={top:k.scrollTop(),left:k.scrollLeft()}):m.preventDefault?(f.at="left top",q=v=0,u={top:f.of.pageY,left:f.of.pageX}):
(q=k.outerWidth(),v=k.outerHeight(),u=k.offset());a.each(["my","at"],function(){var a=(f[this]||"").split(" ");a.length===1&#038;&#038;(a=c.test(a[0])?a.concat(["center"]):d.test(a[0])?["center"].concat(a):["center","center"]);a[0]=c.test(a[0])?a[0]:"center";a[1]=d.test(a[1])?a[1]:"center";f[this]=a});l.length===1&#038;&#038;(l[1]=l[0]);p[0]=parseInt(p[0],10)||0;p.length===1&#038;&#038;(p[1]=p[0]);p[1]=parseInt(p[1],10)||0;f.at[0]==="right"?u.left+=q:f.at[0]==="center"&#038;&#038;(u.left+=q/2);f.at[1]==="bottom"?u.top+=v:f.at[1]==="center"&#038;&#038;
(u.top+=v/2);u.left+=p[0];u.top+=p[1];return this.each(function(){var c=a(this),d=c.outerWidth(),e=c.outerHeight(),k=parseInt(a.curCSS(this,"marginLeft",!0))||0,m=parseInt(a.curCSS(this,"marginTop",!0))||0,x=d+k+(parseInt(a.curCSS(this,"marginRight",!0))||0),E=e+m+(parseInt(a.curCSS(this,"marginBottom",!0))||0),B=a.extend({},u),T;f.my[0]==="right"?B.left-=d:f.my[0]==="center"&#038;&#038;(B.left-=d/2);f.my[1]==="bottom"?B.top-=e:f.my[1]==="center"&#038;&#038;(B.top-=e/2);B.left=Math.round(B.left);B.top=Math.round(B.top);
T={left:B.left-k,top:B.top-m};a.each(["left","top"],function(c,k){a.ui.position[l[c]]&#038;&#038;a.ui.position[l[c]][k](B,{targetWidth:q,targetHeight:v,elemWidth:d,elemHeight:e,collisionPosition:T,collisionWidth:x,collisionHeight:E,offset:p,my:f.my,at:f.at})});a.fn.bgiframe&#038;&#038;c.bgiframe();c.offset(a.extend(B,{using:f.using}))})};a.ui.position={fit:{left:function(c,d){var e=a(window),e=d.collisionPosition.left+d.collisionWidth-e.width()-e.scrollLeft();c.left=e>0?c.left-e:Math.max(c.left-d.collisionPosition.left,
c.left)},top:function(c,d){var e=a(window),e=d.collisionPosition.top+d.collisionHeight-e.height()-e.scrollTop();c.top=e>0?c.top-e:Math.max(c.top-d.collisionPosition.top,c.top)}},flip:{left:function(c,d){if(d.at[0]!=="center"){var e=a(window),e=d.collisionPosition.left+d.collisionWidth-e.width()-e.scrollLeft(),f=d.my[0]==="left"?-d.elemWidth:d.my[0]==="right"?d.elemWidth:0,p=d.at[0]==="left"?d.targetWidth:-d.targetWidth,q=-2*d.offset[0];c.left+=d.collisionPosition.left<0?f+p+q:e>0?f+p+q:0}},top:function(c,
d){if(d.at[1]!=="center"){var e=a(window),e=d.collisionPosition.top+d.collisionHeight-e.height()-e.scrollTop(),f=d.my[1]==="top"?-d.elemHeight:d.my[1]==="bottom"?d.elemHeight:0,p=d.at[1]==="top"?d.targetHeight:-d.targetHeight,q=-2*d.offset[1];c.top+=d.collisionPosition.top<0?f+p+q:e>0?f+p+q:0}}}};if(!a.offset.setOffset)a.offset.setOffset=function(c,d){if(/static/.test(a.curCSS(c,"position")))c.style.position="relative";var e=a(c),f=e.offset(),p=parseInt(a.curCSS(c,"top",!0),10)||0,q=parseInt(a.curCSS(c,
"left",!0),10)||0,f={top:d.top-f.top+p,left:d.left-f.left+q};"using"in d?d.using.call(c,f):e.css(f)},a.fn.offset=function(c){var d=this[0];if(!d||!d.ownerDocument)return null;if(c)return this.each(function(){a.offset.setOffset(this,c)});return f.call(this)}})(avpw_jQuery);
(function(a){a.widget("ui.draggable",a.ui.mouse,{widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1},_create:function(){if(this.options.helper=="original"&#038;&#038;!/^(?:r|a|f)/.test(this.element.css("position")))this.element[0].style.position=
"relative";this.options.addClasses&#038;&#038;this.element.addClass("ui-draggable");this.options.disabled&#038;&#038;this.element.addClass("ui-draggable-disabled");this._mouseInit()},destroy:function(){if(this.element.data("draggable"))return this.element.removeData("draggable").unbind(".draggable").removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled"),this._mouseDestroy(),this},_mouseCapture:function(c){var d=this.options;if(this.helper||d.disabled||a(c.target).is(".ui-resizable-handle"))return!1;
this.handle=this._getHandle(c);if(!this.handle)return!1;return!0},_mouseStart:function(c){var d=this.options;this.helper=this._createHelper(c);this._cacheHelperProportions();if(a.ui.ddmanager)a.ui.ddmanager.current=this;this._cacheMargins();this.cssPosition=this.helper.css("position");this.scrollParent=this.helper.scrollParent();this.offset=this.positionAbs=this.element.offset();this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left};a.extend(this.offset,{click:{left:c.pageX-
this.offset.left,top:c.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});this.originalPosition=this.position=this._generatePosition(c);this.originalPageX=c.pageX;this.originalPageY=c.pageY;d.cursorAt&#038;&#038;this._adjustOffsetFromHelper(d.cursorAt);d.containment&#038;&#038;this._setContainment();if(this._trigger("start",c)===!1)return this._clear(),!1;this._cacheHelperProportions();a.ui.ddmanager&#038;&#038;!d.dropBehaviour&#038;&#038;a.ui.ddmanager.prepareOffsets(this,c);this.helper.addClass("ui-draggable-dragging");
this._mouseDrag(c,!0);return!0},_mouseDrag:function(c,d){this.position=this._generatePosition(c);this.positionAbs=this._convertPositionTo("absolute");if(!d){d=this._uiHash();if(this._trigger("drag",c,d)===!1)return this._mouseUp({}),!1;this.position=d.position}if(!this.options.axis||this.options.axis!="y")this.helper[0].style.left=this.position.left+"px";if(!this.options.axis||this.options.axis!="x")this.helper[0].style.top=this.position.top+"px";a.ui.ddmanager&#038;&#038;a.ui.ddmanager.drag(this,c);return!1},
_mouseStop:function(c){var d=!1;a.ui.ddmanager&#038;&#038;!this.options.dropBehaviour&#038;&#038;(d=a.ui.ddmanager.drop(this,c));if(this.dropped)d=this.dropped,this.dropped=!1;if((!this.element[0]||!this.element[0].parentNode)&#038;&#038;this.options.helper=="original")return!1;if(this.options.revert=="invalid"&#038;&#038;!d||this.options.revert=="valid"&#038;&#038;d||this.options.revert===!0||a.isFunction(this.options.revert)&#038;&#038;this.options.revert.call(this.element,d)){var e=this;a(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,
10),function(){e._trigger("stop",c)!==!1&#038;&#038;e._clear()})}else this._trigger("stop",c)!==!1&#038;&#038;this._clear();return!1},cancel:function(){this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear();return this},_getHandle:function(c){var d=!this.options.handle||!a(this.options.handle,this.element).length?!0:!1;a(this.options.handle,this.element).find("*").andSelf().each(function(){this==c.target&#038;&#038;(d=!0)});return d},_createHelper:function(c){var d=this.options,c=a.isFunction(d.helper)?a(d.helper.apply(this.element[0],
[c])):d.helper=="clone"?this.element.clone():this.element;c.parents("body").length||c.appendTo(d.appendTo=="parent"?this.element[0].parentNode:d.appendTo);c[0]!=this.element[0]&#038;&#038;!/(fixed|absolute)/.test(c.css("position"))&#038;&#038;c.css("position","absolute");return c},_adjustOffsetFromHelper:function(c){typeof c=="string"&#038;&#038;(c=c.split(" "));a.isArray(c)&#038;&#038;(c={left:+c[0],top:+c[1]||0});if("left"in c)this.offset.click.left=c.left+this.margins.left;if("right"in c)this.offset.click.left=this.helperProportions.width-
c.right+this.margins.left;if("top"in c)this.offset.click.top=c.top+this.margins.top;if("bottom"in c)this.offset.click.top=this.helperProportions.height-c.bottom+this.margins.top},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var c=this.offsetParent.offset();this.cssPosition=="absolute"&#038;&#038;this.scrollParent[0]!=document&#038;&#038;a.ui.contains(this.scrollParent[0],this.offsetParent[0])&#038;&#038;(c.left+=this.scrollParent.scrollLeft(),c.top+=this.scrollParent.scrollTop());if(this.offsetParent[0]==
document.body||this.offsetParent[0].tagName&#038;&#038;this.offsetParent[0].tagName.toLowerCase()=="html"&#038;&#038;a.browser.msie)c={top:0,left:0};return{top:c.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:c.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var a=this.element.position();return{top:a.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:a.left-(parseInt(this.helper.css("left"),
10)||0)+this.scrollParent.scrollLeft()}}else return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var c=this.options;if(c.containment==
"parent")c.containment=this.helper[0].parentNode;if(c.containment=="document"||c.containment=="window")this.containment=[(c.containment=="document"?0:a(window).scrollLeft())-this.offset.relative.left-this.offset.parent.left,(c.containment=="document"?0:a(window).scrollTop())-this.offset.relative.top-this.offset.parent.top,(c.containment=="document"?0:a(window).scrollLeft())+a(c.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(c.containment=="document"?
0:a(window).scrollTop())+(a(c.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(c.containment)&#038;&#038;c.containment.constructor!=Array){var d=a(c.containment)[0];if(d){var c=a(c.containment).offset(),e=a(d).css("overflow")!="hidden";this.containment=[c.left+(parseInt(a(d).css("borderLeftWidth"),10)||0)+(parseInt(a(d).css("paddingLeft"),10)||0),c.top+(parseInt(a(d).css("borderTopWidth"),
10)||0)+(parseInt(a(d).css("paddingTop"),10)||0),c.left+(e?Math.max(d.scrollWidth,d.offsetWidth):d.offsetWidth)-(parseInt(a(d).css("borderLeftWidth"),10)||0)-(parseInt(a(d).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,c.top+(e?Math.max(d.scrollHeight,d.offsetHeight):d.offsetHeight)-(parseInt(a(d).css("borderTopWidth"),10)||0)-(parseInt(a(d).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom]}}else if(c.containment.constructor==
Array)this.containment=c.containment},_convertPositionTo:function(c,d){if(!d)d=this.position;var c=c=="absolute"?1:-1,e=this.cssPosition=="absolute"&#038;&#038;!(this.scrollParent[0]!=document&#038;&#038;a.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,f=/(html|body)/i.test(e[0].tagName);return{top:d.top+this.offset.relative.top*c+this.offset.parent.top*c-(a.browser.safari&#038;&#038;a.browser.version<526&#038;&#038;this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():
f?0:e.scrollTop())*c),left:d.left+this.offset.relative.left*c+this.offset.parent.left*c-(a.browser.safari&#038;&#038;a.browser.version<526&#038;&#038;this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():f?0:e.scrollLeft())*c)}},_generatePosition:function(c){var d=this.options,e=this.cssPosition=="absolute"&#038;&#038;!(this.scrollParent[0]!=document&#038;&#038;a.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,f=/(html|body)/i.test(e[0].tagName),j=c.pageX,k=c.pageY;
this.originalPosition&#038;&#038;(this.containment&#038;&#038;(c.pageX-this.offset.click.left</p>
<this.containment[0]&#038;&#038;(j=this.containment[0]+this.offset.click.left),c.pageY-this.offset.click.top<this.containment[1]&#038;&#038;(k=this.containment[1]+this.offset.click.top),c.pageX-this.offset.click.left>this.containment[2]&#038;&#038;(j=this.containment[2]+this.offset.click.left),c.pageY-this.offset.click.top>this.containment[3]&#038;&#038;(k=this.containment[3]+this.offset.click.top)),d.grid&#038;&#038;(k=this.originalPageY+Math.round((k-this.originalPageY)/d.grid[1])*
d.grid[1],k=this.containment?!(k-this.offset.click.top</p>
<this.containment[1]||k-this.offset.click.top>this.containment[3])?k:!(k-this.offset.click.top</p>
<this.containment[1])?k-d.grid[1]:k+d.grid[1]:k,j=this.originalPageX+Math.round((j-this.originalPageX)/d.grid[0])*d.grid[0],j=this.containment?!(j-this.offset.click.left<this.containment[0]||j-this.offset.click.left>this.containment[2])?j:!(j-this.offset.click.left</p>
<this.containment[0])?j-d.grid[0]:j+d.grid[0]:j));return{top:k-this.offset.click.top-this.offset.relative.top-
this.offset.parent.top+(a.browser.safari&#038;&#038;a.browser.version<526&#038;&#038;this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollTop():f?0:e.scrollTop()),left:j-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(a.browser.safari&#038;&#038;a.browser.version<526&#038;&#038;this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():f?0:e.scrollLeft())}},_clear:function(){this.helper.removeClass("ui-draggable-dragging");this.helper[0]!=this.element[0]&#038;&#038;!this.cancelHelperRemoval&#038;&#038;
this.helper.remove();this.helper=null;this.cancelHelperRemoval=!1},_trigger:function(c,d,e){e=e||this._uiHash();a.ui.plugin.call(this,c,[d,e]);if(c=="drag")this.positionAbs=this._convertPositionTo("absolute");return a.Widget.prototype._trigger.call(this,c,d,e)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}});a.extend(a.ui.draggable,{version:"1.8.11"});a.ui.plugin.add("draggable","connectToSortable",{start:function(c,
d){var e=a(this).data("draggable"),f=e.options,j=a.extend({},d,{item:e.element});e.sortables=[];a(f.connectToSortable).each(function(){var d=a.data(this,"sortable");d&#038;&#038;!d.options.disabled&#038;&#038;(e.sortables.push({instance:d,shouldRevert:d.options.revert}),d.refreshPositions(),d._trigger("activate",c,j))})},stop:function(c,d){var e=a(this).data("draggable"),f=a.extend({},d,{item:e.element});a.each(e.sortables,function(){if(this.instance.isOver){this.instance.isOver=0;e.cancelHelperRemoval=!0;this.instance.cancelHelperRemoval=
!1;if(this.shouldRevert)this.instance.options.revert=!0;this.instance._mouseStop(c);this.instance.options.helper=this.instance.options._helper;e.options.helper=="original"&#038;&#038;this.instance.currentItem.css({top:"auto",left:"auto"})}else this.instance.cancelHelperRemoval=!1,this.instance._trigger("deactivate",c,f)})},drag:function(c,d){var e=a(this).data("draggable"),f=this;a.each(e.sortables,function(){this.instance.positionAbs=e.positionAbs;this.instance.helperProportions=e.helperProportions;this.instance.offset.click=
e.offset.click;if(this.instance._intersectsWith(this.instance.containerCache)){if(!this.instance.isOver)this.instance.isOver=1,this.instance.currentItem=a(f).clone().appendTo(this.instance.element).data("sortable-item",!0),this.instance.options._helper=this.instance.options.helper,this.instance.options.helper=function(){return d.helper[0]},c.target=this.instance.currentItem[0],this.instance._mouseCapture(c,!0),this.instance._mouseStart(c,!0,!0),this.instance.offset.click.top=e.offset.click.top,this.instance.offset.click.left=
e.offset.click.left,this.instance.offset.parent.left-=e.offset.parent.left-this.instance.offset.parent.left,this.instance.offset.parent.top-=e.offset.parent.top-this.instance.offset.parent.top,e._trigger("toSortable",c),e.dropped=this.instance.element,e.currentItem=e.element,this.instance.fromOutside=e;this.instance.currentItem&#038;&#038;this.instance._mouseDrag(c)}else if(this.instance.isOver)this.instance.isOver=0,this.instance.cancelHelperRemoval=!0,this.instance.options.revert=!1,this.instance._trigger("out",
c,this.instance._uiHash(this.instance)),this.instance._mouseStop(c,!0),this.instance.options.helper=this.instance.options._helper,this.instance.currentItem.remove(),this.instance.placeholder&#038;&#038;this.instance.placeholder.remove(),e._trigger("fromSortable",c),e.dropped=!1})}});a.ui.plugin.add("draggable","cursor",{start:function(){var c=a("body"),d=a(this).data("draggable").options;if(c.css("cursor"))d._cursor=c.css("cursor");c.css("cursor",d.cursor)},stop:function(){var c=a(this).data("draggable").options;
c._cursor&#038;&#038;a("body").css("cursor",c._cursor)}});a.ui.plugin.add("draggable","iframeFix",{start:function(){var c=a(this).data("draggable").options;a(c.iframeFix===!0?"iframe":c.iframeFix).each(function(){a('</p>
<div class="ui-draggable-iframeFix" style="background: #fff;"></div>
<p>').css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1E3}).css(a(this).offset()).appendTo("body")})},stop:function(){a("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)})}});
a.ui.plugin.add("draggable","opacity",{start:function(c,d){c=a(d.helper);d=a(this).data("draggable").options;if(c.css("opacity"))d._opacity=c.css("opacity");c.css("opacity",d.opacity)},stop:function(c,d){c=a(this).data("draggable").options;c._opacity&#038;&#038;a(d.helper).css("opacity",c._opacity)}});a.ui.plugin.add("draggable","scroll",{start:function(){var c=a(this).data("draggable");if(c.scrollParent[0]!=document&#038;&#038;c.scrollParent[0].tagName!="HTML")c.overflowOffset=c.scrollParent.offset()},drag:function(c){var d=
a(this).data("draggable"),e=d.options,f=!1;if(d.scrollParent[0]!=document&#038;&#038;d.scrollParent[0].tagName!="HTML"){if(!e.axis||e.axis!="x")if(d.overflowOffset.top+d.scrollParent[0].offsetHeight-c.pageY<e.scrollSensitivity)d.scrollParent[0].scrollTop=f=d.scrollParent[0].scrollTop+e.scrollSpeed;else if(c.pageY-d.overflowOffset.top<e.scrollSensitivity)d.scrollParent[0].scrollTop=f=d.scrollParent[0].scrollTop-e.scrollSpeed;if(!e.axis||e.axis!="y")if(d.overflowOffset.left+d.scrollParent[0].offsetWidth-c.pageX<
e.scrollSensitivity)d.scrollParent[0].scrollLeft=f=d.scrollParent[0].scrollLeft+e.scrollSpeed;else if(c.pageX-d.overflowOffset.left<e.scrollSensitivity)d.scrollParent[0].scrollLeft=f=d.scrollParent[0].scrollLeft-e.scrollSpeed}else{if(!e.axis||e.axis!="x")c.pageY-a(document).scrollTop()<e.scrollSensitivity?f=a(document).scrollTop(a(document).scrollTop()-e.scrollSpeed):a(window).height()-(c.pageY-a(document).scrollTop())<e.scrollSensitivity&#038;&#038;(f=a(document).scrollTop(a(document).scrollTop()+e.scrollSpeed));
if(!e.axis||e.axis!="y")c.pageX-a(document).scrollLeft()<e.scrollSensitivity?f=a(document).scrollLeft(a(document).scrollLeft()-e.scrollSpeed):a(window).width()-(c.pageX-a(document).scrollLeft())<e.scrollSensitivity&#038;&#038;(f=a(document).scrollLeft(a(document).scrollLeft()+e.scrollSpeed))}f!==!1&#038;&#038;a.ui.ddmanager&#038;&#038;!e.dropBehaviour&#038;&#038;a.ui.ddmanager.prepareOffsets(d,c)}});a.ui.plugin.add("draggable","snap",{start:function(){var c=a(this).data("draggable"),d=c.options;c.snapElements=[];a(d.snap.constructor!=String? d.snap.items||":data(draggable)":d.snap).each(function(){var d=a(this),f=d.offset();this!=c.element[0]&#038;&#038;c.snapElements.push({item:this,width:d.outerWidth(),height:d.outerHeight(),top:f.top,left:f.left})})},drag:function(c,d){for(var e=a(this).data("draggable"),f=e.options,j=f.snapTolerance,k=d.offset.left,m=k+e.helperProportions.width,l=d.offset.top,p=l+e.helperProportions.height,q=e.snapElements.length-1;q>=0;q--){var v=e.snapElements[q].left,u=v+e.snapElements[q].width,z=e.snapElements[q].top,A=
z+e.snapElements[q].height;if(v-j<k&#038;&#038;k<u+j&#038;&#038;z-j<l&#038;&#038;l<A+j||v-j<k&#038;&#038;k<u+j&#038;&#038;z-j</p>
<p&#038;&#038;p<A+j||v-j<m&#038;&#038;m<u+j&#038;&#038;z-j<l&#038;&#038;l<A+j||v-j<m&#038;&#038;m<u+j&#038;&#038;z-j<p&#038;&#038;p<A+j){if(f.snapMode!="inner"){var C=Math.abs(z-p)<=j,H=Math.abs(A-l)<=j,K=Math.abs(v-m)<=j,x=Math.abs(u-k)<=j;if(C)d.position.top=e._convertPositionTo("relative",{top:z-e.helperProportions.height,left:0}).top-e.margins.top;if(H)d.position.top=e._convertPositionTo("relative",{top:A,left:0}).top-e.margins.top;if(K)d.position.left=e._convertPositionTo("relative",{top:0,
left:v-e.helperProportions.width}).left-e.margins.left;if(x)d.position.left=e._convertPositionTo("relative",{top:0,left:u}).left-e.margins.left}var E=C||H||K||x;if(f.snapMode!="outer"){C=Math.abs(z-l)<=j;H=Math.abs(A-p)<=j;K=Math.abs(v-k)<=j;x=Math.abs(u-m)<=j;if(C)d.position.top=e._convertPositionTo("relative",{top:z,left:0}).top-e.margins.top;if(H)d.position.top=e._convertPositionTo("relative",{top:A-e.helperProportions.height,left:0}).top-e.margins.top;if(K)d.position.left=e._convertPositionTo("relative",
{top:0,left:v}).left-e.margins.left;if(x)d.position.left=e._convertPositionTo("relative",{top:0,left:u-e.helperProportions.width}).left-e.margins.left}!e.snapElements[q].snapping&#038;&#038;(C||H||K||x||E)&#038;&#038;e.options.snap.snap&#038;&#038;e.options.snap.snap.call(e.element,c,a.extend(e._uiHash(),{snapItem:e.snapElements[q].item}));e.snapElements[q].snapping=C||H||K||x||E}else e.snapElements[q].snapping&#038;&#038;e.options.snap.release&#038;&#038;e.options.snap.release.call(e.element,c,a.extend(e._uiHash(),{snapItem:e.snapElements[q].item})),
e.snapElements[q].snapping=!1}}});a.ui.plugin.add("draggable","stack",{start:function(){var c=a(this).data("draggable").options,c=a.makeArray(a(c.stack)).sort(function(c,d){return(parseInt(a(c).css("zIndex"),10)||0)-(parseInt(a(d).css("zIndex"),10)||0)});if(c.length){var d=parseInt(c[0].style.zIndex)||0;a(c).each(function(a){this.style.zIndex=d+a});this[0].style.zIndex=d+c.length}}});a.ui.plugin.add("draggable","zIndex",{start:function(c,d){c=a(d.helper);d=a(this).data("draggable").options;if(c.css("zIndex"))d._zIndex=
c.css("zIndex");c.css("zIndex",d.zIndex)},stop:function(c,d){c=a(this).data("draggable").options;c._zIndex&#038;&#038;a(d.helper).css("zIndex",c._zIndex)}})})(avpw_jQuery);
(function(a){a.widget("ui.droppable",{widgetEventPrefix:"drop",options:{accept:"*",activeClass:!1,addClasses:!0,greedy:!1,hoverClass:!1,scope:"default",tolerance:"intersect"},_create:function(){var c=this.options,d=c.accept;this.isover=0;this.isout=1;this.accept=a.isFunction(d)?d:function(a){return a.is(d)};this.proportions={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight};a.ui.ddmanager.droppables[c.scope]=a.ui.ddmanager.droppables[c.scope]||[];a.ui.ddmanager.droppables[c.scope].push(this);
c.addClasses&#038;&#038;this.element.addClass("ui-droppable")},destroy:function(){for(var c=a.ui.ddmanager.droppables[this.options.scope],d=0;d<c.length;d++)c[d]==this&#038;&#038;c.splice(d,1);this.element.removeClass("ui-droppable ui-droppable-disabled").removeData("droppable").unbind(".droppable");return this},_setOption:function(c,d){if(c=="accept")this.accept=a.isFunction(d)?d:function(a){return a.is(d)};a.Widget.prototype._setOption.apply(this,arguments)},_activate:function(c){var d=a.ui.ddmanager.current;this.options.activeClass&#038;&#038;
this.element.addClass(this.options.activeClass);d&#038;&#038;this._trigger("activate",c,this.ui(d))},_deactivate:function(c){var d=a.ui.ddmanager.current;this.options.activeClass&#038;&#038;this.element.removeClass(this.options.activeClass);d&#038;&#038;this._trigger("deactivate",c,this.ui(d))},_over:function(c){var d=a.ui.ddmanager.current;if(d&#038;&#038;(d.currentItem||d.element)[0]!=this.element[0])if(this.accept.call(this.element[0],d.currentItem||d.element))this.options.hoverClass&#038;&#038;this.element.addClass(this.options.hoverClass),this._trigger("over",
c,this.ui(d))},_out:function(c){var d=a.ui.ddmanager.current;if(d&#038;&#038;(d.currentItem||d.element)[0]!=this.element[0])if(this.accept.call(this.element[0],d.currentItem||d.element))this.options.hoverClass&#038;&#038;this.element.removeClass(this.options.hoverClass),this._trigger("out",c,this.ui(d))},_drop:function(c,d){var e=d||a.ui.ddmanager.current;if(!e||(e.currentItem||e.element)[0]==this.element[0])return!1;var f=!1;this.element.find(":data(droppable)").not(".ui-draggable-dragging").each(function(){var c=a.data(this,
"droppable");if(c.options.greedy&#038;&#038;!c.options.disabled&#038;&#038;c.options.scope==e.options.scope&#038;&#038;c.accept.call(c.element[0],e.currentItem||e.element)&#038;&#038;a.ui.intersect(e,a.extend(c,{offset:c.element.offset()}),c.options.tolerance))return f=!0,!1});if(f)return!1;if(this.accept.call(this.element[0],e.currentItem||e.element))return this.options.activeClass&#038;&#038;this.element.removeClass(this.options.activeClass),this.options.hoverClass&#038;&#038;this.element.removeClass(this.options.hoverClass),this._trigger("drop",c,this.ui(e)),
this.element;return!1},ui:function(a){return{draggable:a.currentItem||a.element,helper:a.helper,position:a.position,offset:a.positionAbs}}});a.extend(a.ui.droppable,{version:"1.8.11"});a.ui.intersect=function(c,d,e){if(!d.offset)return!1;var f=(c.positionAbs||c.position.absolute).left,j=f+c.helperProportions.width,k=(c.positionAbs||c.position.absolute).top,m=k+c.helperProportions.height,l=d.offset.left,p=l+d.proportions.width,q=d.offset.top,v=q+d.proportions.height;switch(e){case "fit":return l<=
f&#038;&#038;j<=p&#038;&#038;q<=k&#038;&#038;m<=v;case "intersect":return l<f+c.helperProportions.width/2&#038;&#038;j-c.helperProportions.width/2<p&#038;&#038;q<k+c.helperProportions.height/2&#038;&#038;m-c.helperProportions.height/2<v;case "pointer":return a.ui.isOver((c.positionAbs||c.position.absolute).top+(c.clickOffset||c.offset.click).top,(c.positionAbs||c.position.absolute).left+(c.clickOffset||c.offset.click).left,q,l,d.proportions.height,d.proportions.width);case "touch":return(k>=q&#038;&#038;k<=v||m>=q&#038;&#038;m<=v||k<q&#038;&#038;m>v)&#038;&#038;(f>=l&#038;&#038;f<=p||j>=l&#038;&#038;j<=p||f<l&#038;&#038;j>p);
default:return!1}};a.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(c,d){var e=a.ui.ddmanager.droppables[c.options.scope]||[],f=d?d.type:null,j=(c.currentItem||c.element).find(":data(droppable)").andSelf(),k=0;a:for(;k<e.length;k++)if(!(e[k].options.disabled||c&#038;&#038;!e[k].accept.call(e[k].element[0],c.currentItem||c.element))){for(var m=0;m<j.length;m++)if(j[m]==e[k].element[0]){e[k].proportions.height=0;continue a}e[k].visible=e[k].element.css("display")!="none";if(e[k].visible)f==
"mousedown"&#038;&#038;e[k]._activate.call(e[k],d),e[k].offset=e[k].element.offset(),e[k].proportions={width:e[k].element[0].offsetWidth,height:e[k].element[0].offsetHeight}}},drop:function(c,d){var e=!1;a.each(a.ui.ddmanager.droppables[c.options.scope]||[],function(){if(this.options&#038;&#038;(!this.options.disabled&#038;&#038;this.visible&#038;&#038;a.ui.intersect(c,this,this.options.tolerance)&#038;&#038;(e=e||this._drop.call(this,d)),!this.options.disabled&#038;&#038;this.visible&#038;&#038;this.accept.call(this.element[0],c.currentItem||c.element)))this.isout=
1,this.isover=0,this._deactivate.call(this,d)});return e},drag:function(c,d){c.options.refreshPositions&#038;&#038;a.ui.ddmanager.prepareOffsets(c,d);a.each(a.ui.ddmanager.droppables[c.options.scope]||[],function(){if(!this.options.disabled&#038;&#038;!this.greedyChild&#038;&#038;this.visible){var e=a.ui.intersect(c,this,this.options.tolerance);if(e=!e&#038;&#038;this.isover==1?"isout":e&#038;&#038;this.isover==0?"isover":null){var f;if(this.options.greedy){var j=this.element.parents(":data(droppable):eq(0)");if(j.length)f=a.data(j[0],"droppable"),
f.greedyChild=e=="isover"?1:0}if(f&#038;&#038;e=="isover")f.isover=0,f.isout=1,f._out.call(f,d);this[e]=1;this[e=="isout"?"isover":"isout"]=0;this[e=="isover"?"_over":"_out"].call(this,d);if(f&#038;&#038;e=="isout")f.isout=0,f.isover=1,f._over.call(f,d)}}})}}})(avpw_jQuery);
(function(a){a.widget("ui.slider",a.ui.mouse,{widgetEventPrefix:"slide",options:{animate:!1,distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null},_create:function(){var c=this,d=this.options;this._mouseSliding=this._keySliding=!1;this._animateOff=!0;this._handleIndex=null;this._detectOrientation();this._mouseInit();this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget ui-widget-content ui-corner-all");d.disabled&#038;&#038;this.element.addClass("ui-slider-disabled ui-disabled");
this.range=a([]);if(d.range){if(d.range===!0){this.range=a("</p>
<div></div>
<p>");if(!d.values)d.values=[this._valueMin(),this._valueMin()];if(d.values.length&#038;&#038;d.values.length!==2)d.values=[d.values[0],d.values[0]]}else this.range=a("</p>
<div></div>
<p>");this.range.appendTo(this.element).addClass("ui-slider-range");(d.range==="min"||d.range==="max")&#038;&#038;this.range.addClass("ui-slider-range-"+d.range);this.range.addClass("ui-widget-header")}a(".ui-slider-handle",this.element).length===0&#038;&#038;a("<a href='#'></a>").appendTo(this.element).addClass("ui-slider-handle");
if(d.values&#038;&#038;d.values.length)for(;a(".ui-slider-handle",this.element).length<d.values.length;)a("<a href='#'></a>").appendTo(this.element).addClass("ui-slider-handle");this.handles=a(".ui-slider-handle",this.element).addClass("ui-state-default ui-corner-all");this.handle=this.handles.eq(0);this.handles.add(this.range).filter("a").click(function(a){a.preventDefault()}).hover(function(){d.disabled||a(this).addClass("ui-state-hover")},function(){a(this).removeClass("ui-state-hover")}).focus(function(){d.disabled?
a(this).blur():(a(".ui-slider .ui-state-focus").removeClass("ui-state-focus"),a(this).addClass("ui-state-focus"))}).blur(function(){a(this).removeClass("ui-state-focus")});this.handles.each(function(c){a(this).data("index.ui-slider-handle",c)});this.handles.keydown(function(d){var f=!0,j=a(this).data("index.ui-slider-handle"),k,m,l;if(!c.options.disabled){switch(d.keyCode){case a.ui.keyCode.HOME:case a.ui.keyCode.END:case a.ui.keyCode.PAGE_UP:case a.ui.keyCode.PAGE_DOWN:case a.ui.keyCode.UP:case a.ui.keyCode.RIGHT:case a.ui.keyCode.DOWN:case a.ui.keyCode.LEFT:if(f=
!1,!c._keySliding&#038;&#038;(c._keySliding=!0,a(this).addClass("ui-state-active"),k=c._start(d,j),k===!1))return}l=c.options.step;k=c.options.values&#038;&#038;c.options.values.length?m=c.values(j):m=c.value();switch(d.keyCode){case a.ui.keyCode.HOME:m=c._valueMin();break;case a.ui.keyCode.END:m=c._valueMax();break;case a.ui.keyCode.PAGE_UP:m=c._trimAlignValue(k+(c._valueMax()-c._valueMin())/5);break;case a.ui.keyCode.PAGE_DOWN:m=c._trimAlignValue(k-(c._valueMax()-c._valueMin())/5);break;case a.ui.keyCode.UP:case a.ui.keyCode.RIGHT:if(k===
c._valueMax())return;m=c._trimAlignValue(k+l);break;case a.ui.keyCode.DOWN:case a.ui.keyCode.LEFT:if(k===c._valueMin())return;m=c._trimAlignValue(k-l)}c._slide(d,j,m);return f}}).keyup(function(d){var f=a(this).data("index.ui-slider-handle");if(c._keySliding)c._keySliding=!1,c._stop(d,f),c._change(d,f),a(this).removeClass("ui-state-active")});this._refreshValue();this._animateOff=!1},destroy:function(){this.handles.remove();this.range.remove();this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all").removeData("slider").unbind(".slider");
this._mouseDestroy();return this},_mouseCapture:function(c){var d=this.options,e,f,j,k,m;if(d.disabled)return!1;this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.offset();e=this._normValueFromMouse({x:c.pageX,y:c.pageY});f=this._valueMax()-this._valueMin()+1;k=this;this.handles.each(function(c){var d=Math.abs(e-k.values(c));f>d&#038;&#038;(f=d,j=a(this),m=c)});d.range===!0&#038;&#038;this.values(1)===d.min&#038;&#038;(m+=1,j=a(this.handles[m]));if(this._start(c,
m)===!1)return!1;this._mouseSliding=!0;k._handleIndex=m;j.addClass("ui-state-active").focus();d=j.offset();this._clickOffset=!a(c.target).parents().andSelf().is(".ui-slider-handle")?{left:0,top:0}:{left:c.pageX-d.left-j.width()/2,top:c.pageY-d.top-j.height()/2-(parseInt(j.css("borderTopWidth"),10)||0)-(parseInt(j.css("borderBottomWidth"),10)||0)+(parseInt(j.css("marginTop"),10)||0)};this.handles.hasClass("ui-state-hover")||this._slide(c,m,e);return this._animateOff=!0},_mouseStart:function(){return!0},
_mouseDrag:function(a){var d=this._normValueFromMouse({x:a.pageX,y:a.pageY});this._slide(a,this._handleIndex,d);return!1},_mouseStop:function(a){this.handles.removeClass("ui-state-active");this._mouseSliding=!1;this._stop(a,this._handleIndex);this._change(a,this._handleIndex);this._clickOffset=this._handleIndex=null;return this._animateOff=!1},_detectOrientation:function(){this.orientation=this.options.orientation==="vertical"?"vertical":"horizontal"},_normValueFromMouse:function(a){var d;this.orientation===
"horizontal"?(d=this.elementSize.width,a=a.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(d=this.elementSize.height,a=a.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0));d=a/d;d>1&#038;&#038;(d=1);d<0&#038;&#038;(d=0);this.orientation==="vertical"&#038;&#038;(d=1-d);a=this._valueMax()-this._valueMin();return this._trimAlignValue(this._valueMin()+d*a)},_start:function(a,d){var e={handle:this.handles[d],value:this.value()};if(this.options.values&#038;&#038;this.options.values.length)e.value=this.values(d), e.values=this.values();return this._trigger("start",a,e)},_slide:function(a,d,e){var f;if(this.options.values&#038;&#038;this.options.values.length){f=this.values(d?0:1);if(this.options.values.length===2&#038;&#038;this.options.range===!0&#038;&#038;(d===0&#038;&#038;e>f||d===1&#038;&#038;e<f))e=f;e!==this.values(d)&#038;&#038;(f=this.values(),f[d]=e,a=this._trigger("slide",a,{handle:this.handles[d],value:e,values:f}),this.values(d?0:1),a!==!1&#038;&#038;this.values(d,e,!0))}else e!==this.value()&#038;&#038;(a=this._trigger("slide",a,{handle:this.handles[d],value:e}),a!==!1&#038;&#038; this.value(e))},_stop:function(a,d){var e={handle:this.handles[d],value:this.value()};if(this.options.values&#038;&#038;this.options.values.length)e.value=this.values(d),e.values=this.values();this._trigger("stop",a,e)},_change:function(a,d){if(!this._keySliding&#038;&#038;!this._mouseSliding){var e={handle:this.handles[d],value:this.value()};if(this.options.values&#038;&#038;this.options.values.length)e.value=this.values(d),e.values=this.values();this._trigger("change",a,e)}},value:function(a){if(arguments.length)this.options.value= this._trimAlignValue(a),this._refreshValue(),this._change(null,0);return this._value()},values:function(c,d){var e,f,j;arguments.length>1&#038;&#038;(this.options.values[c]=this._trimAlignValue(d),this._refreshValue(),this._change(null,c));if(arguments.length)if(a.isArray(arguments[0])){e=this.options.values;f=arguments[0];for(j=0;j<e.length;j+=1)e[j]=this._trimAlignValue(f[j]),this._change(null,j);this._refreshValue()}else return this.options.values&#038;&#038;this.options.values.length?this._values(c):this.value();
else return this._values()},_setOption:function(c,d){var e,f=0;if(a.isArray(this.options.values))f=this.options.values.length;a.Widget.prototype._setOption.apply(this,arguments);switch(c){case "disabled":d?(this.handles.filter(".ui-state-focus").blur(),this.handles.removeClass("ui-state-hover"),this.handles.attr("disabled","disabled"),this.element.addClass("ui-disabled")):(this.handles.removeAttr("disabled"),this.element.removeClass("ui-disabled"));break;case "orientation":this._detectOrientation();
this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation);this._refreshValue();break;case "value":this._animateOff=!0;this._refreshValue();this._change(null,0);this._animateOff=!1;break;case "values":this._animateOff=!0;this._refreshValue();for(e=0;e<f;e+=1)this._change(null,e);this._animateOff=!1}},_value:function(){return this._trimAlignValue(this.options.value)},_values:function(a){var d,e;if(arguments.length)return d=this.options.values[a],this._trimAlignValue(d);
else{d=this.options.values.slice();for(e=0;e<d.length;e+=1)d[e]=this._trimAlignValue(d[e]);return d}},_trimAlignValue:function(a){if(a<=this._valueMin())return this._valueMin();if(a>=this._valueMax())return this._valueMax();var d=this.options.step>0?this.options.step:1,e=(a-this._valueMin())%d;alignValue=a-e;Math.abs(e)*2>=d&#038;&#038;(alignValue+=e>0?d:-d);return parseFloat(alignValue.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var c=
this.options.range,d=this.options,e=this,f=!this._animateOff?d.animate:!1,j,k={},m,l,p,q;if(this.options.values&#038;&#038;this.options.values.length)this.handles.each(function(c){j=(e.values(c)-e._valueMin())/(e._valueMax()-e._valueMin())*100;k[e.orientation==="horizontal"?"left":"bottom"]=j+"%";a(this).stop(1,1)[f?"animate":"css"](k,d.animate);if(e.options.range===!0)if(e.orientation==="horizontal"){if(c===0)e.range.stop(1,1)[f?"animate":"css"]({left:j+"%"},d.animate);if(c===1)e.range[f?"animate":"css"]({width:j-
m+"%"},{queue:!1,duration:d.animate})}else{if(c===0)e.range.stop(1,1)[f?"animate":"css"]({bottom:j+"%"},d.animate);if(c===1)e.range[f?"animate":"css"]({height:j-m+"%"},{queue:!1,duration:d.animate})}m=j});else{l=this.value();p=this._valueMin();q=this._valueMax();j=q!==p?(l-p)/(q-p)*100:0;k[e.orientation==="horizontal"?"left":"bottom"]=j+"%";this.handle.stop(1,1)[f?"animate":"css"](k,d.animate);if(c==="min"&#038;&#038;this.orientation==="horizontal")this.range.stop(1,1)[f?"animate":"css"]({width:j+"%"},d.animate);
if(c==="max"&#038;&#038;this.orientation==="horizontal")this.range[f?"animate":"css"]({width:100-j+"%"},{queue:!1,duration:d.animate});if(c==="min"&#038;&#038;this.orientation==="vertical")this.range.stop(1,1)[f?"animate":"css"]({height:j+"%"},d.animate);if(c==="max"&#038;&#038;this.orientation==="vertical")this.range[f?"animate":"css"]({height:100-j+"%"},{queue:!1,duration:d.animate})}}});a.extend(a.ui.slider,{version:"1.8.11"})})(avpw_jQuery);typeof AV=="undefined"&#038;&#038;(AV={});AV.FlashControls=function(){};AV.FlashControls.prototype={setup:function(){},enablePlugin:function(a){AV_paintWidget.onModuleLoaded(a)},activatePlugin:function(){},deactivatePlugin:function(){},onPreviewRendered:function(){},syncProperty:function(){},syncPreview:function(){}};
Aviary=function(){var a={UPLOAD_TO_SERVER:"UPLOAD_TO_SERVER",UPLOAD_TO_AVIARY:"UPLOAD_TO_AVIARY",REPLACE_IMAGE:"REPLACE_IMAGE",log:function(){}},c=typeof document.getElementById!="undefined"&#038;&#038;typeof document.getElementsByTagName!="undefined"&#038;&#038;typeof document.createElement!="undefined",d=navigator.userAgent.toLowerCase(),e=navigator.platform.toLowerCase(),f=e?/win/.test(e):/win/.test(d),e=e?/mac/.test(e):/mac/.test(d),d=/webkit/.test(d)?parseFloat(d.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):!1,
j=AV__getInternetExplorerVersion()>0;a.w3=c;a.wk=d;a.ie=j;a.win=f;a.mac=e;return a}();
Aviary.Plugins=function(){return{Crop:{id:"crop",name:"Crop",file:AV_feather_baseURL+"crop.swf",text:"Draw the crop rect, drag it by clicking inside or redraw clicking outside. Press ENTER to apply."},Resize:{id:"resize",name:"Resize",file:AV_feather_baseURL+"resize.swf",text:"Resize an image. Use the preview rectangle to see the quality of the resized image.",controls:[{type:"slider",id:"width",name:"Width","default":"@width",from:100,to:3E3},{type:"slider",id:"height",name:"Height","default":"@height",
from:100,to:3E3},{type:"checkbox",id:"keep_proportions",name:"Keep proportions",selected:!0}]},Rotate:{id:"rotate90",name:"Rotate",file:AV_feather_baseURL+"rotate90.swf",text:"Rotate an image.",presets:[{angle:0},{angle:90},{angle:180},{angle:270}],controls:[{type:"slider",id:"rotation",name:"Rotation","default":"0",from:-360,to:360}]},RedEyeRemoval:{id:"redeye",name:"Red Eye Removal",file:AV_feather_baseURL+"redeye.swf",text:"The Red Eyes Removal plugin can be used to remove red eyes caused by the camera flash. Draw with the brush onto the eyes you want to heal.",
controls:[{type:"slider",id:"threshold",name:"Threshold",description:"The amount of red used to guess if the region is a red eye or not.","default":50,from:0,to:100},{type:"slider",id:"radius",name:"Brush size",description:"The size of the brush.","default":10,from:2,to:40}]},Colors:{id:"colors",name:"Colors",file:AV_feather_baseURL+"colors.swf",text:"The Colors plugin bla bla bla.",controls:[{type:"slider",id:"hue",name:"Hue","default":0,from:-180,to:180},{type:"slider",id:"saturation",name:"Saturation",
"default":0,from:-100,to:100},{type:"slider",id:"brightness",name:"Saturation","default":0,from:-100,to:100}],presets:[{hue:-90,saturation:0,brightness:0},{hue:0,saturation:-100,brightness:0},{hue:90,saturation:0,brightness:0}]},Saturation:{id:"saturation",name:"Saturation",file:AV_feather_baseURL+"saturation.swf",presets:[{value:0},{value:0.66},{value:1.33},{value:2}]},Brightness:{id:"brightness",name:"Brightness",file:AV_feather_baseURL+"brightness.swf",text:"Brightness adjustment",presets:[{brightnessvalue:0.33,
contrastvalue:1},{brightnessvalue:0.77,contrastvalue:1},{brightnessvalue:1.22,contrastvalue:1},{brightnessvalue:1.66,contrastvalue:1}]},Contrast:{id:"contrast",name:"Contrast",file:AV_feather_baseURL+"contrast.swf",presets:[{contrastvalue:0.33,brightnessvalue:1},{contrastvalue:0.77,brightnessvalue:1},{contrastvalue:1.22,brightnessvalue:1},{contrastvalue:1.66,brightnessvalue:1}]},Blur:{id:"blur",name:"Blur",file:AV_feather_baseURL+"blur.swf",presets:[{radius:0},{radius:5},{radius:10},{radius:15}]},
Sharpen:{id:"sharpen",name:"Sharpen",file:AV_feather_baseURL+"sharpen.swf",presets:[{value:0},{value:33},{value:66},{value:100}]},Blemish:{id:"blemish",name:"Blemish",file:AV_feather_baseURL+"blemish.swf"},Drawing:{id:"drawing",name:"Drawing",file:AV_feather_baseURL+"drawing.swf"},Overlay:{id:"overlay",name:"Stickers",file:AV_feather_baseURL+"overlay.swf"},Text:{id:"text",name:"Text",file:AV_feather_baseURL+"text.swf"},Flip:{id:"flip",name:"Flip",presets:[{vertical:!1,horizontal:!1},{vertical:!1,
horizontal:!0},{vertical:!0,horizontal:!1},{vertical:!0,horizontal:!0}],file:AV_feather_baseURL+"flip.swf"}}}();
Aviary.DOM=function(){var a=/\s*([a-zA-Z_][a-zA-Z_0-9]*)\s*(#\s*([a-zA-Z_][a-zA-Z_0-9]*))?\s*(\.\s*(.+))?\s*/;return{getElement:function(a){return a instanceof Aviary.Node?a.el:a},getNode:function(a){if(!a||a instanceof Aviary.Node)return a;if(typeof a=="string")return Aviary.DOM.getNode(document.getElementById(a));return new Aviary.Node(a)},create:function(c,d,e){var c=a.exec(c),f=c[3],j=c[5],c=document.createElement(c[1]);if(f)c.id=f;if(j)c.className=j;if(d)for(var k in d)c.style[k]=d[k];if(e){d=
e.length;for(k=0;k<d;++k)c.appendChild(Aviary.DOM.getElement(e[k]))}return new Aviary.Node(c)},text:function(a){return document.createTextNode(a)},embedSWF:function(a,d,e,f,j){var j=j||{},k={};k.id=a;k.name=a;k.align="middle";this._embedSWF(d||a+".swf",a+"Content",e||"100%",f||"100%","10.0.32","",j,{quality:"high",bgcolor:"#808080",allowscriptaccess:"always",allowfullscreen:"true"},k)},_embedSWF:function(a,d,e,f,j,k,m,l,p){e+="";f+="";j={};if(p&#038;&#038;typeof p==="object")for(var q in p)j[q]=p[q];j.data=
a;j.width=e;j.height=f;a={};if(l&#038;&#038;typeof l==="object")for(var v in l)a[v]=l[v];if(m&#038;&#038;typeof m==="object")for(var u in m)typeof a.flashvars!="undefined"?a.flashvars+="&#038;"+u+"="+m[u]:a.flashvars=u+"="+m[u];this._createSWF(j,a,d)},_createSWF:function(a,d,e){var f=document.getElementById(e);if(f){if(typeof a.id=="undefined")a.id=e;if(Aviary.ie&#038;&#038;Aviary.win){var j="",k;for(k in a)if(a[k]!=Object.prototype[k])k.toLowerCase()=="data"?d.movie=a[k]:k.toLowerCase()=="styleclass"?j+=' class="'+a[k]+'"':k.toLowerCase()!=
"classid"&#038;&#038;(j+=" "+k+'="'+a[k]+'"');k="";for(var m in d)d[m]!=Object.prototype[m]&#038;&#038;(k+='<param name="'+m+'" value="'+d[m]+'" />');f.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+j+">"+k+"</object>";typeof objIdArr=="undefined"&#038;&#038;(objIdArr=[]);objIdArr[objIdArr.length]=a.id}else{m=document.createElement("object");m.setAttribute("type","application/x-shockwave-flash");for(j in a)a[j]!=Object.prototype[j]&#038;&#038;(j.toLowerCase()=="styleclass"?m.setAttribute("class",a[j]):j.toLowerCase()!=
"classid"&#038;&#038;m.setAttribute(j,a[j]));for(var l in d)d[l]!=Object.prototype[l]&#038;&#038;l.toLowerCase()!="movie"&#038;&#038;this._createObjParam(m,l,d[l]);f.parentNode.replaceChild(m,f)}}},_createObjParam:function(a,d,e){var f=document.createElement("param");f.setAttribute("name",d);f.setAttribute("value",e);a.appendChild(f)}}}();Aviary.Node=function(a){this.el=a};
Aviary.Node.prototype=function(){var a=Aviary.DOM.getNode,c=Aviary.DOM.getElement;return{parent:function(){return a(this.el.parentNode)},show:function(){this.el.style.display="block"},hide:function(){this.el.style.display="none"},add:function(){for(var a=0;a<arguments.length;++a)this.el.appendChild(c(arguments[a]));return this},remove:function(){this.el.parentNode&#038;&#038;this.el.parentNode.removeChild(this.el);return this},move:function(c){c=a(c);this.remove();c.add(this);return this},prop:function(a){for(var c in a)this.el[c]=
a[c];return this}}}();Aviary.Canvas=function(a){this.canvas=document.getElementById(a)};
Aviary.Canvas.prototype={setup:function(a,c){var d;Aviary.log("Setting up canvas");typeof AV_proxyServer!="undefined"?(d=AV_proxyServer+"?url="+escape(a),Aviary.log("Setting up canvas:",d),this.canvas.setup(d,c)):(Aviary.log("Setting up canvas (localtest!!):",a),this.canvas.setup(a,c))},activatePlugin:function(a){this.canvas.activatePlugin(a)},deactivatePlugin:function(a){this.canvas.deactivatePlugin(a)},executePlugin:function(){this.canvas.executePlugin()},renderGoldenEgg:function(a,c,d){this.canvas.renderGoldenEgg(a,
c,d)},changeProperty:function(a,c){this.canvas.changeProperty(a,c)},commit:function(a,c){this.canvas.commit(a,c)},undo:function(){this.canvas.undo()},redo:function(){this.canvas.redo()},doCrop:function(){this.canvas.executeCrop()},renderPreview:function(a,c){this.canvas.renderPreview(a,c)},getHistory:function(){return this.canvas.getHistory()},getDynamicPropertyDefaultValue:function(a){return this.canvas.getDynamicPropertyDefaultValue(a)}};Aviary.Controls=function(){this.controls=new AV.FlashControls};
Aviary.Controls.prototype={setup:function(a){this.controls.setup(a)},enablePlugin:function(a,c){this.controls.enablePlugin(a,c)},activatePlugin:function(a){this.controls.activatePlugin(a)},deactivatePlugin:function(a){this.controls.deactivatePlugin(a)},onPreviewRendered:function(a,c){this.controls.onPreviewRendered(a,c)},syncProperty:function(a,c){this.controls.syncProperty(a,c)},syncPreview:function(a){this.controls.syncPreview(a)}};Aviary.Bridge=function(){};
Aviary.Bridge.prototype=function(){var a=Aviary.DOM.getNode,c=Aviary.DOM.create,d=Aviary.log;return{listEditableImages:function(){return document.getElementsByTagName("img")},getPlugins:function(){return[Aviary.Plugins.Crop,Aviary.Plugins.Resize,Aviary.Plugins.Rotate,Aviary.Plugins.RedEyeRemoval,Aviary.Plugins.Colors,Aviary.Plugins.Brightness,Aviary.Plugins.Saturation,Aviary.Plugins.Contrast,Aviary.Plugins.Blemish,Aviary.Plugins.Overlay,Aviary.Plugins.Drawing,Aviary.Plugins.Text,Aviary.Plugins.Flip]},
setEditable:function(d){var d=a(d),f=c("div",{position:"relative",display:"inline"});d.parent().add(f.add(c("a",{fontSize:"22px",fontWeight:"bold",textDecoration:"none",right:"10px",bottom:"10px",position:"absolute"})));var j=a(f.el.getElementsByTagName("a")[0]);j.hide();d.move(f);f.prop({onmouseover:function(){j.show()},onmouseout:function(){j.hide()}})},createCanvas:function(){this.initsize?Aviary.DOM.embedSWF("canvas",AV_feather_baseURL+"canvas.swf",this.initsize.width,this.initsize.height):Aviary.DOM.embedSWF("canvas",
AV_feather_baseURL+"canvas.swf");Aviary.DOM.embedSWF("thumb1",AV_feather_baseURL+"Thumb.swf","64px","64px",{callback:"AV_FlashThumbClickCallback",uid:"thumb1"});Aviary.DOM.embedSWF("thumb2",AV_feather_baseURL+"Thumb.swf","64px","64px",{callback:"AV_FlashThumbClickCallback",uid:"thumb2"});Aviary.DOM.embedSWF("thumb3",AV_feather_baseURL+"Thumb.swf","64px","64px",{callback:"AV_FlashThumbClickCallback",uid:"thumb3"});Aviary.DOM.embedSWF("thumb4",AV_feather_baseURL+"Thumb.swf","64px","64px",{callback:"AV_FlashThumbClickCallback",
uid:"thumb4"})},createControls:function(){this._onComponentLoaded("controls")},setupEditingUI:function(){a("editorOverlay")},destroyEditingUI:function(){var c=a("editorOverlay");c&#038;&#038;c.remove()},onSave:function(a){return this.onEndEditing(a)},onEndEditing:function(a){a.commit(Aviary.UPLOAD_TO_AVIARY,{url:"http://test.viary.com/apps/xmlapi/receiver.aspx?auid=aviaryframework",name:"image2"})},onCommitComplete:function(a){d("Commit has been completed:",a);AV__controlsWidget_onImageSaved(a.url)},_onComponentLoaded:function(a){Aviary.log("_onComponentLoaded: ",
a);switch(a){case "canvas":Aviary.API._onCanvasLoaded(new Aviary.Canvas("canvas"));break;case "controls":Aviary.API._onControlsLoaded(new Aviary.Controls("controls"))}},_onComponentReady:function(a){Aviary.log("_onComponentReady: ",a);switch(a){case "canvas":Aviary.API._onCanvasReady();break;case "controls":Aviary.API._onControlsReady()}}}}();
Aviary.API=function(){var a=Aviary.log,c=Aviary.DOM.getNode,d=Aviary.DOM.getElement;return{customBridge:function(a){var c=function(){};c.prototype=new Aviary.Bridge;c.prototype.constructor=Aviary.Bridge;for(var d in a)c.prototype[d]=a[d];return c},activate:function(a){this.bridge=a||new Aviary.Bridge;this._install();this.goldenEggCallback=null},startEditing:function(d){a("startEditing: ",d);d=c(d);this.controls=this.canvas=null;this.active_target=d;this.bridge.setupEditingUI();this.bridge.createCanvas();
this.bridge.createControls()},restartEditing:function(a){this.active_target=a=c(a);this._setupEditing()},save:function(){this.bridge.onSave(this.canvas)},close:function(){this.bridge.destroyEditingUI()},runGoldenEgg:function(a,c,d,k){this.goldenEggCallback=k;this.canvas.renderGoldenEgg(a,c,d)},doCrop:function(){this.canvas.doCrop()},endEditing:function(){this.bridge.onEndEditing(this.canvas);this.goldenEggCallback=null},activatePlugin:function(c){a("Activate plugin:",c);this.canvas.activatePlugin(c);
this.controls.activatePlugin(c)},deactivatePlugin:function(c){a("Dectivate plugin:",c,this.canvas,this.controls);this.canvas.deactivatePlugin(c);this.controls.deactivatePlugin(c)},changeProperty:function(c,d){a("Changing property:",c,d);this.canvas.changeProperty(c,d)},resizeCanvas:function(a,c){var d=this.canvas.canvas;d.width=a+"px";d.height=c+"px"},getCanvasWidth:function(){return parseInt(this.canvas.canvas.width)},getCanvasHeight:function(){return parseInt(this.canvas.canvas.height)},executePlugin:function(){this.canvas.executePlugin()},
renderPreview:function(a,c){this.canvas.renderPreview(a,c)},getDynamicPropertyDefaultValue:function(a){return this.canvas.getDynamicPropertyDefaultValue(a)},syncProperty:function(a,c){this.controls.syncProperty(a,c)},syncPreview:function(a){this.controls.syncPreview(a)},setImageData:function(a,d){c(a).el.src=d},setThumb:function(a,c){var d=document.getElementById("thumb"+a);d&#038;&#038;d.refreshThumb(c)},getHistory:function(){return this.canvas.getHistory()},_cropSelectionStarted:function(){},_onPreviewRendered:function(a,
c){this.controls.onPreviewRendered(a,c)},_onPluginLoaded:function(c,d){a("Enabling plugin:",c);this.controls.enablePlugin(c,d)},_onImageLoaded:function(){a("Image loaded");AV_paintWidgetLauncher_Flash_stage2&#038;&#038;AV_paintWidgetLauncher_Flash_stage2()},_onGoldenEggComplete:function(){this.goldenEggCallback&#038;&#038;this.goldenEggCallback()},_onCanvasLoaded:function(a){this.canvas=a;null!=this.controls&#038;&#038;(Aviary.log("_onCanvasLoaded, setting up editing"),this._setupEditing())},_onControlsLoaded:function(a){this.controls=
a;null!=this.canvas&#038;&#038;this._setupEditing()},_onCanvasReady:function(){this.canvas.ready=!0;this.controls.ready&#038;&#038;this._activateEditing()},_onControlsReady:function(){this.controls.ready=!0;this.canvas.ready&#038;&#038;this._activateEditing()},_onCommitComplete:function(a){this.bridge.onCommitComplete(a)},_setupEditing:function(){a("Setup Editing");var c=this.bridge.getPlugins();this.controls.setup(c);this.canvas.setup(d(this.active_target).src,c)},_activateEditing:function(){a("Editing")},_install:function(){for(var c=
this.bridge.listEditableImages(),d=[],j=0;j<c.length;++j)d.push(c[j]);c=this.targets=d;a("Installing Widget on "+c.length+" images");for(d=0;d<c.length;++d)this.bridge.setEditable(c[d],!0)},_onUndo:function(){a("undo");this.canvas.undo()},_onRedo:function(){a("redo");this.canvas.redo()}}}();
function AviaryAPIActivate(a){var c=Aviary.log;Aviary.API.activate(function(){if(!a)return new Aviary.Bridge;if(a.plugins){for(var d=[],e=a.plugins.toLowerCase().split(","),f=0;f<e.length;++f){var j=e[f],k;for(k in Aviary.Plugins){var m=Aviary.Plugins[k];c("Adding plugin: "+k);if(m.id==j||m.name.toLowerCase()==j){c("Added plugin: "+j);d.push(m);break}}}c("Plugins: ",d.length);if(d.length>0)a.getPlugins=function(){return d};delete a.plugins}if(a.targets){for(var l=[],f=0;f<a.targets.length;++f)l.push(document.getElementById(a.targets[f]));
a.listEditableImages=function(){return l};delete a.targets}if(a.action){var p=a.action;a.onSave=function(a){a.commit(p.type,p)};delete a.action}e=function(){};e.prototype=new Aviary.Bridge;e.prototype.constructor=Aviary.Bridge;for(var q in a)e.prototype[q]=a[q];return new e}())};typeof AV=="undefined"&#038;&#038;(AV={});var AV_paintWidget,AV_controlsWidget;AV__getWidgetURL="http://www.aviary.com/html5";AV__giveFeedbackURL="http://www.aviary.com/contactus";typeof AV__jsonp_imgserver=="undefined"&#038;&#038;(AV__jsonp_imgserver="imgjsonpserver.cgi");AV.toolDefaults={redeye:{initialvalue:10},greeneye:{initialvalue:10},bulge:{radius:100,maxradius:200,power:50},pinch:{radius:100,maxradius:200,power:50},whiten:{initialvalue:10},blemish:{initialvalue:5},drawing:{width:10}};
AV.usageTracker=function(){var a=null,c={},d=[],e,f,j,k,m,l,p;return{clear:function(){a=null;c={};d=[]},getUUID:function(){if(a)return a;return a=Math.floor(Math.random()*4294967295).toString(16)+Math.floor(Math.random()*4294967295).toString(16)},addUsage:function(a,d){d||(d=1);c[a]===void 0?c[a]=d:c[a]+=d},setPageCount:function(a){var c;d=Array(a);for(c=0;c<a;c++)d[c]=0},addPageHit:function(a){a!==e&#038;&#038;d[a]++;e=a},submit:function(a){f||(f=avpw$("#avpw_track_form"),j=avpw$("#avpw_track_form_action"),
k=avpw$("#avpw_track_form_sessionid"),m=avpw$("#avpw_track_form_apikey"),l=avpw$("#avpw_track_form_data"),p=avpw$("#avpw_img_track_target_holder"));if(typeof AV_imgtrackServer!=="undefined"){j.val(a);k.val(this.getUUID());m.val(AV_launchData.APIKey);switch(a){case "close":l.val(AV.JSON.stringify({dataver:1,opentype:Feather_OpenType,pagehits:d,toolusage:c}));break;default:l.val("")}p.html(AV.buildHiddenFrame("avpw_img_track_target"));avpw$("#avpw_img_track_target").load(function(){setTimeout(function(){p.empty()},
5)});setTimeout(function(){f.submit()},5)}}}}();
function AV_paintWidgetGetPopupEmbedDiv(a){var c,d,e,f=["top","left","bottom","right","margin-top","margin-right","margin-bottom","margin-left","border-top","border-right","border-bottom","border-left","padding-top","padding-right","padding-bottom","padding-left"];c=avpw$("#avpw_canvas_embed_popup");if(c.length==0)c=document.createElement("div"),c.id="avpw_canvas_embed_popup";d=avpw$(a).css("display");if(d==""||d=="inline")d="inline-block";avpw$(c).css("display",d);for(d=0;d<f.length;d++)e=f[d],avpw$(c).css(e, avpw$(a).css(e));avpw$(c).hide();avpw$(c).css("position","relative");avpw$(c).insertBefore(a);return c}function AV_paintWidgetLauncher(a,c,d,e){if(!(typeof AV_paintWidget!="undefined"&#038;&#038;AV_paintWidget)){AV.usageTracker.clear();avpw$("#avpw_version").show();var f=AV__getInternetExplorerVersion();if(f>0&#038;&#038;f<9)document.getElementById("avpw_controls_2").onselectstart=function(){return!1};return AV__featherUseFlash?AV_paintWidgetLauncher_Flash(a,c,d,e):AV_paintWidgetLauncher_HTML(a,c,d,e)}}
function AV_mapToFlashToolName(a){switch(a){case "rotate":return"rotate90"}return a}function AV_mapFromFlashToolName(a){switch(a){case "rotate90":return"rotate"}return a}
function AV_getActiveTools(a,c){var d=a;typeof a==="string"&#038;&#038;(d=a.split(","));var e=[],f,j={},k;if(c)for(k=0;k<c.length;k++)f=c[k],j[f]=!0;for(k=0;k<d.length;k++)if(f=d[k],!(c&#038;&#038;f in j)&#038;&#038;(f==="stickers"&#038;&#038;(f="overlay"),e.push(f),f==="overlay"&#038;&#038;(f=AV_launchData.stickers,f[0]&#038;&#038;f[0].contents)))for(var m=1;m<f.length;m++)e.push("overlay");return e}
function AV_paintWidgetLauncher_Flash(a,c,d,e){function f(){avpw$(k).unbind("load",f);p=AV_controlsWidget.layoutNotify(Feather_OpenType,"getScaledImageDims_Flash",[m,k]);q=p.width;v=p.height;AV_controlsWidget.setMinWidth(q);AV_paintWidget=new AV.PaintWidget(q,v);AV_paintWidget.setOrigSize(q,v);AV_paintWidget.setActionListScaleFactor(AV_controlsWidget.calcActionListScaleFactor(k.width));var A=document.createElement("div");A.id="canvasContent";avpw$(m).append(A);AV_controlsWidget.initAllTools.AV_bindInst(AV_controlsWidget)();
for(u=0;u<C.length;u++)z=C[u],l.push(AV_mapToFlashToolName(z));l=l.join(",");var K={targets:[a.id],initsize:p,plugins:l,action:{posturl_:AV_launchData.postURL,hiresUrl_:AV_launchData.hiResURL,origUrl_:c?c:j.src,postdata_:typeof d=="undefined"?"":d,partnerHash_:"",sessionID_:AV.usageTracker.getUUID(),referrerUrl_:"",type:Aviary.UPLOAD_TO_AVIARY,url:AV_imgrecvServer,name:"file",fileFormat:AV_launchData.fileFormat,jpgQuality:AV_launchData.jpgQuality,debug:AV_launchData.debug,asyncSave:AV_launchData.asyncSave}}; AV_controlsWidget.layoutNotify(Feather_OpenType,"hideOriginalImage",[j]);AV_controlsWidget.layoutNotify(Feather_OpenType,"placeControls_Flash",[e]);avpw$("#avpw_controls").fadeIn(300);AV_launchData.noCloseButton&#038;&#038;avpw$("#avpw_control_cancel_pane").css("display","none");setTimeout(function(){AviaryAPIActivate(K);var c=Aviary.DOM.getNode(a);Aviary.API.startEditing(c);AV_controlsWidget.initWithPaintWidget(AV_paintWidget);AV_controlsWidget.setPanelMode(null);AV_controlsWidget.loaderPhase=1},300)}var j= AV_getImageElem(a),k,m,l=[],p,q,v,u,z,A;AV__getInternetExplorerVersion();var C=AV_getActiveTools(AV_launchData.editOptions,["whiten","barrel","bulge","pinch"]);AV_controlsWidget=new AV.ControlsWidget(null,a,d,C);AV_controlsWidget.layoutNotify(Feather_OpenType,"onLaunch");avpw$(".avpw_isa_previewcanvas").hide();m=AV_controlsWidget.layoutNotify(Feather_OpenType,"getEmbedElement",[j]);avpw$(m).show();A=typeof AV_closureCompiled!="undefined"?"js/featherpaint_flash.js":"js/paintwidget_glue.js";k=document.createElement("img"); avpw$(k).css({display:"block",visibility:"hidden",position:"absolute"}).attr("src",avpw$(j).attr("src"));AV_loadFile(AV_feather_baseURL+A,"js",function(){AV_imgOnLoad(k,f)})} function AV_paintWidgetLauncher_Flash_stage2(){AV_controlsWidget.loaderPhase=2;AV_controlsWidget.layoutNotify(Feather_OpenType,"launchStage2_Flash");AV_controlsWidget.showWaitThrobber(!1);avpw$(AV_controlsWidget.onEggWaitThrobber).hide();AV_controlsWidget.showFlashThumbs(null,!1);AV.usageTracker.submit("launch");AV_fireLaunchComplete()} function AV_paintWidgetLauncher_HTML(a,c,d,e){var f=AV_getImageElem(a),j,k={},m,l,p=AV_getActiveTools(AV_launchData.editOptions);AV.isRelaunched&#038;&#038;typeof f.avpw_prevURL!="undefined"&#038;&#038;(c=f.avpw_prevURL);AV_controlsWidget=new AV.ControlsWidget(null,a,d,p);AV_controlsWidget.layoutNotify(Feather_OpenType,"onLaunch");AV_controlsWidget.origURL=c?c:avpw$(f).attr("src");AV_controlsWidget.layoutNotify(Feather_OpenType,"placeControls",[e]);avpw$("#avpw_controls").fadeIn(300);AV_launchData.noCloseButton&#038;&#038;avpw$("#avpw_control_cancel_pane").css("display", "none");this.addEventListener("message",AV__controlsWidget_MessageHandler,!1);m=typeof AV_closureCompiled!="undefined"?"js/featherpaint.js":"js/paintwidget.js";embedElement=AV_controlsWidget.layoutNotify(Feather_OpenType,"getEmbedElement",[f]);j=document.createElement("img");j.id="avpw_temp_loading_image";AV_tempLoadingImage=j.src;avpw$(j).load(function(){function e(){avpw$(AV_controlsWidget.waitThrobber).unbind();topSpace=parseInt((k.height-AV_controlsWidget.waitThrobber.height)/2,10);leftSpace= parseInt((k.width-AV_controlsWidget.waitThrobber.width)/2,10);avpw$(AV_controlsWidget.waitThrobber).css({position:"absolute",top:topSpace,left:leftSpace});avpw$(embedElement).append(AV_controlsWidget.waitThrobber)}l=AV_controlsWidget.getScaledDims(f.width,f.height);j.width=l.width;j.height=l.height;k.width=j.width;k.height=j.height;avpw$(j).unbind();avpw$(j).css("display","block");avpw$(embedElement).append(j);AV_controlsWidget.showWaitThrobber(!0);AV_controlsWidget.waitThrobber.complete||AV_controlsWidget.waitThrobber.readyState=== 4?e():avpw$(AV_controlsWidget.waitThrobber).load(e);AV_controlsWidget.layoutNotify(Feather_OpenType,"hideOriginalImage",[f]);avpw$(embedElement).show();setTimeout(function(){AV_paintWidgetLauncher_stage2(a,c,d)},5)});j.src=f.src;return!1} function AV_paintWidgetRelauncher(a,c){return AV__featherUseFlash?AV_paintWidgetRelauncher_Flash(a,c):AV_paintWidgetRelauncher_HTML(a,c)} function AV_paintWidgetRelauncher_Flash(a){AV_controlsWidget.showView("main");AV_controlsWidget.setPanelMode(null);AV_controlsWidget.paintWidget.setMode(null);var c=document.createElement("img");avpw$(c).css("display","none");avpw$(document.documentElement).append(c);avpw$(c).load(function(){var a=avpw$(c).width();AV_controlsWidget.setMinWidth(a);AV_controlsWidget.setActionListScaleFactor(a);Aviary.API.restartEditing(c)});avpw$(c).attr("src",a)} function AV_paintWidgetRelauncher_HTML(a,c){var d=AV_getImageElem(AV_controlsWidget.paintImgIdElem),e=document.createElement("img");e.id="avpw_temp_loading_image";avpw$(e).css({width:AV_paintWidget.width,height:AV_paintWidget.height,display:"block"}).load(function(){function f(){avpw$(AV_controlsWidget.waitThrobber).unbind();topSpace=parseInt((e.height-AV_controlsWidget.waitThrobber.height)/2,10);leftSpace=parseInt((e.width-AV_controlsWidget.waitThrobber.width)/2,10);avpw$(AV_controlsWidget.waitThrobber).css({position:"absolute", top:topSpace,left:leftSpace});avpw$(j).append(AV_controlsWidget.waitThrobber)}AV_controlsWidget.showView("main");AV_controlsWidget.setPanelMode(null);AV_controlsWidget.paintWidget.setMode(null);AV_controlsWidget.shutdownAllTools.AV_bindInst(AV_controlsWidget)();var j=avpw$("#avpw_canvas_embed");avpw$(j).children().remove();AV_paintWidget.shutdown();AV_controlsWidget.paintWidget=null;AV_controlsWidget.unbindControls();AV.flashThumbSet.shutdown();avpw$(j).append(e);avpw$(e).show();AV_controlsWidget.showWaitThrobber(!0); AV_controlsWidget.waitThrobber.complete||AV_controlsWidget.waitThrobber.readyState===4?f():avpw$(AV_controlsWidget.waitThrobber).load(f);avpw$(j).show();AV_controlsWidget.filterEggs.setup.AV_bindInst(AV_controlsWidget)();AV_controlsWidget.origURL=a;setTimeout(function(){AV_paintWidgetLauncher_stage2(d,a,c)},5)});e.src=AV_tempLoadingImageSrc;return!1} function AV_paintWidgetLauncher_stage2(a,c){var d=AV_getImageElem(a),e,f,j,k;f=AV_controlsWidget.getScaledDims(d.width,d.height);j=f.width;k=f.height;AV_controlsWidget.loaderPhase=1;AV_controlsWidget.setMinWidth(j);AV_paintWidget=new AV.PaintWidget(j,k);AV_paintWidget.setOrigSize(j,k);AV_paintWidget.setActionListScaleFactor(AV_controlsWidget.calcActionListScaleFactor(d.width));AV_controlsWidget.initWithPaintWidget(AV_paintWidget);c!=null?avpw$.ajax({type:"GET",dataType:"json",url:AV__jsonp_imgserver+ "?callback=?",data:{url:escape(c)},success:function(a){e=new Image;avpw$(e).load(function(){f=AV_controlsWidget.getScaledDims(e.width,e.height);e.width=f.width;e.height=f.height;AV_paintWidget.setDimensions(e.width,e.height);AV_paintWidget.setBackground(e);avpw$(AV_paintWidget.canvas).insertBefore("#avpw_temp_loading_image");avpw$("#avpw_temp_loading_image").remove();AV_tempLoadingImageSrc=c;AV_controlsWidget.showWaitThrobber(!1);AV_controlsWidget.loaderPhase=2}).attr("src",a.data)}}):(AV_paintWidget.setBackground(d), avpw$("#avpw_controls").insertAfter(AV_paintWidget.canvas),avpw$(AV_paintWidget.canvas).insertBefore("#avpw_temp_loading_image"),avpw$("#avpw_temp_loading_image").remove(),AV_tempLoadingImageSrc=d.src,AV_controlsWidget.showWaitThrobber(!1),avpw$(AV_controlsWidget.onEggWaitThrobber).hide(),AV_controlsWidget.loaderPhase=2);AV.usageTracker.submit("launch");AV_fireLaunchComplete();return!1} function AV_fireLaunchComplete(){AV_launchData.startTool&#038;&#038;AV_controlsWidget.setActiveTool(AV_launchData.startTool);if(typeof AV_launchData.onLaunchComplete==="function")AV_launchData.onLaunchComplete()} function AV_paintWidgetShutdown(){AV__featherUseFlash||this.removeEventListener("message",AV__controlsWidget_MessageHandler,!1);avpw$("#avpw_controls").hide();AV__featherUseFlash&#038;&#038;Aviary.API.close();AV_controlsWidget.layoutNotify(Feather_OpenType,"onShutdown");if(typeof AV_launchData.onClose==="function")AV_launchData.onClose(AV_paintWidget.dirty);AV_paintWidget.shutdown();AV_controlsWidget.shutdown();AV.flashThumbSet.shutdown();AV.usageTracker.submit("close");AV_tempLoadingImageSrc=AV_controlsWidget= AV_paintWidget=null}AV_paintWidgetCloser=function(a){AV_controlsWidget.layoutNotify(Feather_OpenType,"onClose",[a]);a?(avpw$("#avpw_controls").hide(),AV_paintWidgetShutdown()):avpw$("#avpw_controls").fadeOut(300,AV_paintWidgetShutdown)};AV_paintWidgetActivateTool=function(a){AV_controlsWidget.setActiveTool(a)}; function AV__getDomain(a,c){var d,e,f;d=a.substr(0,7)=="http://"?7:a.substr(0,8)=="https://"?8:a.substr(0,6)=="ftp://"?6:0;e=a.indexOf("/",d);if(e==-1)e=a.length;c||(f=a.lastIndexOf(".",e),f=a.lastIndexOf(".",f-1),d=f==-1?d:f+1);return a.substring(d,e)} AV__controlsWidget_onImageSaved=function(a){if(typeof AV_launchData.onSave==="function")AV_launchData.onSave(AV_getImageId(AV_controlsWidget.paintImgIdElem),a);AV_getImageElem(AV_controlsWidget.paintImgIdElem).avpw_prevURL=a;AV_controlsWidget.showView("main");AV_controlsWidget.setPanelMode(null);AV_controlsWidget.paintWidget.setMode(null);AV_controlsWidget.setLastPanel("avpw_aviary_beensaved");AV_controlsWidget.paintWidget.dirty=!1;setTimeout(function(){AV_controlsWidget.wasJustSaved=!0;AV_controlsWidget.scrollPanelInfo.prevPanel= AV_controlsWidget.scrollPanelInfo.curPanel;AV_controlsWidget.scrollMainTo(AV_controlsWidget.scrollPanelInfo.panelCount-1)},5);AV_controlsWidget.saving=!1}; AV__controlsWidget_MessageHandler=function(a){var c=a.data,d;if(AV_feather_baseURL!=""&#038;&#038;(d=AV__getDomain(a.origin),d!="aviary.com"&#038;&#038;d!="amazonaws.com")){a=AV__getDomain(AV_feather_baseURL);if(a==""||d=="")return;if(a!=d)return}c.substr(0,19)=="avpw:filter_result:"?(c=c.substr(19),AV_controlsWidget.paintWidget.module_serverfilter.onComplete(c)):c.substr(0,5)=="avpw:"&#038;&#038;(c=c.substr(5),avpw$("#avpw_img_submit_target").unbind("load"),avpw$("#avpw_img_submit_target_holder").empty(),AV__controlsWidget_onImageSaved(c))}; AV.ControlsWidget=function(a,c,d,e){this.maxHeight=this.maxWidth=parseInt(AV_launchData.maxSize);this.saving=!1;this.origURL=null;this.activeTools=e;this.wasJustSaved=!1;this.quitCount=0;this.paintImgIdElem=c;this.postdata=d;this.curMode=null;this.setupScrollPanels();this.setLastPanel("avpw_aviary_about");this.scrollMain();this.filterEggs.setup.AV_bindInst(this)();this.populatePulldown("crop");this.populatePulldown("resize");AV__checkbox_style_startup();AV__dropdown_style_startup();this.showView("main", 1);a&#038;&#038;this.initWithPaintWidget(a);this.waitThrobber=document.createElement("img");this.waitThrobber.src=AV_feather_baseURL+"images/eggthrobber-"+AV_theme+".gif";this.onEggWaitThrobber=document.createElement("img");this.onEggWaitThrobber.src=AV_feather_baseURL+"images/eggthrobber-egg-"+AV_theme+".gif";avpw$(this.onEggWaitThrobber).addClass("avpw_on_egg_wait_throbber");this.onGoldEggWaitThrobber=document.createElement("img");this.onGoldEggWaitThrobber.src=AV_feather_baseURL+"images/eggthrobber-gold-"+ AV_theme+".gif";avpw$(this.onGoldEggWaitThrobber).addClass("avpw_on_egg_wait_throbber")};AV.ControlsWidget.prototype.tool={};AV.ControlsWidget.prototype.layout={};AV.ControlsWidget.prototype.moduleNotify=function(a,c,d){return this.objectNotify("tool",a,c,d)};AV.ControlsWidget.prototype.layoutNotify=function(a,c,d){return this.objectNotify("layout",a,c,d)}; AV.ControlsWidget.prototype.objectNotify=function(a,c,d,e){if(typeof this[a][c]=="object"&#038;&#038;(a=this[a][c],typeof a[d]=="function"))return d=a[d],e||(e=[]),d.apply(a,e);return!0}; AV.ControlsWidget.prototype.shutdown=function(){AV__checkbox_style_shutdown();AV__dropdown_style_shutdown();this.shutdownAllTools();this.unbindControls();this.paintWidget.showWaitThrobber=null;avpw$(this.waitThrobber).remove();this.waitThrobber=null;avpw$(this.onEggWaitThrobber).remove();this.onEggWaitThrobber=null;avpw$(this.onGoldEggWaitThrobber).remove();this.onGoldEggWaitThrobber=null;this.showPanel(null)}; AV.ControlsWidget.prototype.initAllTools=function(){for(var a in this.activeTools){var c=this.activeTools[a];this.tool.hasOwnProperty(c)&#038;&#038;AV_paintWidget.moduleLoaded(c,function(a){this.moduleNotify(a,"init",[this])}.AV_bindInst(this))}};AV.ControlsWidget.prototype.shutdownAllTools=function(){for(var a in this.activeTools)this.moduleNotify(this.activeTools[a],"shutdown")}; AV.ControlsWidget.prototype.unbindControls=function(){avpw$("#avpw_controls_2").unbind();avpw$(".avpw_filter_thumb").unbind("click");avpw$("#avpw_control_undo").unbind("click");avpw$("#avpw_control_redo").unbind("click");avpw$("#avpw_save_button").unbind("click");avpw$("#avpw_control_cancel").unbind("click");avpw$("#avpw_all_effects").unbind("click");avpw$("#avpw_close_nosave").unbind();avpw$("#avpw_close_save").unbind();avpw$("#avpw_resume_editing").unbind();avpw$("#avpw_header").unbind();avpw$(".avpw_icon a").unbind("click"); avpw$(".avpw_is_navpip").unbind("click");avpw$("#avpw_lftArrow").unbind("click");avpw$("#avpw_rghtArrow").unbind("click");avpw$(".avpw_filter_eggs_panel_egg_holder").unbind()}; AV.ControlsWidget.prototype.initWithPaintWidget=function(a){this.paintWidget=a;avpw$(".avpw_is_navpip").click(function(a){this.scrollMainTo(avpw$(a.currentTarget).attr("pagenum"));return!1}.AV_bindInst(this));a=function(){this.wasJustSaved||this.quitCount>0?(this.quitCount=0,this.wasJustSaved=!1,this.scrollMainTo(this.scrollPanelInfo.prevPanel,!1,function(){this.setLastPanel("avpw_aviary_about")}.AV_bindInst(this))):this.scrollMainDir(-1);return!1}.AV_bindInst(this);avpw$("#avpw_lftArrow").click(a);
avpw$("#avpw_resume_editing").click(a);avpw$("#avpw_rghtArrow").click(function(){this.scrollMainDir(1);return!1}.AV_bindInst(this));avpw$("#avpw_controls_2").mousedown(function(a){var d=a.target.tagName.toLowerCase();d!="input"&#038;&#038;d!="textarea"&#038;&#038;d!="object"&#038;&#038;a.preventDefault()});avpw$("#avpw_control_undo").click(this.undo.AV_bindInst(this));avpw$("#avpw_control_redo").click(this.redo.AV_bindInst(this));avpw$("#avpw_save_button").click(this.save.AV_bindInst(this));avpw$("#avpw_control_cancel").click(this.cancel.AV_bindInst(this));
avpw$("#avpw_close_save").click(this.save.AV_bindInst(this));avpw$("#avpw_close_nosave").click(this.cancel.AV_bindInst(this));avpw$("#avpw_all_effects").click(function(){this.scrollMain(!0);this.showView("main");this.setPanelMode(null);this.paintWidget.setMode(null);return!1}.AV_bindInst(this));avpw$("#avpw_header").click(function(){this.showView("main");this.setPanelMode(null);this.paintWidget.setMode(null);this.setLastPanel("avpw_aviary_about");setTimeout(function(){this.scrollPanelInfo.prevPanel=
this.scrollPanelInfo.curPanel;this.scrollMainTo(this.scrollPanelInfo.panelCount-1)}.AV_bindInst(this),5);return!1}.AV_bindInst(this));avpw$("#avpw_header").unbind().click(function(){console.log(this.paintWidget.actionExportJSON(!0));return!1}.AV_bindInst(this));AV__featherUseFlash||this.initAllTools();avpw$(".avpw_icon a").each(function(a,d){var e=d.id.replace("avpw_main_","");avpw$(d).click(function(){this.setActiveTool(e,d);return!1}.AV_bindInst(this))}.AV_bindInst(this));this.paintWidget.showWaitThrobber=
this.showWaitThrobber.AV_bindInst(this)};
AV.ControlsWidget.prototype.setActiveTool=function(a,c){var d=function(){this.paintWidget.busy||(this.setPanelModeFromMain(a),avpw$(AV_controlsWidget.onEggWaitThrobber).hide(),AV.usageTracker.addUsage(a))}.AV_bindInst(this);if(a.indexOf("overlay")>-1){var e=a.split("overlay_")[1];if(e)this.tool.overlay.stickerGroupIndex=e;a="overlay"}!this.paintWidget.moduleLoaded(a,d)&#038;&#038;c&#038;&#038;(avpw$(c).children(".avpw_main_egg_icon").append(this.onEggWaitThrobber),avpw$(this.onEggWaitThrobber).show(),avpw$(this.onEggWaitThrobber).css({top:"1px",
left:"3px",width:"37px",height:"46px"}))};AV.ControlsWidget.prototype.setMinWidth=function(a){var c=AV__getInternetExplorerVersion();c<0||c>=8||(a=parseInt(a)+330,avpw$("#avpw_wrapper_1").css("min-width",a))};AV.ControlsWidget.prototype.calcActionListScaleFactor=function(a){return Math.max(1,a/this.maxWidth)};AV.ControlsWidget.prototype.setActionListScaleFactor=function(a){a=this.calcActionListScaleFactor(a);this.paintWidget.setActionListScaleFactor(a);return a};
AV.ControlsWidget.prototype.imageIsScaled=function(){return this.paintWidget.actionListScaleFactor>1};AV.ControlsWidget.prototype.showWaitThrobber=function(a,c){var d,e;a?(this.paintWidget&#038;&#038;(d=parseInt((this.paintWidget.canvas.height-this.waitThrobber.height)/2,10),e=parseInt((this.paintWidget.canvas.width-this.waitThrobber.width)/2,10),avpw$(this.waitThrobber).css({position:"absolute",top:d,left:e})),avpw$(this.waitThrobber).show()):avpw$(this.waitThrobber).hide();c&#038;&#038;setTimeout(c,5)};
AV.ControlsWidget.prototype.panelMode2WidgetMode=function(a){switch(a){case "rotate":return"rotate90";case "filters":return null;case "greeneye":return"redeye";case "pinch":return"bulge"}return a};
AV.ControlsWidget.prototype.setPanelMode=function(a){var c;c=this.panelMode2WidgetMode(a);this.moduleNotify(this.curMode,"panelWillClose");this.moduleNotify(a,"panelWillOpen");a=="filters"&#038;&#038;this.filterEggs.setMode(null);this.resizeFlashThumbs(a);this.paintWidget.setMode(c);this.showPanel(a);this._resetUI(a);this.paintWidget.setCurrentLayerByName("background");this.moduleNotify(this.curMode,"panelDidClose");this.moduleNotify(a,"panelDidOpen");this.curMode=a};
AV.ControlsWidget.prototype.setPanelModeFromMain=function(a){this.showView("editpanel");this.setPanelMode(a)};
AV.ControlsWidget.prototype.showView=function(a,c){var d=200;c&#038;&#038;(d=c);switch(a){case "editpanel":c<=5?(avpw$("#avpw_tool_main_container").hide(),avpw$("#avpw_tool_options_container").show(),avpw$("#avpw_filter_eggs_panel").hide()):(avpw$("#avpw_tool_main_container").fadeOut(d),avpw$("#avpw_tool_options_container").fadeIn(d),avpw$("#avpw_filter_eggs_panel").fadeOut(d));break;case "main":c<=5?(avpw$("#avpw_tool_main_container").show(),avpw$("#avpw_tool_options_container").hide(),avpw$("#avpw_filter_eggs_panel").show()):
(avpw$("#avpw_tool_main_container").fadeIn(d),avpw$("#avpw_tool_options_container").fadeOut(d),avpw$("#avpw_filter_eggs_panel").fadeIn(d))}};AV.ControlsWidget.prototype.setNavPip=function(a){avpw$(".avpw_is_navpip").removeClass("avpw_page_selected");avpw$("#avpw_navpip_"+a).addClass("avpw_page_selected")};AV.ControlsWidget.prototype.scrollMainTo=function(a,c,d){this.scrollPanelInfo.curPanel=parseInt(a);this.scrollMain(c,d)};
AV.ControlsWidget.prototype.scrollMainDir=function(a,c,d){this.scrollPanelInfo.curPanel+=a;this.scrollMain(c,d)};
AV.ControlsWidget.prototype.scrollMain=function(a,c){var d,e=avpw$("#avpw_control_main_scroll_panel");if(this.scrollPanelInfo.curPanel<0)this.scrollPanelInfo.curPanel=0;else if(this.scrollPanelInfo.curPanel>this.scrollPanelInfo.panelCount-1)this.scrollPanelInfo.curPanel=this.scrollPanelInfo.panelCount-1;AV.usageTracker.addPageHit(this.scrollPanelInfo.curPanel);d=this.scrollPanelInfo.curPanel*(this.scrollPanelInfo.widthPx+this.scrollPanelInfo.padding);a?avpw$(e).animate({scrollLeft:d},1,"swing",c):
avpw$(e).animate({scrollLeft:d},300,"swing",c);this.setNavPip(this.scrollPanelInfo.curPanel);this.scrollPanelInfo.curPanel==0?(avpw$("#avpw_lftArrow").addClass("avpw_prev_disabled"),avpw$("#avpw_lftArrow").removeClass("avpw_prev_enabled")):(avpw$("#avpw_lftArrow").removeClass("avpw_prev_disabled"),avpw$("#avpw_lftArrow").addClass("avpw_prev_enabled"));this.scrollPanelInfo.curPanel==this.scrollPanelInfo.panelCount-1?(avpw$("#avpw_rghtArrow").addClass("avpw_next_disabled"),avpw$("#avpw_rghtArrow").removeClass("avpw_next_enabled")):
(avpw$("#avpw_rghtArrow").removeClass("avpw_next_disabled"),avpw$("#avpw_rghtArrow").addClass("avpw_next_enabled"))};AV.ControlsWidget.prototype.scrollFilterTo=function(a,c,d){this.scrollFilterPanelInfo.curPanel=parseInt(a);this.scrollFilter(c,d)};AV.ControlsWidget.prototype.scrollFilterDir=function(a,c,d){this.scrollFilterPanelInfo.curPanel+=a;this.scrollFilter(c,d)};
AV.ControlsWidget.prototype.scrollFilter=function(a,c){var d,e=avpw$("#avpw_filter_control_main_scroll_panel");if(this.scrollFilterPanelInfo.curPanel<0)this.scrollFilterPanelInfo.curPanel=0;else if(this.scrollFilterPanelInfo.curPanel>this.scrollFilterPanelInfo.panelCount-1)this.scrollFilterPanelInfo.curPanel=this.scrollFilterPanelInfo.panelCount-1;d=avpw$(".avpw_filter_scroll_pane")[this.scrollFilterPanelInfo.curPanel];d=avpw$(d).position().left;a?avpw$(e).animate({scrollLeft:d},1,"swing",c):avpw$(e).animate({scrollLeft:d},
300,"swing",c);this.setNavPip(this.scrollFilterPanelInfo.curPanel);this.scrollFilterPanelInfo.curPanel==0?(avpw$("#avpw_filter_lftArrow").addClass("avpw_prev_disabled"),avpw$("#avpw_filter_lftArrow").removeClass("avpw_prev_enabled")):(avpw$("#avpw_filter_lftArrow").removeClass("avpw_prev_disabled"),avpw$("#avpw_filter_lftArrow").addClass("avpw_prev_enabled"));this.scrollFilterPanelInfo.curPanel==this.scrollFilterPanelInfo.panelCount-1?(avpw$("#avpw_filter_rghtArrow").addClass("avpw_next_disabled"),
avpw$("#avpw_filter_rghtArrow").removeClass("avpw_next_enabled")):(avpw$("#avpw_filter_rghtArrow").removeClass("avpw_next_disabled"),avpw$("#avpw_filter_rghtArrow").addClass("avpw_next_enabled"))};
AV.ControlsWidget.prototype.setupScrollPanels=function(){var a,c,d,e,f,j,k,m=0;this.scrollPanelInfo=this.layoutNotify(Feather_OpenType,"getScrollPanelDims");this.scrollPanelInfo.padding=5;this.scrollPanelInfo.curPanel=0;this.scrollPanelInfo.prevPanel=0;f=this.scrollPanelInfo.across*this.scrollPanelInfo.down;this.scrollPanelInfo.panelCount=parseInt((this.activeTools.length-1)/f)+1;this.scrollPanelInfo.panelCount++;AV.usageTracker.setPageCount(this.scrollPanelInfo.panelCount);e="";for(a=0;a</p>
<this.scrollPanelInfo.panelCount-
1;a++){var l="";for(d=c=a*f;d<c+f;d++)d<this.activeTools.length?(j=this.activeTools[d],j=="overlay"?(k=AV_launchData.stickers,k[m]&#038;&#038;k[m].label?(k=k[m].label,j="overlay_"+m,m++):k="Stickers"):k=j=="barrel"?"Bulge":j.substr(0,1).toUpperCase()+j.substr(1),l+=['
<div class="avpw_egg avpw_icon" id="avpw_main_icon_'+j+'">','<a href="#" id="avpw_main_'+j+'">','</p>
<div class="avpw_main_egg_icon" id="avpw_main_egg_icon_'+j+'">',"</div>
<p>",'<span class="avpw_icon_text_style">'+k+"</span>","</a></div>
<p>\n"].join("")):
l+='</p>
<div class="avpw_egg avpw_icon">\n</div>
<p>\n';e+=['</p>
<div class="avpw_scrolling_region_panel">\n',l,"</div>
<p>\n"].join("")}e+=['</p>
<div class="avpw_scrolling_region_panel" style="margin-top:0px;">\n</p>
<div id="avpw_aviary_about" class="avpw_isa_last_panel">\n</p>
<div class="avpw_aviary_about_text_toppadding avpw_aviary_about_text avpw_aviary_about_text_style">Powered by Aviary.com</div>
<p>\n</p>
<div class="avpw_get_widget_top_margin avpw_iblock_center">\n</p>
<div style="display:inline-block">\n','<a href="'+AV__giveFeedbackURL+ '" target="_blank"></p>
<div class="avpw_button avpw_button_style avpw_padlr" id="avpw_give_feedback">
<div>give feedback</div>
</div>
<p></a>\n','</div>
<p>\n</p>
<div style="display:inline-block">\n','<a href="'+AV__getWidgetURL+'" target="_blank"></p>
<div class="avpw_button avpw_button_style avpw_padlr" id="avpw_embed_widget">
<div>get this widget</div>
</div>
<p></a>\n','</div>
<p>\n</p></div>
<p>\n</p>
<div style="height:10px;min-height:10px;font-size:1px;">&nbsp;</div>
<p>\n</p>
<div class="avpw_aviary_about_feather"></div>
<p>\n</p></div>
<p>\n</p>
<div id="avpw_aviary_beensaved" class="avpw_isa_last_panel">\n</p>
<div class="avpw_aviary_about_text_toppadding avpw_aviary_about_text avpw_aviary_about_text_style">Your work was saved!</div>
<p>\n</p>
<div style="margin-top:5px;" class="avpw_iblock_center">\n</p>
<div style="display:inline-block">\n',
'<a href="'+AV__getWidgetURL+'" target="_blank"></p>
<div class="avpw_button avpw_button_style avpw_padlr" id="avpw_embed_widget2">
<div>get this widget</div>
</div>
<p></a>\n','</div>
<p>\n</p></div>
<p>\n</p>
<div class="avpw_aviary_about_feather"></div>
<p>\n</p></div>
<p>\n</p>
<div id="avpw_aviary_quitareyousure" class="avpw_isa_last_panel">
<div class="avpw_aviary_savechanges_top avpw_aviary_about_text_small">Wait! You didn\'t save your work. Are you certain that you want to close this editor?</div>
<div style="margin:0;border:0;">
<div id="avpw_resumeclosesave_holder" style="text-align:center;width:100%;margin-bottom:10px;">
<div style="display:inline-block;"><a style="display:block;" href="#"></p>
<div class="avpw_button avpw_button_style avpw_padlr" id="avpw_resume_editing">
<div>resume</div>
</div>
<p></a></div>
<p>\n</p>
<div style="display:inline-block;"><a style="display:block;" href="#"></p>
<div class="avpw_button avpw_button_style avpw_padlr" id="avpw_close_nosave">
<div>close</div>
</div>
<p></a></div>
<p>&nbsp;</p>
<div style="display:inline-block;"><a style="display:block;" href="#"></p>
<div class="avpw_button avpw_button_style avpw_padlr" id="avpw_close_save">
<div>save</div>
</div>
<p></a></div>
<p>&nbsp;</p></div>
</div>
</div>
</div>
<p>'].join("");
avpw$("#avpw_control_main_scrolling_region").html(e);avpw$("#avpw_control_main_scrolling_region").width();avpw$("#avpw_control_main_scrolling_region").css("width");avpw$("#avpw_control_main_scrolling_region").width((243+this.scrollPanelInfo.padding)*this.scrollPanelInfo.panelCount);this.scrollPanelInfo.widthPx=243;c="";for(a=0;a</p>
<this.scrollPanelInfo.panelCount;a++)c+='
	<li class="avpw_is_navpip" pagenum="'+a+'" id="avpw_navpip_'+a+'"><a href="#"></a></li>
<p>\n';avpw$("#avpw_tools_pager ul").html(c);this.setNavPip(this.scrollPanelInfo.curPanel)};
AV.ControlsWidget.prototype.setLastPanel=function(a){avpw$(".avpw_isa_last_panel").hide();avpw$("#"+a).show()};
AV.ControlsWidget.prototype.filterEggs=function(){var a={polaroid:{flash:'<parameters><parameter id="Inner Placement" value="0.5"/><parameter id="Desaturation Factor" value="0.8"/><parameter id="Background Color" value="-1"/><parameter id="Light Leak Active" value="true"/><parameter id="Light Leak Seed" value="-17130388"/><parameter id="Color Grading Active" value="true"/><parameter id="Color Grading Seed" value="-101359189"/><parameter id="Red Variation Strength" value="25"/><parameter id="Green Variation Strength" value="25"/><parameter id="Blue Variation Strength" value="25"/><parameter id="Shadow Center" value="0.4,0.2"/><parameter id="Stains Active" value="true"/><parameter id="Stains On Frame Only" value="true"/><parameter id="Stains Density" value="30"/><parameter id="Stains Minimum Drop Size" value="1"/><parameter id="Stains Maximum Drop Size" value="80"/><parameter id="Stains Smoothing" value="8"/></parameters>',server:'{parameters:{parameter:[{id:"Inner Placement",value:0.5},{id:"Desaturation Factor",value:0.8},{id:"Background Color",value:-1},{id:"Light Leak Active",value:"true"},{id:"Light Leak Seed",value:-17130388},{id:"Color Grading Active",value:"true"},{id:"Color Grading Seed",value:-101359189},{id:"Red Variation Strength",value:25},{id:"Green Variation Strength",value:25},{id:"Blue Variation Strength",value:25},{id:"Shadow Center",value:"0.4,0.2"},{id:"Stains Active",value:"true"},{id:"Stains On Frame Only",value:"true"},{id:"Stains Density",value:30},{id:"Stains Minimum Drop Size",value:1},{id:"Stains Maximum Drop Size",value:80},{id:"Stains Smoothing",value:8}]}}'},
autocorrection:{flash:'<parameters><parameter uid="0" value="true" /><parameter uid="1" value="true" /><parameter uid="2" value="false" /><parameter uid="3" value="true" /><parameter uid="4" value="false" /></parameters>',server:'{parameters:{parameter:[{uid:0,value:"true"},{uid:1,value:"true"},{uid:2,value:"false"},{uid:3,value:"true"},{uid:4,value:"false"}]}}'},toycamera:{flash:'<parameters><parameter id="Contrast" value="0.1"/><parameter id="Saturation"  value="1"/><parameter id="Glow Threshold" value="128"/><parameter id="Glow Radius" value="34"/><parameter id="Glow Intensity" value="0.5"/><parameter id="Grain Random Seed" value="-48494495"/><parameter id="Grain Intensity"  value="0.32"/><parameter id="Grain Size" value="3.2"/><parameter id="Grain Clumping Iterations" value="3"/><parameter id="Grain Clumping Strength" value="7"/><parameter id="Color Grading Seed" value="-86426274"/><parameter id="Red Variation Strength" value="30.1"/><parameter id="Green Variation Strength" value="21.5"/><parameter id="Blue Variation Strength" value="38.6"/><parameter id="Inner Limit" value="0.3"/><parameter id="Outer Limit" value="2"/><parameter id="Blur Radius" value="10"/><parameter id="Radius Factor" value="1"/><parameter id="Radius Gamma" value="2.5"/></parameters>',
server:'{parameters:{parameter:[{id:"Contrast",value:0.1},{id:"Saturation",value:1},{id:"Glow Threshold",value:128},{id:"Glow Radius",value:34},{id:"Glow Intensity",value:0.5},{id:"Grain Random Seed",value:-48494495},{id:"Grain Intensity",value:0.32},{id:"Grain Size",value:3.2},{id:"Grain Clumping Iterations",value:3},{id:"Grain Clumping Strength",value:7},{id:"Color Grading Seed",value:-86426274},{id:"Red Variation Strength",value:30.1},{id:"Green Variation Strength",value:21.5},{id:"Blue Variation Strength",value:38.6},{id:"Inner Limit",value:0.3},{id:"Outer Limit",value:2},{id:"Blur Radius",value:10},{id:"Radius Factor",value:1},{id:"Radius Gamma",value:2.5}]}}'},
oldphoto:{flash:'<parameters><parameter id="Contrast" value="0.2"/><parameter id="Glow Threshold" value="175"/><parameter id="Glow Radius" value="30"/><parameter id="Glow Intensity" value="0.2"/><parameter id="Grain Intensity" value="0.5"/><parameter id="Grain Size" value="1.2"/><parameter id="Grain Clumping Iterations" max="2" value="2"/><parameter id="Grain Clumping Strength" value="7"/><parameter id="Tint Color" value="52"/><parameter id="Add Dust" value="true"/><parameter id="Dust Amount" value="30"/><parameter id="Add Stains" value="true"/><parameter id="Add Dots" value="true"/><parameter id="Dots Random Seed" value="-147552578"/><parameter id="Dots Amount" value="3"/></parameters>',
server:'{parameters:{parameter:[{id:"Contrast",value:0.2},{id:"Glow Threshold",value:175},{id:"Glow Radius",value:30},{id:"Glow Intensity",value:0.2},{id:"Grain Intensity",value:0.5},{id:"Grain Size",value:1.2},{id:"Grain Clumping Iterations",max:2,value:2},{id:"Grain Clumping Strength",value:7},{id:"Tint Color",value:52},{id:"Add Dust",value:"true"},{id:"Dust Amount",value:30},{id:"Add Stains",value:"true"},{id:"Add Dots",value:"true"},{id:"Dots Random Seed",value:-147552578},{id:"Dots Amount",value:3}]}}'},
retro:{flash:'<parameters><parameter id="Matte Padding" value="0.008"/><parameter id="Matte Color" value="-66590"/><parameter id="Matte Corner Radius" value="0.03"/><parameter id="Border Radius" value="30"/><parameter id="Border Intensity" value="1"/><parameter id="Color Effect Intensity" value="0.2"/><parameter id="Grain Intensity" value="0.1"/><parameter id="Grain Size" value="2"/><parameter id="Grain Clumping Iterations" value="4"/><parameter id="Grain Clumping Strength" value="6"/><parameter id="Tint Random Seed" value="-142803775"/><parameter id="TintIntensity" value="1"/><parameter id="Fuzziness" value="35"/><parameter id="Add Light Leak" value="false"/><parameter id="Add Dots" value="true"/><parameter id="Dots Amount" value="5"/><parameter id="Add Scratches" value="true"/><parameter id="Scratches Amount" value="1"/><parameter id="Add Wrinkles" value="true"/><parameter id="Add Stains" value="false"/><parameter id="Stain Amount" value="10"/><parameter id="Red Adjust" value="40"/><parameter id="Green Adjust" value="80"/><parameter id="Blue Adjust" value="3"/><parameter id="Red Contrast" value="0.6"/><parameter id="Green Contrast" value="0.6"/><parameter id="Blue Contrast" value="0.6"/><parameter id="Saturation" value="1"/></parameters>',
server:'{parameters:{parameter:[{id:"Matte Padding",value:0.008},{id:"Matte Color",value:-66590},{id:"Matte Corner Radius",value:0.03},{id:"Border Radius",value:30},{id:"Border
// ]]&gt;</script></p>
<p>&nbsp;</p>
<img src="http://heartofthehouse.org/?ak_action=api_record_view&id=2126&type=feed" alt="" /><!-- PHP 5.x --><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fheartofthehouse.org%2Fcultured-mascarpone-cheese%2F&amp;title=Cultured%20Mascarpone%20Cheese" id="wpa2a_14"><img src="http://heartofthehouse.org/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://heartofthehouse.org/cultured-mascarpone-cheese/feed/</wfw:commentRss>
		<slash:comments></slash:comments>
		</item>
		<item>
		<title>Coconutty Squares</title>
		<link>http://heartofthehouse.org/coconutty-squares/</link>
		<comments>http://heartofthehouse.org/coconutty-squares/#comments</comments>
		<pubDate>Mon, 02 Apr 2012 03:40:01 +0000</pubDate>
		<dc:creator>elsie</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Healthy Snacks]]></category>
		<category><![CDATA[Recipes]]></category>

		<guid isPermaLink="false">http://heartofthehouse.org/?p=2092</guid>
		<description><![CDATA[&#160; These coconutty squares are absolutely yummy.  It is a great and easy way to incorporate good fats into your diet. Ingredients Basic Recipe 1 1/4 cup creamed coconut (softened) 1/2  cup coconut oil (softened) 1/4 cup raw cultured butter (softened) a good handful of crispy nuts (nuts which have been soaked and dehydrated) a <a href="http://heartofthehouse.org/coconutty-squares/">Read More...</a>


Related posts:<ol><li><a href='http://heartofthehouse.org/sardines-with-kamut-pasta/' rel='bookmark' title='Permanent Link: Sardines with Kamut Pasta'>Sardines with Kamut Pasta</a></li>
<li><a href='http://heartofthehouse.org/lemony-avocado-sauce/' rel='bookmark' title='Permanent Link: Lemony Avocado Sauce'>Lemony Avocado Sauce</a></li>
<li><a href='http://heartofthehouse.org/spiced-carrot-soup/' rel='bookmark' title='Permanent Link: Spiced Carrot Soup'>Spiced Carrot Soup</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p><a href="http://heartofthehouse.org/coconutty-squares/coconutty-bar1/" rel="attachment wp-att-2093"><img class="aligncenter size-large wp-image-2093" title="coconutty bar1" src="http://heartofthehouse.org/wp-content/uploads/2012/04/coconutty-bar1-1024x682.jpg" alt="" width="620" height="412" /></a></p>
<p>These coconutty squares are absolutely yummy.  It is a great and easy way to incorporate good fats into your diet.</p>
<p><strong>Ingredients</strong></p>
<p><strong>Basic Recipe</strong></p>
<ul>
<li>1 1/4 cup creamed coconut (softened)</li>
<li>1/2  cup coconut oil (softened)</li>
<li>1/4 cup raw cultured butter (softened)</li>
<li>a good handful of crispy nuts (<em>nuts which have been soaked and dehydrated</em>)</li>
<li>a good handful of unsweetened coconut flakes</li>
<li>a good pinch of sea salt</li>
</ul>
<p><strong>Optional extras</strong></p>
<ul>
<li>a squeeze of lime/lemon juice</li>
<li>zest of lime/lemon</li>
<li>1 or 2 tbs of Lacto Fermented brew (ginger beer, coconut water kefir, &#8230;..)</li>
</ul>
<p><em>Note:  If you need a bit of sweetener, you can add some chopped dried fruits</em>.  <em>This recipe is very flexible, you can play around with the quantity of the creamed coconut, coconut oil and butter</em>.</p>
<p><strong>Method</strong></p>
<ol>
<li>Place creamed coconut, coconut oil and butter in a mixer and beat until smooth and creamy.</li>
<li>Add the salt and give it a good stir.</li>
<li>Pour the mixture into a baking tray lined with parchment paper.</li>
<li>Sprinkle the nuts and coconut flakes over the top.</li>
<li>Place in the refrigerator until set.</li>
<li>Cut into squares and store them in a container and keep refrigerated.</li>
</ol>
<p>&nbsp;</p>
<p>&nbsp;</p>
<img src="http://heartofthehouse.org/?ak_action=api_record_view&id=2092&type=feed" alt="" /><!-- PHP 5.x --><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fheartofthehouse.org%2Fcoconutty-squares%2F&amp;title=Coconutty%20Squares" id="wpa2a_16"><img src="http://heartofthehouse.org/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>

<p>Related posts:<ol><li><a href='http://heartofthehouse.org/sardines-with-kamut-pasta/' rel='bookmark' title='Permanent Link: Sardines with Kamut Pasta'>Sardines with Kamut Pasta</a></li>
<li><a href='http://heartofthehouse.org/lemony-avocado-sauce/' rel='bookmark' title='Permanent Link: Lemony Avocado Sauce'>Lemony Avocado Sauce</a></li>
<li><a href='http://heartofthehouse.org/spiced-carrot-soup/' rel='bookmark' title='Permanent Link: Spiced Carrot Soup'>Spiced Carrot Soup</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://heartofthehouse.org/coconutty-squares/feed/</wfw:commentRss>
		<slash:comments></slash:comments>
		</item>
		<item>
		<title>Coconut Water Kefir</title>
		<link>http://heartofthehouse.org/coconut-water-kefir/</link>
		<comments>http://heartofthehouse.org/coconut-water-kefir/#comments</comments>
		<pubDate>Wed, 28 Mar 2012 07:32:06 +0000</pubDate>
		<dc:creator>elsie</dc:creator>
				<category><![CDATA[Beverages]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Recipes]]></category>

		<guid isPermaLink="false">http://heartofthehouse.org/?p=1814</guid>
		<description><![CDATA[&#160; Delicious, refreshing Coconut Water Kefir! Note:  I prefer to use local coconuts from tropical North Queensland (photo bottom right) whenever they are available from our local organic store but on occasions have used imported ones from Thailand (photo bottom left). Related posts:Making lacto fermented drinks with water kefir Butter is better! Baked Kefir Flatbread


Related posts:<ol><li><a href='http://heartofthehouse.org/making-lacto-fermented-drinks-with-water-kefir/' rel='bookmark' title='Permanent Link: Making lacto fermented drinks with water kefir'>Making lacto fermented drinks with water kefir</a></li>
<li><a href='http://heartofthehouse.org/butter-is-better/' rel='bookmark' title='Permanent Link: Butter is better!'>Butter is better!</a></li>
<li><a href='http://heartofthehouse.org/baked-kefir-flatbread/' rel='bookmark' title='Permanent Link: Baked Kefir Flatbread'>Baked Kefir Flatbread</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://heartofthehouse.org/coconut-water-kefir/cocout-water-kefir-collage/" rel="attachment wp-att-1815"><img class="aligncenter size-large wp-image-1815" title="cocout water kefir collage" src="http://heartofthehouse.org/wp-content/uploads/2011/04/cocout-water-kefir-collage-1024x1024.jpg" alt="" width="620" height="620" /></a></p>
<p>&nbsp;</p>
<p>Delicious, refreshing Coconut Water Kefir!</p>
<p><em>Note:  I prefer to use local coconuts from tropical North Queensland (photo bottom right) whenever they are available from our local organic store but on occasions have used imported ones from Thailand (photo bottom left).</em></p>
<img src="http://heartofthehouse.org/?ak_action=api_record_view&id=1814&type=feed" alt="" /><!-- PHP 5.x --><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fheartofthehouse.org%2Fcoconut-water-kefir%2F&amp;title=Coconut%20Water%20Kefir" id="wpa2a_18"><img src="http://heartofthehouse.org/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>

<p>Related posts:<ol><li><a href='http://heartofthehouse.org/making-lacto-fermented-drinks-with-water-kefir/' rel='bookmark' title='Permanent Link: Making lacto fermented drinks with water kefir'>Making lacto fermented drinks with water kefir</a></li>
<li><a href='http://heartofthehouse.org/butter-is-better/' rel='bookmark' title='Permanent Link: Butter is better!'>Butter is better!</a></li>
<li><a href='http://heartofthehouse.org/baked-kefir-flatbread/' rel='bookmark' title='Permanent Link: Baked Kefir Flatbread'>Baked Kefir Flatbread</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://heartofthehouse.org/coconut-water-kefir/feed/</wfw:commentRss>
		<slash:comments></slash:comments>
		</item>
		<item>
		<title>Chicken Gizzards Salad (Salade de Gésiers)</title>
		<link>http://heartofthehouse.org/chicken-gizzards-salad-salade-de-gesiers/</link>
		<comments>http://heartofthehouse.org/chicken-gizzards-salad-salade-de-gesiers/#comments</comments>
		<pubDate>Wed, 13 Apr 2011 02:38:38 +0000</pubDate>
		<dc:creator>elsie</dc:creator>
				<category><![CDATA[offals]]></category>
		<category><![CDATA[Poultry]]></category>
		<category><![CDATA[Recipes]]></category>

		<guid isPermaLink="false">http://heartofthehouse.org/?p=1646</guid>
		<description><![CDATA[Max has been hankering for gizzards for sometime but I haven&#8217;t had much luck finding them until a couple of weeks ago.   Gizzards are tough muscle meat and need to be cooked slowly at low temperature until tender.  Here is the recipe I used to make him a salade de gésiers. Step 1 &#8211; Cooking <a href="http://heartofthehouse.org/chicken-gizzards-salad-salade-de-gesiers/">Read More...</a>


Related posts:<ol><li><a href='http://heartofthehouse.org/pan-fried-duck-breast-with-blueberry-sauce/' rel='bookmark' title='Permanent Link: Pan Fried Duck Breast with Blueberry Sauce'>Pan Fried Duck Breast with Blueberry Sauce</a></li>
<li><a href='http://heartofthehouse.org/grilled-fish-with-carrot-yacon-seaweed-salad/' rel='bookmark' title='Permanent Link: Grilled Fish with Carrot, Yacon &#038; Seaweed Salad'>Grilled Fish with Carrot, Yacon &#038; Seaweed Salad</a></li>
<li><a href='http://heartofthehouse.org/pomelo-salad-with-pork-cracklings/' rel='bookmark' title='Permanent Link: Pomelo Salad with Pork Cracklings'>Pomelo Salad with Pork Cracklings</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a rel="attachment wp-att-1721" href="http://heartofthehouse.org/chicken-gizzards-salad-salade-de-gesiers/gizzards/"><img class="aligncenter size-large wp-image-1721" title="Gizzards" src="http://heartofthehouse.org/wp-content/uploads/2011/04/Gizzards-1024x727.jpg" alt="" width="620" height="440" /></a></p>
<p>Max has been hankering for gizzards for sometime but I haven&#8217;t had much luck finding them until a couple of weeks ago.   Gizzards are tough muscle meat and need to be cooked slowly at low temperature until tender.  Here is the recipe I used to make him a <strong><em>salade de gésiers.</em></strong></p>
<p><strong><em><a rel="attachment wp-att-1722" href="http://heartofthehouse.org/chicken-gizzards-salad-salade-de-gesiers/gizzard4-2/"><img class="aligncenter size-large wp-image-1722" title="gizzard4" src="http://heartofthehouse.org/wp-content/uploads/2011/04/gizzard41-822x1024.jpg" alt="" width="620" height="772" /></a><br />
</em></strong></p>
<p><strong>Step 1</strong> &#8211; Cooking the gizzards in duck fat (Gizzards Confit)</p>
<p><span style="text-decoration: underline;">Method</span>:</p>
<p>Put the gizzards into a casserole and cover with duck fat.  Cook on the lowest possible heat for about 2 hours, until tender.</p>
<p>If not using immediately, you can store in a sterilised jar covered with duck fat and refrigerate.</p>
<p><strong>Step 2</strong> &#8211; Preparing the salad</p>
<p><span style="text-decoration: underline;">Method</span>:</p>
<ol>
<li>Remove the gizzards from the duck fat.  Slice the gizzards thinly.</li>
<li>Heat a little duck fat in a frying pan over a medium heat and toss in the hot fat until brown at the edges.  Season with salt &amp; pepper.</li>
<li>Add to your salad and drizzle with a dressing.</li>
</ol>
<p><em>(recipe source:  Forgotten skills of cooking by Darina Allen)<br />
</em></p>
<img src="http://heartofthehouse.org/?ak_action=api_record_view&id=1646&type=feed" alt="" /><!-- PHP 5.x --><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fheartofthehouse.org%2Fchicken-gizzards-salad-salade-de-gesiers%2F&amp;title=Chicken%20Gizzards%20Salad%20%28Salade%20de%20G%C3%A9siers%29" id="wpa2a_20"><img src="http://heartofthehouse.org/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>

<p>Related posts:<ol><li><a href='http://heartofthehouse.org/pan-fried-duck-breast-with-blueberry-sauce/' rel='bookmark' title='Permanent Link: Pan Fried Duck Breast with Blueberry Sauce'>Pan Fried Duck Breast with Blueberry Sauce</a></li>
<li><a href='http://heartofthehouse.org/grilled-fish-with-carrot-yacon-seaweed-salad/' rel='bookmark' title='Permanent Link: Grilled Fish with Carrot, Yacon &#038; Seaweed Salad'>Grilled Fish with Carrot, Yacon &#038; Seaweed Salad</a></li>
<li><a href='http://heartofthehouse.org/pomelo-salad-with-pork-cracklings/' rel='bookmark' title='Permanent Link: Pomelo Salad with Pork Cracklings'>Pomelo Salad with Pork Cracklings</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://heartofthehouse.org/chicken-gizzards-salad-salade-de-gesiers/feed/</wfw:commentRss>
		<slash:comments></slash:comments>
		</item>
	</channel>
</rss>

