You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-commits@incubator.apache.org by mt...@apache.org on 2006/10/12 14:59:01 UTC

svn commit: r463266 [4/4] - /incubator/xap/site/

Modified: incubator/xap/site/index.php@cid=1321.html
URL: http://svn.apache.org/viewvc/incubator/xap/site/index.php%40cid%3D1321.html?view=diff&rev=463266&r1=463265&r2=463266
==============================================================================
--- incubator/xap/site/index.php@cid=1321.html (original)
+++ incubator/xap/site/index.php@cid=1321.html Thu Oct 12 07:58:59 2006
@@ -33,26 +33,26 @@
 <td class="content" nowrap onMouseOver="this.style.backgroundImage='url(./images/highlight.gif)';" onMouseOut="this.style.backgroundImage='url(./images/background.gif)';" onClick="document.location='?cid=1054';" style="text-align: center;background-repeat: repeat; background-position: left top; cursor: pointer; color: black; font-weight: normal; padding: 0px; margin: 0px;"><a href="index.php@cid=1054.html" class="headerTitle" style="color: white; text-decoration: none;">Welcome</a></td><td class="content" style="color: white; cursor: default;">&nbsp;&nbsp;|&nbsp;&nbsp;</td><td class="content" nowrap onMouseOver="this.style.backgroundImage='url(./images/highlight.gif)';" onMouseOut="this.style.backgroundImage='url(./images/background.gif)';" onClick="document.location='?cid=1064';" style="text-align: center;background-repeat: repeat; background-position: left top; cursor: pointer; color: black; font-weight: normal; padding: 0px; margin: 0px;"><a href="index.php@cid=1064.html"
  class="headerTitle" style="color: white; text-decoration: none;">Getting Started</a></td><td width=100%>&nbsp;</td>
 </tr>
 </table>
-<script type="text/javascript" src="../shared/helpers.js"></script><table height=420 width="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0"><tr><td colspan=2><image src="./images/spaced.gif" border=0 height=10><br></td></tr><tr><td valign=top width=216 style="padding: 0px;"><div style="width: 216; background-color: #F4F4F4;"><image src="./images/topLeftHeader.gif" border=0 width=216 height=10></div><div style="padding-left: 8px; border-right: #d2d2d2 solid 1px; border-left: #d2d2d2 solid 1px; background-color: #F4F4F4; "><table width=200 BORDER="0" CELLSPACING="0" CELLPADDING="0"><tr><td valign=top style="padding: 0px; margin: 0px;"><script type="text/javascript" src="../shared/dtree.js"></script>
+<script type="text/javascript" src="../shared/helpers.js"></script><table width="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0" "><tr><td colspan=2><image src="./images/spaced.gif" border=0 height=10><br></td></tr><tr><td valign=top width=216 style="padding: 0px;"><div style="width: 216; background-color: #F4F4F4;"><image src="./images/topLeftHeader.gif" border=0 width=216 height=10></div><div style="padding-left: 8px; border-right: #d2d2d2 solid 1px; border-left: #d2d2d2 solid 1px; background-color: #F4F4F4; "><table width=200 BORDER="0" CELLSPACING="0" CELLPADDING="0"><tr><td valign=top style="padding: 0px; margin: 0px;"><script type="text/javascript" src="../shared/dtree.js"></script>
 <LINK REL="STYLESHEET" HREF="../shared/dtree.css">
 
 
-<div style="font-size: 11px; font-family: tahoma, Helvetica, sans-serif; white-space: nowrap;">&nbsp;<a href="index.php@cid=1054.html"  >Welcome</a><br><div style="vertical-align: middle; background-image: url(./images/menu.gif); background-repeat: no-repeat; background-position: top; height: 18px; padding: 1px; margin-bottom: 1px; margin-top: 12px;"><b>&nbsp;&nbsp;&nbsp;Project</b></div><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1093.html"  >News</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1057.html"  >Architecture</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1075.html"  >Demos</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1074.html"  >Roadmap</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: midd
 le;">&nbsp;<a href="index.php@cid=1069.html"  >Getting Help</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1058.html"  >License</a><br><div style="vertical-align: middle; background-image: url(./images/menu.gif); background-repeat: no-repeat; background-position: top; height: 18px; padding: 1px; margin-bottom: 1px; margin-top: 12px;"><b>&nbsp;&nbsp;&nbsp;Getting Involved</b></div><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1060.html"  >Contribution</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1061.html"  >Subversion Repository</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1078.html"  >XAP Adoption</a><br><div style="vertical-align: middle; background-image: url(./images/menu.gif); background-repeat: no-repeat; background-pos
 ition: top; height: 18px; padding: 1px; margin-bottom: 1px; margin-top: 12px;"><b>&nbsp;&nbsp;&nbsp;Documentation</b></div><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1064.html"  >Getting Started</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1065.html"  >Hello World</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1341.html"  >Using XAP with HTML</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="http://dev.nexaweb.com/docs/xap/index.html"  target="_blank">API and Syntax Reference</a><br><img src="images/menu_bullet_highlight.gif" border=0 style="vertical-align: middle;">&nbsp;<a  style="color: orange;" href="index.php@cid=1321.html"><b>Packaging</b></a><br></div></td><td><image src="./images/spaced.gif" border=0 height=250 width=0></td></tr></ta
 ble></div><div style="width: 216; background-color: #F4F4F4;"><image src="./images/LeftFooter.gif" width=216 height=10></div><td valign=top class=copyText style="padding-left: 8px; padding-right: 8px;"><div style="width: 720px;"><image src="./images/spaced.gif" border=0 height=3><br><div class=blueGreyTitle style="text-align: left; left:0px; margin-left:0px; align:left; padding-left:0px; padding-bottom:8px;">Packaging&nbsp;&nbsp;</div><div style="height: 1px; border-bottom: 1px white solid;"></div><p><span class="Title">Packaging and Loading XAP Applications</span></p>
