
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="1.0">
<xsl:template match="/">
<xsl:text disable-output-escaping="yes">&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"&gt;</xsl:text><xsl:text>&#xA;</xsl:text>

<xsl:element name="html"><xsl:text>&#xA;</xsl:text>
<xsl:element name="head"><xsl:text>&#xA;</xsl:text>
<xsl:element name="title"><xsl:text disable-output-escaping="yes">asdasdasd</xsl:text></xsl:element><xsl:text>&#xA;</xsl:text>
	
	<xsl:element name="META">
		<xsl:attribute name="NAME">description</xsl:attribute>
		<xsl:attribute name="CONTENT"><xsl:text>abc</xsl:text></xsl:attribute>
		</xsl:element><xsl:text>&#xA;</xsl:text>
	<xsl:element name="META">
		<xsl:attribute name="NAME">keywords</xsl:attribute>
		<xsl:attribute name="CONTENT"><xsl:text>xyz</xsl:text></xsl:attribute>
	</xsl:element><xsl:text>&#xA;</xsl:text>
	
	<xsl:call-template name="links" />
	</xsl:element><xsl:text>&#xA;</xsl:text>

<!-- Body -->
<xsl:element name="body">
	<xsl:text>&#xA;</xsl:text>
	<xsl:apply-templates select="data" />
</xsl:element><xsl:text>&#xA;</xsl:text>
</xsl:element>
</xsl:template>

<xsl:template match="data">
<!-- Top Story -->
<xsl:element name="table">
<xsl:attribute name="border">0</xsl:attribute>
<xsl:attribute name="cellpadding">0</xsl:attribute>
<xsl:attribute name="cellspacing">0</xsl:attribute>
<xsl:attribute name="width">776</xsl:attribute>
<xsl:attribute name="style">TABLE-LAYOUT: fixed;</xsl:attribute>
	<xsl:text>&#xA;</xsl:text>
<xsl:element name="tr">
	<xsl:text>&#xA;</xsl:text>
	<xsl:element name="td">
		<xsl:text>&#xA;</xsl:text>
	<xsl:element name="table">
		<xsl:attribute name="border">0</xsl:attribute>
		<xsl:attribute name="cellpadding">0</xsl:attribute>
		<xsl:attribute name="cellspacing">0</xsl:attribute>
		<xsl:attribute name="height">220</xsl:attribute>
		<xsl:attribute name="width">776</xsl:attribute>
		<xsl:attribute name="style">border-bottom: solid 4px #003366; TABLE-LAYOUT: fixed;</xsl:attribute>
			<xsl:text>&#xA;</xsl:text>
		<xsl:element name="tr">
			<xsl:text>&#xA;</xsl:text>
		<xsl:element name="td">
		<xsl:attribute name="height">220</xsl:attribute>
		<xsl:attribute name="valign">top</xsl:attribute>
		<xsl:attribute name="width">561</xsl:attribute>
			<xsl:text>&#xA;</xsl:text>
	
		</xsl:element>
		<xsl:element name="td">
		<xsl:attribute name="width">215</xsl:attribute>
		<xsl:attribute name="valign">top</xsl:attribute>
		<xsl:attribute name="style">border-top: solid 4px #003366;</xsl:attribute>
			<xsl:text>&#xA;</xsl:text>
	</xsl:element><xsl:text>&#xA;</xsl:text>
		</xsl:element><xsl:text>&#xA;</xsl:text>
	</xsl:element><xsl:text>&#xA;</xsl:text>
</xsl:element><xsl:text>&#xA;</xsl:text>
</xsl:element><xsl:text>&#xA;</xsl:text>
<xsl:element name="tr">
	<xsl:text>&#xA;</xsl:text>
