if(!window.ustream){window.ustream={}}if(!ustream.labels){ustream.labels={}}(function(l){l["js.v3.ppv.purchase_amount.accept_tos"]="By clicking on Purchase you accept our <a href=\"#tos#\" target=\"_blank\" id=\"PpvTerms\">Terms of Service.<\/a>";l["js.v3.ppv.purchase_amount.cancel_link"]="or <a href=\"#cancel\" class=\"cancel\">cancel<\/a>";l["js.v3.ppv.purchase_amount.purchase_button"]="Purchase";l["js.v3.ppv.purchase_amount.this_is_your_ticket"]="This is your ticket.";l["js.v3.ppv.purchase_amount.totalcol_total"]="Total:";l["js.v3.ppv.purchase_amount.vod_list_description_text"]="This is a past event. By purchasing a ticket you will access to the following event videos:";l["www.advanced_pager_component.first"]="first";l["www.advanced_pager_component.last"]="last";l["www.advanced_pager_component.next"]="next";l["www.advanced_pager_component.page"]="<input value=\"#page#\" class=\"manualPager\" name=\"page\" \/> of <span class=\"max\">#pageCount#<\/span>";l["www.advanced_pager_component.previous"]="previous";l["www.ppv.confirmation.codes_used_one_hour"]="These codes can be used one hour before<br \/>the event begins at <a href=\\\\\"#show_url#\\\\\" target=\\\\\"_blank\\\\\"><strong>#show_url#<\/strong><\/a>.";l["www.ppv.confirmation.confirmation"]="Confirmation";l["www.ppv.confirmation.finish_button"]="Finish";l["www.ppv.confirmation.one_of_tickets_bound"]="One of the tickets you\\'ve bought has been bound to your Ustream account: <strong>#username#<\/strong>";l["www.ppv.confirmation.share_with_friends"]="Share this with friends";l["www.ppv.confirmation.status_contacting"]="Contacting server...";l["www.ppv.confirmation.status_working"]="Working...";l["www.ppv.confirmation.tickets_bound_info"]="When the event starts, just log in to watch.";l["www.ppv.confirmation.tweet"]="Tweet";l["www.ppv.confirmation.your_ticket_bound"]="Your ticket has been bound to your Ustream account: <strong>#username#<\/strong>.";l["www.ppv.confirmation.your_ticket_is"]="The purchased ticket code:";l["www.ppv.confirmation.your_transaction_error"]="Your transaction could not complete";l["www.ppv.confirmation.your_transaction_is_complete"]="Thank you, your transaction is complete. Your transaction number is: #transactionId#.";l["www.ppv.confirmation.you_can_redeem"]="You can redeem your purchased ticket(s) and watch<br \/>the recorded video on <a href=\\\\\"#show_url#\\\\\" target=\\\\\"_blank\\\\\"><strong>#show_url#<\/strong><\/a>.";l["www.ppv.confirmation.you_can_view_this_page"]="You can review your purchases anytime, by going to <a href=\"#dashboard_url#\" target=\"_blank\"><strong>#dashboard_url#<\/strong><\/a>.";l["www.ppv.confirmation.you_purchased_more_ticket"]="<strong>You have purchased more ticket codes!<\/strong><br \/>Feel free to share them with your friends.<br \/>Remember: it\\'s one code per customer.";l["www.ppv.confirmation.you_will_be_able_to_enter"]="You will be able to enter this code one hour before<br \/>the event begins at <a href=\"#show_url#\" target=\"_blank\"><strong>#show_url#<\/strong><\/a>.";l["www.ppv.confirmation.you_will_be_able_to_enter_vod"]="You can redeem your purchased ticket(s) and watch<br \/>the recorded video on <a href=\"#show_url#\" target=\"_blank\"><strong>#show_url#<\/strong><\/a>.";l["js.v3.ppv.browser_safari_agree"]="Ok";l["js.v3.ppv.browser_safari_warning_message"]="Note to Safari users: if you experience problems with the checkout process in Safari please visit <a href=\"http:\/\/www.paypal.com\" target=\"_blank\">www.paypal.com<\/a> and then retry the checkout process. Thank you.";l["js.v3.ppv.confirmation.share_text"]="I have bought my ticket for #itemName# on Ustream!";l["js.v3.ppv.confirmation.status_binding"]="Binding your ticket to your Ustream account...";l["js.v3.ppv.payment_processing"]="Processing your purchase";l["js.v3.ppv.please_wait"]="Please Wait...";l["js.v3.ppv.popupblock.btn_tryagain"]="Try again";l["js.v3.ppv.popupblock.text"]="<p>Purchasing tickets on Ustream requires you to enable popup windows.<br \/>Please turn off your popup blocker to continue.<\/p><p>Learn more at our <a href=\"\/ppv\/supportcenter#q50\" target=\"_blank\">Pay Per View Support Center<\/a><\/p>";l["js.v3.ppv.popupblock.title"]="Could not open popup window";l["js.v3.ppv.select_number_tickets"]="Select Number of Tickets";l["js.v3.ppv.tickets_ready_bound_info"]="One ticket will be bound to your Ustream account: <strong>#username#<\/strong>. You will be able to watch the show as soon as it starts.";l["js.v3.ppv.tickets_ready_keep_no"]="No";l["js.v3.ppv.tickets_ready_keep_question"]="The tickets you've purchased are ready.<br \/><br \/> Do you want to keep one for yourself?";l["js.v3.ppv.tickets_ready_keep_yes"]="Yes";l["js.v3.ppv.tickets_ready_nobound_info"]="We won't bind any tickets to your Ustream account, so you are able to give them to your friends or family. Remember, one ticket per person.";l["js.v3.ppv.warn_safari_title"]="Warning";l["js.v3.ppv.you_have_already_purchased_access"]="You have already purchased access to this event. If you want to buy an additional ticket for a friend, click \"Buy More\" inside the video player";l["js.v3.ppv_item_downloader.event_selling_is_off"]="Ticket selling is disabled for this event.";l["js.v3.ppv_program.application_submitted"]="Your application has been submitted.";l["js.v3.ppv_support_center.channel_label_channel_url"]="Channel URL";l["js.v3.ppv_support_center.channel_label_event_name"]="Event name";l["js.v3.ppv_support_center.session_expired"]="Your session expired";l["js.v3.ppv_ticket_validation.bind_ticket_btn_cancel"]="cancel";l["js.v3.ppv_ticket_validation.bind_ticket_btn_ok"]="Yes";l["js.v3.ppv_ticket_validation.bind_ticket_question"]="Do you want to redeem your ticket (<strong>#subst#<\/strong>) and bind it to your Ustream account?";l["js.v3.ppv_ticket_validation.bound_finish"]="You've bound your ticket!";l["js.v3.ppv_ticket_validation.bound_finish_error"]="Your ticket cannot be bound!";l["js.v3.ppv_ticket_validation.enter_button"]="Enter";l["js.v3.ppv_ticket_validation.enter_code"]="Enter your ticket code";l["js.v3.ppv_ticket_validation.enter_ticket_code"]="Enter Ticket Code";l["js.v3.ppv_ticket_validation.error_btn_close"]="Close";l["js.v3.ppv_ticket_validation.finish_btn_close"]="Finish";l["js.v3.ppv_ticket_validation.finish_message"]="You have successfully redeemed your ticket!";l["js.v3.ppv_ticket_validation.having_trouble"]="Having trouble with your ticket code? Contact <a target=\"_blank\" href=\"#supporturl#\">Customer Support<\/a>";l["js.v3.ppv_tos.viewer_tos"]="<p>Please read the following Ustream Pay-Per-View Viewer Terms and Conditions <b>(\u201cViewer Terms\u201d)<\/b> carefully. These Viewer Terms and the Ustream Terms of Service located at <a href=\"#terms_url#\" target=\"_blank\">http:\/\/www.ustream.tv\/terms<\/a> <b>(\u201cTerms of Service\u201d)<\/b> which are incorporated herein by reference and form part of these Viewer Terms, govern your purchase of access to the Event (defined below) and use of the Site and Services in connection therewith or otherwise. Capitalized terms not defined herein have the meanings given in the Terms of Service. These Viewer Terms apply to you whether you are a purchaser of an Event Ticket or a visitor to the Site using an Event Ticket (defined below). These Viewer Terms include our Refund Policy in Section 2(d)(ii). In the event of a conflict between the Viewer Terms and Terms of Services, the Viewer Terms shall govern.<\/p> <p>The term <b>\u201cEvent\u201d<\/b> means the pay-per-view event made available by a Broadcaster (defined below) via the designated URL of the Site (the <b>\u201cEvent Page\u201d<\/b>) on or approximately at the scheduled date and time or any recorded or rebroadcast of the Event as may be provided in accordance with these Viewer Terms. There is no guarantee that purchasers of Event Tickets (defined below) will be provided access to any recorded or rebroadcast of the Event. The term <b>\u201cBroadcaster\u201d<\/b> means the performer, artist, league, team, venue and any representatives of the foregoing providing the content, performance, concert or sporting event comprising the Event. Ustream is not the Broadcaster. If the Event was \u201crecorded,\u201d you may have access to the Event at any time on your demand, subject to Viewer Terms and Ustream programming the Event on the Site. For purposes of the Viewer Terms, the term \u201crecorded\u201d shall also refer to video-on-demand (\u201cVOD\u201d). Please see the Event Page to see if and when the Event will be rebroadcasted. The Event will be rebroadcasted and accessible at such time and date.<\/p> <p>YOU UNDERSTAND THAT BY CLICKING THE <b>\u201cBUY TICKET\u201d<\/b> BUTTON, BY ACCESSING or viewing THE EVENT, OR USING an event Ticket (including An access CODE (DEFINED BELOW)) OR THE SITE OR SERVICES (INCLUDING the event page and ANY CONTENT PROVIDED THEREIN) YOU ARE INDICATING THAT YOU HAVE READ, UNDERSTAND AND AGREE TO BE BOUND BY THESE VIEWER TERMS, WHETHER OR NOT YOU HAVE REGISTERED WITH USTREAM AS A MEMBER. Further, you consent to the use of: (a) electronic means to complete these Viewer Terms and to provide you with any notices given pursuant to these Viewer Terms; and (b) electronic records to store information related to these Viewer Terms or your use of the Site and Services. IF YOU DO NOT ACCEPT THESE Viewer Terms IN THEIR ENTIRETY, YOU MAY NOT ACCESS the event OR USE an event ticket.<\/p> <ol style=\"list-style-type:decimal;\"> <li><b>Eligibility and Availability.<\/b> In order to purchase access to an Event you must be at least 18 years of age. By purchasing an Event Ticket you represent and warrant that you are 18 or older. Any purchase of an Event Ticket by anyone under 18 is expressly prohibited. Each <b>\u201cEvent Ticket\u201d<\/b> includes one Access Code (as described below) that will enable access to and viewing of (i) the live Event via the Event Page; or (ii) any recorded or rebroadcast of the Event that may be provided via the Event Page as determined by Ustream in its sole discretion. You must have an active Ustream account in order to redeem your Event Ticket and have access to the Event. You will need to login or create an Ustream account to have access to the Event. You acknowledge and agree that by purchasing an Event Ticket Ustream is granting you a limited, revocable license. Without limiting any other terms of these Viewer Terms, Event Tickets are not redeemable for cash and you may not obtain any cash or money in exchange for an Event Ticket, regardless of how you acquired the Event Ticket. Event Tickets may not be used for sweepstakes, contests or promotions without the prior written consent of Ustream.<\/li> <li> <b>Purchasing Event Tickets.<\/b> <ol style=\"list-style-type:lower-alpha;\"> <li> <p><u>Fees and Payments.<\/u> You agree to pay the applicable Event Ticket fees <b>(\u201cEvent Ticket Fees\u201d)<\/b> and any convenience and order processing fees (if any) at the prices then in effect at the time of your purchase and you hereby authorize Ustream (or our third part service providers) to collect all such fees by charging the credit card or other payment method you provide as part of your purchase information or otherwise, either directly or indirectly, including via a third party online payment service, such as PayPal. Your purchase transaction via the Site and Services may include sales tax based on the bill-to address and the sales tax rate in effect at the time and location of your transaction is completed. You will be responsible for, and will promptly pay, all taxes and duties of any kind (including but not limited to sales, use and withholding taxes) associated with your purchase of an Event Ticket and any related fees. All fees and applicable taxes, if any, are payable in United States dollars.<\/p> <p>You agree that the information that you provide to us in connection with your purchase of an Event Ticket, and at all other times will be true, accurate, current and complete and you will not use false identities or impersonate any other person in connection therewith. You authorize us, directly or through third parties, to make any inquiries we consider necessary or appropriate to verify the information you provide to us related to your purchase of an Event Ticket, which may include providing your information to third parties.<\/p> <\/li> <li><u>Limitations<\/u>. You may purchase one or more Event Tickets subject to any limitations or restrictions in effect at the time of your purchase (e.g., a maximum number of Event Tickets allowed for purchase per user or per Event). The number of Event Tickets available for an Event may be limited for technical or other reasons and are subject to change at Ustream\u2019s sole discretion. Additional Event Tickets may also be made available for purchase at any time prior to the start time or during the Event. In the event you purchase multiple Event Tickets, your transfer of the Event Ticket to an individual will be gratis, and you may not charge, resell, markup or accept any payment or fee from the individual for the transfer and use of the Event Ticket. Any reselling or markup of an Event Ticket is unauthorized and a violation of the Viewer Terms and Terms of Service. All unauthorized Event Ticket(s) will be void and non-refundable.<\/li> <li><u>Event Tickets &amp; Access Codes.<\/u> In connection with your payment of the Event Ticket Fees, you will be issued a code that the user must enter to log-in to the Event Page <b>(\u201cAccess Code\u201d)<\/b>. The Access Code will also be sent to the email address you provide in connection with your purchase of an Event Ticket via a confirmation email. Access Codes obtained from third parties that are not issued by Ustream or any party or person associated with the Event will be deemed void and unauthorized. Only Access Codes issued by Ustream or a party or entity associated with the Event will be deemed authorized. Without limiting any other terms of these Viewer Terms, you are responsible for safeguarding your Event Ticket (including any Access Codes) and related account information. You agree that you will be solely responsible for any activities or actions taken through use of your Access Code(s), whether or not you have authorized such activities or actions. You will immediately notify Ustream of any unauthorized use of your Access Code(s). If you do not receive a confirmation email after providing your payment information, or, if you receive an error notice or experience another type of service interruption you must confirm with Ustream if your order has been placed by contacting us at <a href=\"#ppv_supportcenter_url#\" target=\"_blank\">http:\/\/www.ustream.tv\/ppv\/supportcenter<\/a>. Ustream is not responsible for and disclaims any liability related to your failure to confirm issuance of your Event Ticket information or completion of your transaction.<\/li> <li><u>Refund Policy.<\/u> Except as expressly provided in these Viewer Terms, all Event Ticket Fees and any other processing fees, if any, are non-refundable. Refunds for Event Ticket Fees will only be issued in the following circumstances: <ol style=\"list-style:lower-roman;\"> <li>If an Event is cancelled, postponed or the commencement of an Event is delayed for a significant amount of time as determined by Ustream in its sole discretion, a refund for the Event Ticket Fees will be issued to the user that purchased the Event Ticket(s) from Ustream and unless otherwise stated, the refund will be issued to such purchaser via the payment method through which the purchase was initially completed. Additional instructions for receipt of the refund may be found on the Event Page, or on the Site, or you may contact us at <a href=\"#ppv_supportcenter_url#\" target=\"_blank\">http:\/\/www.ustream.tv\/ppv\/supportcenter<\/a> for this information.<\/li> <li>In the event of a material technical difficulty with the Site or Service which affects the viewing of the Event, the purchaser of the Event Ticket may be eligible to receive a refund of the Event Ticket Fee(s) paid, as determined by Ustream in its sole discretion, provided the purchaser of the Event Ticket (A) contacts Ustream within three (3) days of the date of the Event for which he or she is requesting a refund <b>(\u201cRequest Period\u201d)<\/b> at Event Page; and (B) provides Ustream with the following information: the title and date of the Event, the purchaser\u2019s contact information and a description of the problem. At the end of the Request Period requests for refunds under this Section 2(d)(ii) will no longer be eligible for refund consideration by Ustream.<\/li> <li>Ustream will reverse the Event Ticket Fee(s) within fourteen (14) days of receipt of your request (provided your request was sent within the Request Period). All fees will be refunded to your credit card that you purchased the Event Ticket.<\/li> <\/ol> <\/li> <\/ol> <\/li> <li> <b>Termination or Suspension & Modification of these Viewer Terms.<\/b> <ol style=\"list-style-type:lower-alpha;\"> <li>a. Ustream reserves the right, in its sole discretion, at any time to modify these Viewer Terms without advance notice. If we modify these Viewer Terms, we will post the modification on the Site or provide you with notice of the modification. Ustream will also update the \u201cLast Updated Date\u201d at the top of the Viewer Terms. By continuing to access the Event or to access or use the Site or the Services after we have posted a modification on the Site or have provided you with notice of a modification, you are indicating that you agree to be bound by the modified Viewer Terms. If the modified Viewer Terms are not acceptable to you, your only recourse is to cease using the Site and the Services.<\/li> <li>b. Further, Ustream reserves the right, in its sole discretion, at any time to monitor, suspend, or terminate the Event. Subject to the Terms of Service, Ustream has the right to monitor all content that is streamed, displayed, exhibited, broadcasted, distributed, transmitted, reproduced and otherwise exploited on the Site. All Broadcasters and Events (and all related content and materials) are subject to the Viewer Terms and Terms of Service, and Ustream will have the right to terminate or suspend the Event (in whole or part) if the Event and any related content and materials are in violation of the Terms of Service, including without limitation to the Viewer Terms, and any intellectual property rights of any third party.<\/li> <li>c. You may cease your access to and viewing of the Event at any time. Without limiting other remedies or any terms of these Terms of Service, Ustream may immediately terminate or suspend your access to the Event, at any time and for any reason including in the event that you breach these Viewer Terms. Such a termination may be subject to a prorated refund of the Event Ticket Fee in Ustream\u2019s sole discretion. In addition, Ustream may notify authorities or take any actions it deems appropriate, without notice to you, if Ustream suspects or determines, in its own discretion, that you may have or there is a significant risk that you have: (i) failed to comply with any provision of these Viewer Terms or any policies or rules established by Ustream; or (ii) engaged in actions relating to or in the course of using the Site or Services that may be illegal or cause liability, harm, embarrassment, harassment, abuse or disruption for you, Ustream Users, Ustream or any other third parties or the Site or Services.<\/li> <li>d. After any termination, you understand and acknowledge that we will have no further obligation to provide access to the Event. Upon termination, all licenses and other rights granted to you by these Viewer Terms will immediately cease. Ustream is not liable to you or any third party for termination of access to the Event or termination of your use of the Event Page.<\/li> <li>e. Any suspension, termination or cancellation will not affect your obligations to Ustream under these Viewer Terms (including but not limited to payment, indemnification and limitation of liability), which by their sense and context are intended to survive such suspension, termination or cancellation.<\/li> <\/ol> <\/li> <li> <b>Disclaimer.<\/b> Without limiting the terms of the Terms of Service, Ustream does not have any obligation to monitor the Event content, for any purpose and is not responsible for the accuracy, completeness, appropriateness or legality of such content or anything said, depicted or written by the Broadcaster during or in connection with the Event. Further, the views and opinions expressed by the Broadcaster or any other contributors to the Event content are those of the Broadcaster and any other contributor and do not necessarily reflect the views or opinions of Ustream. The provision of access to or viewing of the Event is not an endorsement of the Event content and you agree to waive, and hereby do waive, any legal or equitable rights or remedies you have or may have against Ustream with respect thereto. YOUR PURCHASE OF AN EVENT TICKET AND Your access to and viewing of the event (including any content therein) is at your sole discretion and risk. access to the event, the Site and Services and all content or information included therein, are provided on an \u201cAS IS\u201d and \u201cAS AVAILABLE\u201d basis without warranties of any kind. USTREAM EXPRESSLY DISCLAIMS ALL WARRANTIES OF ANY KIND, EXPRESS, IMPLIED OR STATUTORY, RELATING TO THE event, the SITE, SERVICES and all content or information included therein, INCLUDING WITHOUT LIMITATION THE WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT OF PROPRIETARY RIGHTS, COURSE OF DEALING OR COURSE OF PERFORMANCE. Ustream disclaims any warranties: (i) regarding the accuracy, reliability, timeliness and performance of the event; or (ii) that the event and your access thereto will be error-free or that any errors will be corrected. No advice or information, whether oral or written, obtained by you from Ustream, will create any warranty not expressly stated in THESE PURCHASE TERMS. Some states or jurisdictions do not allow the exclusion of certain warranties. Accordingly, some of the above exclusions may not apply to you. <\/li> <li><b>Limitation of Liability.<\/b> IN NO EVENT WILL USTREAM, ITS OFFICERS, DIRECTORS, EMPLOYEES OR AGENTS, BE LIABLE TO YOU FOR ANY DAMAGES WHATSOEVER, INCLUDING, WITHOUT LIMITATION, INDIRECT, INCIDENTAL, SPECIAL, PUNITIVE OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR IN CONNECTION WITH YOUR ACCESS TO OR VIEWING OF THE EVENT (INCLUDING ANY CONTENT THEREIN) OR YOUR USE OF THE SITE OR SERVICES IN CONNECTION THEREWITH WHETHER THE DAMAGES ARE FORESEEABLE AND WHETHER OR NOT USTREAM HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. THE FOREGOING LIMITATION OF LIABILITY WILL APPLY TO THE FULLEST EXTENT PERMITTED BY LAW IN THE APPLICABLE JURISDICTION AND IN NO EVENT WILL USTREAM\u2019S CUMULATIVE LIABILITY TO YOU EXCEED $100.<\/li> <li><b>Indemnification.<\/b> You agree to defend, indemnify, and hold Ustream, its officers, directors, employees and agents, harmless from and against any claims, liabilities, damages, losses, and expenses, including without limitation reasonable attorney\u2019s fees and costs, arising out of or in any way connected with (i) your access to or viewing of the Event (including any content therein); (ii) your violation of these Viewer Terms; or (iii) your violation of any third party right, including without limitation any intellectual property right, publicity, confidentiality, property or privacy right.<\/li> <li> <b>Miscellaneous.<\/b> <ol style=\"list-style-type:lower-alpha;\"> <li><u>Assignment.<\/u> You may not assign or transfer these Viewer Terms, by operation of law or otherwise, without Ustream\u2019s prior written consent. Any attempt by you to assign or transfer these Viewer Terms, without such consent, will be null and of no effect. Ustream may assign or transfer these Viewer Terms, in its sole discretion, without restriction. Subject to the foregoing, these Viewer Terms will bind and inure to the benefit of the parties, their successors and permitted assigns.<\/li> <li><u>Governing Law.<\/u> These Viewer Terms and the relationship between you and Ustream will be governed by the laws of the State of California without regard to its conflict of law provisions. You and Ustream agree to submit to the personal and exclusive jurisdiction of the courts located in San Francisco County, California.<\/li> <li><u>Entire Agreement.<\/u> These Viewer Terms and the Terms of Service are the entire and exclusive agreement between Ustream and you regarding access to and viewing of the Event and your purchase of an Event Ticket and supersede and replace any and all prior oral or written understandings or agreements between Ustream and you regarding access to and viewing of the Event and your purchase of an Event Ticket.<\/li> <li><u>Notice.<\/u> Any notice or other communication to be given hereunder will be in writing and given (i) by Ustream via email (in each case to the address that you provide), (ii) a posting on the Site, or (iii) by you via email to support@ustream.tv or to such other addresses as Ustream may specify in writing. The date of receipt will be deemed the date on which such notice is transmitted.<\/li> <li><u>General.<\/u> The failure of Ustream to enforce any right or provision of these Viewer Terms will not constitute a waiver of future enforcement of that right or provision. The waiver of any such right or provision will be effective only if in writing and signed by a duly authorized representative of Ustream. Except as expressly set forth in these Viewer Terms, the exercise by either party of any of its remedies under these Viewer Terms will be without prejudice to its other remedies under these Viewer Terms or otherwise. If for any reason a court of competent jurisdiction finds any provision of these Terms invalid or unenforceable, that provision will be enforced to the maximum extent permissible and the other provisions of these Viewer Terms will remain in full force and effect.<\/li> <li><u>Questions.<\/u> If you have questions about these Viewer Terms, please contact Ustream at support@ustream.tv or by sending a written request to Ustream, Inc. at 475 Brannan Street, Ste 410, San Francisco, CA 94107.<\/li> <\/ol> <\/li> <\/ol>";l["www.ppv.faq.answer_1"]="You can watch a PPV event by purchasing a ticket for that event on the showpage. Note that PPV events can only be viewed on the Ustream website. If the event is in the future, you can pre-purchase a ticket. Once you've done that, on the day of the event, all you'll have to do is login. If the event is happening now, buy a ticket and you will automatically gain access to the show.";l["www.ppv.faq.answer_10"]="Yes. Just log into your account, go to your Dashboard, click on Purchased Content and click on Payment History.";l["www.ppv.faq.answer_2"]="A ticket code is given to you after you purchase a ticket to a PPV event. You can bind it to your account, which means you'll be using your account to watch the event or you can give the ticket code to a friend as a gift. All your friend has to do is log into Ustream and tie it their account instead. One ticket code per user, so two different people will not be able to use the ticket code.";l["www.ppv.faq.answer_3"]="Yes, before you put in your billing information, you can select to purchase more than 1 tickets. Even if you've purchased a ticket before, you can come back and purchase additional tickets for the same show.";l["www.ppv.faq.answer_4"]="One ticket per user, so no, you cannot share your ticket with others. However, if you've purchased multiple ticket codes, you can distribute those to friends, one code per friend.";l["www.ppv.faq.answer_5"]="You can always access your ticket code by logging into your account, going to your Dashboard, and then clicking on Purchased Content. Identify the show and you'll see your ticket code there.";l["www.ppv.faq.answer_6"]="If your payment went through successfully, you will have reached a 'Confirmation' page and will have received an email from Ustream for a purchase receipt. You can also check by going to your Dashboard, clicking on Purchased Content and then clicking on Payment History. We work with PayPal as our payment processor, so if your payment did not go through, they should give you a real-time update.";l["www.ppv.faq.answer_7"]="On the day of the show, log in and go to the broadcaster's page. If you haven't done so already, make sure to bind your ticket to your account.";l["www.ppv.faq.answer_8"]="Go to your Dashboard click on Purchased Content, and find your event. Just select the ticket and click on the \"Redeem Ticket\" button";l["www.ppv.faq.answer_9"]="The broadcaster has the option to give a free preview to his PPV event of up to 10 minutes. Once this preview is over, the broadcaster can drop the paywall. When the paywall is dropped, anyone who doesn't have a ticket will no longer have access to the content and in order to gain access must purchase a ticket. If you have a ticket prior to the paywall dropping and you're logged in, you will not have to do anything (as long as it is bound to your account). If you have a ticket but are not logged in, just log in and you will be able to watch the show.";l["www.ppv.faq.question_1"]="How do I view a PPV event?";l["www.ppv.faq.question_10"]="Can I see my payment history?";l["www.ppv.faq.question_2"]="What is a ticket code?";l["www.ppv.faq.question_3"]="Can I buy multiple codes?";l["www.ppv.faq.question_4"]="Can I share my ticket with others?";l["www.ppv.faq.question_5"]="Where can I see my ticket code?";l["www.ppv.faq.question_6"]="Did my payment go through?";l["www.ppv.faq.question_7"]="What am I supposed to do on the day of the show?";l["www.ppv.faq.question_8"]="How do I bind a ticket to my account?";l["www.ppv.faq.question_9"]="What is a paywall?";l["www.ppv.faq.title"]="FAQ";l["js.ppv.confirmation.ticket_generation"]="Generating your ticket codes, please wait a few seconds.";l["js.v3.aim.error"]="Error!";l["www.channel_page.action_not_allowed"]="You can not perform this action!";l["www.channel_page.beta"]="Beta";l["www.channel_page.can_not_delete"]="Can not delete!";l["www.channel_page.channel"]="Channel";l["www.channel_page.copy_these_codes"]="Copy these codes into your blog or website ";l["www.channel_page.data_error"]="Data error!";l["www.channel_page.embed"]="Embed";l["www.channel_page.embed_codes"]="embed codes";l["www.channel_page.empty_channel_id"]="Empty channel id!";l["www.channel_page.empty_data"]="Empty data!";l["www.channel_page.empty_data2"]="Empty data!";l["www.channel_page.enter_password_msg"]="This channel has been password protected by the host. Please provide a valid password to access the channel.";l["www.channel_page.featured_content_title"]="Featured";l["www.channel_page.featured_on_iphone"]="Featured on iPhone";l["www.channel_page.featured_show"]="Featured Show";l["www.channel_page.feed_tabs.all"]="All";l["www.channel_page.feed_tabs.comments"]="Comments";l["www.channel_page.feed_tabs.scheduled"]="Scheduled";l["www.channel_page.feed_tabs.status_updates"]="Status Updates";l["www.channel_page.feed_tabs.videos"]="Videos";l["www.channel_page.flag"]="flag";l["www.channel_page.flag.error.empty_target_id"]="Empty target id!";l["www.channel_page.flag.error.invalid_reason"]="Invalid reason!";l["www.channel_page.flag.error.save_error"]="Save error!";l["www.channel_page.flag.error.user_not_logged_in"]="User not logged in!";l["www.channel_page.honors"]="Honors";l["www.channel_page.invalid_item_type"]="Invalid item type was specified.";l["www.channel_page.leave_comment_link"]="Go to comments page";l["www.channel_page.leave_comment_text"]="Want to leave a comment?";l["www.channel_page.let_me_in_button"]="Let me in";l["www.channel_page.leweb.download"]="Download";l["www.channel_page.leweb.download_iphone_app"]="Download iPhone App";l["www.channel_page.leweb.itunes"]="iTunes";l["www.channel_page.leweb.leweb_paris_09"]="LeWeb Paris 09";l["www.channel_page.mj_watch_premiere"]="Watch the premiere in your language";l["www.channel_page.mobile_app_channel_link_text"]="Click here to watch the #name# show with Ustream Android application";l["www.channel_page.model.last_broadcast_started"]="Last broadcast was #date_ago#";l["www.channel_page.model.live_broadcast_started"]="Broadcast started #date_ago#";l["www.channel_page.model.not_broadcasted_yet"]="Has not broadcasted yet";l["www.channel_page.model.not_updated_yet"]="This channel does not yet have a status update";l["www.channel_page.next_show"]="Next Channel";l["www.channel_page.nonexistent_channel"]="Nonexistent channel!";l["www.channel_page.no_honors_yet"]="This channel doesn't have any honors yet.";l["www.channel_page.password"]="Password";l["www.channel_page.password_protected_show"]="Password Protected Show";l["www.channel_page.please_log_in_for_action"]="Please log in to perform this action!";l["www.channel_page.pop_out"]="pop out";l["www.channel_page.prev_show"]="Prev Channel";l["www.channel_page.restore_popped_out_chat"]="Restore Chat \/ Social Stream";l["www.channel_page.share_message_email"]="Check out this Ustream Channel: <a href=\"#channel_tinyurl#\">#channel_title#<\/a>";l["www.channel_page.share_message_twitter"]="Check out this Ustream Channel: #channel_tinyurl# #channel_title#";l["www.channel_page.show_info"]="Channel info";l["www.channel_page.show_more"]="show more";l["www.channel_page.social_switcher_chat"]="Chat";l["www.channel_page.social_switcher_social_stream"]="Social Stream";l["www.channel_page.switch_back"]="Switch back to the old show page";l["www.channel_page.tabflag"]="Flag";l["www.channel_page.tab_embed"]="Embed";l["www.channel_page.tab_event_info"]="Event info";l["www.channel_page.tab_flag"]="Flag";l["www.channel_page.tab_honors"]="Honors";l["www.channel_page.tab_show_info"]="Channel Info";l["www.channel_page.total_views"]="Total views";l["www.channel_page.try_new_design"]="Try out our new show page  design!";l["www.channel_page.v3.3d"]="Stereo 3D";l["www.channel_page.v3.3d_badge"]="3D";l["www.channel_page.v3.highlights_tab.title"]="Highlights";l["www.channel_page.v3.no_recorded_videos"]="This channel hasn't recorded any videos yet";l["www.channel_page.v3.ppv_badge"]="PPV";l["www.channel_page.v3.videos"]="Videos";l["www.channel_page.v3.videos_tab.title"]="Videos";l["www.channel_page.v3.views_number"]="#view_number# views";l["www.channel_page.views"]="Views:";l["www.channel_page.what_are_honors"]="What are Honors, and how to get them?";l["www.channel_page_v3.next_show"]="Next Channel";l["www.paypal.accept_tos_agree"]="I Agree";l["www.paypal.accept_tos_bodytext"]="<ol style=\"list-style:decimal;margin-left: 2em;\"> <li> <h3>Definitions.<\/h3> Unless otherwise specified, capitalized terms used in this Agreement will have the following meanings:<br \/> <p><strong>\u201cAccess Code\u201d<\/strong> means a code generated by Ustream\u2019s systems that an end user must enter to log-in to an Event Page for Pay Per View access.<\/p> <p><strong>\u201cAffiliate\u201d<\/strong> means an entity that is controlled by or is under common control of a party.<\/p> <p><strong>\u201cBranded Application\u201d<\/strong> means the version of the Ustream Viewing Application branded with Broadcaster Materials pursuant to the terms of this Agreement. <\/p> <p><strong>\u201cBroadcast Date and Time\u201d<\/strong> means the date and time the live Event Content is scheduled to be made available via the Event Page, as set forth in the first page. <\/p> <p><strong>\u201cBroadcaster Materials\u201d<\/strong> means (i) all video and\/or audio visual content (including the Event Content), data, text, visuals, graphics, artwork, photographs, communications, animation or other content or materials, including any updates thereto, provided by Broadcaster to Ustream or that Broadcaster uploads, transmits or provides on any Event Page, as may further be described in an Event SOW, including, without limitation, the name, voice, facsimile signature, photograph and likeness of Performer (ii) third party content which Broadcaster owns or to which it has the rights, and (iii) any content or links to third party websites or services. The Broadcaster Materials do not include End User Content.<\/p> <p><strong>\u201cEnd User Content\u201d<\/strong> means the video and\/or audiovisual content, text, data, graphics, images, photos, chat, communications, hypertext links and any other content uploaded, transmitted or submitted by an end user via the Ustream Service.<\/p> <p><strong>\u201cEvent\u201d<\/strong> means the performance or event described in the Cover Page.<\/p> <p><strong>\u201cEvent Content\u201d<\/strong> means the live and\/or recorded streamed audio visual content embodying the Event.<\/p> <p><strong>\u201cEvent Page\u201d<\/strong> means the specific web page of the Ustream Site through which the Event Content is made available for access and viewing by end users, and the Promotional Page.<\/p> <p><strong>\u201cIntellectual Property Rights\u201d<\/strong> means patent rights, copyright rights, trademarks, moral rights, trade secret rights, know-how, rights of publicity and any other intellectual property or proprietary rights recognized in any country or jurisdiction in the world.<\/p> <p><strong>\u201cPay Per View\u201d<\/strong> means the right purchased by an end user to access and view the Event Content via an Event Page at a designated time.<\/p> <p><strong>\u201cPayment Processing Services\u201d<\/strong> means the processing of payments, payment collection, handling of requests for refunds and other transaction related matters.<\/p> <p><strong>\u201cPromotional Page\u201d<\/strong> means the specific web page of the Ustream Site where Broadcaster may upload Broadcaster Materials for the advertising, marketing and promotion of an Event.<\/p> <p><strong>\u201cTerm\u201d<\/strong> means the term of this Agreement, as provided in Section 8.1.<\/p> <p><strong>\u201cUstream Materials\u201d<\/strong> has the meaning given in Section 7.1.<\/p> <p><strong>\u201cUstream Platform\u201d<\/strong> means Ustream\u2019s proprietary client and server based video player platform and technology, including the Ustream Software, the Ustream Viewing Application and the Ustream Materials.<\/p> <p><strong>\u201cUstream Professional Services\u201d<\/strong> means the production services or other services Ustream may agree to perform as ordered by Broadcaster, subject to the completion and execution of a separate service work.<\/p> <p><strong>\u201cUstream Service\u201d<\/strong> means any or all of Ustream\u2019s or Ustream\u2019s Affiliates properties, products, services, websites and content provided via the Internet, mobile, or other content delivery means, on any device capable of accessing or supporting the foregoing, whether presently existing or later developed, that are developed in whole or in part by or for Ustream or Ustream\u2019s Affiliates, including the Ustream Platform and the Ustream websites located at <a href=\"http:\/\/www.ustream.tv\" target=\"_blank\">www.ustream.tv<\/a> and <a href=\"http:\/\/www.ustream.com\" target=\"_blank\">www.ustream.com<\/a> (collectively the \u201cUstream Site\u201d), including any Event Page.<\/p> <p><strong>\u201cUstream Software\u201d<\/strong> means Ustream\u2019s proprietary APIs and any other software (and related documentation) provided to Broadcaster by Ustream to enable Broadcaster to use and access the Ustream Platform.<\/p> <p><strong>\u201cUstream Viewing Application\u201d<\/strong> means the software application developed by Ustream for use on devices, computers and\/or third party platforms as may further be described in an Event SOW, which enables end users to access and use the Ustream Service.<\/p> <\/li> <li> <h3>License.<\/h3> <p><u>License to Broadcaster:<\/u> Subject to the terms of this Agreement, Ustream grants Broadcaster a non-exclusive, worldwide license to upload and transmit the Event Content through the Ustream Platform for the purpose of allowing users of the Ustream Services to view Event Content for personal use. The Event Content may be transmitted by Broadcaster to the users of Ustream Services via Pay Per View or video on demand (a recording of the Event Content available to the user on demand, referred herein as \u201cVOD\u201d)<\/p> <p>2.2 <u>License to Ustream:<\/u> Subject to the terms of this Agreement, Broadcaster grants to Ustream a fully paid, worldwide, royalty free, non-exclusive right and license to use, reproduce, distribute, perform, create derivative works, display, and transmit the Broadcaster Materials: (i) to make the Broadcaster Materials available on the Ustream Service (including but not limited to rebroadcasting the Event Content after the live version has aired via the Ustream Service); (ii) to provide the Ustream Professional Services; and (iii) to promote market and advertise the Event, the Event Content and the Ustream Service. Ustream has the sole right to market, advertise, promote, sell, license or otherwise distribute its, or any third party\u2019s, products, services and advertisements, on or in conjunction with the Ustream Service (including embedding advertising in the Ustream players or within the Event Content stream); and Ustream will be entitled to retain any revenue generated thereby.<\/p> <p>2.3 <u>Restrictions:<\/u> Broadcaster has no right to transfer, sublicense or otherwise distribute the Ustream Software to any third party. Except as expressly authorized in this Agreement, Broadcaster will not copy or modify the Ustream Platform, in whole or in part. Except as expressly authorized in this Agreement, Broadcaster will not lease, lend or rent the Ustream Platform, use the Ustream Platform to provide service bureau, time sharing, rental, application services provider, hosting or other computer services to third parties, or otherwise make the functionality of the Ustream Platform available to third parties. Broadcaster acknowledges that the Ustream Platform constitutes proprietary information and contains trade secrets of Ustream and its licensors, and, in order to protect such trade secrets and other interests that Ustream and its licensors may have in the Ustream Platform, Broadcaster agrees not to disassemble, decompile or reverse engineer the Ustream Platform nor permit any third party to do so, except to the extent such restrictions are prohibited by law. All rights and licenses not expressly granted in this Agreement are reserved.<\/p> <\/li> <li> <h3>Obligations.<\/h3> <p>3.1 Broadcaster has sole control and responsibility over all aspects of the Broadcaster Materials, and Ustream will have sole control and responsibility over the all aspects of the Ustream Services, if any. Broadcaster will provide all Broadcaster Materials in compliance with the restrictions set forth at Section 7(b), 7(e), 8 and 9 of the Ustream Terms of Service located at http:\/\/www.ustream.tv\/terms, and the content upload restrictions located at Exhibit A.<\/p> <p>3.2 Broadcaster agrees to use Ustream as its sole and exclusive provider of the live streaming services for the content described under \u201cExclusivity Content\u201d on the Cover Page.<\/p> <p>3.3 Broadcaster agrees to provide all reasonably necessary support and resources in order to meet the date and time the event(s) will be broadcasted.<\/p> <p>3.4 Broadcaster agrees to use commercially reasonable efforts to include verbal attribution and favorable \u201cmentions\u201d of the Ustream Services within the Event Content presentation.<\/p> <p>3.5 Broadcaster will not use the Ustream Platform to offer, display, distribute, transmit, route, provide connections to or store any Broadcaster Materials or any other material that infringes copyrighted works or otherwise violates or promotes the violation of the intellectual property rights of any third party. In compliance with the safe harbor provision(s) of the Digital Millennium Copyright Act of 1998 (\u201cDMCA\u201d), and further to Broadcaster\u2019s obligations in Section 3.2.3, Ustream reserves the right to take down any and all content posted via use of the Ustream Platform at any time in its sole discretion. Without limiting other provisions herein, Broadcaster will assist Ustream with any such compliance activities including that Broadcaster will immediately upon receipt of any claims of copyright infringement committed using the Ustream Platform (\u201cNotices of Alleged Infringement\u201d) forward such notices to Ustream at copyright@ustream.tv.<\/p> <p>3.6 Broadcaster acknowledges and agrees that its use of the Ustream Service is dependent upon access to telecommunications and Internet services. Broadcaster is solely responsible for acquiring and maintaining all telecommunications and Internet services and other hardware and software required to access and use the Ustream Service, including, without limitation, any and all costs, fees, expenses and taxes of any kind related to the foregoing. Ustream is not responsible for any loss or corruption of data, lost communications or any other loss or damage of any kind arising from any such telecommunications and Internet services.<\/p> <\/li> <li> <h3>Access Codes<\/h3> <p>4.1 <u>Access Codes:<\/u> Broadcaster may request a specific number or unlimited number of Access Codes. Broadcaster must complete the appropriate section of the Cover Page to identify how many Access Codes will be available to the Event. Ustream will, within five (5) business days of receipt of the Cover Paget, either approve or reject the request and will communicate such approval or rejection to Broadcaster in writing to Ustream\u2019s designated contact. Ustream reserves the right to withhold approval for any reason. If Ustream approves the request, Ustream will use commercially reasonable efforts to provide Broadcaster with the requested number of Access Codes in the format and schedule mutually agreed to by the parties. Ustream disclaims any and all liability with respect to any Payment Processing Services for an Event or the sale or distribution of Access Codes, engaged in by Broadcaster or its third party service providers.<\/p> <\/li> <li> <h3>Revenue Share and Payment<\/h3> <p>5.1 In consideration of the rights granted hereunder, the parties will share revenue from Events as follows:<\/p> (a) <u>Net Pay Per View Revenue:<\/u> Unless otherwise set forth in the applicable Cover Letter, all cash receipts actually received by Ustream from end users from the sale of Access Codes (either Pay Per View or VOD) to the Event Content, less fees owed to third parties from rights clearances, any bad debt and charge-backs, applicable sales tax, commissions or discounts allowed or paid to third parties, rebates and refunds to end users, transaction fees, processing fees and any applicable marketing, advertising, development and production costs (\u201cNet Pay Per View Revenue\u201d) will be split as follows: <ul style=\"listy-style:none;\"> <li>(i) Fifty (50%) of Net Pay Per View Revenue to Broadcaster, and<\/li> <li>(ii) Fifty Percent (50%) of Net Pay Per View Revenue to Ustream.<\/li> <\/ul> <p>5.2 <u>Payment:<\/u> Unless otherwise set forth in the applicable Cover Letter, all revenue share fees due hereunder will be paid within thirty (30) days after the Event date, and all revenue share payments will include a report describing in reasonable detail the basis upon which payment was calculated, including all refunds and rebates to end-users. Ustream makes no guarantee or representation of any kind with respect to the amount of the revenue share fees payable to Broadcaster, and all fees received by Ustream are subject to the applicable sales taxes (as determined by the appropriate jurisdiction or territory). All refunds will be issued by Ustream (in its sole discretion) to any end user with or without any reason.<\/p> <\/li> <li> <h3>Billing:<\/h3> <p>6.1 Broadcaster agrees to pay the applicable fees (\u201cBroadcast Fees\u201d) and any convenience and order processing fees (if any) at the prices then in effect at the time of Broadcaster\u2019s purchase and Broadcaster hereby authorizes Ustream (or our third part service providers) to collect all such fees by charging the credit card or other payment method Broadcaster provides as part of its purchase information or otherwise, either directly or indirectly, including via a third party online payment service, such as PayPal. Broadcaster\u2019s purchase transaction via the Site and Services may include sales tax based on the bill-to address and the sales tax rate in effect at the time your transaction is completed. Broadcaster will be responsible for, and will promptly pay, all taxes and duties of any kind (including but not limited to sales, use and withholding taxes) associated with Broadcaster\u2019s purchase of an Broadcast Fees and any related fees. All fees and applicable taxes, if any, are payable in United States dollars.<\/p> <p>6.2 Broadcaster agree that the information that Broadcaster provide to us in connection with Broadcaster\u2019s purchase of an Event Ticket, and at all other times will be true, accurate, current and complete and Broadcaster will not use false identities or impersonate any other person in connection therewith. Broadcaster authorizes Ustream, directly or through third parties, to make any inquiries Ustream considers necessary or appropriate to verify the information Broadcaster provides to Ustream related to the purchase or order of the Event , which may include providing your information to third parties<\/p> <\/li> <li> <h3>Intellectual Property Rights.<\/h3> <p>7.1 Ustream will retain all right, title, and interest in and to the Ustream Platform, the Ustream Site, and the Ustream Services worldwide including, but not limited to, ownership of all Intellectual Property Rights therein, but excluding the Broadcaster Materials therein or thereon.<\/p> <p>7.2 Broadcaster will retain all right, title and interest in and to the Broadcaster Materials worldwide, including, but not limited to, ownership of all Intellectual Property Rights therein, but excluding the Ustream Platform, the Ustream Site, and the Ustream Service therein or thereon.<\/p> <p>7.3 Broadcaster grants to Ustream a worldwide, royalty free, non-exclusive and non-transferable right and license to use and reproduce Broadcaster\u2019s Mark (defined below) solely as necessary to perform the obligations set forth in this Agreement and to perform the marketing activities set forth in this Section 7. <strong><i>\u201cMark\u201d<\/i><\/strong> means a Broadcaster\u2019s trademarks, service marks, trade names and associated logos. Any use by Ustream of Broadcaster\u2019s Mark must be in accordance with applicable law.<\/p> <\/li> <li> <h3>Term and Termination.<\/h3> <p>8.1 This Agreement begins on the Effective Date and continues for one (1) year after the Effective Date. Thereafter, this Agreement will automatically renew for successive one-year periods (each a \u201cRenewal Term\u201d), unless terminated by either party with or without any reason at any time immediately upon receipt of a notice from the terminating party. Broadcaster will be charged for all fees up until the termination date. The Initial Term and any Renewal Term(s) are collectively referred to herein as the \u201cTerm.\u201d<\/p> 8.2 Sections 5-15 will survive any termination of this Agreement. <\/li> <li> <h3>Confidentiality.<\/h3> <p>9.1 For the purposes of this Agreement, \u201cConfidential Information\u201d means information about the disclosing party's activities that is proprietary and confidential, which will include all business, financial, technical and other information of a party, and the terms and conditions of this Agreement.<\/p> <p>9.2 Confidential Information will not include information that (a) is in or enters the public domain without breach of this Agreement, (b) the receiving party lawfully receives from a third party without restriction on disclosure and without breach of a nondisclosure obligation or (c) the receiving party knew prior to receiving such information from the disclosing party or develops independently without use of the Confidential Information of the disclosing party.<\/p> <p>9.3 Each party agrees (a) that it will not disclose to any third party or use any Confidential Information disclosed to it by the other except as expressly permitted in this Agreement and (b) that it will take all reasonable measures to maintain the confidentiality of all Confidential Information of the other party in its possession or control, which will in no event be less than the measures it uses to maintain the confidentiality of its own information of similar importance.<\/p> <p>9.4 Notwithstanding the foregoing, each party may disclose Confidential Information (a) to the extent required by a court of competent jurisdiction or other governmental authority or otherwise as required by law, provided the recipient of the Confidential Information will have given the disclosing party, prior to making any disclosure, immediate notice of such a requirement to disclose or (b) on a \u201cneed-to-know\u201d basis under an obligation of confidentiality to its legal counsel, accountants, banks and other financing sources and their advisors.<\/p> <\/li> <li> <h3>Representation and Warranties. Broadcaster represents, warrants and covenants that:<\/h3> <p>10.1 It has acquired and will comply with any and all licenses and approvals required for Broadcaster to perform its obligations and provide or distribute the Broadcaster Materials under this Agreement under applicable rules and regulations of any governmental entity or agency, that it has paid or will pay any necessary fees, costs or expenses associated therewith, and that it has made all disclosures required by such rules and regulations.<\/p> <p>10.2 As of the Effective Date and continuing throughout the Term of the Agreement, the Broadcaster Materials does not and will not, infringe the rights of any third party, including without limitation any Intellectual Property Rights, rights of publicity, rights of personality, rights of privacy, rights to payment of royalties; or result in any tort, injury, damage or harm to any third party.<\/p> <p>10.3 It has acquired any and all third party clearances, permissions and licenses which are necessary in connection with Ustream\u2019s or its Affiliates' exercise of any license granted them in Section 2.2, including, without limitation, the use of any names, likenesses or biographical materials, and for the payment of any and all applicable guild fees and for any and all residuals, payments, fees or royalties, if any, payable under any collective bargaining agreement or otherwise.<\/p> <p>10.4 The Broadcaster Materials will comply at all times with the content restrictions in Section 3.<\/p> <p>10.5 Except as specified in this Agreement, neither party makes any warranty in connection with the subject matter of this Agreement and hereby disclaims any and all implied warranties, including all implied warranties of merchantability and fitness for a particular purpose regarding such subject matter.<\/p> <\/li> <li> <h3>Indemnification.<\/h3> <p>11.1 Broadcaster will indemnify, defend and hold harmless Ustream, its Affiliates, officers, directors, employees, consultants and agents from any and all third party claims, liability, damages or costs (including, but not limited to, reasonable attorneys\u2019 fees) arising from its breach of any term, warranty, representation or covenant in this Agreement.<\/p> <p>11.2 Ustream will indemnify, defend and hold harmless Broadcaster, its Affiliates, officers, directors, employees, consultants and agents from any and all third party claims, liability, damages or costs (including but not limited to, reasonable attorneys\u2019 fees) arising from any claim that the Ustream Brand Marks and Ustream Platform violates or infringes any U.S. trademark, U.S. patent issued as of the Effective Date, U.S. copyright or misappropriates any trade secret enforceable in the U.S., and will pay any costs, damages and reasonable attorneys\u2019 fees attributable to such claim that are awarded against Broadcaster.<\/p> <p>11.3 The indemnified party will promptly notify the indemnifying party of any and all such claims and will reasonably cooperate with the indemnifying party with the defense or settlement thereof, which defense or settlement will be controlled by the indemnifying party, provided that, if any settlement requires an affirmative obligation of, results in any ongoing liability to or prejudices or detrimentally impacts indemnified party in any way and such obligation, liability, prejudice or impact can reasonably be expected to be material, then such settlement will require the indemnified party\u2019s written consent (not to be unreasonably withheld or delayed) and the indemnified party may have its own counsel in attendance at all proceedings and substantive negotiations relating to such claim.<\/p> <p>11.4 If the ability of the indemnified party to exercise its rights or fulfill its obligations under Section 11.1 or 11.2 is enjoined, or if the indemnifying party reasonably determines that a claim in Section 11.1 or 11.2 is likely to be asserted, the indemnifying party will, at its option and expense, either: (a) procure for the indemnified party the right to use the material or service that is subject of the indemnification obligation under this Agreement; (b) replace such infringing or non-compliant material or service with non-infringing and compliant material or service; provided, that such non-infringing and compliant material or service will not materially adversely affect or limit the operation or functionality of the indemnifying party\u2019s material or service; (c) modify the infringing or non-compliant material or service so that it is non-infringing and compliant; or (d) if none of the above options are reasonably available after commercially reasonable attempts by the indemnifying party to obtain such option, the indemnifying party may, at its option, terminate this Agreement.<\/p> <\/li> <li><h3>Limitation Of Liability. Neither party will be liable to the other for any special, incidental or consequential damages, whether based on breach of contract, tort (including negligence) or otherwise, whether or not that party has been advised of the possibility of such damage. In no event will Ustream\u2019s aggregate, cumulative liability to Broadcaster regarding any and all claims and causes of action, under any theory of liability, whether in contract, in tort (including negligence or strict liability) or otherwise, exceed U.S. $10,000.00.<\/h3> <\/li> <li> <h3>Disclaimer.<\/h3> <p>13.1 Ustream: (i) is not responsible for the activities of end users of the Ustream Service; and (ii) has no ability to control the content that is uploaded, posted or transmitted using Ustream Service and does not have any obligation to monitor such content for any purpose and, as a result, is not responsible for the accuracy, completeness, appropriateness or legality of the content (including without limitation anything said or written by end users of the Ustream Service) and hereby disclaims any and all liability relating thereto. Ustream will have no liability for: (i) any claims, losses or damage caused by errors or omissions in any content (including the Broadcaster Materials) or any other information provided to Ustream by Broadcaster in connection with the Services or any actions taken by Ustream at Broadcaster\u2019s direction; and (ii) any claims, losses or damages arising out of or in connection with Broadcaster\u2019s use of any third party products, services, software or websites that are accessed via links from within the Ustream Service or otherwise. <strong>THE USTREAM SERVICE AND USTREAM PLATFORM ARE PROVIDED ON AN \u201cAS-IS\u201d AND \"AS AVAILABLE\" BASIS. USTREAM DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. USTREAM DOES NOT WARRANT THAT (I) BROADCASTER\u2019S USE OF THE SERVICES WILL MEET BROADCASTER\u2019S REQUIREMENTS; OR (II) THE USTREAM SERVICE OR USTREAM PLATFORM WILL BE CONTINUOUS, UNINTERRUPTED OR ERROR-FREE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF CERTAIN WARRANTIES IN CERTAIN CIRCUMSTANCES. ACCORDINGLY, SOME OF THE LIMITATIONS SET FORTH ABOVE MAY NOT APPLY.<\/strong><\/p> <\/li> <li> <h3>Publicity.<\/h3> <p>Ustream will have the right to market and promote the Event, and make any public announcement or press release about the Event. Any public announcement or press release by Broadcaster must be pre-approved by Ustream. Neither party shall make any disparaging or negative comments regarding the other party or its services or products.<\/p> <\/li> <li> <h3>General.<\/h3> <p>15.1 Assignment. Neither party may assign its rights or obligations under this Agreement without the prior written consent of the other party; provided, however, that either party may assign or transfer this Agreement without such consent in connection with a merger, acquisition, or sale of all or substantially all of its assets or any similar such event.  <\/p> <p>15.2 Governing Law. This Agreement will be governed by and construed in accordance with the laws of the State of California. The parties consent to venue and the exclusive jurisdiction of the state and federal courts located in San Francisco, California.<\/p> <p>15.3 Notice. Any notice under this Agreement will be in writing and delivered by personal delivery, express courier, confirmed facsimile, confirmed email or certified or registered mail, return receipt requested. Notices will be sent to a party at its address set forth on the first page or such other address as that party may specify in writing pursuant to this section.<\/p> <p>15.4 No Agency. The parties are independent contractors and will have no power or authority to assume or create any obligation or responsibility on behalf of each other. This Agreement will not be construed to create or imply any partnership, agency or joint venture.<\/p> <p>15.5 Force Majeure. Except for payment, any delay in or failure of performance by either party under this Agreement will not be considered a breach of this Agreement and will be excused to the extent caused by any occurrence beyond the reasonable control of such party including, but not limited to, acts of nature, power outages and governmental restrictions.<\/p> <p>15.6 Severability. In the event that any provision of this Agreement is held to be unenforceable by a court or arbitrator, the remaining portions of the Agreement will remain in full force and effect.<\/p> <\/li> <\/ol> <h3 style=\"text-align:center;\"><u>EXHIBIT A<\/u><\/h3> <p style=\"text-align:center;\">INSTRUCTIONS FOR UPLOADING EVENT CONTENT AND TECHNICAL SPECIFICATIONS<\/p> Broadcaster\u2019s equipment for purposes of generating and uploading Event Content to the Ustream Platform and Ustream Site will meet the following technical specifications: <ol style=\"margin-left: 2em;list-style-type: decimal;\"> <li>Broadcaster will use a dedicated LAN line with a minimum upload bandwidth of 1 mbps.<\/li> <li>Broadcaster will use a USB compatible or firewire compatible video camera or video feed into a video graphics card.<\/li> <li>Broadcaster will not use webcam unless explicitly agreed to by Ustream.<\/li> <li>Broadcaster will use an external-powered microphone or powered audio source into computer line.<\/li> <li>Broadcaster will use a computer manufactured no earlier than three years prior to the effective date of this Agreement.<\/li> <\/ul> Broadcaster will use Ustream Producer or Flash Media Encoder in compliance with the instructions at: http:\/\/helpcenter.ustream.tv\/Event Content\/broadcasting-ustream -producer-0 <a href=\"http:\/\/www.ustream.tv\/fme-help\" target=\"_blank\">http:\/\/www.ustream.tv\/fme-help<\/a> Ustream may change these specifications form at any time. Additional instructions for uploading Event Content on the Ustream Site are located at: www.ustream.tv.";l["www.paypal.accept_tos_bodytext_v2"]="<p>Please read the following Ustream Open Broadcaster Terms of Service (\u201c<strong>Broadcaster Terms<\/strong>\u201d) carefully. These Broadcaster Terms and the Ustream Terms of Service located at <a target=\"_blank\" href=\"#terms_url#\">http:\/\/www.ustream.tv\/terms<\/a> (\u201c<strong>TOS<\/strong>\u201d) which are incorporated herein by reference and form part of these Broadcaster Terms (collectively, this \u201c<strong>Agreement<\/strong>\u201d), govern your purchase of the Broadcaster Service and your use of the Site and Services in connection therewith.  The \u201cBroadcaster Service\u201d is a premium Service (as defined in the TOS) offered by Ustream whereby you can broadcast live or recorded events on a Pay Per View basis to Ustream\u2019s Pay Per View Viewers. In the event of a conflict between the Broadcaster Terms and TOS, these Broadcaster Terms shall govern.<\/p><p>\"<strong>You<\/strong>\" means the entity or person registered to the Ustream account that is purchasing the Broadcaster Service that is authorized to represent and bind the Broadcaster to this Agreement.  You represent and warrant that you have the right and ability to enter into this Agreement on behalf of the Broadcaster.<\/p><p>YOU UNDERSTAND THAT BY CLICKING THE \u201c<strong>I AGREE<\/strong>\u201d BUTTON, YOU ARE INDICATING THAT YOU HAVE READ, UNDERSTAND AND AGREE TO BE BOUND BY THIS AGREEMENT.  Further, you consent to the use of: (a) electronic means to complete this agreement and to provide you with any notices given pursuant to this agreement; and (b) electronic records to store information related to THIS AGREEMENT or your use of the Site and Services. IF YOU DO NOT ACCEPT THIS AGREEMENT IN ITS ENTIRETY, YOU MAY NOT ACCESS OR use the broadcaster service.<\/p><p>This Agreement is effective as of the date that you click the \u201cI AGREE\u201d button and continues until terminated by either party, with or without any reason, at any time immediately upon receipt of a notice from the terminating party (the \u201cTerm\u201d).<\/p><ol style=\"list-style-type: decimal;\"><li><strong>Additional Definitions.<\/strong> Capitalized terms not defined herein have the meanings given in the TOS.<ol style=\"list-style-type: none;\"><li>\u201c<strong>Access Code<\/strong>\u201d means a code generated by Ustream\u2019s systems that an end user must enter to log-in to an Event Page for Pay Per View access.<\/li><li>\u201c<strong>Broadcaster<\/strong>\u201d means the performer, artist, league, team, venue and any representatives of the foregoing providing the content, performance, concert or sporting event comprising the Event. Ustream is not the Broadcaster.<\/li><li>\u201c<strong>Broadcaster Materials<\/strong>\u201d means (i) all video and\/or audio visual content (including the Event Content), data, text, visuals, graphics, artwork, photographs, communications, animation or other content or materials, that you upload, transmit or provide on any Event Page, including, without limitation, the name, voice, signature, photograph and likeness of any performer in the Event Content; (ii) third party content which Broadcaster owns or to which it has the rights, and (iii) any content or links to third party websites or services.  The Broadcaster Materials do not include User Submissions as defined in the TOS.<\/li><li>\u201c<strong>Event<\/strong>\u201d means the Pay Per View event(s) made available by you during the Term.<\/li><li>\u201c<strong>Event Content<\/strong>\u201d means the live and\/or recorded streamed audio visual content embodying the Event.<\/li><li>\u201c<strong>Event Page<\/strong>\u201d means the specific web page(s) of the Site through which your Event Content is made available for access and viewing by Pay Per View Viewers.<\/li><li>\u201c<strong>Intellectual Property Rights<\/strong>\u201d means patent rights, copyright rights, trademarks, moral rights, trade secret rights, know-how, rights of publicity and any other intellectual property or proprietary rights recognized in any country or jurisdiction in the world.<\/li><li>\u201c<strong>Pay Per View<\/strong>\u201d means a type of broadcast event that requires payment by an end user to access and view such event.<\/li><li>\u201c<strong>Pay Per View Viewer<\/strong>\u201d means an end user of Ustream who uses an authorized Access Code to view your Event.<\/li><\/ol><\/li><li><strong>Licenses.<\/strong><ol style=\"list-style-type: lower-alpha;\"><li>Subject to the terms of this Agreement, Ustream grants you a non-exclusive, worldwide license to upload and transmit the Event Content through the Services for the purpose of allowing users of the Services to view Event Content for personal use.  The Event Content may be transmitted by you to the users of the Services via Pay Per View or video on demand (a recording of the Event Content available to the user on demand, referred herein as \u201cVOD\u201d)<\/li><li>Subject to the terms of this Agreement, you grant to Ustream a fully paid, worldwide, royalty free, non-exclusive right and license to use, reproduce, distribute, perform, create derivative works, display, and transmit the Broadcaster Materials: (i) to make the Broadcaster Materials available on the Services (including but not limited to rebroadcasting the Event Content after the live version has aired via the Services); and (ii) to promote market and advertise the Event, the Event Content and the Services.  Ustream has the sole right to market, advertise, promote, sell, license or otherwise distribute its, or any third party\u2019s, products, services and advertisements, on or in conjunction with the Services (including embedding advertising in the Ustream players or within the Event Content stream); and Ustream will be entitled to retain any revenue generated thereby. You also grant to Ustream a worldwide, royalty free, and non-exclusive right and license to use and reproduce your trademarks, service marks, trade names and associated logos (\u201cBroadcaster Marks\u201d) solely as necessary to perform the obligations set forth in this Agreement, including the marketing activities set forth in this section. You retain all right, title and interest in and to the Broadcaster Materials and Broadcaster Marks worldwide, including, but not limited to, ownership of all Intellectual Property Rights therein, but excluding the Services which are owned by Ustream.<\/li><\/ol><\/li><li><strong>Obligations.<\/strong><ol style=\"list-style-type: lower-alpha;\"><li>You have sole control and responsibility over all aspects of the Broadcaster Materials, and Ustream will have sole control and responsibility over the all aspects of the Services, including the means the processing of payments, payment collection, handling of requests for refunds and other transaction related matters, related to Pay Per View for your Events. You will provide all Broadcaster Materials in compliance with the restrictions set forth at Section 7(b), 7(e), 8 and 9 of the TOS and the content upload restrictions located at the end of these Broadcaster Terms.<\/li><li>You agree to provide all reasonably necessary support and resources in order to meet the date and time the Event(s) will be broadcasted.<\/li><li>Broadcaster will not use the Broadcast Service to offer, display, distribute, transmit, route, provide connections to or store any Broadcaster Materials or any other material that infringes copyrighted works or otherwise violates or promotes the violation of the intellectual property rights of any third party.  In compliance with the safe harbor provision(s) of the Digital Millennium Copyright Act of 1998 (\u201cDMCA\u201d), Ustream reserves the right to take down any and all content posted via use of the Services at any time in its sole discretion. Without limiting other provisions herein, you will assist Ustream with any such compliance activities, including immediately forwarding any such notice upon receipt of any claims of copyright infringement committed using the Services to Ustream at <a target=\"_blank\" href=\"mailto:copyright@ustream.tv\">copyright@ustream.tv<\/a>.<\/li><li>You acknowledge and agree that your use of the Broadcast Service is dependent upon access to telecommunications and Internet services.  You are solely responsible for acquiring and maintaining all telecommunications and Internet services and other hardware and software required to access and use the Broadcast Service, including, without limitation, any and all costs, fees, expenses and taxes of any kind related to the foregoing.  Ustream is not responsible for any loss or corruption of data, lost communications or any other loss or damage of any kind arising from any such telecommunications and Internet services.<\/li><\/ol><\/li><li><strong>Revenue Share and Payment<\/strong><ol style=\"list-style-type: lower-alpha;\"><li>In consideration of the rights granted hereunder, the parties will share revenue generated from the sale of Access Codes to your Events as follows:  All legitimate cash receipts actually received by Ustream from the sale of Access Codes (either Pay Per View or VOD) to the Event, less refunds or charge backs related to the sale of Access Codes (\u201cPay Per View Revenue\u201d) will be split as follows:<ol style=\"list-style: lower-roman outside none;\"><li>Fifty Percent (50%) of Pay Per View Revenue to you, and<\/li><li>Fifty Percent (50%) of Pay Per View Revenue to Ustream.<\/li><\/ol><\/li><li>Your revenue share fees due hereunder will be paid within thirty (30) days after the applicable Event date, and all revenue share payments will include a report describing in reasonable detail the basis upon which payment was calculated, including all refunds and rebates to related to Access  Codes. All refunds will be issued by Ustream (in its sole discretion) to any end user with or without any reason.  Each party agrees that it will not disclose such reports to any third party except as required by as required by law, and to those with a \u201cneed-to-know\u201d basis under an obligation of confidentiality, such as to its legal counsel, accountants, banks and other financing sources and their advisors.<\/li><li>Ustream makes no guarantee or representation of any kind with respect to the amount of the revenue share fees payable to you, and all fees received by Ustream are subject to applicable sales taxes (as determined by the appropriate jurisdiction or territory).<\/li><\/ol><\/li><li><strong>Representation and Warranties.<\/strong> Each of you and Broadcaster represent, warrant and covenant that:  (a) it has acquired and will comply with any and all licenses and approvals required for Broadcaster to perform its obligations and provide or distribute the Broadcaster Materials and Broadcaster Marks under this Agreement under applicable rules and regulations of any governmental entity or agency, that it has paid or will pay any necessary fees, costs or expenses associated therewith, and that it has made all disclosures required by such rules and regulations; (b) the Broadcaster Materials and Broadcaster Marks do not and will not, infringe the rights of any third party, including without limitation any Intellectual Property Rights, rights of publicity, rights of personality, rights of privacy, rights to payment of royalties; or result in any tort, injury, damage or harm to any third party; (c) it has acquired any and all third party clearances, permissions and licenses which are necessary in connection with Ustream\u2019s exercise of any license granted them in Section 2, including, without limitation, the use of any names, likenesses or biographical materials, and for the payment of any and all applicable guild fees and for any and all residuals, payments, fees or royalties, if any, payable under any collective bargaining agreement or otherwise; and (d) all information provided to Ustream will be true, accurate, current and complete and that you and Broadcaster will not use false identities or impersonate any other person in connection therewith.  In addition, you represent and warrant that you are 18 years old or older.<\/li><li><strong>Indemnification.<\/strong><ol style=\"list-style-type: lower-alpha;\"><li>Each of you and Broadcaster will indemnify, defend and hold harmless Ustream, its officers, directors, employees, consultants and agents from any and all third party claims, liability, damages or costs (including, but not limited to, reasonable attorneys\u2019 fees) arising from its breach of any term, warranty, representation or covenant in this Agreement.<\/li><li>Ustream will indemnify, defend and hold harmless you, your officers, directors, employees, consultants and agents from any and all third party claims, liability, damages or costs (including but not limited to, reasonable attorneys\u2019 fees) arising from any claim that the Broadcast Service or any Ustream Brand Marks thereon violate or infringe any U.S. trademark, U.S. patent issued as of the Effective Date, U.S. copyright or misappropriates any trade secret enforceable in the U.S., and will pay any costs, damages and reasonable attorneys\u2019 fees attributable to such claim that are awarded against you.<\/li><li>The indemnified party will promptly notify the indemnifying party of any and all such claims and will reasonably cooperate with the indemnifying party with the defense or settlement thereof, which defense or settlement will be controlled by the indemnifying party, provided that, if any settlement requires an affirmative obligation of, results in any ongoing liability to or prejudices or detrimentally impacts indemnified party in any way and such obligation, liability, prejudice or impact can reasonably be expected to be material, then such settlement will require the indemnified party\u2019s written consent (not to be unreasonably withheld or delayed) and the indemnified party may have its own counsel in attendance at all proceedings and substantive negotiations relating to such claim.<\/li><\/ol><\/li><li><strong>Limitation Of Liability. Neither party will be liable to the other for any special, incidental or consequential damages, whether based on breach of contract, tort (including negligence) or otherwise, whether or not that party has been advised of the possibility of such damage. In no event will Ustream\u2019s aggregate, cumulative liability to Broadcaster regarding any and all claims and causes of action, under any theory of liability, whether in contract, in tort (including negligence or strict liability) or otherwise, exceed the amounts paid by Ustream to you hereunder.<\/strong><\/li><li><strong>Disclaimer.<\/strong><ol style=\"list-style-type: lower-alpha;\"><li>Ustream: (i) is not responsible for the activities of end users of the Services; and (ii) has no ability to control the content that is uploaded, posted or transmitted using Services and does not have any obligation to monitor such content for any purpose and, as a result, is not responsible for the accuracy, completeness, appropriateness or legality of the content (including without limitation anything said or written by end users of the Services) and hereby disclaims any and all liability relating thereto.  Ustream will have no liability for: (i) any claims, losses or damage caused by errors or omissions in any content (including the Broadcaster Materials or Broadcaster Marks) or any other information provided to Ustream by Broadcaster in connection with the Services or any actions taken by Ustream at Broadcaster\u2019s direction; and (ii) any claims, losses or damages arising out of or in connection with Broadcaster\u2019s use of any third party products, services, software or websites that are accessed via links from within the Services or otherwise.<\/li><\/ol><ol style=\"list-style-type: none;\"><li><strong>THE SERVICES ARE PROVIDED ON AN \u201cAS-IS\u201d AND \u201cAS AVAILABLE\u201d BASIS. USTREAM DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.  USTREAM DOES NOT WARRANT THAT (I) YOUR USE OF THE SERVICES WILL MEET YOUR OR BROADCASTER\u2019S REQUIREMENTS; OR (II) THAT THE SERVICES WILL BE CONTINUOUS, UNINTERRUPTED OR ERROR-FREE.  SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF CERTAIN WARRANTIES IN CERTAIN CIRCUMSTANCES.  ACCORDINGLY, SOME OF THE LIMITATIONS SET FORTH ABOVE MAY NOT APPLY.<\/strong><\/li><\/ol><\/li><li><strong>Termination or Suspension &amp; Modification.<\/strong><ol style=\"list-style-type: lower-alpha;\"><li>Except with respect to Section 4, Ustream reserves the right, in its sole discretion, at any time to modify this Agreement without advance notice.  If we modify this Agreement, we will post the modification on the Site or provide you with notice of the modification.  Ustream will also update the \u201cLast Updated Date\u201d at the top of this Agreement.  By continuing to use the Broadcast Service after we have posted a modification on the Site or have provided you with notice of a modification, you are indicating that you agree to be bound by the modified Agreement.  If the modified Agreement is not acceptable to you, your only recourse is to cease using the Broadcast Service.<\/li><li>Further, Ustream reserves the right, in its sole discretion, at any time to monitor, suspend, or terminate any or all of your Events.  Subject to the TOS, Ustream has the right to monitor all content that is streamed, displayed, exhibited, broadcasted, distributed, transmitted, reproduced and otherwise exploited on the Site. Ustream will have the right to terminate or suspend any Event (in whole or part) if the Event and any related content and materials are in violation of the TOS, including without limitation this Agreement, and any intellectual property rights of any third party.<\/li><li>After any termination, you understand and acknowledge that Ustream will have no further obligation to provide access to your Events.  Upon termination, all licenses and other rights granted to you by this will immediately cease. Ustream is not liable to you or any third party for termination of access to the Event or termination of your use of the Event Page. Any suspension, termination or cancellation will not affect your obligations to Ustream under this Agreement (including but not limited to ownership, indemnification and limitation of liability), which by their sense and context are intended to survive such suspension, termination or cancellation.<\/li><\/ol><\/li><li><strong>Miscellaneous.<\/strong><ol style=\"list-style-type: lower-alpha;\"><li><u>Assignment<\/u>. You may not assign or transfer this Agreement, by operation of law or otherwise, without Ustream\u2019s prior written consent.  Any attempt by you to assign or transfer this Agreement, without such consent, will be null and of no effect.  Ustream may assign or transfer this Agreement, in its sole discretion, without restriction.  Subject to the foregoing, this Agreement will bind and inure to the benefit of the parties, their successors and permitted assigns.<\/li><li><u>Governing Law<\/u>.  This Agreement and the relationship between you and Ustream will be governed by the laws of the State of California without regard to its conflict of law provisions.  You and Ustream agree to submit to the personal and exclusive jurisdiction of the courts located in San Francisco County, California.<\/li><li><u>Entire Agreement<\/u>.  This Agreement is the entire and exclusive agreement between Ustream and you regarding the subject matter hereof and supersedes and replaces any and all prior oral or written understandings or agreements between Ustream.<\/li><li><u>Notice<\/u>.  Any notice or other communication to be given hereunder will be in writing and given (i) by Ustream via email (in each case to the address that you provide), (ii) a posting on the Site, or (iii) by you via email to <a target=\"_blank\" href=\"#support_mailto_url#\">support@ustream.tv<\/a> or to such other addresses as Ustream may specify in writing.  The date of receipt will be deemed the date on which such notice is transmitted.<\/li><li><u>General<\/u>. The failure of Ustream to enforce any right or provision of this Agreement will not constitute a waiver of future enforcement of that right or provision.  The waiver of any such right or provision will be effective only if in writing and signed by a duly authorized representative of Ustream.  Except as expressly set forth in this Agreement, the exercise by either party of any of its remedies under this Agreement will be without prejudice to its other remedies under this Agreement or otherwise.  If for any reason a court of competent jurisdiction finds any provision of this Agreement invalid or unenforceable, that provision will be enforced to the maximum extent permissible and the other provisions of this Agreement will remain in full force and effect.<\/li><li><u>Questions<\/u>.  If you have questions about this Agreement, please contact Ustream at <a target=\"_blank\" href=\"#support_mailto_url#\">support@ustream.tv<\/a> or by sending a written request to Ustream, Inc. at 475 Brannan Street, Ste 410, San Francisco, CA 94107.<\/li><\/ol><\/li><\/ol><p><strong>INSTRUCTIONS FOR UPLOADING EVENT CONTENT AND TECHNICAL SPECIFICATIONS:<\/strong><\/p><p>Your equipment for purposes of generating and uploading Event Content to the Services will meet the following technical specifications:<\/p><ol style=\"list-style-type: none;\"><li><ol style=\"list-style-type: decimal;\"><li>Dedicated LAN line with a minimum upload bandwidth of 1 mbps.<\/li><li>USB compatible or firewire compatible video camera or video feed into a video graphics card.<\/li><li>No webcam use unless explicitly agreed to by Ustream.<\/li><li>External-powered microphone or powered audio source into computer line.<\/li><li>Computer manufactured no earlier than three years prior to the Event.<\/li><\/ol><\/li><\/ol><p>Use Ustream Producer or Flash Media Encoder in compliance with the instructions at:<br \/><a target=\"_blank\" href=\"http:\/\/helpcenter.ustream.tv\/content\/broadcasting-ustream-producer-0\">http:\/\/helpcenter.ustream.tv\/content\/broadcasting-ustream-producer-0<\/a><br \/><a target=\"_blank\" href=\"#fme_help_url#\">http:\/\/www.ustream\/fme-help<\/a><\/p><p>Ustream may change these specifications form at any time.<\/p><p>Additional instructions for uploading Event Content on the Ustream Site are located at: <a target=\"_blank\" href=\"#home_url#\">www.ustream.tv<\/a>.<\/p>";l["www.paypal.accept_tos_cancel"]="Cancel";l["www.paypal.accept_tos_dont_agree"]="I would not like to be included in the partner program";l["www.paypal.start_transaction.invalid_currency"]="Invalid currency!";l["www.paypal.start_transaction.invalid_ticketcount_or_totalcost"]="You cannot buy tickets for more than #COST# or more than #COUNT# tickets at once.";l["www.paypal_account_template.change"]="Change";l["www.paypal_account_template.click_the_logo"]="Click the logo below to connect your Ustream account to PayPal and enable broadcasting of Pay Per View events.";l["www.paypal_account_template.connected_email"]="You are connected with the following account";l["www.paypal_account_template.description"]="Set your PayPal user id for earning money with Ustream";l["www.paypal_account_template.title"]="PayPal Account Connection";l["www.paypal_action.selling_stopped"]="The broadcaster is no longer selling tickets to this event!";l["js.ppv.itemdownloader.alert_close"]="OK";l["js.ppv.login_signup_dialog.already.have.an.account"]="Already have an account? Login Here!";l["js.ppv.login_signup_dialog.login_title"]="Login";l["js.ppv.login_signup_dialog.signup_title"]="Signup";l["js.ppv.playspan_reg_success_msg"]="Success! You are now able to create Pay Per View events.";l["js.ppv.purchase.dialog_title"]="Buy a ticket";l["js.ppv.tos_dialog_title"]="Ustream Pay-Per-View Event Terms and Conditions";l["js.ppv.tos_dialog_title_v2"]="Ustream Pay Per View Terms of Service";l["js.ppv_schedule_event.cancel"]="Cancel";l["js.ppv_schedule_event.link_paypal_account"]="You must link a PayPal account to schedule PPV events!";l["js.ppv_schedule_event.ok"]="Ok";l["js.ppv_schedule_event.ppv_not_enabled"]="PayPal Not Enabled";l["js.ppv_schedule_event.select_show"]="Which channel do you want to schedule a PPV event with?";l["js.ppv_schedule_event.title"]="Schedule a PPV Event";l["js.common_for_all.are_you_sure"]="Are you sure?";l["js.common_for_all.button_cancel"]="Cancel";l["js.common_for_all.button_close"]="Close";l["js.common_for_all.button_next_raquo"]="Next &raquo;";l["js.common_for_all.button_no"]="No";l["js.common_for_all.button_submit"]="Submit";l["js.common_for_all.button_yes"]="Yes";l["js.common_for_all.error_occured"]="An error occured!";l["js.common_for_all.form_sent"]="Form sent successfully!";l["js.common_for_all.request_submitted"]="Your request has been submitted.";l["js.common_for_all.unknown_error"]="Error!";l["js.v3.confirm.cancel"]="Cancel";l["js.v3.confirm.ok"]="Ok";l["js.v3.confirm.question"]="Are you sure you want to do that?";l["js.v3.confirm.title"]="Confirm";l["www.upcomingevents_widget.active_subscriptions"]="Active Subscriptions";l["www.upcomingevents_widget.active_subscriptions_resubscribe_button"]="Resubscribe";l["www.upcomingevents_widget.add_ticket"]="Redeem Ticket";l["www.upcomingevents_widget.attending_ticket"]="attending";l["www.upcomingevents_widget.attending_ticket_past"]="attended";l["www.upcomingevents_widget.buy_more_ticket"]="Buy More Tickets";l["www.upcomingevents_widget.buy_ticket"]="Buy Ticket";l["www.upcomingevents_widget.buy_ticket_button_title_already_have"]="You have already purchased access to this event.";l["www.upcomingevents_widget.homepage.subtitle"]="A snapshot of what\u2019s hot right now";l["www.upcomingevents_widget.homepage.title"]="Featured";l["www.upcomingevents_widget.inactive_subscriptions_resubscribe_button"]="Resubscribe";l["www.upcomingevents_widget.music.subtitle"]="Don\u2019t miss any of these exciting events";l["www.upcomingevents_widget.music.title"]="Featured music events";l["www.upcomingevents_widget.pay_per_view"]="Pay Per View";l["www.upcomingevents_widget.pay_per_view_badge"]="Pay-Per-View";l["www.upcomingevents_widget.pay_per_view_event"]="Pay Per View Event";l["www.upcomingevents_widget.rating_mature"]="This content is rated Mature";l["www.upcomingevents_widget.show_less_codes"]="show less";l["www.upcomingevents_widget.show_more_codes"]="show more";l["www.upcomingevents_widget.sport.subtitle"]="Don\u2019t miss any of these exciting events";l["www.upcomingevents_widget.sport.title"]="Featured sport events";l["www.upcomingevents_widget.transaction_id"]="Transaction ID";l["www.upcomingevents_widget.upcoming_shows"]="Upcoming Shows";l["www.upcomingevents_widget.validated_ticket"]="This ticket has been already validated";l["js.v3.login_signup_dialog.action_signup"]="Signup";l["js.v3.login_signup_dialog.cant_read_captcha"]="Can't read?";l["js.v3.login_signup_dialog.email"]="Email";l["js.v3.login_signup_dialog.intro_help"]="You're going to need a Ustream account to continue, but the good news is it's free! If you've already registered, login on the left; if not, signup for a new account on the right.";l["js.v3.login_signup_dialog.login_title"]="Login";l["js.v3.login_signup_dialog.login_viewer_terms"]="I agree to the <a href=\"#termsLink#\" id=\"Ppv_Login_Terms\" onclick=\"return false;\">Pay-Per-View Terms of Service<\/a> by <br \/> purchasing a ticket or accessing the content.";l["js.v3.login_signup_dialog.password"]="Password";l["js.v3.login_signup_dialog.refresh_captcha"]="Refresh";l["js.v3.login_signup_dialog.retype_password"]="Retype Password";l["js.v3.login_signup_dialog.retype_password_required"]="Type your password once more.";l["js.v3.login_signup_dialog.signup_subscription_terms"]="I agree to the <a href=\"#termsLink#\" id=\"Subscription_Signup_Terms\" onclick=\"return false;\">Subscription Terms of Service<\/a>.";l["js.v3.login_signup_dialog.signup_title"]="Signup";l["js.v3.login_signup_dialog.signup_viewer_terms"]="I agree to the <a href=\"#termsLink#\" id=\"Ppv_Signup_Terms\" onclick=\"return false;\">Pay-Per-ViewTerms of Service<\/a> by purchasing a ticket or accessing the content.";l["js.v3.login_signup_dialog.terms_agree"]="I agree to the <a href=\"#termsLink#\" id=\"Signup_Terms\" onclick=\"return false;\">Terms of Use<\/a> and <a href=\"#privacyLink#\" id=\"Signup_Privacy\" onclick=\"return false;\">Privacy Policy<\/a>";l["js.v3.login_signup_dialog.terms_agree_v2"]="I agree to the <a href=\"#termsLink#\" id=\"Signup_Terms\" onclick=\"return false;\">Terms of Service<\/a> and <a href=\"#privacyLink#\" id=\"Signup_Privacy\" onclick=\"return false;\">Privacy Policy<\/a>";l["js.v3.login_signup_dialog.terms_required"]="You have to accept our Terms of Use and Privacy Policy to use our service.";l["js.v3.login_signup_dialog.terms_required_v2"]="You have to accept our Terms of Service and Privacy Policy to use our service.";l["js.v3.login_signup_dialog.username"]="Username";l["js.v3.login_signup_dialog.verification_code"]="Verification Code";l["js.v3.login_signup_dialog.viewer_terms_required"]="You have to accept our Viewer Terms of Service to use our service.";l["js.v3.login.dialog_text"]="Login to your account or create a new one using any of the options below.";l["js.v3.login.dialog_title"]="Welcome to Ustream!";l["js.v3.login_dialog.action_facebook"]="Connect with Facebook";l["js.v3.login_dialog.action_google"]="Google Account login";l["js.v3.login_dialog.action_login"]="Login";l["js.v3.login_dialog.action_yahoo"]="Yahoo! Account login";l["js.v3.login_dialog.action_yahoo_alttext"]="Yahoo! JAPAN";l["js.v3.login_dialog.dialog_text"]="Login to your account or create a new one using any of the options below.";l["js.v3.login_dialog.dialog_title"]="Welcome to Ustream!";l["js.v3.login_dialog.error_login"]="Login failed, please check your username and\/or password.";l["js.v3.login_dialog.error_password"]="Please type in your password.";l["js.v3.login_dialog.error_username"]="Please enter your username.";l["js.v3.login_dialog.facebook_text"]="You can connect to Ustream with your Facebook account to login.";l["js.v3.login_dialog.forgot_pass"]="Forgot Password";l["js.v3.login_dialog.forgot_user"]="Forgot Username";l["js.v3.login_dialog.google_text"]="Connect to Ustream with your Google account to login.";l["js.v3.login_dialog.label_password"]="Password";l["js.v3.login_dialog.label_remember"]="Remember me";l["js.v3.login_dialog.label_username"]="Username";l["js.v3.login_dialog.openid_text"]="Enter your OpenID to login to Ustream with OpenID.";l["js.v3.login_dialog.sign_up_now"]="No account? Sign Up Now!";l["js.v3.login_dialog.tab_facebook"]="Facebook";l["js.v3.login_dialog.tab_google"]="Google";l["js.v3.login_dialog.tab_openid"]="OpenID";l["js.v3.login_dialog.tab_ustream"]="Ustream";l["js.v3.login_dialog.tab_yahoo"]="Yahoo";l["js.v3.login_dialog.yahoojapan_text"]="Connect to Ustream with Your Yahoo Japan account.";l["js.v3.login_dialog.yahoo_text"]="Connect to Ustream with your Yahoo account to login.";})(ustream.labels);
(function($){var pasteEventName=($.browser.msie?"paste":"input")+".mask";var iPhone=(window.orientation!=undefined);
$.mask={definitions:{"9":"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"}};$.fn.extend({caret:function(begin,end){if(this.length==0){return
}if(typeof begin=="number"){end=(typeof end=="number")?end:begin;return this.each(function(){if(this.setSelectionRange){this.focus();
this.setSelectionRange(begin,end)}else{if(this.createTextRange){var range=this.createTextRange();range.collapse(true);
range.moveEnd("character",end);range.moveStart("character",begin);range.select()}}})}else{if(this[0].setSelectionRange){begin=this[0].selectionStart;
end=this[0].selectionEnd}else{if(document.selection&&document.selection.createRange){var range=document.selection.createRange();
begin=0-range.duplicate().moveStart("character",-100000);end=begin+range.text.length}}return{begin:begin,end:end}
}},unmask:function(){return this.trigger("unmask")},mask:function(mask,settings){if(!mask&&this.length>0){var input=$(this[0]);
var tests=input.data("tests");return $.map(input.data("buffer"),function(c,i){return tests[i]?c:null}).join("")
}settings=$.extend({placeholder:"_",completed:null},settings);var defs=$.mask.definitions;var tests=[];
var partialPosition=mask.length;var firstNonMaskPos=null;var len=mask.length;$.each(mask.split(""),function(i,c){if(c=="?"){len--;
partialPosition=i}else{if(defs[c]){tests.push(new RegExp(defs[c]));if(firstNonMaskPos==null){firstNonMaskPos=tests.length-1
}}else{tests.push(null)}}});return this.each(function(){var input=$(this);var buffer=$.map(mask.split(""),function(c,i){if(c!="?"){return defs[c]?settings.placeholder:c
}});var ignore=false;var focusText=input.val();input.data("buffer",buffer).data("tests",tests);function seekNext(pos){while(++pos<=len&&!tests[pos]){}return pos
}function shiftL(pos){while(!tests[pos]&&--pos>=0){}for(var i=pos;i<len;i++){if(tests[i]){buffer[i]=settings.placeholder;
var j=seekNext(i);if(j<len&&tests[i].test(buffer[j])){buffer[i]=buffer[j]}else{break}}}writeBuffer();
input.caret(Math.max(firstNonMaskPos,pos))}function shiftR(pos){for(var i=pos,c=settings.placeholder;
i<len;i++){if(tests[i]){var j=seekNext(i);var t=buffer[i];buffer[i]=c;if(j<len&&tests[j].test(t)){c=t
}else{break}}}}function keydownEvent(e){var pos=$(this).caret();var k=e.keyCode;ignore=(k<16||(k>16&&k<32)||(k>32&&k<41));
if((pos.begin-pos.end)!=0&&(!ignore||k==8||k==46)){clearBuffer(pos.begin,pos.end)}if(k==8||k==46||(iPhone&&k==127)){shiftL(pos.begin+(k==46?0:-1));
return false}else{if(k==27){input.val(focusText);input.caret(0,checkVal());return false}}}function keypressEvent(e){if(ignore){ignore=false;
return(e.keyCode==8)?false:null}e=e||window.event;var k=e.charCode||e.keyCode||e.which;var pos=$(this).caret();
if(e.ctrlKey||e.altKey||e.metaKey){return true}else{if((k>=32&&k<=125)||k>186){var p=seekNext(pos.begin-1);
if(p<len){var c=String.fromCharCode(k);if(tests[p].test(c)){shiftR(p);buffer[p]=c;writeBuffer();var next=seekNext(p);
$(this).caret(next);if(settings.completed&&next==len){settings.completed.call(input)}}}}}return false
}function clearBuffer(start,end){for(var i=start;i<end&&i<len;i++){if(tests[i]){buffer[i]=settings.placeholder
}}}function writeBuffer(){return input.val(buffer.join("")).val()}function checkVal(allow){var test=input.val();
var lastMatch=-1;for(var i=0,pos=0;i<len;i++){if(tests[i]){buffer[i]=settings.placeholder;while(pos++<test.length){var c=test.charAt(pos-1);
if(tests[i].test(c)){buffer[i]=c;lastMatch=i;break}}if(pos>test.length){break}}else{if(buffer[i]==test[pos]&&i!=partialPosition){pos++;
lastMatch=i}}}if(!allow&&lastMatch+1<partialPosition){input.val("");clearBuffer(0,len)}else{if(allow||lastMatch+1>=partialPosition){writeBuffer();
if(!allow){input.val(input.val().substring(0,lastMatch+1))}}}return(partialPosition?i:firstNonMaskPos)
}if(!input.attr("readonly")){input.one("unmask",function(){input.unbind(".mask").removeData("buffer").removeData("tests")
}).bind("focus.mask",function(){focusText=input.val();var pos=checkVal();writeBuffer();setTimeout(function(){if(pos==mask.length){input.caret(0,pos)
}else{input.caret(pos)}},0)}).bind("blur.mask",function(){checkVal();if(input.val()!=focusText){input.change()
}}).bind("keydown.mask",keydownEvent).bind("keypress.mask",keypressEvent).bind(pasteEventName,function(){setTimeout(function(){input.caret(checkVal(true))
},0)})}checkVal()})}})})(jQuery);
ustream.templates.ppvPurchaseAmount='<form class="enterTicketAmount" data-template="ppvPurchaseAmount" ><% if (allowGiftPurchase) { %><fieldset class="notop itemlist"><div class="inputcol"><input type="text" class="ppvTicketAmount" /></div><div class="itemcol event1"><%=itemName %></div><div class="pricecol event2"><%=priceFormatted %></div></fieldset><% } else { %><fieldset class="notop info itemlist"><p class="<%= (!allowGiftPurchase)? "din" : "" %>"><%= _t_("js.v3.ppv.purchase_amount.this_is_your_ticket") %></p><div class="inputcol"><input type="text" value="1" readonly="readonly" /></div><div class="itemcol event1"><%=eventTitle %></div><div class="pricecol event2"><%=priceFormatted %></div></fieldset><input type="hidden" class="ppvTicketAmount" value="0" /><% }  %><fieldset class="total"><div class="totalcol"><%= _t_("js.v3.ppv.purchase_amount.totalcol_total") %> <span><%=priceFormatted %></span></div></fieldset><div id="PpvVodList"><p><%= _t_("js.v3.ppv.purchase_amount.vod_list_description_text") %></p><div class="pager advancedPager" id="PpvVodGroupPager"data-staticRender="false"data-page=""data-pagecount=""><span class="buttonWrapper"><a href="#" class="pagerButton next rightSide" title="<%= _t_("www.advanced_pager_component.next") %>">&#x25ba;</a><a href="#" class="pagerButton last rightSide leftSplit" title="<%= _t_("www.advanced_pager_component.last") %>">&#x25ba;<span class="toLeft">I</span></a></span><span class="mid"><%= _t_("www.advanced_pager_component.page", \'<input value="#page#" class="manualPager" name="page" />of <span class="max">#pageCount#</span>\', {page: "", pageCount: ""}) %></span><span class="buttonWrapper"><a href="#" class="pagerButton first leftSide" title="<%= _t_("www.advanced_pager_component.first") %>"><span>I</span>&#x25c4;</a><a href="#" class="pagerButton prev leftSide leftSplit" title="<%= _t_("www.advanced_pager_component.previous") %>">&#x25c4;</a></span></div><div class="content"></div></div><fieldset><p><%= _t_("js.v3.ppv.purchase_amount.accept_tos", "By clicking on Purchase you accept our <a href=\\"#tos#\\" target=\\"_blank\\" id=\\"PpvTerms\\">Terms of Service</a>.", {tos: "/terms-ppv-popup"}) %></p><button class="major bigfont ppvTicketPurchase" type="submit"><%= _t_("js.v3.ppv.purchase_amount.purchase_button") %></button> <%= _t_("js.v3.ppv.purchase_amount.cancel_link", "or <a href=\\"#\\" class=\\"cancel\\">cancel</a>") %></fieldset></form>';
ustream.templates.ppvPurchaseError='<div title="<%= _t_("www.ppv.confirmation.your_transaction_error") %>"><p><span class="ui-icon-red ui-icon-alert" style="float:left; margin:0 7px 50px 0;"></span><%= message %></p></div>';
ustream.templates.ppvPurchaseSuccess='<div class="ppv ppvGiftPage" data-template="ppvPurchaseSuccess" ><div class="textContentBox pollingFinished clearAfter"><div class="title"><h3><%= _t_("js.v3.ppv.tickets_ready_keep_question"); %></h3></div><div class="textCol leftTextCol"><button class="ppvTicketBind bigfont"><%= _t_("js.v3.ppv.tickets_ready_keep_yes"); %></button><br /><br /><p><%= _t_("js.v3.ppv.tickets_ready_bound_info", {username: userName}); %></p></div><div class="textCol rightTextCol"><button class="ppvTicketGifts bigfont"><%= _t_("js.v3.ppv.tickets_ready_keep_no","No"); %></button><br /><br /><p><%= _t_("js.v3.ppv.tickets_ready_nobound_info"); %></p></div></div></div>';
ustream.templates.ppvPurchaseConfirmation='<div class="ppv" class="ppvConfirmationPage" data-template="ppvPurchaseConfirmation" ><div class="textContentBox pollingConfirmation"><div class="textCol leftTextCol"><h1><%= _t_("www.ppv.confirmation.confirmation") %></h1><p><%= _t_("www.ppv.confirmation.your_transaction_is_complete", { transactionId : transactionId }) %></p><% if(ticketAmount == 1 && bindTicket) { %><p><%= _t_("www.ppv.confirmation.your_ticket_bound", { username: userName }) %><br /></p><% } else if(ticketAmount > 1 && bindTicket) { %><p><%= _t_("www.ppv.confirmation.one_of_tickets_bound", { username: userName }) %><br /></p><% }  %><% if(bindTicket) { %><p><%= _t_("www.ppv.confirmation.tickets_bound_info") %></p><% }  %><% if(ticketAmount == 1 && !bindTicket) { %><p><%= _t_("www.ppv.confirmation.your_ticket_is") %></p><div class="ppvTicketsContainer"><input type="text" readonly="readonly" value="<%= ticketCodes[0] %>" class="ppvTickets" /></div><p><% if(!isVod) { %><%= _t_("www.ppv.confirmation.you_will_be_able_to_enter", { show_url: itemUrl }) %><% } else { %><%= _t_("www.ppv.confirmation.you_can_redeem", { show_url: itemUrl }) %><% }  %></p><% } %><% if(ticketAmount > 1) { %><p><%= _t_("www.ppv.confirmation.you_purchased_more_ticket") %></p><div class="ppvTicketsContainer"><textarea class="ppvTickets" readonly="readonly"></textarea><br /></div><p><%= _t_("www.ppv.confirmation.codes_used_one_hour", { show_url:  itemUrl }) %></p><% }  %><p><%= _t_("www.ppv.confirmation.you_can_view_this_page", { dashboard_url: ustream.vars.purchased_content_url }) %></p></div><div class="textCol rightTextCol textAccordion"><span class="tweetButton"><span class="shareWithFriendText"><%= _t_("www.ppv.confirmation.share_with_friends") %></span><a href="http://twitter.com/share" class="twitter-share-button" data-count="none" data-url="<%= itemUrl %>" data-text="<%= shareText %>" ><%= _t_("www.ppv.confirmation.tweet") %></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"><\/script><a href="javascript:void(window.open(\'http://www.facebook.com/dialog/feed?app_id=123875465478&redirect_uri=http://ustream.tv/&link=<%= itemUrlEncoded %>&message=<%= shareTextEncoded %>&display=popup\',\'ptm\',\'height=400,width=400\').focus())" class="facebook-share-button"><span class="icon"></span>Share</a><a href="javascript:void(window.open(\'http://www.myspace.com/Modules/PostTo/Pages/?u=<%=itemUrlEncoded %>\',\'ptm\',\'height=450,width=440\').focus())" class="myspace-share-button"><img src="http://cms.myspacecdn.com/cms/ShareOnMySpace/small.png" border="0" alt="Share on MySpace" /></a></span><h1><%= _t_("www.ppv.faq.title") %></h1><dl class="faqAccordion"><dt><a href="#"><%= _t_("www.ppv.faq.question_1") %></a></dt><dd><%= _t_("www.ppv.faq.answer_1") %></dd><dt><a href="#"><%= _t_("www.ppv.faq.question_2") %></a></dt><dd><%= _t_("www.ppv.faq.answer_2") %></dd><dt><a href="#"><%= _t_("www.ppv.faq.question_3") %></a></dt><dd><%= _t_("www.ppv.faq.answer_3") %></dd><dt><a href="#"><%= _t_("www.ppv.faq.question_4") %></a></dt><dd><%= _t_("www.ppv.faq.answer_4") %></dd><dt><a href="#"><%= _t_("www.ppv.faq.question_5") %></a></dt><dd><%= _t_("www.ppv.faq.answer_5") %></dd><dt><a href="#"><%= _t_("www.ppv.faq.question_6") %></a></dt><dd><%= _t_("www.ppv.faq.answer_6") %></dd><dt><a href="#"><%= _t_("www.ppv.faq.question_7") %></a></dt><dd><%= _t_("www.ppv.faq.answer_7") %></dd><dt><a href="#"><%= _t_("www.ppv.faq.question_8") %></a></dt><dd><%= _t_("www.ppv.faq.answer_8") %></dd><dt><a href="#"><%= _t_("www.ppv.faq.question_9") %></a></dt><dd><%= _t_("www.ppv.faq.answer_9") %></dd><dt><a href="#"><%= _t_("www.ppv.faq.question_10") %></a></dt><dd><%= _t_("www.ppv.faq.answer_10") %></dd></dl></div><div class="finish"><button class="ppvFinish"><%= _t_("www.ppv.confirmation.finish_button") %></button></div></div></div>';
ustream.templates.ppvPurchasePending='<div class="ppv" class="ppvPendingPage" data-template="ppvPurchasePending" ><div class="textContentBox pollingConfirmation"><div class="textCol leftTextCol"><h1><%= _t_("www.ppv.confirmation.your_transaction_pending_title", "Pending transaction") %></h1><p><%= _t_("www.ppv.confirmation.your_transaction_pending", "Your transaction is still pending." ) %></p><p><%= _t_("www.ppv.confirmation.your_transaction_pending_dashboard", "Please check your purchases later on this page: <a href=\\"#dashboard_url#\\" target=\\"_blank\\"><strong>#dashboard_url#</strong></a>.", { dashboard_url: "http://www.ustream.tv/dashboard/purchased-content" }) %><br /><%= _t_("www.ppv.confirmation.your_transaction_pending_info", "Your tickets will be emailed to you, and listed on your dashboard, as soon as the transaction completes.") %></p><p><%= _t_("www.ppv.confirmation.your_transaction_id", "The transaction ID of your purchase is:") %><br /><input type="text" readonly="readonly" value="<%= transactionId %>" class="ppvTicket" /></p><p><%= _t_("www.ppv.confirmation.your_transaction_pending_help", "If you have more questions about your pending payment, please contact our <a href=\\"#support_url#\\"  target=\\"_blank\\">Customer Support</a>", { support_url: "http://www.ustream.tv/support-center" }) %></p></div><div class="textCol rightTextCol textAccordion"><span class="tweetButton"><span class="shareWithFriendText"><%= _t_("www.ppv.confirmation.share_with_friends", "Share this with friends") %></span><a href="http://twitter.com/share" class="twitter-share-button" data-count="none" data-url="<%= itemUrl %>" data-text="<%= shareText %>" ><%= _t_("www.ppv.confirmation.tweet", "Tweet") %></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"><\/script><a href="javascript:void(window.open(\'http://www.facebook.com/dialog/feed?app_id=123875465478&redirect_uri=http://ustream.tv/&link=<%= itemUrlEncoded %>&message=<%= shareTextEncoded %>&display=popup\',\'ptm\',\'height=400,width=400\').focus())" class="facebook-share-button"><span class="icon"></span>Share</a><a href="javascript:void(window.open(\'http://www.myspace.com/Modules/PostTo/Pages/?u=<%= itemUrlEncoded %>\',\'ptm\',\'height=450,width=440\').focus())" class="myspace-share-button"><img src="http://cms.myspacecdn.com/cms/ShareOnMySpace/small.png" border="0" alt="Share on MySpace" /></a></span><h1><%= _t_("www.ppv.faq.title", "FAQ") %></h1><dl class="faqAccordion"><dt><a href="#"><%= _t_("www.ppv.faq.question_1", "How do I view a PPV event?") %></a></dt><dd><%= _t_("www.ppv.faq.answer_1", "You can watch a PPV event by purchasing a ticket for that event on the showpage. Note that PPV events can only be viewed on the Ustream website. If the event is in the future, you can pre-purchase a ticket. Once you\'ve done that, on the day of the event, all you\'ll have to do is login. If the event is happening now, buy a ticket and you will automatically gain access to the show.") %></dd><dt><a href="#"><%= _t_("www.ppv.faq.question_2", "What is a ticket code?") %></a></dt><dd><%= _t_("www.ppv.faq.answer_2", "A ticket code is given to you after you purchase a ticket to a PPV event. You can bind it to your account, which means you\'ll be using your account to watch the event or you can give the ticket code to a friend as a gift. All your friend has to do is log into Ustream and tie it their account instead. One ticket code per user, so two different people will not be able to use the ticket code.") %></dd><dt><a href="#"><%= _t_("www.ppv.faq.question_3", "Can I buy multiple codes?") %></a></dt><dd><%= _t_("www.ppv.faq.answer_3", "Yes, before you put in your billing information, you can select to purchase more than 1 tickets. Even if you\'ve purchased a ticket before, you can come back and purchase additional tickets for the same show.") %></dd><dt><a href="#"><%= _t_("www.ppv.faq.question_4", "Can I share my ticket with others?") %></a></dt><dd><%= _t_("www.ppv.faq.answer_4", "One ticket per user, so no, you cannot share your ticket with others. However, if you\'ve purchased multiple ticket codes, you can distribute those to friends, one code per friend.") %></dd><dt><a href="#"><%= _t_("www.ppv.faq.question_5", "Where can I see my ticket code?") %></a></dt><dd><%= _t_("www.ppv.faq.answer_5", "You can always access your ticket code by logging into your account, going to your Dashboard, and then clicking on Purchased Content. Identify the show and you\'ll see your ticket code there.") %></dd><dt><a href="#"><%= _t_("www.ppv.faq.question_6", "Did my payment go through?") %></a></dt><dd><%= _t_("www.ppv.faq.answer_6", "If your payment went through successfully, you will have reached a \'Confirmation\' page and will have received an email from Ustream for a purchase receipt. You can also check by going to your Dashboard, clicking on Purchased Content and then clicking on Payment History. We work with PayPal as our payment processor, so if your payment did not go through, they should give you a real-time update.") %></dd><dt><a href="#"><%= _t_("www.ppv.faq.question_7", "What am I supposed to do on the day of the show?") %></a></dt><dd><%= _t_("www.ppv.faq.answer_7", "On the day of the show, log in and go to the broadcaster\'s page. If you haven\'t done so already, make sure to bind your ticket to your account.") %></dd><dt><a href="#"><%= _t_("www.ppv.faq.question_8", "How do I bind a ticket to my account?") %></a></dt><dd><%= _t_("www.ppv.faq.answer_8", \'Go to your Dashboard click on Purchased Content, and find your event. Just select the ticket and click on the "Redeem Ticket" button\') %></dd><dt><a href="#"><%= _t_("www.ppv.faq.question_9", "What is a paywall?") %></a></dt><dd><%= _t_("www.ppv.faq.answer_9", "The broadcaster has the option to give a free preview to his PPV event of up to 10 minutes. Once this preview is over, the broadcaster can drop the paywall. When the paywall is dropped, anyone who doesn\'t have a ticket will no longer have access to the content and in order to gain access must purchase a ticket. If you have a ticket prior to the paywall dropping and you\'re logged in, you will not have to do anything (as long as it is bound to your account). If you have a ticket but are not logged in, just log in and you will be able to watch the show.") %></dd><dt><a href="#"><%= _t_("www.ppv.faq.question_10", "Can I see my payment history?") %></a></dt><dd><%= _t_("www.ppv.faq.answer_10", "Yes. Just log into your account, go to your Dashboard, click on Purchased Content and click on Payment History.") %></dd></dl></div><div class="finish"><button class="ppvFinish"><%= _t_("www.ppv.confirmation.finish_button", "Finish") %></button></div></div></div>';
ustream.templates.ppvPurchaseProcess='<div class="ppv" id="PpvProcessPage" data-template="ppvPurchaseProcess" ><div class="textContentBox pollingStarted"><div class="polling"><p><%= _t_("js.ppv.confirmation.ticket_generation") %></p></div><div class="status"></div></div>';
(function(){eval(ustream.namespace);ustream.classes.SimpleTextAccordion=new Class({container:null,accordionItems:null,options:{showOnlyOne:true},initialize:function(options){this.options=merge(this.options,options||{});
this.container=$(this.options.container);this.accordionItems=this.container.find("dd");if(this.container.length){this.container.click(eBind(this.onTitleClick,this))
}return false},onTitleClick:function(e){e.stop();var target=$(e.target).closest("a"),content=target.parent("dt").next("dd"),active=this.accordionItems.filter(".active"),contentActive=content.hasClass("active");
if(this.options.showOnlyOne){this.hide(active)}if(!contentActive){this.show(content)}else{this.hide(content)
}},hide:function(el){el.removeClass("active").slideUp(200)},show:function(el){el.addClass("active").slideDown(200)
}})})();
ustream.templates.ppvTicketValidationMain='<form class="ppvTicketEnter"><fieldset><h3><%= _t_("js.v3.ppv_ticket_validation.enter_code", "Enter your ticket code") %></h3><input type="text" name="codepart" /> <input type="submit" value="<%= _t_("js.v3.ppv_ticket_validation.enter_button", "Enter") %>" /><p><%= _t_("js.v3.ppv_ticket_validation.having_trouble", "Having trouble with your ticket code? Contact <a target=\\"_blank\\" href=\\"#supporturl#\\">Customer Support</a>", {supporturl: "/ppv/supportcenter"}) %></p></fieldset></form>';
ustream.templates.ppvTicketValidationConfirm='<div><p><%= _t_("js.v3.ppv_ticket_validation.bind_ticket_question", "Do you want to bind the ticket <strong>#subst#</strong> to your Ustream account?", {subst: ticketCode}) %></p><button class="ppvTicketBind"><%= _t_("js.v3.ppv_ticket_validation.bind_ticket_btn_ok", "Yes") %></button> or <a href="#" class="cancel"><%= _t_("js.v3.ppv_ticket_validation.bind_ticket_btn_cancel", "cancel") %></a></div>';
ustream.templates.ppvTicketValidationError='<div><p><%= message %></p><button class="ppvTicketBindFinish"><%= _t_("js.v3.ppv_ticket_validation.error_btn_close", "Close") %></button></div>';
ustream.templates.ppvTicketValidationFinish='<div data-template="ppvTicketValidationFinish"><p><%= _t_("js.v3.ppv_ticket_validation.finish_message", "Ticket validation completed.") %></p><button class="ppvTicketBindFinish"><%= _t_("js.v3.ppv_ticket_validation.finish_btn_close", "Finish") %></button></div>';
(function(){eval(ustream.namespace);ustream.classes.NumberInput=new Class({options:{element:"",min:0,max:false,step:1,value:0},template:'<span class="incdec_arrows"><a class="inc">▲</a><a class="dec">▼</a></span>',initialize:function(options){this.options=merge(this.options,options||{});
this.element=$(this.options.element);if(this.element.length>0){this.updateValue();this.template=$(this.template);
this.template.find(".inc").click(eBind(this.stepUp,this)).end().find(".dec").click(eBind(this.stepDown,this)).end();
this.element.focus(eBind(this.onFocus,this)).blur(eBind(this.updateValue,this)).attr("autocomplete","off").after(this.template);
if(BOM.ie||BOM.webkit){this.element.keyup(eBind(this.onKeypress,this))}else{this.element.keypress(eBind(this.onKeypress,this))
}this.element.keyup(eBind(this.onKeyup,this))}else{$.console.log("NumberInput: Element not found!: "+this.options.element)
}},onFocus:function(){this.element.select()},onKeyup:function(e){var val=this.element.val();if(val!==""&&val!=="-"){this.updateValue()
}},onKeypress:function(e){var keyCodes=$.ui.keyCode,step=this.options.step,keyCode=e.keyCode,which=e.which;
switch(keyCode){case keyCodes.UP:e.preventDefault();this.stepUp();break;case keyCodes.DOWN:e.preventDefault();
this.stepDown();break;case keyCodes.PAGE_UP:e.preventDefault();this.stepUp(step*3);break;case keyCodes.PAGE_DOWN:e.preventDefault();
this.stepDown(step*3);break;case keyCodes.BACKSPACE:case keyCodes.DELETE:case keyCodes.LEFT:case keyCodes.RIGHT:case keyCodes.TAB:break;
default:if(!((which>=48&&which<=57)||(which>=96&&which<=105))){e.preventDefault()}break}},_getNormalizedInputValue:function(value){var min=this.options.min,max=this.options.max,minType=typeof(min),maxType=typeof(max),valueType=typeof(value);
if(valueType!=="number"){if(valueType!=="string"){value=this.element.val()}value=value.match(/(-?\d+)*/)[0]*1
}if(isNaN(value)){value=(minType==="number"&&!isNaN(min))?min:1}else{if(minType==="number"&&!isNaN(min)&&min>value){value=min
}else{if(maxType==="number"&&!isNaN(max)&&max<value){value=max}}}return value},updateValue:function(value){value=this._getNormalizedInputValue(value);
this.options.value=value;this.element.val(value).change()},stepUp:function(n){if(typeof(n)!=="number"){n=this.options.step
}this.updateValue(this.options.value+n);this.unselectText()},stepDown:function(n){if(typeof(n)!=="number"){n=this.options.step
}this.updateValue(this.options.value-n);this.unselectText()},valueAsNumber:function(){return this.options.value*1
},unselectText:function(){if(BOM.webkit){window.getSelection().removeAllRanges()}}})}());
(function(){eval(ustream.namespace);ustream.classes.PayPalWrapper=new Class({_exclusive:true,options:{userId:0,itemId:0,amountdesc:"Ustream Ticket",currency:"USD",hashUrl:"",amount:0,country:"JP",email:"",payKey:"",expType:"light",mode:"inline",modal:true,container:"#PSLBcontainer"},_rawPayPalUrl:{inline:null,popup:null},initialize:function(options){this.options=merge(this.options,options||{});
if(typeof ustream.vars.payPal!=="undefined"){this.options=merge(this.options,ustream.vars.payPal||{})
}else{throw ("Missing exposed vars for paypal")}this._rawPayPalUrl=ustream.vars.payPal.payPalURL;var lightBoxContainer=(this.options.modal)?"body":this.options.container;
if(this.options.mode==="inline"){this.paypalPayFlow=new window.PAYPAL.apps.DGFlow({expType:this.options.expType})
}captureEvent(ustream.events.TICKETPURCHASESTART,eBind(this.open,this));if(this.options.mode==="inline"){captureEvent(ustream.events.TICKETPURCHASECANCELLED,eBind(this.closeInterface,this));
captureEvent(ustream.events.TICKETPURCHASESUCCESS,eBind(this.closeInterface,this))}},open:function(e){var options=e.eventData;
this.options=merge(this.options,options||{});$.ajax({url:this.options.hashUrl,type:"POST",dataType:"json",data:{currency:this.options.currency,amount:this.options.amount,itemId:this.options.itemId,ticketCount:this.options.count,channelId:this.options.channelId},success:bind(this.onPaykeyResponse,this)})
},onPaykeyResponse:function(response){if(!response.success){dispatchEvent(ustream.events.TICKETPURCHASECANCELLED,{ppvItemId:this.options.itemId,ppvResponse:response});
return}this.options.payKey=response.payKey;this.openInterface()},openInterface:function(){this._paypalUrl=stringUtils.urlSubst(this._rawPayPalUrl[this.options.mode],{expType:this.options.expType,payKey:this.options.payKey});
if(this.options.mode==="inline"){if(this.isSafari()){ustream.vars.payPal.completeUrl=this._paypalUrl;
this.paypalPayFlow.startFlow("/ppv-iframe")}else{this.paypalPayFlow.startFlow(this._paypalUrl)}}else{this.startPaypalProcessWithPopup()
}if(this.options.mode==="popup"){this.cancelTicketPurchaseProcess()}},isSafari:function(){var agt=navigator.userAgent.toLowerCase();
return(/safari/.test(agt)&&!/chrome/.test(agt))},openPaypalWindow:function(url){var width=960,height=600,name="PPDGFrame",left,top,win;
if(window.outerWidth){left=Math.round((window.outerWidth-width)/2)+window.screenX;top=Math.round((window.outerHeight-height)/2)+window.screenY
}else{if(window.screen.width){left=Math.round((window.screen.width-width)/2);top=Math.round((window.screen.height-height)/2)
}}win=window.open("",name,"top="+top+", left="+left+", width="+width+", height="+height+", location=0, status=0, toolbar=0, menubar=0, resizable=1, scrollbars=1");
if(!!win){win.location=this._paypalUrl;return true}else{return false}},cancelTicketPurchaseProcess:function(){dispatchEvent(ustream.events.TICKETPURCHASECANCELLED,{ppvItemId:this.options.itemId})
},showPopupBlockerDialog:function(){if(this.popupBlockerDialog){return this.popupBlockerDialog.dialog("open")
}(this.popupBlockerDialog=$('<div data-label="js.v3.ppv.popupblock.text">'+_t_("js.v3.ppv.popupblock.text")+"</div>")).dialog({title:_t_("js.v3.ppv.popupblock.title"),modal:true,autoOpen:true,width:440,buttons:[{text:_t_("js.v3.ppv.popupblock.btn_tryagain"),click:bind(this.startPaypalProcessWithPopup,this)}]})
},startPaypalProcessWithPopup:function(){if(this.popupBlockerDialog){this.popupBlockerDialog.dialog("close")
}if(!this.openPaypalWindow()){this.showPopupBlockerDialog()}},closeInterface:function(){this.paypalPayFlow.closeFlow()
},clear:function(){this.options.payKey=null},showError:function(response){var msg=_t_("js.v3.aim.error");
if(response&&response.error&&response.error.message){msg=response.error.message}dispatchEvent(ustream.events.ERRORNOTIFICATION,{message:msg})
}})}());
ustream.templates.ppvPurchaseVodList='<% if(videos.length > 0) { %><ul class="recordedShowThumbs"><% forEach(videos, function(video) { %><li><a href="<%= video.url %>"><span class="img"><img src="<%= video.picture %>" /></span><span><%= video.title %></span></a><% if(video.isVod) { %><span class="badges"><span class="ppv">PPV</span></span><% }; %><span class="views"><%= _t_("www.channel_page.total_views") %>: <%= video.views %></li><% }); %></ul><% } %>';
ustream.templates.ppvTos='<div id="AcceptPpvTosDialog" data-template="ppvTos"><div class="tos"><div><% if(broadcasterTos) { %><%= _dt_("www.paypal.accept_tos_bodytext_v2",{home_url: "/", terms_url: "/terms", fme_help_url: "/fme-help", support_mailto_url: "mailto:support@ustream.tv"}) %><% } else { %><%= _dt_("js.v3.ppv_tos.viewer_tos", ustream.vars.viewerTosUrls) %><% } %></div></div><div class="endBtns"><a href="#" class="button btnEnd"><%= _t_("www.paypal.accept_tos_agree"); %></a><a href="#" class="btnCancel"><%= _t_("www.paypal.accept_tos_cancel"); %></a></div></div>';
(function(){eval(ustream.namespace);ustream.classes.PpvTos=new Class({options:{onSuccess:nullFunc,broadcasterTos:false},template:ustream.templates.ppvTos,debug:false,initialize:function(options){this.options=merge(this.options,options||{});
if(!$("#AcceptPpvTosDialog").length){this.template=new ustream.classes.SimpleTpl(this.template);getLabel(["js.v3.ppv_tos.viewer_tos","www.paypal.accept_tos_bodytext_v2"],bind(function(){$("body").append(this.template.run({broadcasterTos:this.options.broadcasterTos}));
if(this.loader){this.loader.close()}if(this.showDispatched){this.show();this.showDispatched=false}},this))
}},show:function(e){if(e){e.stop()}if($("#AcceptPpvTosDialog").length<1){this.showDispatched=true;this.loader=new ustream.classes.LoadingWindow();
this.loader.open();return}if(!this.acceptPpvTosDialog){var maxHeight=$(window).height()<570-89?$(window).height():570,width=570;
if(ustream.vars.isIframe){width=$(window).width()}this.acceptPpvTosDialog=$("#AcceptPpvTosDialog").dialog({modal:true,title:_t_("js.ppv.tos_dialog_title_v2"),width:width,maxHeight:maxHeight,autoOpen:false,dialogClass:"acceptPpvTosDialog tosDialog"});
$("#AcceptPpvTosDialog .tos div").css({display:"block",height:maxHeight-89});this.acceptPpvTosDialog.click(eBind(this._onAcceptPpvTosDialogClick,this));
this.acceptPpvTosDialogCover=new ustream.classes.CoverLayer("#AcceptPpvTosDialog")}this.acceptPpvTosDialog.dialog("open")
},_onAcceptPpvTosDialogClick:function(e){if($(e.target).hasClass("btnCancel")){e.stop();this.acceptPpvTosDialog.dialog("close");
return}if($(e.target).hasClass("btnEnd")){e.stop();this.acceptPpvTosDialogCover.show();if(this.debug){this._onAcceptResponse({success:true});
return}$.ajax({url:ustream.vars.acceptPpvTosUrl,type:"POST",data:{acceptPpvTos:this.options.broadcasterTos?"broadcaster":"viewer"},dataType:"json",success:bind(this._onAcceptResponse,this)})
}},_onAcceptResponse:function(response){var errorMsg="";this.acceptPpvTosDialogCover.hide();this.acceptPpvTosDialog.dialog("close");
if(response&&response.success){if(!this.debug){ustream.vars.acceptedPpvTos=true}this.options.onSuccess();
return}else{if(response&&response.error&&response.error.message){errorMsg=response.error.message}else{errorMsg=_t_("js.common_for_all.error_occured")
}dispatchEvent(ustream.events.ERRORNOTIFICATION,{message:errorMsg})}}})}());
(function(){eval(ustream.namespace);ustream.classes.PpvTicketPurchase=new Class({options:{amount:0,channelId:0,currency:"JPY",itemId:0,itemName:"Event Title",itemPrice:5,itemUrl:"",ticketCode:false,currencySymbol:"",maxTotalPrice:{JPY:80000,USD:1000},maxTotalTicketNumber:{JPY:8,USD:8},allowGiftPurchase:true,autoPurchase:false,autoBind:false,amountTemplate:"",vodlistTemplate:"",errorTemplate:""},_currencySymbols:{USD:"$",JPY:"¥",EUR:"€",GBP:"£",CNY:"¥",ILS:"₪",KRW:"₩"},_modal:'<div id="PPVTicketPurchaseDialog_#itemId#"></div>',dialogState:0,initialize:function(options,afterLogin){this.options=merge(this.options,options||{});
if(ustream.vars.maxTotalPrice){this.options.maxTotalPrice=ustream.vars.maxTotalPrice}if(ustream.vars.maxTotalTicketNumber){this.options.maxTotalTicketNumber=ustream.vars.maxTotalTicketNumber
}this.afterLogin=!!afterLogin;var SimpleTpl=ustream.classes.SimpleTpl;this.options.amountTemplate=new SimpleTpl(ustream.templates.ppvPurchaseAmount);
this.options.vodlistTemplate=new SimpleTpl(ustream.templates.ppvPurchaseVodList);this.options.errorTemplate=new SimpleTpl(ustream.templates.ppvPurchaseError);
this.options.currencySymbol=(!!this.options.currencySymbol)?this.options.currencySymbol:this.getCurrencySymbol();
this.setItemUrl();this._modal=$(stringUtils.labelSubst(this._modal,{itemId:this.options.itemId}));captureEvent(ustream.events.TICKETPURCHASEBEGINMINIMAL,eBind(this.onPurchaseBeginMinimal,this));
captureEvent(ustream.events.TICKETPURCHASEBEGINCONFIRM,eBind(this.onPurchaseBeginConfirm,this));captureEvent(ustream.events.TICKETPURCHASEBEGINEXTENDED,eBind(this.onPurchaseBeginExtended,this));
captureEvent(ustream.events.LOGINSUCCESS,eBind(this.onLogin,this));captureEvent(ustream.events.TICKETPURCHASESUCCESS,eBind(this.onPayViewSuccess,this));
captureEvent(ustream.events.TICKETPURCHASECANCELLED,eBind(this.onPayViewCancel,this))},setItemUrl:function(){var itemUrl=location.href;
if(/\?$/.test(itemUrl)){itemUrl=itemUrl.substr(0,itemUrl.length-1)}this.options.itemUrl=itemUrl},showAcceptPpvTos:function(){if(!this.ppvTos){this.ppvTos=new ustream.classes.PpvTos({onSuccess:bind(this.onTosAcceptCallback,this)})
}this.ppvTos.show()},onTosAcceptCallback:function(){this.checkDeemed()},isRelatedEvent:function(e){return(e.eventData.ppvItemId*1===this.options.itemId*1)
},setVodListUrl:function(){this.options.vodListUrl=stringUtils.urlSubst(ustream.vars.eventVodListUrl,{pageId:"xPAGEIDx",eventId:this.eventData.eventId})
},isEventVod:function(){return typeof this.eventData==="object"&&this.eventData!==null&&this.options.hasEventVod&&this.eventData.eventId
},setToMinimalPurchase:function(){this.options.autoPurchase=true;this.options.autoBind=true},onPurchaseBeginMinimal:function(e){if(this.isRelatedEvent(e)){this.setToMinimalPurchase();
this.eventData=e.eventData;this.setVodListUrl();this.checkLogin()}},setToConfirmPurchase:function(){this.options.autoPurchase=true;
this.options.autoBind=false},onPurchaseBeginConfirm:function(e){if(this.isRelatedEvent(e)){this.setToConfirmPurchase();
this.eventData=e.eventData;this.setVodListUrl();this.checkLogin()}},setToExtendedPurchase:function(){this.options.autoPurchase=false;
this.options.autoBind=false},onPurchaseBeginExtended:function(e){if(this.isRelatedEvent(e)){this.setToExtendedPurchase();
this.eventData=e.eventData;this.setVodListUrl();this.checkLogin()}},checkDeemed:function(){if(this.isEventVod()){this.options.autoBind=false;
this.startPayment();return}else{if(!this.loadingWindow){this.loadingWindow=new ustream.classes.LoadingWindow()
}this.loadingWindow.open();$.ajax({url:stringUtils.urlSubst(ustream.vars.checkDeemTicketUrl,{itemId:this.options.itemId}),success:bind(this.onCheckDeemedResponse,this),error:bind(this.showError,this)})
}},onCheckDeemedResponse:function(response){this.loadingWindow.close();if(!response||(!response.success&&!response.haveTicket)){this.showError(response);
return}if(response.haveTicket&&this.afterLogin){var alertHandler=new ustream.classes.AlertHandler({dialogData:{text:_t_("js.v3.ppv.you_have_already_purchased_access")},dialogOptions:{hideTitle:true}});
alertHandler.open();this.afterLogin=false}else{if(response.haveTicket){this.setToExtendedPurchase()}this.startPayment()
}},getTotal:function(){return Math.round(this.amount*this.options.itemPrice*100)/100},startPayment:function(){if(this.options.autoPurchase){this.amount=1;
this.total=this.getTotal();this.showPaymentInterface()}else{this.showEnterAmount()}},showEnterAmount:function(e){var maxAmount=this.getMaxNumberTickets(),amountField;
this.createDialog();this.resizeDialog("auto",460);this.updateDialog("title",_t_("js.v3.ppv.select_number_tickets"));
this._modal.html(this.options.amountTemplate.run(this.options));if(this.options.hasEventVod){this.initVods()
}amountField=this._modal.find(".ppvTicketAmount");if(this.options.allowGiftPurchase){var numberInput=new ustream.classes.NumberInput({element:amountField,min:1,max:maxAmount,step:1,value:0});
amountField.change(eBind(this.updateAmount,this))}this._modal.find(".enterTicketAmount").submit(eBind(this.onPurchaseSubmit,this)).end().find(".cancel").click(eBind(function(e){e.preventDefault();
this.closeDialog()},this))},getMaxNumberTickets:function(){var maxNumberOfTicketsByMaxPrice=Math.floor(this.options.maxTotalPrice[this.options.currency]/this.options.itemPrice);
return(maxNumberOfTicketsByMaxPrice>this.options.maxTotalTicketNumber[this.options.currency]?this.options.maxTotalTicketNumber[this.options.currency]:maxNumberOfTicketsByMaxPrice)
},updateAmount:function(){var numformat=phpJs.number_format,amount=this._modal.find(".ppvTicketAmount").val()*1,num;
if(this.options.currency==="JPY"){num=numformat((amount)*this.options.itemPrice,0)}else{num=numformat((amount)*this.options.itemPrice,2)
}this._modal.find(".totalcol span").html(this.options.currencySymbol+num)},onPurchaseSubmit:function(e){e.stop();
this.amount=this.options.autoPurchase?1:(this._modal.find(".ppvTicketAmount").val()*1);this.total=this.getTotal();
this.showPaymentInterface()},checkLogin:function(amount,total){this.closeDialog();var data={ppvProcess:true,ppvItemId:this.options.itemId};
if(!ustream.vars.loggedIn){if(typeof ustream.classes.LoginSignup!=="undefined"){dispatchEvent(ustream.events.REQUIRELOGINSIGNUP,data)
}else{dispatchEvent(ustream.events.REQUIRELOGIN,data)}return}this.onLogin(merge(nullEvent,{eventData:data}))
},onLogin:function(e){var ppvProcess=e.eventData.ppvProcess||false,ppvItemId=e.eventData.ppvItemId*1||false,events,i,el,event;
if(!(ppvProcess)||ppvItemId!==this.options.itemId*1){events=ustream.vars.upcomingEvents;if(events&&events.length){for(i=0,el=events.length;
i<el;i+=1){event=events[i];if(event.hasTicket||event.isAttending){this.replaceButton();break}}}}else{if(ustream.vars.tos){return
}if(!ustream.vars.acceptedPpvTos){this.showAcceptPpvTos();return}this.checkDeemed()}},showPaymentInterface:function(count,total){this.createDialog();
this.resizeDialog(100,200);this._modal.dialog("option","title",_t_("js.v3.ppv.please_wait")).html('<div style="height: 45px; padding-top:15px; text-align: center;"><img src="'+ustream.vars.staticUrl+'/images/ajax-loader-big.gif" /></div>');
this.startPurchase()},startPurchase:function(){dispatchEvent(ustream.events.TICKETPURCHASESTART,{amount:this.total,amountdesc:this.options.itemName,count:this.amount,currency:this.options.currency,itemId:this.options.itemId})
},onPayViewSuccess:function(e){if(e.eventData.ppvItemId*1!==this.options.itemId*1){return}var opts=merge(this.options,{modal:this._modal,userName:ustream.vars.userName,transactionId:e.eventData.transactionId,autoBind:this.options.autoBind,itemId:this.options.itemId});
this.openDialog();this.resizeDialog("auto",846);this.updateDialog("title",_t_("js.v3.ppv.payment_processing"));
new ustream.classes.PpvTicketRequest(opts)},onPayViewCancel:function(e){if(e.eventData.ppvItemId*1!==this.options.itemId*1){return
}this.closeDialog();if(e.eventData.ppvResponse){this.showError(e.eventData.ppvResponse)}},getCurrencySymbol:function(){if(this._currencySymbols[this.options.currency]){return this._currencySymbols[this.options.currency]
}return""},onDialogClose:function(){this.dialogState=2},createDialog:function(){if(this.dialogState===0){this._modal.dialog({modal:true,width:360,autoOpen:true,close:bind(this.onDialogClose,this)}).delegate("#PpvTerms","click",function(e){e.preventDefault();
window.open($(this).attr("href"),"terms","width=519,height=300,status=1,resizable=1,scrollbars=1")});
this.dialogState=1}else{if(this.dialogState==2){this.openDialog()}}},openDialog:function(){if(this.dialogState==2){this._modal.dialog("open");
this.dialogState=1}},updateDialog:function(updateWhat,updateWith){this._modal.dialog("option",updateWhat,updateWith)
},closeDialog:function(){if(this.dialogState==1){this._modal.dialog("close");this.dialogState=2}},destroyDialog:function(){if(this.dialogState!==0){this._modal.dialog("destroy");
this.dialogState=0}},resizeDialog:function(height,width){if(typeof width!="undefined"){this._modal.dialog("option","width",width)
}this._modal.dialog("option","height",height).dialog("option","position","center")},showError:function(response){if(this.loadingWindow){this.loadingWindow.close()
}var msg=_t_("js.common_for_all.unknown_error"),err,buttons={};if(response&&response.error&&response.error.message){msg=response.error.message
}buttons[_t_("js.v3.confirm.ok")]=function(){$(this).dialog("close");$(this).remove()};err=$(this.options.errorTemplate.run({message:msg}));
err.dialog({modal:true,width:450,height:"auto",autoOpen:true,buttons:buttons})},initVods:function(){this.vodCoverLayer=new ustream.classes.CoverLayer($("#PpvVodList"));
this.getFirstVodList();this.imgCenterTool=new ustream.classes.CenterImages("#PpvVodList",{autorun:false,size:[120,90]})
},getFirstVodList:function(){$.get(stringUtils.urlSubst(this.options.vodListUrl,{pageId:1}),bind(this.onFirstVodListResponse,this));
this.vodCoverLayer.show();$("#PpvVodList").show()},onFirstVodListResponse:function(data){this.vodCoverLayer.hide();
this.initVodPager(data);this.addVods(data)},initVodPager:function(data){data=merge(data,{cover:this.vodCoverLayer,pagerPath:"#PpvVodGroupPager",pagerUrl:this.options.vodListUrl,onResponse:bind(this.addVods,this)});
this.vodPager=new ustream.classes.CallbackPager(data)},addVods:function(data){if(data&&data.videos&&data.videos.length){forEach(data.videos,function(item){item.isVod=true
});this._modal.find("#PpvVodList .content").html(this.options.vodlistTemplate.run(data));this.imgCenterTool.fixPositions()
}},replaceButton:function(){$('.buy > button[rel="'+this.options.itemId+'"]').html(_t_("www.upcomingevents_widget.buy_more_ticket"))
}})})();
(function(){eval(ustream.namespace);ustream.classes.PpvTicketRequest=new Class({options:{amount:0,channelId:0,currency:"JPY",itemId:0,itemName:"Event Title",itemPrice:5,itemUrl:"",ticketCode:false,currencySymbol:"",userName:"",transactionId:"",maxPollingTries:3,pollingInterval:5000,modal:"#PurchaseStatus",autoBind:false,pollingUrl:"",validateUrl:""},_element:"#PurchaseStatus",_tries:0,initialize:function(options){this.options=merge(this.options,options||{});
this.options.modal=(typeof this.options.modal=="object")?this.options.modal:$(this.options.modal);this.successTemplate=new ustream.classes.SimpleTpl(ustream.templates.ppvPurchaseSuccess);
this.confirmationTemplate=new ustream.classes.SimpleTpl(ustream.templates.ppvPurchaseConfirmation);this.pendingTemplate=new ustream.classes.SimpleTpl(ustream.templates.ppvPurchasePending);
this.processingTemplate=new ustream.classes.SimpleTpl(ustream.templates.ppvPurchaseProcess);this.options.modal.html(this.processingTemplate.run());
this.checkTransaction(this.options.transactionId)},checkTransaction:function(transactionId){this.options.modal.find(".pollingStarted .status").text(_t_("www.ppv.confirmation.status_contacting"));
this._tries++;$.ajax({url:this.options.pollingUrl,type:"POST",data:{transactionId:transactionId,attempt:this._tries},dataType:"json",success:bind(this.checkTransactionResponse,this,transactionId)})
},checkTransactionResponse:function(transactionId,response){this.options.modal.find(".pollingStarted .status").text(_t_("www.ppv.confirmation.status_working"));
this.viewer=ustream.flash.viewer.v2;this.viewer.setHasTicket();if(!response||!response.success){if(this._tries<this.options.maxPollingTries){setTimeout(bind(this.checkTransaction,this,transactionId),this.options.pollingInterval)
}else{this._tries=0;this.showPendingTransaction(transactionId)}return}else{if(response.ticketCodes.length>0){this._tries=0;
if(response.alreadyBound){this.showTransactionConfirmation(false,response.ticketCodes,transactionId)}else{if(this.options.autoBind){this.bindTickets(true,response.ticketCodes,transactionId)
}else{this.showTransactionGiftOption(response.ticketCodes,transactionId)}}return}}$.console.log("ERR: Response success TRUE, but no tickets received!")
},showTransactionGiftOption:function(tickets,transactionId){this.options.modal.find(".pollingStarted .status").text("");
this.options.modal.html(this.successTemplate.run(this.options)).find(".ppvTicketBind").click(bind(this.bindTickets,this,true,tickets,transactionId)).end().find(".ppvTicketGifts").click(bind(this.showTransactionConfirmation,this,false,tickets,transactionId)).end()
},bindTickets:function(bindOneTicket,tickets,transactionId){this.options.modal.html(this.processingTemplate.run());
this.options.modal.find(".pollingStarted .polling p").if_(this.options.autoBind).text(_t_("www.ppv.confirmation.status_working")).else_().text(_t_("js.v3.ppv.confirmation.status_binding")).end();
var purchasedTickets=$A(tickets),boundTicket=purchasedTickets.shift();$.ajax({url:this.options.validateUrl,type:"POST",dataType:"json",data:{code:boundTicket},success:bind(this.bindTicketsResponse,this,tickets,purchasedTickets,transactionId),error:bind(this.bindTicketsResponse,this,tickets,purchasedTickets,transactionId,{success:false})})
},onTicketBound:function(){dispatchEvent(ustream.events.TICKETBOUND,{ppvItemId:this.options.itemId});
if(window.top&&window.top.ustream&&window.top.ustream!==window.ustream){window.top.ustream.vars.hasTicketForActiveEvent=true;
window.top.ustream.events.dispatch(ustream.events.TICKETBOUND,{ppvItemId:this.options.itemId})}},bindTicketsResponse:function(tickets,purchasedTickets,transactionId,response){if(response.success){this.showTransactionConfirmation(true,purchasedTickets,transactionId);
this.onTicketBound({ppvItemId:this.options.itemId})}else{if(response&&response.error&&response.error.message){ustream.events.dispatch(ustream.events.ERRORNOTIFICATION,{message:response.error.message})
}this.showTransactionConfirmation(false,tickets,transactionId)}},showTransactionConfirmation:function(bindOneTicket,tickets,transactionId){var bindTicket=bindOneTicket||false,ticketAmount=tickets.length,shareText=_t_("js.v3.ppv.confirmation.share_text",{itemName:this.options.itemName}),opts=merge(this.options,{itemUrlEncoded:encodeURIComponent(this.options.itemUrl),shareText:shareText,shareTextEncoded:encodeURIComponent(shareText),bindTicket:bindTicket,ticketAmount:ticketAmount,ticketCodes:tickets,transactionId:transactionId,isVod:(ustream.vars.event_vod_list_url)?true:false});
this.options.modal.html(this.confirmationTemplate.run(opts)).find(".ppvTickets").val(tickets.join("\n")).end().find(".ppvTickets").focus(function(){this.select()
}).end().find(".ppvFinish").click(bind(this.closeDialog,this));this.centerDialog();new ustream.classes.SimpleTextAccordion({container:".faqAccordion"})
},centerDialog:function(){setTimeout(bind(function(){this.options.modal.dialog("option","position","center")
},this),0)},showPendingTransaction:function(transactionId){var shareText=_t_("js.v3.ppv.confirmation.share_text",{itemName:this.options.itemName});
this.options.modal.html(this.pendingTemplate.run(merge(this.options,{itemUrlEncoded:encodeURIComponent(this.options.itemUrl),shareText:shareText,shareTextEncoded:encodeURIComponent(shareText),transactionId:transactionId}))).find(".ppvTickets").focus(function(){this.select()
}).end().find(".ppvFinish").click(bind(this.closeDialog,this));this.centerDialog();new ustream.classes.SimpleTextAccordion({container:".faqAccordion"})
},closeDialog:function(){if(this.options.modal.dialog){this.options.modal.dialog("close")}}})})();
(function(){eval(ustream.namespace);ustream.classes.PpvTicketValidation=new Class({options:{channelId:0,currency:"JPY",itemId:0,itemName:"Event Title",itemPrice:5,pollingUrl:"",validateUrl:"",ticketCode:false,template:ustream.templates.ppvTicketValidationMain,confirmTemplate:ustream.templates.ppvTicketValidationConfirm,errorTemplate:ustream.templates.ppvTicketValidationError,finishTemplate:ustream.templates.ppvTicketValidationFinish},_code:"AAAABBBBCCCCDDDDEEEE",_modal:'<div id="PPVTicketSubmitDialog_#itemId#"></div>',dialogState:0,initialize:function(options){var evt,SimpleTpl=ustream.classes.SimpleTpl;
this.options=merge(this.options,options||{});this.options.template=new SimpleTpl(this.options.template);
this.options.confirmTemplate=new SimpleTpl(this.options.confirmTemplate);this.options.errorTemplate=new SimpleTpl(this.options.errorTemplate);
this.options.finishTemplate=new SimpleTpl(this.options.finishTemplate);this._modal=$(this._modal);this.layer=new ustream.classes.CoverLayer(this._modal);
captureEvent(ustream.events.TICKETENTERCODESTART,eBind(this.checkLogin,this));captureEvent(ustream.events.LOGINSUCCESS,eBind(this.onLogin,this));
if(!!this.options.ticketCode){if(!ustream.vars.loggedIn){evt=(typeof ustream.classes.LoginSignup!=="undefined")?ustream.events.REQUIRELOGINSIGNUP:ustream.events.REQUIRELOGIN;
dispatchEvent(evt,{ppvTicketSubmit:true,validateTicket:this.options.ticketCode})}else{this.showBoundConfirmation(this.options.ticketCode)
}}},completeCode:function(){var codefield=this._modal.find(".ppvTicketEnter").find("input[name=codepart]");
codefield.mask("****-****-****-****",{placeholder:" "})},checkLogin:function(e){if(!e.eventData.ppvItemId){e.eventData.ppvItemId=e.eventData.eventId||e.eventData.mediaId
}if(!e.eventData||e.eventData.ppvItemId*1!==this.options.itemId*1){return}if(!ustream.vars.loggedIn){dispatchEvent(ustream.events.REQUIRELOGINSIGNUP,{ticketValidateItemId:this.options.itemId});
return}this.checkDeemed(e)},onLogin:function(e){if(!e.eventData||e.eventData.ticketValidateItemId*1!==this.options.itemId*1){return
}if(typeof e.eventData.validateTicket!=="undefined"){this.showBoundConfirmation(e.eventData.validateTicket);
return}this.checkDeemed(e)},showEnterTicket:function(){this.createDialog();this.resizeDialog("auto",450);
this._modal.dialog("option","title",_t_("js.v3.ppv_ticket_validation.enter_ticket_code")).html(this.options.template.run());
this._modal.find("input[type=text]").eq(0).focus().end().end().find("input[type=text]").focus(function(){this.select()
}).keyup(eBind(this.onCodeInput,this));this._modal.find(".ppvTicketEnter").submit(eBind(this.onTicketSubmit,this));
this.completeCode()},onCodeInput:function(e){var elem=$(e.target);e.stop();if(e.keyCode==9||e.keyCode==16){return false
}if(elem.val().length==4){elem.next("input[type=text], button").focus()}},onTicketSubmit:function(e){e.stop();
this._code=""+this._modal.find("input[name=codepart]").val();this._code=this._code.toUpperCase();this.validate(this._code)
},validate:function(code){this.layer.show();$.ajax({url:this.options.validateUrl,type:"POST",dataType:"json",data:{code:code,channelId:this.options.channelId},success:bind(this.onValidateResponse,this),error:bind(this.showError,this)})
},onValidateResponse:function(response){this.layer.hide();if(!response||!response.success){this.showError(response);
return}dispatchEvent(ustream.events.SUCCESSNOTIFICATION,{message:_t_("js.v3.ppv_ticket_validation.bound_finish")});
ustream.vars.hasTicketForActiveEvent=true;dispatchEvent(ustream.events.TICKETBOUND,{ppvItemId:this.options.itemId});
this._modal.dialog("close")},showBoundConfirmation:function(code){this.createDialog();this.resizeDialog(100,350);
this._modal.dialog("option","title",_t_("js.v3.ppv_ticket_validation.please_confirm")).html(this.options.confirmTemplate.run({ticketCode:code}));
this._modal.find(".ppvTicketBind").click(eBind(this.validate,this,code)).end().find(".cancel").click(eBind(this.closeDialog,this))
},showBoundError:function(message){},onDialogClose:function(){this.dialogState=2},createDialog:function(){if(this.dialogState===0){this._modal.dialog({modal:true,width:360,autoOpen:true,close:bind(this.onDialogClose,this)});
this.dialogState=1}else{if(this.dialogState==2){this.openDialog()}}},openDialog:function(){if(this.dialogState==2){this._modal.dialog("open");
this.dialogState=1}},updateDialog:function(updateWhat,updateWith){this._modal.dialog("option",updateWhat,updateWith)
},closeDialog:function(){if(this.dialogState==1){this._modal.dialog("close");this.dialogState=2}},destroyDialog:function(){if(this.dialogState!==0){this._modal.dialog("destroy");
this.dialogState=0}},resizeDialog:function(height,width){if(typeof width!="undefined"){this._modal.dialog("option","width",width)
}this._modal.dialog("option","height",height).dialog("option","position","center")},showError:function(response){var msg=_t_("js.common_for_all.unknown_error");
if(response&&response.error&&response.error.message){msg=response.error.message}this.layer.hide();this._modal.dialog("option","title",_t_("js.v3.ppv_ticket_validation.bound_finish_error")).html(this.options.errorTemplate.run({message:msg})).find(".ppvTicketBindFinish").click(eBind(this.closeDialog,this))
},checkDeemed:function(e){this.createDialog();this.layer.show();$.ajax({url:stringUtils.urlSubst(ustream.vars.checkDeemTicketUrl,{itemId:this.options.itemId}),success:bind(this.onCheckDeemedResponse,this),error:bind(this.showError,this)})
},onCheckDeemedResponse:function(response){if(!response||!response.success){this.showError(response);
return}this.showEnterTicket()}})})();
ustream.templates.loginSignupDialog='<div data-template="loginSignupDialog"><div id="LoginSignupIntro"><p><%= _t_("js.v3.login_signup_dialog.intro_help") %></p></div><div class="clearAfter"><div id="LoginSignupLogin"><h2><%= _t_("js.v3.login_signup_dialog.login_title") %></h2><input type="hidden" data-template="loginSignupDialog" /><div class="tabbedTitleBox" id="LoginSignupTabs"><ul class="title"><li class="active"><span class="ustream"></span> <%=_t_("js.v3.login_dialog.tab_ustream") %></li><li><span class="facebook"></span> <%=_t_("js.v3.login_dialog.tab_facebook") %></li><% if (!ustream.vars.isIframe) { %><li><span class="google"></span> <%=_t_("js.v3.login_dialog.tab_google") %></li><li><span class="yahoo"></span> <%=_t_("js.v3.login_dialog.tab_yahoo") %></li><li><span class="openid"></span> <%=_t_("js.v3.login_dialog.tab_openid") %></li><% } %></ul><div class="content"><div class="tabPageContent" id="UstreamLogin"><form id="LoginForm" method="POST" action="/ajax/login.json" class="form"><p><label for="LoginUsername"><%=_t_("js.v3.login_dialog.label_username") %></label><br /><input type="text" name="username" class="text" id="LoginUsername" size="24" title="<%=_t_("js.v3.login_dialog.error_username") %>" /></p><p><label for="LoginPassword"><%=_t_("js.v3.login_dialog.label_password") %></label><br /><input type="password" name="password" class="text" id="LoginPassword" size="24" title="<%=_t_("js.v3.login_dialog.error_password") %>" /></p><p style="padding-bottom: 8px;"><input type="submit" class="submit major button bigfont" value="<%=_t_("js.v3.login_dialog.action_login") %>" /><label for="LoginRemember"><input type="checkbox" name="remember" id="LoginRemember" checked="checked" /> <%=_t_("js.v3.login_dialog.label_remember") %></label></p><p><a href="/forgot-username" title="<%=_t_("js.v3.login_dialog.forgot_user") %>"><%=_t_("js.v3.login_dialog.forgot_user") %></a> | <a href="/forgot-password" title="<%=_t_("js.v3.login_dialog.forgot_pass") %>"><%=_t_("js.v3.login_dialog.forgot_pass") %></a></p></form></div><div class="tabPageContent" id="FacebookLogin"><p><%=_t_("js.v3.login_dialog.facebook_text") %></p><a href="#" class="facebookLoginButton" title="<%=_t_("js.v3.login_dialog.action_facebook") %>"><img id="fb_login_image" src="http://b.static.ak.fbcdn.net/images/fbconnect/login-buttons/connect_light_large_long.gif" title="<%=_t_("js.v3.login_dialog.action_facebook") %>" alt="<%=_t_("js.v3.login_dialog.action_facebook") %>" /></a></div><div class="tabPageContent" id="GoogleLogin"><p><%=_t_("js.v3.login_dialog.google_text") %></p><form method="POST" id="GoogleLoginForm" action="" class="form"><a class="button" title="<%=_t_("js.v3.login_dialog.action_google") %>" id="GoogleLoginButton"><span class="icon google"></span> <%=_t_("js.v3.login_dialog.action_google") %></a></form></div><div class="tabPageContent" id="YahooLogin"><p class="en_US"><%=_t_("js.v3.login_dialog.yahoo_text") %></p><form method="POST" id="YahooLoginForm" action="" class="form en_US"><a class="button" title="<%=_t_("js.v3.login_dialog.action_yahoo") %>" id="YahooLoginButton"><span class="icon yahoo"></span> <%=_t_("js.v3.login_dialog.action_yahoo") %></a></form><p class="ja_JP"><%=_t_("js.v3.login_dialog.yahoojapan_text") %></p><form method="POST" id="YahooLoginForm" action="" class="form ja_JP"><a class="" title="<%=_t_("js.v3.login_dialog.action_yahoo") %>" id="YahooJapanLoginButton"><img src="http://i.yimg.jp/images/login/btn/btnXSYid.gif" width="241" height="28" alt="<%= _t_("js.v3.login_dialog.action_yahoo_alttext") %>" border="0"></a></form></div><div class="tabPageContent" id="OpenidLogin"><p><%=_t_("js.v3.login_dialog.openid_text") %></p><form method="POST" id="OpenIdLoginForm" action="" class="form"><input type="text" class="text" id="OpenIdLoginField" name="openid" size="24"/><a class="button" title="<%=_t_("js.v3.login_dialog.action_login") %>" id="OpenidLoginButton"><span class="icon openid"></span> <%= _t_("js.v3.login_dialog.action_login") %></a></form></div></div></div></div><div id="LoginSignupSignup"><h2><%= _t_("js.v3.login_signup_dialog.signup_title") %></h2><div class="tabbedTitleBox"><div class="content"><form action="/ajax/signup/saveSimple.json" method="POST" class="form" id="LoginSignupForm" onsubmit="return false"><p><label for="Signup_Username"><%= _t_("js.v3.login_signup_dialog.username") %></label><br /><input type="text" id="Signup_Username" name="signup[username]" size="24" value="" /></p><p><label for="Signup_Password"><%= _t_("js.v3.login_signup_dialog.password") %></label><br /><input type="password" id="Signup_Password" name="signup[password]" size="24" /><br /></p><p><label for="Signup_Verify"><%= _t_("js.v3.login_signup_dialog.retype_password") %></label><br /><input type="password" id="Signup_Verify" name="signup[passwordVerify]" title="<%= _t_("js.v3.login_signup_dialog.retype_password_required") %>" size="24" /></p><p><label for="Signup_Email"><%= _t_("js.v3.login_signup_dialog.email") %></label><br /><input type="text" id="Signup_Email" name="signup[email]" size="24" value="" /></p><p class="checkRow"><input type="checkbox" id="Signup_Agree" name="signup[agree]" value="1" title="<%= _t_("js.v3.login_signup_dialog.terms_required_v2") %>" /><label class="grey" for="Signup_Agree"><%= _t_("js.v3.login_signup_dialog.terms_agree_v2", {termsLink: "/terms-popup", privacyLink: "/privacy-policy-popup"}) %></label></p><% if (typeof secondaryTermId !== "undefined") { %><p class="checkRow"><input type="checkbox" id="<%= secondaryTermId %>" name="signup[vieweragree]" value="1" class="required"title="<%= _t_("js.v3.login_signup_dialog.viewer_terms_required") %>" /><label class="grey" for="<%= secondaryTermId %>"><%= secondaryTermLink %></label></p><% } else { %><input type="hidden" value="1" name="signup[skipViewerAgree]" /><% } %><p><input type="submit" class="submit major button bigfont" value="<%=_t_("js.v3.login_signup_dialog.action_signup") %>" /></p></form></div></div></div></div></div>';
(function(){eval(ustream.namespace);ustream.classes.LoginSignup=ustream.classes.Login.extend({options:{template:"",controls:"#LoginRegister",loginTabs:"#LoginSignupTabs",panelID:"UstreamLoginSignupDialog",signupForm:"#LoginSignupForm",panel:{width:758}},initialize:function(options){if(ustream.vars.loggedIn){return
}this.options=merge(this.options,options||{});this.options.template=ustream.templates.loginSignupDialog;
this.parent(options);this.options.signupUrl=ustream.vars.simpleSignupUrl},initSignupForm:function(){if(!this.signupValidate){this.signupValidate=new ustream.classes.Validator({form:this.panel.find(this.options.signupForm),rules:{"signup[username]":{required:true,minlength:4,maxlength:20,freeusername:true},"signup[email]":{required:true,email:true,uniquemail:true},"signup[password]":{required:true},"signup[passwordVerify]":{required:true,equalTo:"#Signup_Password"},"signup[agree]":{required:true},"signup[verification]":{required:true}},submitHandler:bind(this.signupSubmitHandler,this)});
$("#changeCaptcha").click(function(){$("#captcha").attr("src","/verification.php?"+Math.floor(Math.random()*100))
})}$("#Signup_Terms, #Signup_Privacy, #Ppv_Login_Terms, #Ppv_Signup_Terms, #Subscription_Signup_Terms").click(function(){window.open($(this).attr("href"),"terms","width=519,height=300,status=1,resizable=1,scrollbars=1")
})},initEvents:function(){captureEvent(ustream.events.REQUIRELOGINSIGNUP,eBind(this.displayPanel,this));
captureEvent(ustream.events.REQUIRELOGINSIGNUPAJAXLOGIN,eBind(this.displayPanel,this));captureEvent(ustream.events.FACEBOOKSIGNUPREQ,eBind(this.displayFBsignupPanel,this));
captureEvent(ustream.events.FACEBOOKCONNECTED,eBind(this.FBLoginResponseHandler,this));this.controls.click(eBind(function(e){e.stop();
dispatchEvent(ustream.events.REQUIRELOGINSIGNUP)},this));captureEvent("panelInitialized",eBind(this.initSignupForm,this),this);
captureEvent("panelInitialized",eBind(this.setupPanel,this),this)},signupSubmitHandler:function(e){this.showCoverLayer();
this.refUrl=this.getRefURL();this.currentRequest=this.panel.find(this.options.signupForm).attr("action",this.options.signupUrl).ajaxSubmit({type:"POST",dataType:"json",success:bind(this.signupResponseHandler,this)})
},signupResponseHandler:function(response){this.hideCoverLayer();if(this.signupValidate.reCheck(response)){this.panel.find("input[name=login[password]]").siblings(".error").remove();
ustream.vars=merge(ustream.vars,response.exposedVariables);ustream.vars.tos=false;try{if(window.top&&window.top.ustream){window.top.ustream.vars.tos=false
}}catch(e){$.console.log("failed to set tos in top frame")}this.eventData=merge(this.eventData,response.exposedVariables);
if(this.refUrl){this.eventData.redirecting=true;location.href=this.refUrl}if(response.redirectUrl!==null&&this.eventData.allowRedirect){this.eventData.redirecting=true;
location.href=response.redirectUrl}this.panel.dialog("close");this.onLogin()}},closePanel:function(){this.parent();
this.signupValidate.resetForm()}})}());