+<div style="font-size: 11px; font-family: tahoma, Helvetica, sans-serif; white-space: nowrap;">&nbsp;<a href="index.php@cid=1054.html"  >Welcome</a><br><div style="vertical-align: middle; background-image: url(./images/menu.gif); background-repeat: no-repeat; background-position: top; height: 18px; padding: 1px; margin-bottom: 1px; margin-top: 12px;"><b>&nbsp;&nbsp;&nbsp;Project</b></div><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1093.html"  >News</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1057.html"  >Architecture</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1075.html"  >Demos</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1074.html"  >Roadmap</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: midd
 le;">&nbsp;<a href="index.php@cid=1069.html"  >Getting Help</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1058.html"  >License</a><br><div style="vertical-align: middle; background-image: url(./images/menu.gif); background-repeat: no-repeat; background-position: top; height: 18px; padding: 1px; margin-bottom: 1px; margin-top: 12px;"><b>&nbsp;&nbsp;&nbsp;Getting Involved</b></div><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1060.html"  >Contribution</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1061.html"  >Subversion Repository</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1078.html"  >XAP Adoption</a><br><div style="vertical-align: middle; background-image: url(./images/menu.gif); background-repeat: no-repeat; background-pos
 ition: top; height: 18px; padding: 1px; margin-bottom: 1px; margin-top: 12px;"><b>&nbsp;&nbsp;&nbsp;Documentation</b></div><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1064.html"  >Getting Started</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1065.html"  >Hello World</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1341.html"  >Using XAP with HTML</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="http://dev.nexaweb.com/docs/xap/index.html"  target="_blank">API and Syntax Reference</a><br><img src="images/menu_bullet_highlight.gif" border=0 style="vertical-align: middle;">&nbsp;<a  style="color: orange;" href="index.php@cid=1321.html"><b>Packaging</b></a><br></div></td><td><image src="./images/spaced.gif" border=0 height=250 width=0></td></tr></ta
 ble></div><div style="width: 216; background-color: #F4F4F4;"><image src="./images/LeftFooter.gif" width=216 height=10></div><td><image src="./images/spaced.gif" border=0 height=450 width=0></td><td valign=top class=copyText style="padding-left: 8px; padding-right: 8px;"><div style="width: 720px;"><image src="./images/spaced.gif" border=0 height=3><br><div class=blueGreyTitle style="text-align: left; left:0px; margin-left:0px; align:left; padding-left:0px; padding-bottom:8px;">Packaging&nbsp;&nbsp;</div><div style="height: 1px; border-bottom: 1px white solid;"></div><p><span class="Title">Packaging and Loading XAP Applications</span></p>
 <p>This document describes the methods by which you can package and load XAP applications. The methods you use to load XAP applications depends upon the method you use to package them. <br /><br /><strong>Packaging </strong></p>
 <p>You can Package XAP applications as follows: </p>
 <p>
 <table class="copyTable">
     <tbody>
         <tr>
-            <td class="cnTableBodyTitle" valign="top" nowrap="nowrap"><strong>Package Type</strong></td>
-            <td class="cnTableBodyTitle" valign="top" width="450"><strong>Description</strong></td>
+            <td valign="top" nowrap="nowrap" class="cnTableBodyTitle"><strong>Package Type</strong></td>
+            <td width="450" valign="top" class="cnTableBodyTitle"><strong>Description</strong></td>
         </tr>
         <tr>
-            <td class="cnTableBody" valign="top">Compressed</td>
+            <td valign="top" class="cnTableBody">Compressed</td>
             <td class="cnTableBody">Creates a link to a single, compressed file that contains all of the libraries required for this XAP application. </td>
         </tr>
         <tr>
-            <td class="cnTableBody" valign="top">Non-compressed</td>
+            <td valign="top" class="cnTableBody">Non-compressed</td>
             <td class="cnTableBody">
             <p>Includes all source files in one folder within a XAP application's web directory and the application bootstraps from there. </p>
             </td>
@@ -61,7 +61,7 @@
 </table>
 </p>
 <p><em>Creating a Compressed File</em> </p>
-<p>Packaging your XAP application in a single compressed file improves the time required for the client to load the application. However, packaging an application in a single compressed file makes it more difficult for you to debug the application as this packaging method causes some obfuscation of the application code. Nexaweb recommends using this method to package your XAP applications for fastest loading times in a production environment. </p>
+<p>Packaging your XAP application in a single compressed file improves the time required for the client to load the application. However, packaging an application in a single compressed file makes it more difficult for you to debug the application as this packaging method causes some obfuscation of the application code.</p>
 <p>A single compressed file includes packages that you do not explicitly define but on which packages you do define are dependent.</p>
 <p>The process of creating a compressed file, requires the following major steps: </p>
 <ul>
@@ -69,7 +69,7 @@
     <li>Compressing profile </li>
 </ul>
 <p><em>Defining a Build Profile</em> </p>
-<p>A build profile lists all of the source packages to include in the application build file. XAP profile is the default profile, which includes all XAP core libraries and require and provide source loading code. <br />XAP stores all profiles in the xap/trunk/buildscripts/profiles directory. <br /><br />You must name a profile using the following conventions: <em>yourprofilename.profile.js</em> <br />where <em>yourprofilename</em> is the name you create for the profile and .<em>profile.js</em> is the required profile extension. <br /><br />The following shows an example of a profile:&nbsp;</p>
+<p>A build profile lists all of the source packages to include in the application build file. XAP profile is the default profile, which includes all XAP core libraries and require and provide source loading code. <br />XAP stores all profiles in the <em>xap/trunk/buildscripts/profiles</em> directory. <br /><br />You must name a profile using the following conventions: <em>yourprofilename.profile.js</em> <br />where <em>yourprofilename</em> is the name you create for the profile and .<em>profile.js</em> is the required profile extension. <br /><br />The following shows an example of a profile:&nbsp;</p>
 <p><span class="Code">var dependencies&nbsp;=&nbsp;[<br />&nbsp;&nbsp; &quot;xap.session.ClientSession&quot;,<br />&nbsp;&nbsp; &quot;package 1&quot;,<br />&nbsp;&nbsp; &quot;package 2&quot;,<br />&nbsp;&nbsp; &quot;package 3&quot;,<br />];</span> </p>
 <p>&nbsp;To define a profile, follow these steps: </p>
 <ol>
@@ -103,7 +103,7 @@
 <p><em>Loading a Compressed File</em></p>
 <p>To load a compressed file, you add a script tag to the page header similar to the following: </p>
 <p><span class="Code">&lt;script language=&quot;JavaScript&quot; type=&quot;text/javascript&quot; src=&quot;../../xapcore.js&quot;&gt;&lt;/script&gt; <br />&lt;script language=&quot;JavaScript&quot; type=&quot;text/javascript&quot;&gt; <br />Xap.bootstrap( &quot;../../&quot; ); <br />&lt;/script&gt; <br /><br />&lt;script language=&quot;JavaScript&quot; type=&quot;text/javascript&quot;&gt; <br />function launch() { <br />Xap.createSession( &quot;../../&quot;, &quot;index.xal&quot; ); <br />} <br />&lt;/script&gt; </span></p>