<xsl:element name="td">
<xsl:attribute name="valign">top</xsl:attribute>
	<xsl:text>&#xA;</xsl:text>
	<xsl:element name="table">
	<xsl:attribute name="border">0</xsl:attribute>
		<xsl:attribute name="cellpadding">0</xsl:attribute>
		<xsl:attribute name="cellspacing">0</xsl:attribute>
		<xsl:text>&#xA;</xsl:text>
			
			
			<xsl:element name="tr">
			<xsl:text>&#xA;</xsl:text>
			
			<xsl:element name="td">
			<xsl:attribute name="height">100%</xsl:attribute>
			<xsl:attribute name="valign">top</xsl:attribute>
			<xsl:attribute name="width"></xsl:attribute>
			<xsl:attribute name="style">background-color:#DDD5BD;width:215px</xsl:attribute>
			<xsl:text>&#xA;</xsl:text>
			
			<xsl:variable name="ws" select="'http://localhost/abc/WebService.asmx/GetHTML?strURL='"/>
			
			<xsl:variable name="url">
				<xsl:choose>
					<xsl:when test="$navid='12245'">
						<xsl:value-of select="'http://www.yahoo.com'"/>
					</xsl:when>
					<xsl:otherwise>
						<xsl:value-of select="'http://www.msn.com'"/>
					</xsl:otherwise>
				</xsl:choose> 
			</xsl:variable>

			<xsl:value-of select="document(concat($ws,$url))"/>
			
			</xsl:element><xsl:text>&#xA;</xsl:text>
			
			<xsl:element name="td">
				<xsl:attribute name="height">100%</xsl:attribute>
				<xsl:attribute name="style">BACKGROUND-COLOR: #f0f0f0; padding-left: 7px; padding-bottom: 10px; padding-top: 10px;</xsl:attribute>
				<xsl:attribute name="valign">top</xsl:attribute>
				<xsl:attribute name="width">210</xsl:attribute>
				<xsl:text>&#xA;</xsl:text>
			<xsl:element name="div">
				<xsl:attribute name="id">OBDom</xsl:attribute>
				<xsl:attribute name="class">OB</xsl:attribute>
				<xsl:text>&#xA;</xsl:text>
			</xsl:element>
			<xsl:text>&#xA;</xsl:text>
			<xsl:element name="div">
				<xsl:attribute name="id">OBInt</xsl:attribute>
				<xsl:attribute name="class">OB</xsl:attribute>
				<xsl:attribute name="style">display: none;</xsl:attribute>
				<xsl:text>&#xA;</xsl:text>
			</xsl:element><xsl:text>&#xA;</xsl:text>
			</xsl:element><xsl:text>&#xA;</xsl:text>
			</xsl:element><xsl:text>&#xA;</xsl:text>
		</xsl:element><xsl:text>&#xA;</xsl:text>
</xsl:element><xsl:text>&#xA;</xsl:text>
</xsl:element><xsl:text>&#xA;</xsl:text>
</xsl:element><xsl:text>&#xA;</xsl:text>
</xsl:template>
</xsl:stylesheet><!-- Stylus Studio meta-information - (c) 2004-2006. Progress Software Corporation. All rights reserved.
<metaInformation>
<scenarios ><scenario default="yes" name="HomePageStockOption" userelativepaths="yes" externalpreview="no" url="adapter:HTMLTidy:newline=crlf:encoding=utf&#x2D;8:warnings=no:errors=yes?file:///c:/Inetpub/CMS_XML/xml/node/15125.xml" htmlbaseurl="" outputurl="" processortype="internal" useresolver="yes" profilemode="0" profiledepth="" profilelength="" urlprofilexml="" commandline="" additionalpath="" additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext="" validateoutput="yes" validator="internal" customvalidator=""/></scenarios><MapperMetaTag><MapperInfo srcSchemaPathIsRelative="yes" srcSchemaInterpretAsXML="no" destSchemaPath="" destSchemaRoot="" destSchemaPathIsRelative="yes" destSchemaInterpretAsXML="no"/><MapperBlockPosition><template match="/"></template><template match="manifest"></template></MapperBlockPosition><TemplateContext></TemplateContext><MapperFilter side="source"></MapperFilter></MapperMetaTag>
</metaInformation>
-->