ps.tpls.set('invite.tpl', '{ps_box id=\"invite_form\"}    {include file=\"import-services.tpl\"}    {include file=\"invite-manual-email.tpl\"}{/ps_box}{if $invite_type == \'invite\'}	{ps_box id=\"invite_message\" title=\"Finding friends is easy.<br>	Just choose one of your favorite address books and we\'ll find your friends already on Mevio.\"}	{/ps_box}{/if}');
ps.tpls.set('invite-success.tpl', '{if $invite_type == \'invite\'}	{capture assign=\"is_invite\"}invite-again{/capture}{else}	{capture assign=\"is_invite\"}invite{/capture}{/if}{ps_box id=\"success\"}	{ps_include file=\"import-again.tpl\" id=$is_invite}{/ps_box}');
ps.tpls.set('invite-contacts.tpl', '<script type=\'text/javascript\'>{literal}  window.toggleBoxes = function (inp_box) {    var el, els = inp_box.form.elements;      for (var l = els.length; l--; ) {        if ((el = els[l]).type !== \'checkbox\')          continue;        el.checked = inp_box.checked;      }  }{/literal}<\/script>{if $share_contacts_listed == 1}{ps_box class=\"share-import-confim\"}  <p class=\"service {$share_service|lower}\">{$share_service}<\/p>  {if $invite_type == \'invite\'}    {capture assign=\"rendertype\"}invite{/capture}  {else}    {capture assign=\"rendertype\"}signup-form-iframe{/capture}    {/if}  {ps_form action=\"/invite/invite_handler.php\" method=\"post\" class=\"import-confirm\" id=\"service-form\" render=$rendertype file=\"invite-success.tpl\"}  <fieldset class=\"clear contacts\">			<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">				<tr>					<td width=\"22\" class=\"thead\" align=\"center\"><input type=\"checkbox\" id=\"cUcMaster\" checked onclick=\"toggleBoxes(this);\"><\/td>					<td class=\"thead\" colspan=\"2\">select all your friends<\/td>				<\/tr>			<\/table><div class=\"contact-window\">  {if $reg_user_contacts_listed == 1}  <table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\">    <tr>      <td colspan=\"3\" style=\"border-bottom:1px solid #cccccc;padding:3px\"><h2>These are your friends who are already on Mevio...<\/h2><\/td>    <\/tr>  {foreach from=$reg_user_contact_list item=reguser name=reg}    <tr>      <td width=\"22\" align=\"center\" valign=\"top\">        {capture assign=\"checkbox_in_network\"}in_network_{$smarty.foreach.reg.index}{/capture}        {form_checkbox id=$checkbox_in_network class=\"contact-check\" name=$checkbox_in_network value=$reguser.0.email}        <\/td>      <td width=\"85\" align=\"center\"><img src=\"{$reguser.persona.0.image_urls.thumbs}\" alt=\"image of {$reguser.0.name}\" width=\"75\" height=\"75\"><\/td>      <td align=\"left\" valign=\"top\"><label for=\"in_network_{$smarty.foreach.reg.index}\">{$reguser.0.name}<br />{$reguser.0.email}<\/label><\/td>    <\/tr>  {/foreach}  <\/table>  {/if}  <table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">    <tr>      <td colspan=\"3\" style=\"border-bottom:1px solid #cccccc;padding:3px\"><h2>These friends need to be invited to join you on Mevio...<\/h2><\/td>    <\/tr>  {foreach from=$share_contact_list item=contact name=boo}    <tr>      <td width=\"22\" align=\"center\">        {capture assign=\"checkbox_out_network\"}invite_{$smarty.foreach.boo.index}{/capture}        {form_checkbox id=$checkbox_out_network class=\"contact-check\" name=$checkbox_out_network value=$contact.email}      <\/td>      <td width=\"157\"><label for=\"invite_{$smarty.foreach.boo.index}\">{$contact.email}<\/label><\/td>      <td width=\"157\"><label for=\"invite_{$smarty.foreach.boo.index}\">{$contact.name}<\/label><\/td>    <\/tr>  {/foreach}  <\/table><\/div>		<\/fieldset>		<fieldset class=\"next\">			<input type=\"hidden\" name=\"share_action\" value=\"emailSend\">   <input type=\"hidden\" name=\"invite_type\" value=\"{$invite_type}\">			<input type=\"submit\" value=\"send\" class=\"next_send btn-invite\" >						<\/fieldset>  {if $invite_type == \'reg\'}  {*<a href=\"{if $promo_finish_path}{$promo_finish_path}{else}{$current_user.active_persona.profile_url}{/if}\" {literal}onclick=\"if (top !== window) {top.location.href = this.href; return false;} return true;\"{/literal} class=\"cancellink\">cancel<\/a>*}  <a href=\"/signup/signup_frame.php?skip=yes&step=2&psRef={$psRef}\" class=\"cancellink\"\">cancel<\/a>  {else}		<a href=\"{$pdn_config.action_root}/invite\" class=\"cancellink\">cancel<\/a>  {/if}{/ps_form}{/ps_box}{if $invite_type == \'invite\'}{ps_box id=\"invite_message\" title=\"Invite your friends to join you on Mevio so you can share media.\"}{/ps_box}<div class=\"clear\"><\/div>{/if}{/if}');
ps.tpls.set('service-login.tpl', '{ps_box class=\"share-service-login\"}	{ps_form method=\"post\" class=\"importer\" action=\"/invite/invite_handler.php\" id=\"share-service-login\" render=\"invite\" file=\"invite-contacts.tpl\"}		<p class=\"service {$share_service|lower}\">{$share_service}<\/p>		<ol>			<li>{form_input type=\"text\" class=\"text\" name=\"share_email_username\" label=\"username:\" value=$share_email_username}<\/li>			<li>{form_input type=\"password\" class=\"text\" name=\"share_email_password\" label=\"password:\"}<\/li>		<\/ol>				<div class=\"controls\">			<input type=\"submit\" value=\"Submit\" class=\"button\">		<\/div>		<input type=\"hidden\" name=\"share_service\" value=\"{$share_service}\">		<input type=\"hidden\" name=\"invite_type\" value=\"{$invite_type}\">		<input type=\"hidden\" name=\"share_action\" value=\"emailInvLogin\">		<input type=\"hidden\" name=\"share_email_getContacts\" value=\"1\">		<input type=\"hidden\" name=\"share_email_import\" value=\"step1\">	{/ps_form}{/ps_box}{if $invite_type == \'invite\'}	{ps_box id=\"invite_message\" title=\"Login to your address book and we\'ll find your friends already on Mevio.\"}	{/ps_box}{/if}');
ps.tpls.set('import-services.tpl', '<div class=\"import-services\">	{if !$share_service}		{assign var=service value=\'Hotmail\'}	{/if}	{if $invite_type == \'invite\'}		{capture assign=\"invite_message\"}Search from your favorite address book...{/capture}	{else}		{capture assign=\"invite_message\"}Connect with your friends through your address book.{/capture}	{/if}	{ps_form action=\"/invite/invite_handler.php\" method=\"post\" class=\"importer\" id=\"invite-form-signup\" render=\"invite\" file=\"service-login.tpl\"}		<h3>{$invite_message}<\/h3>		{include file=\"share-email-providers.tpl\"}				<input type=\"hidden\" name=\"share_err_import\" value=\"\">		<input type=\"hidden\" name=\"invite_type\" value=\"{$invite_type}\">		<input type=\"hidden\" name=\"share_action\" value=\"emailInv\">	{/ps_form}<\/div>');
ps.tpls.set('invite-manual-email.tpl', '{if $invite_type == \'invite\'}	{capture assign=\"rendertype\"}invite{/capture}	{capture assign=\"tpltype\"}invite-success.tpl{/capture}{else}	{capture assign=\"rendertype\"}signup-form-iframe{/capture}	{capture assign=\"tpltype\"}manual-success.tpl{/capture}{/if}{ps_form action=\"/invite/invite_handler.php\" method=\"post\" class=\"email\" id=\"manual-form\" render=$rendertype file=$tpltype}	<h3>Type in your friends\' email addresses!<\/h3>			<ol>		<li>{form_input type=\"text\" class=\"text\" name=\"invite_manual_email[]\" }<\/li>			<li>{form_input type=\"text\" class=\"text\" name=\"invite_manual_email[]\" }<\/li>			<li>{form_input type=\"text\" class=\"text\" name=\"invite_manual_email[]\" }<\/li>	<\/ol>	<div class=\"controls\">		<input type=\"submit\" value=\"Invite\" class=\"button\">	<\/div>	<input type=\"hidden\" name=\"manualContacts\" value=\"2\">	<input type=\"hidden\" name=\"share_action\" value=\"emailMan\">	<input type=\"hidden\" name=\"invite_type\" value=\"{$invite_type}\">{/ps_form}');
ps.tpls.set('importer.tpl', '<div id=\"main-content\">	<div class=\"content-wrapper\">		<h1 class=\"page-title\">Find your friends already on Mevio<\/h1>		 		{ps_box id=\"importer\" class=\"invite-friends\"}			{ps_include file=\"invite.tpl\" id=\"invite\"}		{/ps_box}	<\/div><\/div>');
ps.tpls.set('import-again.tpl', '<div class=\"ad-column\">	{include file=\'ad-300x250.tpl\'}<\/div><div class=\"invite-column\">	<h2 class=\"dotted\">Congratulations!<\/h2>		<div class=\"invite-again\">	    <p>Your friends have been invited to join your Entourage<br>	    Try another address book?<\/p>	    	    {include file=\"import-services.tpl\"}	<\/div>		<div class=\"moveon\">	    <h3>No thanks, I think I am finished.<\/h3>	    <p>	    Excellent, now you can explore Mevio the way it\'s supposed to be explored!<\/p>		<p>	    <a href=\"{$current_user.active_persona.profile_url}\" 	    {literal}onclick=\"if (top !== window) {top.location.href = this.href; return false;} return true;\"{/literal} 	    class=\"profile_link\">Finish<\/a><\/p>	<\/div><\/div>');
ps.tpls.set('manual-success.tpl', '<h2 class=\"dotted\">Congratulations!<\/h2><p class=\"congrats\">Your friends have been invited to join your Entourage<\/p><p><a href=\"{$current_user.active_persona.profile_url}\" {literal}onclick=\"if (top !== window) {top.location.href = this.href; return false;} return true;\"{/literal} class=\"profile_link\">finished<\/a><\/p>{include file=\'ad-300x250.tpl\'}');
ps.tpls.set('importer-to-service.tpl', '<div id=\"main-content\">	<div class=\"content-wrapper\">		{ps_box id=\"importer\" class=\"invite-friends\" title=\"Find your friends already on Mevio\"}			{ps_include file=\"service-login.tpl\" id=\"invite\"}		{/ps_box}	<\/div><\/div>');