-<p>In this example, <em>xapcore.js</em> represents the compressed file of all xap sources built with the default xap profile. The name of this JavaScript file varies according to the <em>profile.js</em> that you use to build the compressed file, for example, if you create a custom profile to list your application's source packages. <br /><br /><em>Loading a Non-Compressed File</em></p>
+<p>In this example, <em>xapcore.js</em> represents the compressed file of all XAP sources built with the default&nbsp;XAP profile. The name of this JavaScript file varies according to the <em>profile.js</em> that you use to build the compressed file, for example, if you create a custom profile to list your application's source packages. <br /><br /><em>Loading a Non-Compressed File</em></p>
 <p>To load a non-compressed file, you add: </p>
 <ul>
     <li>A script tag to the page header similar to the following: </li>
@@ -123,9 +123,7 @@
 <p><em>Adding a Call to Launch</em> </p>
 <p>Add a call to launch in the body's onload event similar to the following: </p>
 <p><span class="Code">&lt;body onload=&quot;launch();&quot;&gt; </span></p>
-<p><br /></p>
-<p>&nbsp;</p>
-<p>dependencies.prefixes = [ [&quot;xap&quot;, &quot;src/cap&quot;], [&quot;dojo&quot;,&quot;src/dojo/src&quot;" >;<br />load(&quot;getDependencyList.js&quot;);</p><div style="margin-top: 6px; text-align: left; font-size: 8pt; color: grey;">(last update - 24-Aug-06)</div><image src="./images/spaced.gif" border=0 height=8><br></div></td></tr></table>
+<p>dependencies.prefixes = [ [&quot;xap&quot;, &quot;src/cap&quot;], [&quot;dojo&quot;,&quot;src/dojo/src&quot;" >;<br />load(&quot;getDependencyList.js&quot;);</p><div style="margin-top: 6px; text-align: left; font-size: 8pt; color: grey;">(last update - 13-Sep-06)</div><image src="./images/spaced.gif" border=0 height=8><br></div></td></tr></table>
 
 
 

Modified: incubator/xap/site/index.php@cid=1341.html
URL: http://svn.apache.org/viewvc/incubator/xap/site/index.php%40cid%3D1341.html?view=diff&rev=463266&r1=463265&r2=463266
==============================================================================
--- incubator/xap/site/index.php@cid=1341.html (original)
+++ incubator/xap/site/index.php@cid=1341.html Thu Oct 12 07:58:59 2006
@@ -33,11 +33,11 @@
 <td class="content" nowrap onMouseOver="this.style.backgroundImage='url(./images/highlight.gif)';" onMouseOut="this.style.backgroundImage='url(./images/background.gif)';" onClick="document.location='?cid=1054';" style="text-align: center;background-repeat: repeat; background-position: left top; cursor: pointer; color: black; font-weight: normal; padding: 0px; margin: 0px;"><a href="index.php@cid=1054.html" class="headerTitle" style="color: white; text-decoration: none;">Welcome</a></td><td class="content" style="color: white; cursor: default;">&nbsp;&nbsp;|&nbsp;&nbsp;</td><td class="content" nowrap onMouseOver="this.style.backgroundImage='url(./images/highlight.gif)';" onMouseOut="this.style.backgroundImage='url(./images/background.gif)';" onClick="document.location='?cid=1064';" style="text-align: center;background-repeat: repeat; background-position: left top; cursor: pointer; color: black; font-weight: normal; padding: 0px; margin: 0px;"><a href="index.php@cid=1064.html"
  class="headerTitle" style="color: white; text-decoration: none;">Getting Started</a></td><td width=100%>&nbsp;</td>
 </tr>
 </table>
-<script type="text/javascript" src="../shared/helpers.js"></script><table height=420 width="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0"><tr><td colspan=2><image src="./images/spaced.gif" border=0 height=10><br></td></tr><tr><td valign=top width=216 style="padding: 0px;"><div style="width: 216; background-color: #F4F4F4;"><image src="./images/topLeftHeader.gif" border=0 width=216 height=10></div><div style="padding-left: 8px; border-right: #d2d2d2 solid 1px; border-left: #d2d2d2 solid 1px; background-color: #F4F4F4; "><table width=200 BORDER="0" CELLSPACING="0" CELLPADDING="0"><tr><td valign=top style="padding: 0px; margin: 0px;"><script type="text/javascript" src="../shared/dtree.js"></script>
+<script type="text/javascript" src="../shared/helpers.js"></script><table width="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0" "><tr><td colspan=2><image src="./images/spaced.gif" border=0 height=10><br></td></tr><tr><td valign=top width=216 style="padding: 0px;"><div style="width: 216; background-color: #F4F4F4;"><image src="./images/topLeftHeader.gif" border=0 width=216 height=10></div><div style="padding-left: 8px; border-right: #d2d2d2 solid 1px; border-left: #d2d2d2 solid 1px; background-color: #F4F4F4; "><table width=200 BORDER="0" CELLSPACING="0" CELLPADDING="0"><tr><td valign=top style="padding: 0px; margin: 0px;"><script type="text/javascript" src="../shared/dtree.js"></script>
 <LINK REL="STYLESHEET" HREF="../shared/dtree.css">
 
 
-<div style="font-size: 11px; font-family: tahoma, Helvetica, sans-serif; white-space: nowrap;">&nbsp;<a href="index.php@cid=1054.html"  >Welcome</a><br><div style="vertical-align: middle; background-image: url(./images/menu.gif); background-repeat: no-repeat; background-position: top; height: 18px; padding: 1px; margin-bottom: 1px; margin-top: 12px;"><b>&nbsp;&nbsp;&nbsp;Project</b></div><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1093.html"  >News</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1057.html"  >Architecture</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1075.html"  >Demos</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1074.html"  >Roadmap</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: midd
 le;">&nbsp;<a href="index.php@cid=1069.html"  >Getting Help</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1058.html"  >License</a><br><div style="vertical-align: middle; background-image: url(./images/menu.gif); background-repeat: no-repeat; background-position: top; height: 18px; padding: 1px; margin-bottom: 1px; margin-top: 12px;"><b>&nbsp;&nbsp;&nbsp;Getting Involved</b></div><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1060.html"  >Contribution</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1061.html"  >Subversion Repository</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1078.html"  >XAP Adoption</a><br><div style="vertical-align: middle; background-image: url(./images/menu.gif); background-repeat: no-repeat; background-pos
 ition: top; height: 18px; padding: 1px; margin-bottom: 1px; margin-top: 12px;"><b>&nbsp;&nbsp;&nbsp;Documentation</b></div><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1064.html"  >Getting Started</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1065.html"  >Hello World</a><br><img src="images/menu_bullet_highlight.gif" border=0 style="vertical-align: middle;">&nbsp;<a  style="color: orange;" href="index.php@cid=1341.html"><b>Using XAP with HTML</b></a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="http://dev.nexaweb.com/docs/xap/index.html"  target="_blank">API and Syntax Reference</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1321.html"  >Packaging</a><br></div></td><td><image src="./images/spaced.gif" border=0 height=250 width=0></td></tr></ta
 ble></div><div style="width: 216; background-color: #F4F4F4;"><image src="./images/LeftFooter.gif" width=216 height=10></div><td valign=top class=copyText style="padding-left: 8px; padding-right: 8px;"><div style="width: 720px;"><image src="./images/spaced.gif" border=0 height=3><br><div class=blueGreyTitle style="text-align: left; left:0px; margin-left:0px; align:left; padding-left:0px; padding-bottom:8px;">Using XAP with HTML&nbsp;&nbsp;</div><div style="height: 1px; border-bottom: 1px white solid;"></div>XAP provides two ways of mixing HMTL into XAP applications.<br /><br /><span style="font-weight: bold;">1. Placing XAP applications into HTML</span><br /><br />XAP applications can be mixed with HTML code.&nbsp; Syntax is subject to change.<br /><br />An example:<br /><br /><a target="_blank" href="http://dev.nexaweb.com/demo/ms2/examples/dojo/portlet.html" >http://dev.nexaweb.com/demo/ms2/examples/dojo/portlet.html</a><br /><br />This application provides a table as the 
 main element of the web page.&nbsp; Cells of this table are set to contain different elements from the XAP application -- there are four color pickers and a button.&nbsp; The event handling and HTML updating is fully provided by the XAP application.<br /><br /><span style="font-weight: bold;">2. Using XModify to modify an HTML DOM</span><br /><br />One of the compelling features of XAP is the ability to declaratively modify a running application with XML statements.&nbsp; This feature is an integral part of a XAP application, however it's usefulness extends beyond XAP to HTML.<br /><br />Using the XAP XModify syntax - a declarative syntax for DOM modifications - developers can write statements that modify existing HTML DOMs.<br /><br />(sample coming soon)<div style="margin-top: 6px; text-align: left; font-size: 8pt; color: grey;">(last update - 27-Aug-06)</div><image src="./images/spaced.gif" border=0 height=8><br></div></td></tr></table>
+<div style="font-size: 11px; font-family: tahoma, Helvetica, sans-serif; white-space: nowrap;">&nbsp;<a href="index.php@cid=1054.html"  >Welcome</a><br><div style="vertical-align: middle; background-image: url(./images/menu.gif); background-repeat: no-repeat; background-position: top; height: 18px; padding: 1px; margin-bottom: 1px; margin-top: 12px;"><b>&nbsp;&nbsp;&nbsp;Project</b></div><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1093.html"  >News</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1057.html"  >Architecture</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1075.html"  >Demos</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1074.html"  >Roadmap</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: midd
 le;">&nbsp;<a href="index.php@cid=1069.html"  >Getting Help</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1058.html"  >License</a><br><div style="vertical-align: middle; background-image: url(./images/menu.gif); background-repeat: no-repeat; background-position: top; height: 18px; padding: 1px; margin-bottom: 1px; margin-top: 12px;"><b>&nbsp;&nbsp;&nbsp;Getting Involved</b></div><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1060.html"  >Contribution</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1061.html"  >Subversion Repository</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1078.html"  >XAP Adoption</a><br><div style="vertical-align: middle; background-image: url(./images/menu.gif); background-repeat: no-repeat; background-pos
 ition: top; height: 18px; padding: 1px; margin-bottom: 1px; margin-top: 12px;"><b>&nbsp;&nbsp;&nbsp;Documentation</b></div><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1064.html"  >Getting Started</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1065.html"  >Hello World</a><br><img src="images/menu_bullet_highlight.gif" border=0 style="vertical-align: middle;">&nbsp;<a  style="color: orange;" href="index.php@cid=1341.html"><b>Using XAP with HTML</b></a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="http://dev.nexaweb.com/docs/xap/index.html"  target="_blank">API and Syntax Reference</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1321.html"  >Packaging</a><br></div></td><td><image src="./images/spaced.gif" border=0 height=250 width=0></td></tr></ta
 ble></div><div style="width: 216; background-color: #F4F4F4;"><image src="./images/LeftFooter.gif" width=216 height=10></div><td><image src="./images/spaced.gif" border=0 height=450 width=0></td><td valign=top class=copyText style="padding-left: 8px; padding-right: 8px;"><div style="width: 720px;"><image src="./images/spaced.gif" border=0 height=3><br><div class=blueGreyTitle style="text-align: left; left:0px; margin-left:0px; align:left; padding-left:0px; padding-bottom:8px;">Using XAP with HTML&nbsp;&nbsp;</div><div style="height: 1px; border-bottom: 1px white solid;"></div>XAP provides two ways of mixing HMTL into XAP applications.<br /><br /><span style="font-weight: bold;">1. Placing XAP applications into HTML</span><br /><br />XAP applications can be mixed with HTML code.&nbsp; Syntax is subject to change.<br /><br />An example:<br /><br /><a target="_blank" href="http://dev.nexaweb.com/demo/ms2/examples/dojo/portlet.html" >http://dev.nexaweb.com/demo/ms2/examples/dojo
 /portlet.html</a><br /><br />This application provides a table as the main element of the web page.&nbsp; Cells of this table are set to contain different elements from the XAP application -- there are four color pickers and a button.&nbsp; The event handling and HTML updating is fully provided by the XAP application.<br /><br /><span style="font-weight: bold;">2. Using XModify to modify an HTML DOM</span><br /><br />One of the compelling features of XAP is the ability to declaratively modify a running application with XML statements.&nbsp; This feature is an integral part of a XAP application, however it's usefulness extends beyond XAP to HTML.<br /><br />Using the XAP XModify syntax - a declarative syntax for DOM modifications - developers can write statements that modify existing HTML DOMs.<br /><br />(sample coming soon)<div style="margin-top: 6px; text-align: left; font-size: 8pt; color: grey;">(last update - 27-Aug-06)</div><image src="./images/spaced.gif" border=0 hei
 ght=8><br></div></td></tr></table>
 
 
 

Added: incubator/xap/site/index.php@show_edit=false&no_track=false.html
URL: http://svn.apache.org/viewvc/incubator/xap/site/index.php%40show_edit%3Dfalse%26no_track%3Dfalse.html?view=auto&rev=463266
==============================================================================
--- incubator/xap/site/index.php@show_edit=false&no_track=false.html (added)
+++ incubator/xap/site/index.php@show_edit=false&no_track=false.html Thu Oct 12 07:58:59 2006
@@ -0,0 +1,445 @@
+<META http-equiv = "Expires" CONTENT="Sun, 31 Dec 1995 09:30:00">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional">
+
+<head><title>XAP: Welcome</title>
+<script type="text/javascript">
+<!-- hide from non JavaScript Browsers
+// preload my menu image
+Image1= new Image(20,30);
+Image1.src = "./images/highlight.gif";
+// End Hiding -->
+</script>
+</head>
+
+<html>
+<LINK REL="STYLESHEET" HREF="main.css">
+<body class=body>
+
+
+<div style="width:972px;">
+<table width=100% BORDER="0" CELLSPACING="0" CELLPADDING="0">
+<tr>
+<td valign=bottom align=right width=100% style="vertical-align: bottom; border-bottom: 0px; padding-bottom: 5px;">
+<a href="index.php@cid=1054.html"><image src="./images/header_logo.gif" style="position: static; left: 0px;" hspace=0 vspace=0 border=0 valign=bottom align=left></a>
+<a href="http://incubator.apache.org/index.html"><image src="./images/incubator.png" style="position: static; left: 0px;" hspace=0 vspace=0 border=0 valign=bottom align=right></a>
+</td></tr>
+</table>
+
+
+
+<table width="100%" style="background-color: white; border: 0px; height: 30px; " BORDER="0" CELLSPACING="0" CELLPADDING="0">
+<tr style="background-image: url(./images/background.gif); background-repeat: repeat; background-position: top;">
+<td width=20><!--<img src="../shared/images/left_cap.gif">-->&nbsp;&nbsp;</td>
+<td class="content" nowrap onMouseOver="this.style.backgroundImage='url(./images/highlight.gif)';" onMouseOut="this.style.backgroundImage='url(./images/background.gif)';" onClick="document.location='?cid=1054';" style="text-align: center;background-repeat: repeat; background-position: left top; cursor: pointer; color: black; font-weight: normal; padding: 0px; margin: 0px;"><a href="index.php@cid=1054.html" class="headerTitle" style="color: white; text-decoration: none;">Welcome</a></td><td class="content" style="color: white; cursor: default;">&nbsp;&nbsp;|&nbsp;&nbsp;</td><td class="content" nowrap onMouseOver="this.style.backgroundImage='url(./images/highlight.gif)';" onMouseOut="this.style.backgroundImage='url(./images/background.gif)';" onClick="document.location='?cid=1064';" style="text-align: center;background-repeat: repeat; background-position: left top; cursor: pointer; color: black; font-weight: normal; padding: 0px; margin: 0px;"><a href="index.php@cid=1064.html"
  class="headerTitle" style="color: white; text-decoration: none;">Getting Started</a></td><td width=100%>&nbsp;</td>
+</tr>
+</table>
+<script type="text/javascript" src="../shared/helpers.js"></script><table width="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0" "><tr><td colspan=2><image src="./images/spaced.gif" border=0 height=10><br></td></tr><tr><td valign=top width=216 style="padding: 0px;"><div style="width: 216; background-color: #F4F4F4;"><image src="./images/topLeftHeader.gif" border=0 width=216 height=10></div><div style="padding-left: 8px; border-right: #d2d2d2 solid 1px; border-left: #d2d2d2 solid 1px; background-color: #F4F4F4; "><table width=200 BORDER="0" CELLSPACING="0" CELLPADDING="0"><tr><td valign=top style="padding: 0px; margin: 0px;"><script type="text/javascript" src="../shared/dtree.js"></script>
+<LINK REL="STYLESHEET" HREF="../shared/dtree.css">
+
+
+<div style="font-size: 11px; font-family: tahoma, Helvetica, sans-serif; white-space: nowrap;">&nbsp;<a  style="color: orange;" href="index.php@cid=1054.html"><b>Welcome</b></a><br><div style="vertical-align: middle; background-image: url(./images/menu.gif); background-repeat: no-repeat; background-position: top; height: 18px; padding: 1px; margin-bottom: 1px; margin-top: 12px;"><b>&nbsp;&nbsp;&nbsp;Project</b></div><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1093.html"  >News</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1057.html"  >Architecture</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1075.html"  >Demos</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1074.html"  >Roadmap</a><br><img src="images/menu_bullet.gif" border=
 0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1069.html"  >Getting Help</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1058.html"  >License</a><br><div style="vertical-align: middle; background-image: url(./images/menu.gif); background-repeat: no-repeat; background-position: top; height: 18px; padding: 1px; margin-bottom: 1px; margin-top: 12px;"><b>&nbsp;&nbsp;&nbsp;Getting Involved</b></div><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1060.html"  >Contribution</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1061.html"  >Subversion Repository</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1078.html"  >XAP Adoption</a><br><div style="vertical-align: middle; background-image: url(./images/menu.gif); background-repe
 at: no-repeat; background-position: top; height: 18px; padding: 1px; margin-bottom: 1px; margin-top: 12px;"><b>&nbsp;&nbsp;&nbsp;Documentation</b></div><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1064.html"  >Getting Started</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1065.html"  >Hello World</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1341.html"  >Using XAP with HTML</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="http://dev.nexaweb.com/docs/xap/index.html"  target="_blank">API and Syntax Reference</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;">&nbsp;<a href="index.php@cid=1321.html"  >Packaging</a><br></div></td><td><image src="./images/spaced.gif" border=0 height=250 width=0></td></tr></table></div>
 <div style="width: 216; background-color: #F4F4F4;"><image src="./images/LeftFooter.gif" width=216 height=10></div><td><image src="./images/spaced.gif" border=0 height=450 width=0></td><td valign=top class=copyText style="padding-left: 8px; padding-right: 8px;"><div style="width: 720px;"><image src="./images/spaced.gif" border=0 height=3><br><div class=blueGreyTitle style="text-align: left; left:0px; margin-left:0px; align:left; padding-left:0px; padding-bottom:8px;">Welcome&nbsp;&nbsp;</div><div style="height: 1px; border-bottom: 1px white solid;"></div><span style="font-weight: bold;">What's new</span><br /><br />September 29, 2006 -- <a href="index.php@cid=1093.html">Milestone 3 code available!</a><br />August 28, 2006 -- <a href="index.php@cid=1093.html">Milestone 2 released!</a><br /><br /><span style="font-weight: bold;">What is XAP</span><br /><br />XAP is an XML-based declarative framework for building, deploying and maintaining rich, interactive Ajax powered web app
 lications.&nbsp; It aims to reduce the need for scripting and help solve the development and maintenance challenges associated with large scale JavaScript programming. <br /><br /><span style="font-weight: bold;">XAP provides:</span><br />
+<ul>
+    <li>Declarative rich user interface via XML; </li>
+    <li>Data binding for connecting UI to data.<br /></li>
+    <li>Incremental update of web pages, declaratively and programmatically. </li>
+    <li>A &quot;plugin architecture&quot; allowing developers to define their own XML tags to provide behavior and UI or even use a completely different XML syntax. </li>
+</ul>
+<p>XAP is geared to application development - it picks up where JavaScript toolkits leave off.&nbsp; </p>
+<p style="font-weight: bold;">A declarative approach simplifies development</p>
+<p>Rather than writing many lines of JavaScript to build a user interface XAP uses simple XML to create rich, complex user interface.&nbsp; XML is also easy to parse, enabling supporting tools for visual creation and management of XAP UI.&nbsp; XAP is not about &quot;XML for everything&quot; - XML is clumsy for expressing sophisticated logic.&nbsp; XAP provides the plumbing and uses XML to describe the user interface, link controls to data objects and form a foundation for building applications; it then allows developers to place the right amount of code where it's needed.<br /></p>
+<span style="font-weight: bold;">Separate presentation from behavior</span><br />
+<p>XAP defines presentation and data binding in XML along with client side event handling that works well with encapsulated and packaged JavaScript objects.&nbsp; This clear separation between user interface and logic allows the creation of larger, more maintainable applications and fosters team development.<br /></p>
+<p><strong>XAP works with any web server</strong><br /><br />XAP is a client side offering that you can use with any web server - PHP, .NET, etc.&nbsp; It does not have any specific server requirements.<br /><br />Event handling can take place at the client, using managed code objects (MCOs) written in JavaScript, or on the server with event handlers written in any language supported by the server environment. The MCO mechanism provides life cycle management and object orientation for future development of business and user interface logic - another step to simplifying development.<br /><br /><strong>We're not re-inventing the wheel (XAP will use any UI toolkit)</strong> <br /><br />Because XAP architecture is based on a &quot;plugin architecture&quot; that leverages a <em>component bridges</em> concept, XML UI markup can be connected to virtually any user interface toolkit. Initial XAP releases will support integration with toolkits such as Kabuki and Dojo. Future releases 
 will focus on other full-featured, high-performance UI toolkits.</p>
+<p><img src="images/bt_bullet_2.gif" border=0> <a href="index.php@cid=1064.html">Getting Started</a><br /><img src="images/bt_bullet_2.gif" border=0> <a href="index.php@cid=1057.html">Architecture</a><br /><img src="images/bt_bullet_2.gif" border=0> <a href="index.php@cid=1075.html">Demos</a></p>
+<p><span class="Title">History</span><br /></p>
+<p>XAP was initially developed by Nexaweb Technologies Inc (<a href="http://www.nexaweb.com" >http://nexaweb.com</a>). XAP was proposed to Apache in April 2006.&nbsp; Within a few weeks -- May 23 -- XAP was&nbsp;accepted as an Apache foundation incuabor project.&nbsp; <br /><br /><span class="Title">Disclaimer</span><br /><br />XAP is an effort undergoing incubation at the Apache Software Foundation (ASF), sponsored by the &lt;name of sponsor&gt;. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p><div style="margin-top: 6px; text-align: left; font-size: 8pt; color: grey;">(last update - 12-Oct-06)</div><image src="./imag
 es/spaced.gif" border=0 height=8><br></div></td></tr></table>
+
+
+
+<table width=100% BORDER="0" CELLSPACING="0" CELLPADDING="0" style="background-color: white; nothing: #F7F8FA;">
+<!--
+<image src="../shared/images/spaced.gif" border=0 height=4><br>
+<tr><td><image src="../shared/images/spaced.gif" border=0 height=4></td></tr>
+<tr> <td height="6" colspan="7"  bgcolor="#E6E7E8"></td></tr>
+-->
+<tr>
+<td colspan="7" align="center" style="border-top: 1px white solid; padding-top: 8px;"><span class="subheader" style="color: #295A8F; font-size: 7pt;">
+Copyright 2006 
+<a href="http://www.apache.org/licenses/" style="font-size: 8pt; ; color: #295A8F;">The Apache Software Foundation<a>
+</span></td>
+</tr>
+</table>
+
+</div><!-- no track =  --><!-- START OF SDC Advanced Tracking Code -->
+<!-- Copyright (c) 1996-2005 WebTrends Inc.  All rights reserved. -->
+<!-- V8.0 -->
+<!-- $DateTime: 2006/05/02 08:33:13 $ -->
+<SCRIPT TYPE="text/javascript"><!--
+var gTimeZone = 0;
+// Code section for Enable First-Party Cookie Tracking
+function dcsGetCookie(name){
+	var pos=document.cookie.indexOf(name+"=");
+	if (pos!=-1){
+		var start=pos+name.length+1;
+		var end=document.cookie.indexOf(";",start);
+		if (end==-1){
+			end=document.cookie.length;
+		}
+		return unescape(document.cookie.substring(start,end));
+	}
+	return null;
+}
+function dcsGetCrumb(name,crumb){
+	var aCookie=dcsGetCookie(name).split(":");
+	for (var i=0;i<aCookie.length;i++){
+		var aCrumb=aCookie[i].split("=");
+		if (crumb==aCrumb[0]){
+			return aCrumb[1];
+		}
+	}
+	return null;
+}
+function dcsGetIdCrumb(name,crumb){
+	var cookie=dcsGetCookie(name);
+	var id=cookie.substring(0,cookie.indexOf(":lv="));
+	var aCrumb=id.split("=");
+	for (var i=0;i<aCrumb.length;i++){
+		if (crumb==aCrumb[0]){
+			return aCrumb[1];
+		}
+	}
+	return null;
+}
+function dcsFPC(offset){
+	if (typeof(offset)=="undefined"){
+		return;
+	}
+	if (document.cookie.indexOf("WTLOPTOUT=")!=-1){
+		return;
+	}
+	var name=gFpc;
+	var dCur=new Date();
+	var adj=(dCur.getTimezoneOffset()*60000)+(offset*3600000);
+	dCur.setTime(dCur.getTime()+adj);
+	var dExp=new Date(dCur.getTime()+315360000000);
+	var dSes=new Date(dCur.getTime());
+	WT.co_f=WT.vt_sid=WT.vt_f=WT.vt_f_a=WT.vt_f_s=WT.vt_f_d=WT.vt_f_tlh=WT.vt_f_tlv="";
+	if (document.cookie.indexOf(name+"=")==-1){
+		if ((typeof(gWtId)!="undefined")&&(gWtId!="")){
+			WT.co_f=gWtId;
+		}
+		else if ((typeof(gTempWtId)!="undefined")&&(gTempWtId!="")){
+			WT.co_f=gTempWtId;
+			WT.vt_f="1";
+		}
+		else{
+			WT.co_f="2";
+			var cur=dCur.getTime().toString();
+			for (var i=2;i<=(32-cur.length);i++){
+				WT.co_f+=Math.floor(Math.random()*16.0).toString(16);
+			}
+			WT.co_f+=cur;
+			WT.vt_f="1";
+		}
+		if (typeof(gWtAccountRollup)=="undefined"){
+			WT.vt_f_a="1";
+		}
+		WT.vt_f_s=WT.vt_f_d="1";
+		WT.vt_f_tlh=WT.vt_f_tlv="0";
+	}
+	else{
+		var id=dcsGetIdCrumb(name,"id");
+		var lv=parseInt(dcsGetCrumb(name,"lv"));
+		var ss=parseInt(dcsGetCrumb(name,"ss"));
+		if ((id==null)||(id=="null")||isNaN(lv)||isNaN(ss)){
+			return;
+		}
+		WT.co_f=id;
+		var dLst=new Date(lv);
+		WT.vt_f_tlh=Math.floor((dLst.getTime()-adj)/1000);
+		dSes.setTime(ss);
+		if ((dCur.getTime()>(dLst.getTime()+1800000))||(dCur.getTime()>(dSes.getTime()+28800000))){
+			WT.vt_f_tlv=Math.floor((dSes.getTime()-adj)/1000);
+			dSes.setTime(dCur.getTime());
+			WT.vt_f_s="1";
+		}
+		if ((dCur.getDay()!=dLst.getDay())||(dCur.getMonth()!=dLst.getMonth())||(dCur.getYear()!=dLst.getYear())){
+			WT.vt_f_d="1";
+		}
+	}
+	WT.co_f=escape(WT.co_f);
+	WT.vt_sid=WT.co_f+"."+(dSes.getTime()-adj);
+	var expiry="; expires="+dExp.toGMTString();
+	document.cookie=name+"="+"id="+WT.co_f+":lv="+dCur.getTime().toString()+":ss="+dSes.getTime().toString()+expiry+"; path=/"+(((typeof(gFpcDom)!="undefined")&&(gFpcDom!=""))?("; domain="+gFpcDom):(""));
+	if (document.cookie.indexOf(name+"=")==-1){
+		WT.co_f=WT.vt_sid=WT.vt_f_s=WT.vt_f_d=WT.vt_f_tlh=WT.vt_f_tlv="";
+		WT.vt_f=WT.vt_f_a="2";
+	}
+}
+
+// Code section for Use the new first-party cookie generated with this tag.
+var gFpc="WT_FPC";
+var gConvert=true;
+
+// Code section for Enable SmartView Transition Page tracking
+function dcsTP(){
+	if (document.cookie.indexOf("WTLOPTOUT=")!=-1){
+		return;
+	}
+	var name="WT_DC";
+	var expiry="; expires=Thu, 31-Dec-2020 08:00:00 GMT";
+	var path="; path=/";
+	var domain="";
+	if ((document.cookie.indexOf(name+"=")!=-1)&&(dcsGetCrumb(name,"tsp")=="1")){
+		WT.ttp="1";
+	}
+	if (dcsGetMeta("SmartView_Page")=="1"){
+		WT.tsp="1";
+		document.cookie=name+"=tsp=1"+expiry+path+domain;
+	}
+	else{
+		document.cookie=name+"=; expires=Sun, 1-Jan-1995 00:00:00 GMT;"+path+domain;
+	}
+}
+function dcsGetMeta(name){
+	var elems;
+	if (document.all){
+		elems=document.all.tags("meta");
+	}
+	else if (document.documentElement){
+		elems=document.getElementsByTagName("meta");
+	}
+	if (typeof(elems)!="undefined"){
+		for (var i=1;i<=elems.length;i++){
+			var meta=elems.item(i-1);
+			if (meta.name&&(meta.name.indexOf(name)==0)){
+				return meta.content;
+				break;
+			}
+		}
+	}
+	return null;
+}
+//-->
+</SCRIPT>
+<!-- END OF SDC Advanced Tracking Code -->
+<!-- START OF SmartSource Data Collector TAG -->
+<!-- Copyright (c) 1996-2005 WebTrends Inc. All rights reserved. -->
+<!-- V8.0 -->
+<!-- $DateTime: 2006/05/02 08:33:13 $ -->
+<SCRIPT TYPE="text/javascript"><!--
+var gDomain="statse.webtrendslive.com";
+var gDcsId="dcsoacs950000086qijyrl8il_2d1s";
+
+if ((typeof(gConvert)!="undefined")&&gConvert&&(document.cookie.indexOf(gFpc+"=")==-1)&&(document.cookie.indexOf("WTLOPTOUT=")==-1)){
+	document.write("<SCR"+"IPT TYPE='text/javascript' SRC='"+"http"+(window.location.protocol.indexOf('https:')==0?'s':'')+"://"+gDomain+"/"+gDcsId+"/wtid.js"+"'><\/SCR"+"IPT>");
+}
+//-->
+</SCRIPT>
+<SCRIPT TYPE="text/javascript"><!--
+var gImages=new Array;
+var gIndex=0;
+var DCS=new Object();
+var WT=new Object();
+var DCSext=new Object();
+var gI18n=false;
+if (window.RegExp){
+	var RE={"%09":/\t/g,"%20":/ /g,"%23":/\#/g,"%26":/\&/g,"%2B":/\+/g,"%3F":/\?/g,"%5C":/\\/g,"%22":/\"/g,"%7F":/\x7F/g,"%A0":/\xA0/g};
+	var I18NRE={"%25":/\%/g};
+}
+
+function dcsVar(){
+	var dCurrent=new Date();
+	WT.tz=dCurrent.getTimezoneOffset()/60*-1;
+	if (WT.tz==0){
+		WT.tz="0";
+	}
+	WT.bh=dCurrent.getHours();
+	WT.ul=navigator.appName=="Netscape"?navigator.language:navigator.userLanguage;
+	if (typeof(screen)=="object"){
+		WT.cd=navigator.appName=="Netscape"?screen.pixelDepth:screen.colorDepth;
+		WT.sr=screen.width+"x"+screen.height;
+	}
+	if (typeof(navigator.javaEnabled())=="boolean"){
+		WT.jo=navigator.javaEnabled()?"Yes":"No";
+	}
+	if (document.title){
+		WT.ti=gI18n?dcsEscape(dcsEncode(document.title),I18NRE):document.title;
+	}
+	WT.js="Yes";
+	WT.jv=dcsJV();
+	if (gI18n){
+		WT.em=(typeof(encodeURIComponent)=="function")?"uri":"esc";
+		if (typeof(document.defaultCharset)=="string"){
+			WT.le=document.defaultCharset;
+		} 
+		else if (typeof(document.characterSet)=="string"){
+			WT.le=document.characterSet;
+		}
+	}
+	WT.tv="8.0.0";
+	WT.sp="68703";
+	DCS.dcsdat=dCurrent.getTime();
+	DCS.dcssip=window.location.hostname;
+	DCS.dcsuri=window.location.pathname;
+	if (window.location.search){
+		DCS.dcsqry=window.location.search;
+	}
+	if ((window.document.referrer!="")&&(window.document.referrer!="-")){
+		if (!(navigator.appName=="Microsoft Internet Explorer"&&parseInt(navigator.appVersion)<4)){
+			DCS.dcsref=gI18n?dcsEscape(window.document.referrer, I18NRE):window.document.referrer;
+		}
+	}
+}
+
+function A(N,V){
+	return "&"+N+"="+dcsEscape(V, RE);
+}
+
+function dcsEscape(S, REL){
+	if (typeof(REL)!="undefined"){
+		var retStr = new String(S);
+		for (R in REL){
+			retStr = retStr.replace(REL[R],R);
+		}
+		return retStr;
+	}
+	else{
+		return escape(S);
+	}
+}
+
+function dcsEncode(S){
+	return (typeof(encodeURIComponent)=="function")?encodeURIComponent(S):escape(S);
+}
+
+function dcsCreateImage(dcsSrc){
+	if (document.images){
+		gImages[gIndex]=new Image;
+		gImages[gIndex].src=dcsSrc;
+		gIndex++;
+	}
+	else{
+		document.write('<IMG ALT="" BORDER="0" NAME="DCSIMG" WIDTH="1" HEIGHT="1" SRC="'+dcsSrc+'">');
+	}
+}
+
+function dcsMeta(){
+	var elems;
+	if (document.all){
+		elems=document.all.tags("meta");
+	}
+	else if (document.documentElement){
+		elems=document.getElementsByTagName("meta");
+	}
+	if (typeof(elems)!="undefined"){
+		for (var i=1;i<=elems.length;i++){
+			var meta=elems.item(i-1);
+			if (meta.name){
+				if (meta.name.indexOf('WT.')==0){
+					WT[meta.name.substring(3)]=(gI18n&&(meta.name.indexOf('WT.ti')==0))?dcsEscape(dcsEncode(meta.content),I18NRE):meta.content;
+				}
+				else if (meta.name.indexOf('DCSext.')==0){
+					DCSext[meta.name.substring(7)]=meta.content;
+				}
+				else if (meta.name.indexOf('DCS.')==0){
+					DCS[meta.name.substring(4)]=(gI18n&&(meta.name.indexOf('DCS.dcsref')==0))?dcsEscape(meta.content,I18NRE):meta.content;
+				}
+			}
+		}
+	}
+}
+
+function dcsTag(){
+	if (document.cookie.indexOf("WTLOPTOUT=")!=-1){
+		return;
+	}
+	var P="http"+(window.location.protocol.indexOf('https:')==0?'s':'')+"://"+gDomain+(gDcsId==""?'':'/'+gDcsId)+"/dcs.gif?";
+	for (N in DCS){
+		if (DCS[N]) {
+			P+=A(N,DCS[N]);
+		}
+	}
+	for (N in WT){
+		if (WT[N]) {
+			P+=A("WT."+N,WT[N]);
+		}
+	}
+	for (N in DCSext){
+		if (DCSext[N]) {
+			P+=A(N,DCSext[N]);
+		}
+	}
+	if (P.length>2048&&navigator.userAgent.indexOf('MSIE')>=0){
+		P=P.substring(0,2040)+"&WT.tu=1";
+	}
+	dcsCreateImage(P);
+}
+
+function dcsJV(){
+	var agt=navigator.userAgent.toLowerCase();
+	var major=parseInt(navigator.appVersion);
+	var mac=(agt.indexOf("mac")!=-1);
+	var nn=((agt.indexOf("mozilla")!=-1)&&(agt.indexOf("compatible")==-1));
+	var nn4=(nn&&(major==4));
+	var nn6up=(nn&&(major>=5));
+	var ie=((agt.indexOf("msie")!=-1)&&(agt.indexOf("opera")==-1));
+	var ie4=(ie&&(major==4)&&(agt.indexOf("msie 4")!=-1));
+	var ie5up=(ie&&!ie4);
+	var op=(agt.indexOf("opera")!=-1);
+	var op5=(agt.indexOf("opera 5")!=-1||agt.indexOf("opera/5")!=-1);
+	var op6=(agt.indexOf("opera 6")!=-1||agt.indexOf("opera/6")!=-1);
+	var op7up=(op&&!op5&&!op6);
+	var jv="1.1";
+	if (nn6up||op7up){
+		jv="1.5";
+	}
+	else if ((mac&&ie5up)||op6){
+		jv="1.4";
+	}
+	else if (ie5up||nn4||op5){
+		jv="1.3";
+	}
+	else if (ie4){
+		jv="1.2";
+	}
+	return jv;
+}
+
+dcsVar();
+dcsMeta();
+dcsFPC(gTimeZone);
+dcsTP();
+dcsTag();
+//-->
+</SCRIPT>
+
+<NOSCRIPT>
+<IMG ALT="" BORDER="0" NAME="DCSIMG" WIDTH="1" HEIGHT="1" SRC="http://statse.webtrendslive.com/dcsoacs950000086qijyrl8il_2d1s/njs.gif?dcsuri=/nojavascript&WT.js=No&WT.tv=8.0.0">
+</NOSCRIPT>
+<!-- END OF SmartSource Data Collector  TAG -->	
+<!-- Start Lead Lander code -->
+<script type="text/javascript" language="javascript">i=10329;</script>
+<script type="text/javascript" language="javascript" src="http://t2.trackalyzer.com/trackalyze.js"></script>
+<!-- End Lead Lander code -->
+<!-- Start Superstats code version 7.0b.  Copyright 1997-2003 MyComputer.com, Inc. More info available at http://www.mycomputer.com -->
+<script language="JavaScript">
+	var pageName = "Apache XAP - Welcome";
+	/**** DO NOT ALTER ANYTHING BELOW THIS LINE! ****/
+	var code = ' '; 
+</script>
+<script src="http://code.superstats.com/code/ss/nexaweb/0/30b">
+</script>
+<script language="JavaScript">
+	br = navigator.appName + parseInt(navigator.appVersion);
+	if (code != ' ' || br == 'Netscape2') document.write(code);
+	else document.write(''+ ' <im'+'g'+ ' src="http://stats.superstats.com/b/ss/nexaweb/1'+ '?pageName=' + escape(pageName) + '" border=0>');
+	document.write('<'); document.write('!-- ');
+</script>
+<noscript><img src="http://stats.superstats.com/b/ss/nexaweb/1" border=0></noscript>
+<script language="JavaScript">
+	document.write(' --'); document.write('>');
+	</script> 
+<!-- End Superstats tracking code. -->
+</body>
+</html>
\ No newline at end of file