<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0" xmlns:ge="http://www.ge.com/schema">

	<xsl:include href="../page_common.xsl"/>
	<xsl:include href="../common_templates_refactor.xsl"/>

		<xsl:template match="ge:investor_event">
			<xsl:call-template name="refactor_page_layout">

				<xsl:with-param name="content">
					<div class="splash_content">
						<h2 class="page_title">Event Media</h2>
						<a href="javascript:window.history.go(-2)" class="back_link">Back to Event</a>
					</div>
					<div class="primary_content">
						<script type="text/javascript">
							var thomson_url = unescape("<xsl:value-of select="ge:thomson_url"/>");
							var event_id = window.location.href.toQueryParams().eventID;
							Event.observe(window, "load", function() {
								var event_id = window.location.href.toQueryParams().eventID;
								var eid = window.location.href.toQueryParams().eid;
								if (event_id) {
									thomson_url = (thomson_url.indexOf('?') <ge:lt/> 0)? thomson_url+"?": thomson_url;
									var url = thomson_url+"eventID="+event_id;
									$("event_detail_frame").src = url;
								}
							});
						</script>
						<iframe id="event_detail_frame" title="Event Detail Frame" frameborder="0" width="600" height="1000"><xsl:text><![CDATA[  ]]></xsl:text></iframe>
					</div>
				</xsl:with-param>

			</xsl:call-template>
		</xsl:template>

</xsl:stylesheet>
