You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2014/08/12 23:11:04 UTC

[1/3] https://issues.apache.org/jira/browse/OPENWIRE-2

Repository: activemq-openwire
Updated Branches:
  refs/heads/master 4db281794 -> 429b1b4a4


http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/src/styles/impact/blog.template
----------------------------------------------------------------------
diff --git a/openwire-website/src/styles/impact/blog.template b/openwire-website/src/styles/impact/blog.template
new file mode 100644
index 0000000..c9e0873
--- /dev/null
+++ b/openwire-website/src/styles/impact/blog.template
@@ -0,0 +1,26 @@
+---
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+template: main.template
+---
+<div class="post"> 
+  <h2>{title:}</h2>
+  <div class="details">Posted by {author:} on {created_at:} </div>
+  <webgen:block name='content'/>
+  <% if context.node.node_info[:page].blocks.has_key?('full_story') %>
+    <webgen:block name='full_story' />
+  <% end %>
+</div>

http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/src/styles/impact/css/pygmentize.css
----------------------------------------------------------------------
diff --git a/openwire-website/src/styles/impact/css/pygmentize.css b/openwire-website/src/styles/impact/css/pygmentize.css
new file mode 100644
index 0000000..d9b19d9
--- /dev/null
+++ b/openwire-website/src/styles/impact/css/pygmentize.css
@@ -0,0 +1,127 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+.syntax .hll { background-color: #ffffcc }
+.syntax  { background: #f0f0f0; }
+.syntax .c { color: #60a0b0; font-style: italic } /* Comment */
+.syntax .err { border: 1px solid #FF0000 } /* Error */
+.syntax .k { color: #007020; font-weight: bold } /* Keyword */
+.syntax .o { color: #666666 } /* Operator */
+.syntax .cm { color: #60a0b0; font-style: italic } /* Comment.Multiline */
+.syntax .cp { color: #007020 } /* Comment.Preproc */
+.syntax .c1 { color: #60a0b0; font-style: italic } /* Comment.Single */
+.syntax .cs { color: #60a0b0; background-color: #fff0f0 } /* Comment.Special */
+.syntax .gd { color: #A00000 } /* Generic.Deleted */
+.syntax .ge { font-style: italic } /* Generic.Emph */
+.syntax .gr { color: #FF0000 } /* Generic.Error */
+.syntax .gh { color: #000080; font-weight: bold } /* Generic.Heading */
+.syntax .gi { color: #00A000 } /* Generic.Inserted */
+.syntax .go { color: #808080 } /* Generic.Output */
+.syntax .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */
+.syntax .gs { font-weight: bold } /* Generic.Strong */
+.syntax .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
+.syntax .gt { color: #0040D0 } /* Generic.Traceback */
+.syntax .kc { color: #007020; font-weight: bold } /* Keyword.Constant */
+.syntax .kd { color: #007020; font-weight: bold } /* Keyword.Declaration */
+.syntax .kn { color: #007020; font-weight: bold } /* Keyword.Namespace */
+.syntax .kp { color: #007020 } /* Keyword.Pseudo */
+.syntax .kr { color: #007020; font-weight: bold } /* Keyword.Reserved */
+.syntax .kt { color: #902000 } /* Keyword.Type */
+.syntax .m { color: #40a070 } /* Literal.Number */
+.syntax .s { color: #4070a0 } /* Literal.String */
+.syntax .na { color: #4070a0 } /* Name.Attribute */
+.syntax .nb { color: #007020 } /* Name.Builtin */
+.syntax .nc { color: #0e84b5; font-weight: bold } /* Name.Class */
+.syntax .no { color: #60add5 } /* Name.Constant */
+.syntax .nd { color: #555555; font-weight: bold } /* Name.Decorator */
+.syntax .ni { color: #d55537; font-weight: bold } /* Name.Entity */
+.syntax .ne { color: #007020 } /* Name.Exception */
+.syntax .nf { color: #06287e } /* Name.Function */
+.syntax .nl { color: #002070; font-weight: bold } /* Name.Label */
+.syntax .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */
+.syntax .nt { color: #062873; font-weight: bold } /* Name.Tag */
+.syntax .nv { color: #bb60d5 } /* Name.Variable */
+.syntax .ow { color: #007020; font-weight: bold } /* Operator.Word */
+.syntax .w { color: #bbbbbb } /* Text.Whitespace */
+.syntax .mf { color: #40a070 } /* Literal.Number.Float */
+.syntax .mh { color: #40a070 } /* Literal.Number.Hex */
+.syntax .mi { color: #40a070 } /* Literal.Number.Integer */
+.syntax .mo { color: #40a070 } /* Literal.Number.Oct */
+.syntax .sb { color: #4070a0 } /* Literal.String.Backtick */
+.syntax .sc { color: #4070a0 } /* Literal.String.Char */
+.syntax .sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */
+.syntax .s2 { color: #4070a0 } /* Literal.String.Double */
+.syntax .se { color: #4070a0; font-weight: bold } /* Literal.String.Escape */
+.syntax .sh { color: #4070a0 } /* Literal.String.Heredoc */
+.syntax .si { color: #70a0d0; font-style: italic } /* Literal.String.Interpol */
+.syntax .sx { color: #c65d09 } /* Literal.String.Other */
+.syntax .sr { color: #235388 } /* Literal.String.Regex */
+.syntax .s1 { color: #4070a0 } /* Literal.String.Single */
+.syntax .ss { color: #517918 } /* Literal.String.Symbol */
+.syntax .bp { color: #007020 } /* Name.Builtin.Pseudo */
+.syntax .vc { color: #bb60d5 } /* Name.Variable.Class */
+.syntax .vg { color: #bb60d5 } /* Name.Variable.Global */
+.syntax .vi { color: #bb60d5 } /* Name.Variable.Instance */
+.syntax .il { color: #40a070 } /* Literal.Number.Integer.Long */
+
+
+/* don't highlight errors */
+.syntax .err {
+  border: none;
+}
+
+.syntax {
+  font-size: .9em;
+  font-family:Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace;
+  background-color: #F8F8FF; 
+  
+  overflow:auto;
+  -moz-background-clip:border;
+  -moz-background-inline-policy:continuous;
+  -moz-background-origin:padding;
+  margin: 1em 0 1em 0;
+  border:1px solid #DDDDDD;
+  
+  border-top-left-radius: 8px; -webkit-border-top-left-radius: 8px; -moz-border-radius-topleft: 8px;  
+  border-top-right-radius: 8px; -webkit-border-top-right-radius: 8px; -moz-border-radius-topright: 8px;
+  border-style: solid;  border-width: 1px; border-color: #dedede !important; 
+  padding: 1em;
+}
+.syntax .linenodiv  {
+  background-color:#ECECEC;
+  border-right:1px solid #DDDDDD;
+  color:#AAAAAA;
+  padding: .5em;
+  text-align:right;
+}
+.syntax .highlight  {
+}
+.syntax pre {
+  margin:0;
+  padding:0;
+  border: none;
+}
+
+pre.syntax {
+  padding: .5em;
+  background-color: #F8F8FF; overflow:auto;
+}
+
+.syntax code {
+  font-family:Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace;
+  font-size: 10pt;
+}

http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/src/styles/impact/css/site.css
----------------------------------------------------------------------
diff --git a/openwire-website/src/styles/impact/css/site.css b/openwire-website/src/styles/impact/css/site.css
new file mode 100644
index 0000000..b5757e7
--- /dev/null
+++ b/openwire-website/src/styles/impact/css/site.css
@@ -0,0 +1,235 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+body, html {
+    font-family:Georgia, Arial, sans-serif; 
+    color: #666666;
+}
+body, html, table, tr, td, tbody {
+    padding:0;
+    margin:0;
+    vertical-align: top;
+}
+body {
+    padding-top: 20px;
+}
+
+h1, h2, h3, h4, h5, h6 {
+    font-family: 'Graublau Web', Helvetica, sans-serif;
+    overflow: visible;
+    color: #993333;
+}
+
+h2 {
+  border-top: 4px solid #E0E0E0 !important;
+  margin-top: 1.5em !important;
+  padding-top: 0.5em !important;
+}
+
+p { margin-bottom:0px; }
+
+a {
+	color: #700;
+	font-weight:bold;
+	text-decoration: none;
+}
+
+a:hover { 
+	color: #ff3333; 
+	text-decoration: underline;
+	}
+
+img {
+	border: none;
+/*
+	padding-right:2em
+*/
+}
+
+.wrapper { min-width: 762px; width: 762px; margin: 0 auto; }
+
+#navigation { width: 100%; float: left;
+    font-family: Helvetica,Verdana,Arial,sans-serif; 
+    background: black; 
+	text-align:center; 
+	padding: 8px 0 8px 0;
+    color: #b55; 
+	font-size: 10pt; 
+	font-weight: bold;
+  position: absolute;  
+    top: 0px;
+}
+#navigation a { color: white; }
+#navigation ul { display: block; margin:0; padding:0; }
+#navigation li { list-style-type: none; display: inline; margin:0 5px 0 5px;}
+
+#overview { width: 100%; padding-top:20px}
+#overview div.message { 
+    font-size: 11pt; 
+    margin-top: -20px;
+    padding-left: 120px;
+    width: 350px;
+}
+#overview div.message h1{ margin-bottom: 5px; display:none; }
+#overview div.message p{ margin-top: 0px; padding-bottom:14px; }
+
+#spot { width: 100%; float: left; 
+    margin-top: 15px;
+    background:transparent url(../images/spot-banner.gif) repeat-x scroll 0 0;
+    height: 277px;
+}
+#spot div.title {
+    text-align:center; height:25px;
+    text-align:center; padding-top: 2px;
+    color: white; font-size: 10pt; font-weight: bold; 
+    font-family: HelveticaNeue,"Helvetica Neue",Helvetica,Arial,Verdana,sans-serif; 
+}
+#spot div.content table {
+    width: 100%; text-align:center; 
+    color: black; font-size: 10pt; 
+}
+
+#spot a:hover {text-decoration: none; }
+
+#spot div.spot-balloon {
+  background:transparent url( ../../../images/spot-get-involved.gif ) no-repeat;
+  background-position:center;
+  height: 121px;
+  text-align:left;
+  padding-top: 25px;
+  padding-left: 35px;
+}
+
+#spot div.spot-balloon li {
+/*
+  list-style: none;
+*/
+  list-style: disc;
+}
+
+/*
+#spot div.spot-balloon {
+  height: 120px;
+  text-align:left;
+  padding-top: 20px;
+  padding-left: 15px;
+}
+*/
+
+#content { width: 100%; float: left; padding-bottom: 20px; }
+#content .wrapper { min-width: 700px; width: 700px; margin: 0 auto; padding-top: 1em}
+#content div.left {
+  float:left;
+  width:200px;
+  text-align:right;
+  font-size: 18pt;
+  clear:both;
+}
+#content h1 {
+  font-size: 18pt;
+}
+#content div.right {
+  float:right;
+  width:450px;
+  text-align:left;
+}
+
+#blog { width: 100%; float: left; }
+#blog .wrapper { min-width: 600px; width: 600px; margin: 0 auto; }
+#blog h1 {
+  font-family: HelveticaNeue,"Helvetica Neue",Helvetica,Arial,Verdana,sans-serif; 
+  font-size: 18pt; color: #993333;
+}
+#blog h2 {
+  border-bottom: thin dashed #DDD;
+  font-size: 16pt;
+  margin-bottom: 5px;
+}
+#blog div.post p {
+  padding-left: 10px;
+}
+#blog div.post .details {
+  padding-top: 5px;
+  color: #ccc;
+  font-size: 10pt;
+  font-family: HelveticaNeue,"Helvetica Neue",Helvetica,Arial,Verdana,sans-serif; 
+}
+
+#content .post h2 {
+  margin-bottom:5px;
+}
+#content .post .details {
+  color: #ccc;
+  font-size: 10pt;
+  font-family: HelveticaNeue,"Helvetica Neue",Helvetica,Arial,Verdana,sans-serif; 
+  margin-top:0px;
+}
+
+code {	
+  font-size: .9em;
+  font-family: 'Droid Sans Mono', 'Courier New', monospace !important;
+}
+pre {
+  background-color: #F8F8FF; 
+  
+  overflow:auto;
+  -moz-background-clip:border;
+  -moz-background-inline-policy:continuous;
+  -moz-background-origin:padding;
+  margin: 1em 0 1em 0;
+  border:1px solid #DDDDDD;
+  
+  border-top-left-radius: 8px; -webkit-border-top-left-radius: 8px; -moz-border-radius-topleft: 8px;  
+  border-top-right-radius: 8px; -webkit-border-top-right-radius: 8px; -moz-border-radius-topright: 8px;
+  border-style: solid;  border-width: 1px; border-color: #dedede !important; 
+  padding: 1em;
+}
+pre code {	
+	font-family:Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace;
+	font-weight:normal;
+	font-style:normal;
+}
+div.compare { width: 700px; }
+div.compare div.compare-left { float:left; width:340px; padding:5px; margin-top: 15px; }
+div.compare div.compare-right { float:right; width:340px; padding:5px; margin-top: 15px; }
+div.compare div h3 {
+  margin-left: 15px;
+  padding: 5px 15px;
+  display: inline;
+  font-size: .8em;
+  color: #666;
+
+  border-top: 1px solid #ccc; -moz-border-top-colors: #ccc white white #e5e5e5;
+  border-left: 1px solid #ccc; -moz-border-left-colors: #ccc white white #e5e5e5;
+  border-right: 1px solid #ccc;-moz-border-right-colors: #ccc white white #e5e5e5;
+  border-top-left-radius: 8px; -webkit-border-top-left-radius: 8px;  -moz-border-radius-topleft: 8px;
+  border-top-right-radius: 8px; -webkit-border-top-right-radius: 8px; -moz-border-radius-topright: 8px; 
+}
+div.compare div div {
+  margin: 5px 0px 0px 0px;
+}
+
+.clear {
+  clear:both;
+}
+
+.wide div.compare div.compare-left { float:none; width:700px; }
+.wide div.compare div.compare-right { float:none; width:700px; }
+
+.hide {
+  display:none;
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/src/versions/index.page
----------------------------------------------------------------------
diff --git a/openwire-website/src/versions/index.page b/openwire-website/src/versions/index.page
new file mode 100644
index 0000000..9a5ea67
--- /dev/null
+++ b/openwire-website/src/versions/index.page
@@ -0,0 +1,38 @@
+---
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+title: Website Versions
+in_menu: false
+sort_info: 5
+
+--- name:content pipeline:ssp,jade
+
+:markdown
+  # Released Websites
+  
+  We version our website content along with the project so that you
+  can easily get to the documentation that's most appropriate for the 
+  version of the project your using.
+  
+ul
+- for( version <- project_versions )
+  li
+    a(href = "#{website_base_url}/versions/#{version}/website/index.html") #{version} Website
+
+:markdown
+  # Nightly Development Snapshots
+
+  * [${project_snapshot_version} Website](${website_base_url}/versions/${project_snapshot_version}/website/index.html)

http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index b1299ed..d0a9bb8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -30,6 +30,9 @@
   <version>1.0-SNAPSHOT</version>
   <packaging>pom</packaging>
   <properties>
+    <!-- base url for site deployment.  See distribution management for full url.  Override this in settings.xml for staging -->
+    <website-base-url>svn:https://svn.apache.org/repos/infra/websites/production/activemq/content/openwire</website-base-url>
+
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     <source-version>1.7</source-version>
     <target-version>1.7</target-version>
@@ -86,6 +89,14 @@
     </mailingList>
   </mailingLists>
 
+  <distributionManagement>
+    <site>
+      <!-- this needs to match a server in your settings.xml with upload settings -->
+      <id>openwire-website</id>
+      <url>${website-base-url}/versions/${project.version}/maven/</url>
+    </site>
+  </distributionManagement>
+
   <modules>
     <module>openwire-generator</module>
     <module>openwire-core</module>


[3/3] git commit: https://issues.apache.org/jira/browse/OPENWIRE-2

Posted by ta...@apache.org.
https://issues.apache.org/jira/browse/OPENWIRE-2

Add initial website module 

Project: http://git-wip-us.apache.org/repos/asf/activemq-openwire/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-openwire/commit/429b1b4a
Tree: http://git-wip-us.apache.org/repos/asf/activemq-openwire/tree/429b1b4a
Diff: http://git-wip-us.apache.org/repos/asf/activemq-openwire/diff/429b1b4a

Branch: refs/heads/master
Commit: 429b1b4a44b6201bc1fcdbd78c6c8d3628bd807b
Parents: 4db2817
Author: Timothy Bish <ta...@gmail.com>
Authored: Tue Aug 12 17:10:57 2014 -0400
Committer: Timothy Bish <ta...@gmail.com>
Committed: Tue Aug 12 17:10:57 2014 -0400

----------------------------------------------------------------------
 openwire-website/.gitignore                     |    1 +
 openwire-website/README.md                      |   14 +
 openwire-website/ext/ScalatePackage.scala       |   29 +
 openwire-website/ext/Website.scala              |   63 +
 openwire-website/ext/scalate/Boot.scala         |   66 +
 openwire-website/pom.xml                        |  354 +
 .../src/WEB-INF/scalate/layouts/default.jade    |   88 +
 openwire-website/src/WEB-INF/web.xml            |   45 +
 openwire-website/src/_navigation.ssp.md         |    6 +
 openwire-website/src/blog/index.page            |   39 +
 openwire-website/src/blog/index.rss.feed        |    5 +
 .../src/blog/releases/release-1.0.page          |   48 +
 .../src/community/_creating_patches.ssp.md      |   23 +
 openwire-website/src/community/building.page    |   77 +
 .../src/community/contributing.page             |   74 +
 openwire-website/src/community/developers.page  |   38 +
 openwire-website/src/community/faq.page         |   74 +
 openwire-website/src/community/index.page       |   89 +
 .../src/community/release-guide.page            |   55 +
 openwire-website/src/community/site.page        |   84 +
 openwire-website/src/community/source.page      |  101 +
 openwire-website/src/community/support.page     |   39 +
 .../src/documentation/getting-started.md        |   42 +
 openwire-website/src/documentation/index.page   |   28 +
 .../src/documentation/module-organization.page  |   45 +
 .../src/documentation/openwire-manual.md        |   60 +
 openwire-website/src/download.page              |  133 +
 .../src/images/module-deps-graph.png            |  Bin 0 -> 8278 bytes
 .../src/images/project-logo-vector.png          |  Bin 0 -> 58826 bytes
 openwire-website/src/images/project-logo.png    |  Bin 0 -> 3561 bytes
 openwire-website/src/images/rss.gif             |  Bin 0 -> 1166 bytes
 openwire-website/src/index.page                 |   42 +
 openwire-website/src/privacy-policy.page        |   48 +
 openwire-website/src/scripts/jquery.js          | 8981 ++++++++++++++++++
 .../src/styles/impact/blog.template             |   26 +
 .../src/styles/impact/css/pygmentize.css        |  127 +
 openwire-website/src/styles/impact/css/site.css |  235 +
 openwire-website/src/versions/index.page        |   38 +
 pom.xml                                         |   11 +
 39 files changed, 11228 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/.gitignore
----------------------------------------------------------------------
diff --git a/openwire-website/.gitignore b/openwire-website/.gitignore
new file mode 100644
index 0000000..ea8c4bf
--- /dev/null
+++ b/openwire-website/.gitignore
@@ -0,0 +1 @@
+/target

http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/README.md
----------------------------------------------------------------------
diff --git a/openwire-website/README.md b/openwire-website/README.md
new file mode 100644
index 0000000..5e9b03a
--- /dev/null
+++ b/openwire-website/README.md
@@ -0,0 +1,14 @@
+## OpenWire Protocol Library website
+
+This maven project builds the OpenWire protocol library website content. Its mostly consists of markdown files you can view/edit directly or via github.
+
+If you want to build the HTML yourself try:
+
+```
+mvn jetty:run
+```
+
+To generate the static html try:
+```
+mvn scalate:sitegen
+```

http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/ext/ScalatePackage.scala
----------------------------------------------------------------------
diff --git a/openwire-website/ext/ScalatePackage.scala b/openwire-website/ext/ScalatePackage.scala
new file mode 100644
index 0000000..0e73d37
--- /dev/null
+++ b/openwire-website/ext/ScalatePackage.scala
@@ -0,0 +1,29 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+import org.fusesource.scalate.support.TemplatePackage
+import org.fusesource.scalate.{Binding, TemplateSource}
+
+/**
+ * Defines the template package of reusable imports, attributes and methods across templates
+ */
+class ScalatePackage extends TemplatePackage {
+  def header(source: TemplateSource, bindings: List[Binding]) =
+    """
+    // common imports go here
+    import _root_.Website._;
+    """
+}

http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/ext/Website.scala
----------------------------------------------------------------------
diff --git a/openwire-website/ext/Website.scala b/openwire-website/ext/Website.scala
new file mode 100644
index 0000000..176edc6
--- /dev/null
+++ b/openwire-website/ext/Website.scala
@@ -0,0 +1,63 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+import org.fusesource.scalate.RenderContext
+
+package
+
+/**
+ * <p>
+ * </p>
+ */
+object Website {
+
+  val project_name= "ActiveMQ OpenWire"
+  val project_slogan= "ActiveMQ's OpenWire Protocol library"
+  val project_id= "OpenWire"
+  val project_jira_key= "OPENWIRE"
+  val project_issue_url= "https://issues.apache.org/jira/browse/OPENWIRE"
+  val project_forums_url= "http://activemq.2283324.n4.nabble.com/ActiveMQ-Dev-f2368404.html"
+  val project_wiki_url= "https://cwiki.apache.org/confluence/display/ACTIVEMQ/Index"
+  val project_logo= "/images/project-logo.png"
+  val project_version= "1.0"
+  val project_snapshot_version= "1.0-SNAPSHOT"
+  val project_versions = List(
+        project_version,
+        "1.0"
+        )
+
+  val project_keywords= "messaging,openwire,jms,activemq,apollo,protocol"
+
+  // -------------------------------------------------------------------
+  val github_page= "https://github.com/apache/activemq-openwire"
+  val git_user_url= "git://github.com/apache/activemq-openwire"
+  val git_commiter_url= "https://git-wip-us.apache.org/repos/asf/activemq-openwire.git"
+  val git_branch= "master"
+  val git_edit_page_base = github_page+"/edit/"+git_branch+"/website/src"
+  val disqus_shortname = project_id
+
+  // REMOVE ME -------------------------------------------------------------------
+  val project_git_url= "https://git-wip-us.apache.org/repos/asf/activemq-openwire.git"
+  val project_git_trunk_url= project_git_url +"/master"
+  val project_git_branches_url= project_git_url + "/branches"
+  val project_git_tags_url= project_git_url + "/tags"
+  val project_git_commiter_url= project_git_trunk_url.replaceFirst("http","https")
+
+  val project_maven_groupId= "org.apache.activemq"
+  val project_maven_artifactId= "openwire-protocol"
+
+  val website_base_url= "http://activemq.apache.org/openwire"
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/ext/scalate/Boot.scala
----------------------------------------------------------------------
diff --git a/openwire-website/ext/scalate/Boot.scala b/openwire-website/ext/scalate/Boot.scala
new file mode 100644
index 0000000..e90ae74
--- /dev/null
+++ b/openwire-website/ext/scalate/Boot.scala
@@ -0,0 +1,66 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package scalate
+
+import org.fusesource.scalate.util.Logging
+import java.util.concurrent.atomic.AtomicBoolean
+import _root_.Website._
+import org.fusesource.scalate._
+import org.fusesource.scalamd.{MacroDefinition, Markdown}
+import java.util.regex.Matcher
+import org.fusesource.scalate.wikitext.Pygmentize
+
+class Boot(engine: TemplateEngine) extends Logging {
+
+  private var _initialised = new AtomicBoolean(false)
+
+  def run: Unit = {
+    if (_initialised.compareAndSet(false, true)) {
+      def filter(m:Matcher):String = {
+        val filter_name = m.group(1)
+        val body = m.group(2)
+        engine.filter(filter_name) match {
+          case Some(filter)=>
+            filter.filter(RenderContext(), body)
+          case None=>
+            error("filter not found: "+filter_name)
+            body
+        }
+      }
+
+      def pygmentize(m:Matcher):String = Pygmentize.pygmentize(m.group(2), m.group(1))
+
+      // add some macros to markdown.
+      Markdown.macros :::= List(
+        MacroDefinition("""\{filter::(.*?)\}(.*?)\{filter\}""", "s", filter, true),
+        MacroDefinition("""\{pygmentize::(.*?)\}(.*?)\{pygmentize\}""", "s", pygmentize, true),
+        MacroDefinition("""\{pygmentize\_and\_compare::(.*?)\}(.*?)\{pygmentize\_and\_compare\}""", "s", pygmentize, true),
+        MacroDefinition("""\$\{project_version\}""", "", _ => project_version.toString, true),
+        MacroDefinition("""\$\{project_name\}""", "", _ => project_name.toString, true),
+        MacroDefinition("""\$\{project_id\}""", "", _ => project_id.toString, true),
+        MacroDefinition("""\$\{project_issue_url\}""", "", _ => project_issue_url.toString, true),
+        MacroDefinition("""\$\{website_base_url\}""", "", _ => website_base_url.toString, true)
+      )
+
+      for( ssp <- engine.filter("ssp"); md <- engine.filter("markdown") ) {
+        engine.pipelines += "ssp.md"-> List(ssp, md)
+        engine.pipelines += "ssp.markdown"-> List(ssp, md)
+      }
+      info("Bootstrapped website gen for: %s".format(project_name))
+    }
+  }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/pom.xml
----------------------------------------------------------------------
diff --git a/openwire-website/pom.xml b/openwire-website/pom.xml
new file mode 100644
index 0000000..e414dea
--- /dev/null
+++ b/openwire-website/pom.xml
@@ -0,0 +1,354 @@
+<?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.apache.activemq</groupId>
+    <artifactId>openwire-protocol</artifactId>
+    <version>1.0-SNAPSHOT</version>
+  </parent>
+
+  <artifactId>openwire-website</artifactId>
+  <name>openwire-website</name>
+  <description>Creates the static website for the OpenWire library.</description>
+  <packaging>pom</packaging>
+
+  <properties>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+
+    <jettyPort>8000</jettyPort>
+
+    <!-- lets use the latest greatest! :) -->
+    <hawtio-release-version>${project.version}</hawtio-release-version>
+
+    <scala-version>2.10.0</scala-version>
+    <scala-plugin-version>3.1.0</scala-plugin-version>
+    <scalate-version>1.6.1</scalate-version>
+    <scalamd-version>1.6</scalamd-version>
+    <jetty-plugin-version>7.0.1.v20091125</jetty-plugin-version>
+
+    <netbeans.hint.deploy.server>Tomcat60</netbeans.hint.deploy.server>
+  </properties>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.fusesource.scalate</groupId>
+      <artifactId>scalate-wikitext_2.10</artifactId>
+      <version>${scalate-version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.fusesource.scalate</groupId>
+      <artifactId>scalate-page_2.10</artifactId>
+      <version>${scalate-version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.fusesource.scalamd</groupId>
+      <artifactId>scalamd_2.10</artifactId>
+      <version>${scalamd-version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.slf4j</groupId>
+      <artifactId>slf4j-log4j12</artifactId>
+    </dependency>
+
+    <!-- testing -->
+    <dependency>
+      <groupId>org.fusesource.scalate</groupId>
+      <artifactId>scalate-test_2.10</artifactId>
+      <version>${scalate-version}</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <sourceDirectory>ext</sourceDirectory>
+
+    <plugins>
+      <plugin>
+        <inherited>true</inherited>
+        <artifactId>maven-source-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>attach-sources</id>
+            <goals>
+              <goal>jar</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+
+      <plugin>
+        <groupId>net.alchim31.maven</groupId>
+        <artifactId>scala-maven-plugin</artifactId>
+        <version>${scala-plugin-version}</version>
+        <executions>
+          <execution>
+            <goals>
+              <goal>compile</goal>
+              <goal>testCompile</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <jvmArgs>
+            <jvmArg>-Xmx1024m</jvmArg>
+            <jvmArg>-Xss8m</jvmArg>
+          </jvmArgs>
+          <scalaVersion>${scala-version}</scalaVersion>
+          <target>jvm-1.6</target>
+        </configuration>
+      </plugin>
+
+      <plugin>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <forkMode>once</forkMode>
+          <!-- these settings are mandatory to avoid SureFire giving a bogus system property to the web container -->
+          <useSystemClassLoader>false</useSystemClassLoader>
+          <useManifestOnlyJar>false</useManifestOnlyJar>
+          <includes>
+            <include>**/*Test.*</include>
+          </includes>
+          <excludes>
+            <exclude>**/SomeFailingTest.*</exclude>
+          </excludes>
+        </configuration>
+      </plugin>
+
+      <plugin>
+        <groupId>org.fusesource.scalate</groupId>
+        <artifactId>maven-scalate-plugin_2.10</artifactId>
+        <version>${scalate-version}</version>
+
+        <configuration>
+          <webappDirectory>${basedir}/src</webappDirectory>
+          <remoteServerId>apache-website</remoteServerId>
+          <remoteServerUrl>${website-base-url}/versions/${project.version}/website/</remoteServerUrl>
+        </configuration>
+
+        <executions>
+          <execution>
+            <id>sitegen</id>
+            <goals>
+              <goal>sitegen</goal>
+            </goals>
+            <phase>package</phase>
+          </execution>
+        </executions>
+
+      </plugin>
+
+      <plugin>
+        <groupId>org.mortbay.jetty</groupId>
+        <artifactId>jetty-maven-plugin</artifactId>
+        <version>${jetty-plugin-version}</version>
+        <configuration>
+          <webAppSourceDirectory>${basedir}/src</webAppSourceDirectory>
+          <systemProperties>
+            <systemProperty>
+              <name>scalate.editor</name>
+              <value>${env.SCALATE_EDITOR}</value>
+            </systemProperty>
+            <systemProperty>
+              <name>scalate.workdir</name>
+              <value>${basedir}/target/_scalate</value>
+            </systemProperty>
+            <systemProperty>
+              <name>scalate.mode</name>
+              <value>development</value>
+            </systemProperty>
+          </systemProperties>
+          <scanIntervalSeconds>0</scanIntervalSeconds>
+        </configuration>
+      </plugin>
+
+      <plugin>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <executions>
+          <execution>
+            <phase>process-sources</phase>
+            <configuration>
+              <tasks>
+                <mkdir dir="${basedir}/target/sitegen/documentation/schema" />
+              </tasks>
+            </configuration>
+            <goals>
+              <goal>run</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+
+  <reporting>
+    <plugins>
+      <plugin>
+        <groupId>org.fusesource.mvnplugins</groupId>
+        <artifactId>maven-linkchecker-plugin</artifactId>
+        <version>${mvnplugins-version}</version>
+        <configuration>
+          <excludedLinks>
+            <value>http://github.com/</value>
+            <value>http://git.or.cz/</value>
+            <value>http://localhost:8080/</value>
+            <value>http://repo.fusesource.com/</value>
+            <value>http://search.twitter.com/</value>
+            <value>http://www.chengin.com/</value>
+          </excludedLinks>
+        </configuration>
+      </plugin>
+    </plugins>
+  </reporting>
+
+  <profiles>
+
+    <!-- We only include the java doc when doing a release build since
+         that's when the javadoc actually gets generated -->
+    <profile>
+      <id>apache-release</id>
+
+      <dependencies>
+        <dependency>
+          <groupId>org.apache.activemq</groupId>
+          <artifactId>openwire-core</artifactId>
+          <version>${project.version}</version>
+          <classifier>javadoc</classifier>
+          <scope>test</scope>
+        </dependency>
+        <dependency>
+          <groupId>org.apache.activemq</groupId>
+          <artifactId>openwire-legacy</artifactId>
+          <version>${project.version}</version>
+          <classifier>javadoc</classifier>
+          <scope>test</scope>
+        </dependency>
+        <dependency>
+          <groupId>org.apache.activemq</groupId>
+          <artifactId>openwire-jms</artifactId>
+          <version>${project.version}</version>
+          <classifier>javadoc</classifier>
+          <scope>test</scope>
+        </dependency>
+
+      </dependencies>
+
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-dependency-plugin</artifactId>
+            <version>2.2</version>
+            <executions>
+              <execution>
+                <id>unpack</id>
+                <phase>package</phase>
+                <goals>
+                  <goal>unpack</goal>
+                </goals>
+                <configuration>
+                  <artifactItems>
+                    <artifactItem>
+                      <groupId>org.apache.activemq</groupId>
+                      <artifactId>openwire-core</artifactId>
+                      <classifier>javadoc</classifier>
+                      <outputDirectory>${basedir}/target/sitegen/documentation/api/openwire-core</outputDirectory>
+                    </artifactItem>
+                    <artifactItem>
+                      <groupId>org.apache.activemq</groupId>
+                      <artifactId>openwire-legacy</artifactId>
+                      <classifier>javadoc</classifier>
+                      <outputDirectory>${basedir}/target/sitegen/documentation/api/openwire-legacy</outputDirectory>
+                    </artifactItem>
+                    <artifactItem>
+                      <groupId>org.apache.activemq</groupId>
+                      <artifactId>openwire-jms</artifactId>
+                      <classifier>javadoc</classifier>
+                      <outputDirectory>${basedir}/target/sitegen/documentation/api/openwire-jms</outputDirectory>
+                    </artifactItem>
+                  </artifactItems>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+
+    <profile>
+      <id>deploy-website</id>
+      <activation>
+        <property>
+          <name>java.vm.name</name>
+        </property>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.fusesource.scalate</groupId>
+            <artifactId>maven-scalate-plugin_2.10</artifactId>
+            <version>${scalate-version}</version>
+
+            <executions>
+              <execution>
+                <id>deploy</id>
+                <goals>
+                  <goal>deploy</goal>
+                </goals>
+                <phase>deploy</phase>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+
+
+    <profile>
+      <id>ibmjdk</id>
+      <activation>
+        <file>
+          <exists>${java.home}/../lib/tools.jar</exists>
+        </file>
+      </activation>
+      <build>
+        <pluginManagement>
+          <plugins>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-antrun-plugin</artifactId>
+              <dependencies>
+                <dependency>
+                  <groupId>com.sun</groupId>
+                  <artifactId>tools</artifactId>
+                  <!--the real JDK version could be 1.5 or 1.6-->
+                  <version>1.5.0</version>
+                  <scope>system</scope>
+                  <optional>true</optional>
+                  <systemPath>${java.home}/../lib/tools.jar</systemPath>
+                </dependency>
+              </dependencies>
+            </plugin>
+          </plugins>
+        </pluginManagement>
+      </build>
+    </profile>
+  </profiles>
+
+</project>

http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/src/WEB-INF/scalate/layouts/default.jade
----------------------------------------------------------------------
diff --git a/openwire-website/src/WEB-INF/scalate/layouts/default.jade b/openwire-website/src/WEB-INF/scalate/layouts/default.jade
new file mode 100644
index 0000000..d0ee540
--- /dev/null
+++ b/openwire-website/src/WEB-INF/scalate/layouts/default.jade
@@ -0,0 +1,88 @@
+!!! Basic
+:plain
+  <!--
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+         http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+    Architecture
+  -->
+- response.setContentType("text/html") 
+-@ var title : String = ""
+-@ var body: String = null
+-@ var overview: String = null
+-@ var spot: String = null
+-@ var blog: String = null
+-@ var head: String = null
+- val include_console = engine.isDevelopmentMode && engine.resourceLoader.exists("/org/fusesource/scalate/console/console_head.scaml")
+html(lang="en")
+  head
+    meta(content="text/html; charset=utf-8" http-equiv="Content-Type")
+    meta(content="#{project_slogan}" name="description")
+    meta(content="#{project_keywords}" name="keywords")
+    meta(content="#{project_name}" name="author")
+    script(src={uri("/scripts/jquery.js")})
+    link(type="text/css" rel="stylesheet" href={uri("/styles/impact/css/pygmentize.css")})
+    link(type="text/css" rel="stylesheet" href={uri("/styles/impact/css/site.css")})
+
+    - if (head!=null)
+      !~~ head
+
+    -#
+      - if (include_console)
+        - include("/org/fusesource/scalate/console/console_head.scaml")
+        link(href={uri("/css/scalate/console.css")} rel="stylesheet" type="text/css")
+    
+    title= title
+  body
+    div#navigation
+      div.wrapper
+        - include("/_navigation.ssp.md")
+        
+    - if (overview!=null)
+      div#overview
+        div.wrapper
+          -if ( project_logo!=null )  
+            div.logo
+              img(src="#{uri(project_logo)}" alt="#{project_name} logo")
+          div.message
+            !~~ overview
+            
+    - if (spot!=null)
+      div#spot
+        div.wrapper
+          !~~ spot
+          
+    - if (body!=null)
+      div#content
+        div.wrapper
+          !~~ body
+          
+    - if (blog!=null)
+      div#blog
+        div.wrapper
+          !~~ blog
+          
+    -#
+      - if (include_console)
+        = include("/org/fusesource/scalate/console/console.scaml")
+    -#
+      :javascript
+        var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+        document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+        </script> 
+        <script type="text/javascript"> 
+        try {
+        var pageTracker = _gat._getTracker("UA-1347593-12");
+        pageTracker._trackPageview();
+        } catch(err) {}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/src/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/openwire-website/src/WEB-INF/web.xml b/openwire-website/src/WEB-INF/web.xml
new file mode 100644
index 0000000..d624411
--- /dev/null
+++ b/openwire-website/src/WEB-INF/web.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+         http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+
+<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
+	xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
+	version="2.5">
+
+  <display-name>Website</display-name>
+
+  <filter>
+    <filter-name>TemplateEngineFilter</filter-name>
+    <filter-class>org.fusesource.scalate.servlet.TemplateEngineFilter</filter-class>
+  </filter>
+  <filter-mapping>
+    <filter-name>TemplateEngineFilter</filter-name>
+    <url-pattern>/*</url-pattern>
+  </filter-mapping>
+
+  <welcome-file-list>
+    <welcome-file>index.page</welcome-file>
+  </welcome-file-list>
+
+  <error-page>
+    <error-code>500</error-code>
+    <location>/WEB-INF/scalate/errors/500.scaml</location>
+  </error-page>
+</web-app>

http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/src/_navigation.ssp.md
----------------------------------------------------------------------
diff --git a/openwire-website/src/_navigation.ssp.md b/openwire-website/src/_navigation.ssp.md
new file mode 100644
index 0000000..cf0d5ca
--- /dev/null
+++ b/openwire-website/src/_navigation.ssp.md
@@ -0,0 +1,6 @@
+
+* [${project_name} ${project_version}](${uri("/")}) 
+* [Developers](${uri("/community/developers.html")}) 
+* [Community](${uri("/community/index.html")})
+* [Download](${uri("/download.html")}) 
+

http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/src/blog/index.page
----------------------------------------------------------------------
diff --git a/openwire-website/src/blog/index.page b/openwire-website/src/blog/index.page
new file mode 100644
index 0000000..5cf516c
--- /dev/null
+++ b/openwire-website/src/blog/index.page
@@ -0,0 +1,39 @@
+---
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+title: The ${project_name} Blog
+in_menu: false
+sort_info: 7
+
+--- name:head pipeline:ssp
+<link rel="alternate" title="${project_name} RSS" href="index.rss" type="application/rss+xml">
+
+--- name:overview
+
+The latest and greatest news from the ${project_name} team
+
+--- name:blog pipeline:jade
+
+:ssp
+  <h1>${project_name} Blog <a href="index.rss"><img src="${uri("/images/rss.gif")}"/></a></h1>
+
+- import org.fusesource.scalate.page.BlogHelper._
+- for(post <- posts)
+  .post
+    a(href={post.link})
+      h2= post.title
+    .details Posted by #{post.author} on #{post.createdAt}
+    !~~ post.render()
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/src/blog/index.rss.feed
----------------------------------------------------------------------
diff --git a/openwire-website/src/blog/index.rss.feed b/openwire-website/src/blog/index.rss.feed
new file mode 100644
index 0000000..f6b2a40
--- /dev/null
+++ b/openwire-website/src/blog/index.rss.feed
@@ -0,0 +1,5 @@
+---
+link: ${website_base_url}/blog/
+author: "${project_name} Team"
+title: "The ${project_name} Blog"
+description: "${project_slogan}"

http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/src/blog/releases/release-1.0.page
----------------------------------------------------------------------
diff --git a/openwire-website/src/blog/releases/release-1.0.page b/openwire-website/src/blog/releases/release-1.0.page
new file mode 100644
index 0000000..d971680
--- /dev/null
+++ b/openwire-website/src/blog/releases/release-1.0.page
@@ -0,0 +1,48 @@
+---
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+blog_post: true
+title: ActiveMQ OpenWire 1.0
+author: Timothy Bish
+author_url: http://activemq.apache.org
+created_at: 2012-02-02 12:06:40 -0000
+---
+
+The [Apache ActiveMQ Project](http://activemq.apache.org) is pleased to announce the
+availability of OpenWire 1.0. ActiveMQ OpenWire is an implementation of ActiveMQ's own
+native wire protocol free of any dependencies on a the message Broker.  This library
+can be used to implement new clients or brokers that can communicate with ActiveMQ and
+its various client libraries.
+
+OpenWire Features:
+
+* Tight or Loose wire encoding based on size or speed.
+* Message body compression.
+* Backwards protocol compatibility.
+
+Further information:
+
+* [Download](${website_base_url}/download.html)
+* [Issues Fixed](https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12315620&version=12327465)
+* [Documentation](${website_base_url}/versions/1.0/website/documentation)
+
+[Feedback](http://activemq.apache.org/community/index.html) is always welcome!
+
+
+
+
+
+

http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/src/community/_creating_patches.ssp.md
----------------------------------------------------------------------
diff --git a/openwire-website/src/community/_creating_patches.ssp.md b/openwire-website/src/community/_creating_patches.ssp.md
new file mode 100644
index 0000000..e39bc93
--- /dev/null
+++ b/openwire-website/src/community/_creating_patches.ssp.md
@@ -0,0 +1,23 @@
+We gladly accept patches if you can find ways to improve, tune or fix
+${project_name} in some way.
+
+Most IDEs can create nice patches now very easily. e.g. in Eclipse just
+right click on a file/directory and select `Team -> Create Patch`. Then
+just save the patch as a file and then submit it. (You may have to click
+on `Team -> Share...` first to enable the Subversion options).
+Incidentally if you are an Eclipse user you should install the
+[subclipse](http://subclipse.tigris.org/) plugin.
+
+If you're a command line person try the following to create the patch
+
+    diff -u Main.java.orig Main.java >> patchfile.txt
+
+or
+    svn diff Main.java >> patchfile.txt
+
+### Submitting patches
+
+The easiest way to submit a patch is to create a new issue at our [Issue
+Tracker](${project_issue_url}), attach the patch, tick the Patch
+Attached button on the issue then fire off an email to the mailing
+lists.

http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/src/community/building.page
----------------------------------------------------------------------
diff --git a/openwire-website/src/community/building.page b/openwire-website/src/community/building.page
new file mode 100644
index 0000000..ccbb0a8
--- /dev/null
+++ b/openwire-website/src/community/building.page
@@ -0,0 +1,77 @@
+---
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+title: Building
+--- name:overview
+
+# How to Build ${project_name}
+The way most developers get started contributing to a project.
+
+--- name:content
+
+## Building with Maven
+
+${project_name} uses [Maven](http://maven.apache.org/) as its primary
+build tool for performing releases and uses the pom.xml to describe
+dependencies between modules.
+
+### Prequisites
+
+*Required:*
+
+* Java 1.7
+* Download and [install Maven 3](http://maven.apache.org/download.html)
+* Get the latest [source](source.html)
+
+### A normal build
+
+    mvn install
+
+### Doing a Quick Build
+
+The following avoids running all the unit test cases, we just skip the
+test running phase and not the building part
+
+    mvn -Dtest=false install
+
+### Using an IDE
+
+If you prefer to use an IDE then you can auto-generate the IDE's project
+files using maven plugins. e.g.
+
+    mvn eclipse:eclipse
+
+or
+
+    mvn idea:idea
+
+### Importing into Eclipse
+
+If you have not already done so, you will need to make Eclipse aware of
+the Maven repository so that it can build everything. In the preferences,
+go to `Java -> Build Path -> Classpath` and define a new Classpath
+Variable named `M2_REPO` that points to your local Maven repository. i.e.
+`~/.m2/repository` on Unix and `c:\Documents and Settings\$username\.m2\repository`
+on Windows).
+
+You can also get Maven to do this for you:
+
+    mvn eclipse:add-maven-repo -Declipse.workspace=/path/to/the/workspace/
+
+### See Also
+
+* [Source](source.html)
+* [Developer Links](developers.html)

http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/src/community/contributing.page
----------------------------------------------------------------------
diff --git a/openwire-website/src/community/contributing.page b/openwire-website/src/community/contributing.page
new file mode 100644
index 0000000..6529bde
--- /dev/null
+++ b/openwire-website/src/community/contributing.page
@@ -0,0 +1,74 @@
+---
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+title: Contributing
+in_menu: false
+--- name:overview
+
+# How to contribute to ${project_name}
+We love contributions!
+
+--- name:content
+
+We really want you to get involved in the ${project_name} project, to
+[join the community](index.html) and help make it a better piece of
+software - please do dive in and help!
+
+Try surf the [documentation](../documentation/index.html) and website in
+general - if something is confusing or not clear, [let us
+know](index.html) or raise a [support request](support.html).
+
+[Download](../download.html) the code and try it out and see what you think.
+Browse the [source code](source.html). Got an itch to scratch, want to
+tune some operation or add some feature?
+
+Want to do some hacking on the ${project_name} code? Try surfing the our
+[Issue Tracker](${project_issue_url}) for open issues or features.  If something
+tickles your fancy, take ownership of the issue and start working on it!  Attach
+a patch once you fix it.
+
+## Improving the documentation
+
+Documentation is massively important to help users make the most of
+${project_name} and its probably the area that needs the most help!
+
+So if you are interested in helping the documentation effort; whether its
+just to fix a page here or there, correct a link or even write a tutorial
+or improve what documentation is already there please do dive in and
+help\!
+
+All of the documentation is stored in project source repository, see [How
+the Site works](site.html)
+
+## If you find a bug or problem
+
+Please raise a new issue in our [Issue Tracker](${project_issue_url}). If
+you can create a JUnit test case then your issue is more likely to be
+resolved quicker. Then we can add your issue to our [source control
+system](source.html) and then we'll know when its really fixed and we can
+ensure that the problem stays fixed in future releases.
+
+## Working on the code and creating patches
+
+We gladly accept patches if you can find ways to improve, tune or fix
+${project_name} in some way.
+
+${include("/community/_creating_patches.ssp.md")}
+
+## Becoming a committer
+
+Once you have made some good contributions you may be invited to become a
+committer by the project team. We'll chat to you offline about it.

http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/src/community/developers.page
----------------------------------------------------------------------
diff --git a/openwire-website/src/community/developers.page b/openwire-website/src/community/developers.page
new file mode 100644
index 0000000..0042f01
--- /dev/null
+++ b/openwire-website/src/community/developers.page
@@ -0,0 +1,38 @@
+---
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+title: Developers
+in_menu: false
+--- name:overview
+
+# Developers
+Ready to start hacking on ${project_name}?
+
+--- name:content
+
+# Developer Links
+
+* [Source Code](source.html)
+* [Building](building.html)
+* [Contributing](contributing.html)
+* [Release Guide](release-guide.html)
+* [Maven Site Reports](${website_base_url}/versions/${project_version}/maven/)
+
+# API Reference
+
+* [`openwire-core` API](../documentation/api/openwire-core/index.html)
+
+Looking for the website documentation of a different ${project_name} [version](${website_base_url}/versions/index.html)?

http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/src/community/faq.page
----------------------------------------------------------------------
diff --git a/openwire-website/src/community/faq.page b/openwire-website/src/community/faq.page
new file mode 100644
index 0000000..6a4ea87
--- /dev/null
+++ b/openwire-website/src/community/faq.page
@@ -0,0 +1,74 @@
+---
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+title: FAQ
+in_menu: false
+sort_info: 41
+# FYI:
+# The fragments processor allows the TOC to generated by the menu tag.
+--- name:overview
+
+# Burning Questions?
+
+This page contains all the frequently asked questions about the
+${project_name} project.
+
+--- name:content
+
+{:toc}
+
+## General Questions
+
+General questions on the *${project_name}* project.
+
+### Why the name ${project_name}?
+
+
+### What is the license?
+
+The license is [Apache 2
+License](http://www.apache.org/licenses/LICENSE-2.0)
+
+### How do I get support?
+
+See the [support guide](support.html) for more details.
+
+### How do I build ${project_name}?
+
+First [get the source](source.html) then see the [building
+guide](building.html)
+
+### How do I contribute or become a committer?
+
+We love [contributions](contributing.html)! More details on how to
+contribute and how to become a committer are in the [contributing
+guide](contributing.html).
+
+### How do I register for the issue tracker?
+
+For more detail see the [support page](support.html). If you haven't done
+so already you can [register with the issue tracker
+here](https://www.assembla.com/user/signup)
+
+### How does the website work?
+
+For details on how to edit the website and how it works see
+[How the Site works](site.html)
+
+## Using ${project_name}
+
+### How do I get started?
+

http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/src/community/index.page
----------------------------------------------------------------------
diff --git a/openwire-website/src/community/index.page b/openwire-website/src/community/index.page
new file mode 100644
index 0000000..b52361b
--- /dev/null
+++ b/openwire-website/src/community/index.page
@@ -0,0 +1,89 @@
+---
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+title: Community
+in_menu: true
+sort_info: 50
+--- name:overview
+
+# Lets Talk
+The ${project_name} community is here to help you
+
+--- name:content pipeline:jade
+
+.left
+  h1 Issue Tracker
+.right
+  :markdown
+    If you have a problem you can [get help](support.html) or try surfing
+    our [Issue Tracker](${project_issue_url})
+
+.left
+  h1 Mailing Lists
+.right
+  :markdown
+
+    We really want you to get involved in the ${project_name} and we love
+    [contributions](contributing.html). One of the easiest ways to get
+    involved is to join the community discussions.
+
+    ### ${project_name} User List
+
+    This mailing list is end users to ask general questions about
+    ${project_name}
+
+    * [Subscribe](mailto:users-subscribe@activemq.apache.org)
+    * [Unsubscribe](mailto:users-unsubscribe@activemq.apache.org)
+    * [Apache Archive](http://mail-archives.apache.org/mod_mbox/activemq-users/)
+    * [MarkMail Archive](http://activemq.markmail.org/search/list:org.apache.activemq.users)
+    * [Nabble Forum](http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html)
+
+    ### ${project_name} Developer List
+
+    This mailing list is for contributor to discuss the bug fixes and
+    and new features being developed for ${project_name}
+
+    * [Subscribe](mailto:dev-subscribe@activemq.apache.org)
+    * [Unsubscribe](mailto:dev-unsubscribe@activemq.apache.org)
+    * [Apache Archive](http://mail-archives.apache.org/mod_mbox/activemq-dev/)
+    * [MarkMail Archive](http://activemq.markmail.org/search/list:org.apache.activemq.dev)
+    * [Nabble Forum](http://activemq.2283324.n4.nabble.com/ActiveMQ-Dev-f2368404.html)
+
+    ### ${project_name} Commits List
+
+    This mailing list get automatically notified when when the
+    project source code gets updated.
+
+    * [Subscribe](mailto:commits-subscribe@activemq.apache.org)
+    * [Unsubscribe](mailto:commits-unsubscribe@activemq.apache.org)
+    * [Apache Archive](http://mail-archives.apache.org/mod_mbox/activemq-commits/)
+    * [MarkMail Archive](http://activemq.markmail.org/search/list:org.apache.activemq.commits)
+
+.left
+  h1 IRC
+.right
+  :markdown
+
+    You can also catch us on IRC to chat via the **#activemq** channel on
+    the **irc.codehaus.org** server.
+
+.left
+  h1 Blog
+.right
+  :markdown
+    Keep up to date on the latest and greatest releases by following the
+    [${project_name} Blog](../blog/index.html)
+

http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/src/community/release-guide.page
----------------------------------------------------------------------
diff --git a/openwire-website/src/community/release-guide.page b/openwire-website/src/community/release-guide.page
new file mode 100644
index 0000000..b147d0c
--- /dev/null
+++ b/openwire-website/src/community/release-guide.page
@@ -0,0 +1,55 @@
+---
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+title: Release Guide
+in_menu: false
+--- name:overview
+
+# Release Guide
+How to create releases of ${project_name}
+
+--- name:content 
+
+## Release Preparation Steps
+
+Various documentation changes first (which should be done before the release is cut)
+
+* update the **${project_id}-website/src/main/webapp/download.page** page for this release
+* edit the **${project_id}-website/src/main/scala/Website.scala** file and change the **project\_version** values
+* blog about the release by creating an entry in **${project_id}-website/src/blog/releases** 
+* update the changelog.md file, copying and pasting the section the release highlights from the above blog post
+* add a link to the **${project_id}-website/src/main/webapp/versions.page** to the new version. 
+
+## Cutting the release 
+
+* prepare the release
+
+{pygmentize:: text}
+mvn -P release release:prepare 
+{pygmentize}
+
+* perform the release
+
+{pygmentize:: text}
+mvn -P release release:perform
+{pygmentize}
+
+* open [Nexus Staging](http://repository.apache.org/index.html#staging)
+  and close the staged release of #{project_name}
+* now start a vote on the mailing lists and if it passes
+* promote the closed release in nexus
+* announce the release on the [mailing list](index.html)
+* drink beers!

http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/src/community/site.page
----------------------------------------------------------------------
diff --git a/openwire-website/src/community/site.page b/openwire-website/src/community/site.page
new file mode 100644
index 0000000..453fcb1
--- /dev/null
+++ b/openwire-website/src/community/site.page
@@ -0,0 +1,84 @@
+---
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+title: Building
+--- name:overview
+
+# ${project_name} Site
+How the website works
+
+--- name:content pipeline:jade
+
+.left
+  h1 How it works
+.right
+  :markdown
+
+    The *${project_name}* documentation and site is created using Scalate
+    and is stored in git in the same [source control system as the
+    code](source.html)
+
+    **Note:** For code highlighting you will need to
+    [install](http://pygments.org/download/)
+    [http://pygments.org/](http://pygments.org).
+
+.left
+  h1 Editing the source code
+.right
+  :markdown
+
+    If you [grab the source code](source.html) you will find the site
+    source in the *${project_id}-website* directory.  The website is
+    also built using Maven so, you would
+
+        cd ${project_id}-website
+        mvn install
+
+    If you want to edit the files in your text editor and be able to
+    immediately see the site re-rendered in a browser then use
+
+        mvn jetty:run
+
+    You can now surf the site and see changes immediately.
+
+    If you are on OS X then we highly recommend
+    [TextMate](http://macromates.com/) as a great editor which supports
+    Textile and Markdown
+
+.left
+  h1 Deploying the site
+.right
+  :markdown
+
+    The site is automatically deployed by the CI builds, so you can
+    simply wait for the changes to be automatically pushed to the project
+    site.
+
+    You can manually deploy the site using Maven:
+
+        mvn deploy
+
+    Since deployment to our webserver requires proper authorization,
+    you will need to add an entry to your ~/.m2/settings.xml file simlilar
+    to:
+
+    {pygmentize:: xml}
+    <server>
+      <id>${project_id}-website</id>
+      <username>xxxx</username>
+      <password>xxxxx</password>
+    </server>
+    {pygmentize}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/src/community/source.page
----------------------------------------------------------------------
diff --git a/openwire-website/src/community/source.page b/openwire-website/src/community/source.page
new file mode 100644
index 0000000..f472124
--- /dev/null
+++ b/openwire-website/src/community/source.page
@@ -0,0 +1,101 @@
+---
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+title: Source
+in_menu: true
+sort_info: 40
+--- name:overview
+# ${project_name}
+
+Get the latest source code
+
+--- name:content pipeline:jade
+
+
+.left
+  :markdown
+    # Git
+
+.right
+  :&markdown
+
+    #{project_name} stores its source code in a Git repository at this location:
+
+    * [#{project_git_url}](#{project_git_url})
+
+    If you are new to Git you might have a look at the
+    [Version Control with Git](http://git-scm.com/book/en/Getting-Started-About-Version-Control) book.
+
+.left
+  :markdown
+    # Browsing Source
+.right
+  :&markdown
+
+    You can browse the source code online by using any of the following
+    interfaces web interfaces:
+
+    * [Github](#{github_page})
+
+.left
+  h1 How to Checkout
+.right
+  :&markdown
+
+    You must first install a [Git client](http://subversion.apache.org/packages.html). Then
+    you check out the project using the following:
+
+        git clone #{project_git_trunk_url} #{project_id}
+        cd #{project_id}
+
+    Now you probably want to try [build the #{project_name} code](building.html)
+
+.left
+  :markdown
+    # Committer Access
+
+.right
+  :&markdown
+
+    Committers should check out the the source code using the Apache Git url.
+
+    * [#{project_git_commiter_url}](#{project_git_commiter_url})
+
+    Only project developers can commit to the Git tree via this method.
+
+
+.left
+  :markdown
+    # Contributing patches
+.right
+  :markdown
+    If you are not yet a committer but want to contribute some
+    patch (we love [contributions!](contributing.html)) here's
+    how you can submit patches
+
+  - include("/community/_creating_patches.ssp.md")
+
+.left
+  :markdown
+    # Next steps
+.right
+  :&markdown
+    Once you have checked out the code try following
+
+    * [instructions to build #{project_name}](building.html)
+    * read the [documentation](../documentation/index.html)
+    * browse the [developer links and maven reports](developers.html)
+

http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/src/community/support.page
----------------------------------------------------------------------
diff --git a/openwire-website/src/community/support.page b/openwire-website/src/community/support.page
new file mode 100644
index 0000000..378f5fc
--- /dev/null
+++ b/openwire-website/src/community/support.page
@@ -0,0 +1,39 @@
+---
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+title: Support
+in_menu: true
+sort_info: 55
+--- name:overview
+
+# You Are Not Alone
+We can help!
+
+--- name:content 
+
+You may find the [Frequently Asked Questions (FAQ)](faq.html) useful.
+
+We love feedback of all kinds; whether it's thoughts, ideas, suggestions
+or bug reports!
+
+To submit feedback please contact the [community](index.html),
+or use the [${project_name} Issue Tracker](${project_issue_url}).
+
+### See Also
+
+* [FAQ](faq.html)
+* [Community](index.html)
+* [Issue Tracker](${project_issue_url})

http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/src/documentation/getting-started.md
----------------------------------------------------------------------
diff --git a/openwire-website/src/documentation/getting-started.md b/openwire-website/src/documentation/getting-started.md
new file mode 100644
index 0000000..70096e6
--- /dev/null
+++ b/openwire-website/src/documentation/getting-started.md
@@ -0,0 +1,42 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+  
+       http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+  Architecture
+-->
+# Getting Started Guide
+
+{:toc:2-5}
+
+This guide will help you get started using the OpenWire protocol library in your own applications.
+
+## Maven dependencies
+
+To use the openwire library in your maven projects you need to add a dependency to your maven POM file for the core openwire library as follows:
+
+    <dependency>
+      <groupId>org.apache.activemq</groupId>
+      <artifactId>openwire-core</artifactId>
+      <version>${project_version}</version>
+    </dependency>
+
+If you need to communicate with client's or brokers using older versions of the protocol then you must also include the legacy codec module:
+
+    <dependency>
+      <groupId>org.apache.activemq</groupId>
+      <artifactId>openwire-legacy</artifactId>
+      <version>${project_version}</version>
+    </dependency>
+
+

http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/src/documentation/index.page
----------------------------------------------------------------------
diff --git a/openwire-website/src/documentation/index.page b/openwire-website/src/documentation/index.page
new file mode 100644
index 0000000..0d27da3
--- /dev/null
+++ b/openwire-website/src/documentation/index.page
@@ -0,0 +1,28 @@
+---
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+title: Documentation
+--- name:overview
+
+${project_slogan}
+
+--- name:content
+
+# Documentation
+
+* [Getting Started Guide](getting-started.html)
+* [OpenWire Protocol Manual](openwire-manual.html)
+

http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/src/documentation/module-organization.page
----------------------------------------------------------------------
diff --git a/openwire-website/src/documentation/module-organization.page b/openwire-website/src/documentation/module-organization.page
new file mode 100644
index 0000000..97fc109
--- /dev/null
+++ b/openwire-website/src/documentation/module-organization.page
@@ -0,0 +1,45 @@
+---
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+title: Module Organization
+--- name:overview
+
+${project_slogan}
+
+--- name:content pipeline:markdown
+
+# Module Organization
+
+ActiveMQ OpenWire is composed of many loosely coupled jar files.  This helps
+maintain a clear separations of concerns between the modules and allows
+end users to end up with smaller footprint configurations if they don't
+need all the optional features of the project.
+
+## OpenWire Core
+
+The core library contains the OpenWire Command objects and a set marshalers that
+implement the initial 1.0 OpenWire protocol as well as the two most recent version
+marshalers for the protocol.  This allows for a small library to be used when you
+only need to talk to the most up to date Broker instances.
+
+## OpenWire Legacy
+
+The module provides all remaining protocol marshalers for versions of OpenWire that
+are no longer in common use.  If you need to communicate with an older broker instance
+then you might need to include this library in order to communicate properly.
+
+
+

http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/src/documentation/openwire-manual.md
----------------------------------------------------------------------
diff --git a/openwire-website/src/documentation/openwire-manual.md b/openwire-website/src/documentation/openwire-manual.md
new file mode 100644
index 0000000..6a55301
--- /dev/null
+++ b/openwire-website/src/documentation/openwire-manual.md
@@ -0,0 +1,60 @@
+# OpenWire Protocol Manual
+
+{:toc:2-5}
+
+## The OpenWire Protocol
+
+The OpenWire Protocol is the native binary wire protocol used by ActiveMQ and its various cross language clients.
+
+### OpenWire protocol details
+This section explains a little more about what's happening on the wire. The STOMP protocol, as it was designed,
+is easy to understand and monitor since it's a text-based protocol. OpenWire, however, is binary,
+and understanding the interactions that happen isn't as easy. Some clues might be helpful.
+
+All OpenWire commands are implemented as "command" objects following the Gang of Four [Command Pattern](http://en.wikipedia.org/wiki/Command_pattern).
+The structure of the objects are described [at the ActiveMQ website](http://activemq.apache.org/openwire-version-2-specification.html), but
+what about the interactions?
+
+
+Establishing a connection to the broker:
+A connection is established between the client and the broker with the client creating a new ActiveMQConnection
+(most likely using a connection factory of some sort). When a new "connection" is created, the underlying transport
+mechanisms send a WireFormatInfo command to the broker. This command describes what version and configurations of the OpenWire protocol
+the client wishes to use. For example, some of the configuration options are the ones listed above that can also be
+configured on the broker.
+
+When the TCP connection is handled on the broker side, it sends a WireFormatInfo to the client. The purpose of exchanging
+these WireFormatInfo commands is to be able to negotiate what settings to use as each the client and the server has
+their own preferred settings. The lowest protocol version between the two is used. When the broker receives the client's
+WireFormatInfo command, it negotiates the differences on its side and then sends a BrokerInfo command. Conversely
+on the client, when it receives the broker's WireFormatInfo, it negotiates it and sends a ConnectionInfo command. When
+the broker receives a ConnectionInfo command, it will either ack it with a Response command, or use security settings established globally
+for the broker or for a given virtual host to determine whether connections are allowed. If a connection is not allowed
+to the broker or to to virtual host, the broker will kill the connection.
+
+### OpenWire features to be documented
+
+* Flow Control
+* Persistent Messaging
+* Message Expiration
+
+### Unsupported OpenWire features:
+
+You will get bad/undefined behaviour if you try to use any of the following OpenWire features:
+
+* XA transactions
+* [Message Groups using JMSXGroupID](http://activemq.apache.org/message-groups.html)
+* [Subscription recovery/retroactive consumer](http://activemq.apache.org/retroactive-consumer.html)
+* [Exclusive Consumer with Priority](http://activemq.apache.org/exclusive-consumer.html)
+* [Virtual Destinations](http://activemq.apache.org/virtual-destinations.html)
+
+You can use Durable Subscriptions and/or [Mirrored Queues](user-manual.html#Mirrored_Queues) to get
+the same/similar behaviour that [Virtual Destinations](http://activemq.apache.org/virtual-destinations.html) provide.
+
+<!-- The following are not really OpenWire features.. but just general brokers features.
+* [Network of brokers](http://activemq.apache.org/networks-of-brokers.html)
+* [Shared-state Master/Slave](http://activemq.apache.org/shared-file-system-master-slave.html)
+* [Startup Destinations](http://activemq.apache.org/configure-startup-destinations.html)
+* [Delete inactive dests](http://activemq.apache.org/delete-inactive-destinations.html)
+* [JMX](http://activemq.apache.org/jmx.html)
+-->

http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/src/download.page
----------------------------------------------------------------------
diff --git a/openwire-website/src/download.page b/openwire-website/src/download.page
new file mode 100644
index 0000000..7da8c53
--- /dev/null
+++ b/openwire-website/src/download.page
@@ -0,0 +1,133 @@
+---
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+title: Download
+in_menu: true
+sort_info: 5
+--- name:overview
+
+# ${project_name}
+Download it today!
+--- name:head pipeline:jade
+:javascript
+  $(function(){
+    $("body").find(".accordion").click(function() {
+      $(this).next().toggle("slow");
+      $(this).toggleClass("accordion-opened");
+      return false;
+    }).each(function(){
+      $(this).toggleClass("accordion-opened", !$(this).next().is(":visible") && !$(this).next().is(".hide"))
+    });
+  });
+
+:css
+  .download {
+    font-size: 80%;
+  }
+  table.download { width: 100%;}
+  table.download tr td {
+    border: 1px solid #ccc;
+    padding: .5em;
+  }
+--- name:content pipeline:jade
+
+:&markdown
+  ## Get the latest official version
+
+- for( version <- project_versions.headOption )
+  :&markdown
+    ### #{project_name} #{version}
+    [Release Notes](blog/releases/release-#{version}.html) | [Installation Instructions](${website_base_url}/versions/#{version}/website/documentation/getting-started.html) | [Documentation](${website_base_url}/versions/#{version}/website/documentation/index.html)
+
+  table.download
+    tr
+      td Binaries for Unix/Linux/OS X:
+      td
+        a(href="http://www.apache.org/dyn/closer.cgi?path=activemq/activemq-openwire/#{version}/apache-openwire-protocol-#{version}-unix-distro.tar.gz") apache-openwire-protocol-#{version}-unix-distro.tar.gz
+      td
+        a(href="http://apache.org/dist/activemq/activemq-openwire/#{version}/apache-openwire-protocol-#{version}-unix-distro.tar.gz.asc") GPG Signature
+    tr
+      td Binaries for Windows:
+      td
+        a(href="http://www.apache.org/dyn/closer.cgi?path=activemq/activemq-openwire/#{version}/apache-openwire-protocol-#{version}-windows-distro.zip") apache-openwire-protocol-#{version}-windows-distro.zip
+      td
+        a(href="http://apache.org/dist/activemq/activemq-openwire/#{version}/apache-openwire-protocol-#{version}-windows-distro.zip.asc") GPG Signature
+    tr
+      td  Source Code Distribution:
+      td
+        a(href="http://www.apache.org/dyn/closer.cgi?path=activemq/activemq-openwire/#{version}/apache-openwire-protocol-#{version}-source-release.tar.gz") apache-openwire-protocol-#{version}-source-release.tar.gz
+      td
+        a(href="http://apache.org/dist/activemq/activemq-openwire/#{version}/apache-openwire-protocol-#{version}-source-release.tar.gz.asc") GPG Signature
+
+  - if( !project_versions.drop(1).isEmpty )
+    div.accordion(style="padding-top:1em;")
+      a(href="#") Show older versions...
+    div.hide
+      - for( version <- project_versions.drop(1) )
+        - version
+        h3.accordion
+          a(href="#") #{project_name} #{version}
+        div.hide
+          :&markdown
+            [Release Notes](blog/releases/release-#{version}.html) | [Installation Instructions](${website_base_url}/versions/#{version}/website/documentation/getting-started.html) | [Documentation](${website_base_url}/versions/#{version}/website/documentation/index.html)
+          table.download
+            tr
+              td Binaries for Unix/Linux/OS X:
+              td
+                a(href="http://archive.apache.org/dist/activemq/activemq-openwire/#{version}/apache-openwire-protocol-#{version}-unix-distro.tar.gz") apache-openwire-protocol-#{version}-unix-distro.tar.gz
+              td
+                a(href="http://archive.apache.org/dist/activemq/activemq-openwire/#{version}/apache-openwire-protocol-#{version}-unix-distro.tar.gz.asc") GPG Signature
+            tr
+              td Binaries for Windows:
+              td
+                a(href="http://archive.apache.org/dist/activemq/activemq-openwire/#{version}/apache-openwire-protocol-#{version}-windows-distro.zip") apache-openwire-protocol-#{version}-windows-distro.zip
+              td
+                a(href="http://archive.apache.org/dist/activemq/activemq-openwire/#{version}/apache-openwire-protocol-#{version}-windows-distro.zip.asc") GPG Signature
+            tr
+              td  Source Code Distribution:
+              td
+                a(href="http://archive.apache.org/dist/activemq/activemq-openwire/#{version}/apache-openwire-protocol-#{version}-source-release.tar.gz") apache-openwire-protocol-#{version}-source-release.tar.gz
+              td
+                a(href="http://archive.apache.org/dist/activemq/activemq-openwire/#{version}/apache-openwire-protocol-#{version}-source-release.tar.gz.asc") GPG Signature
+
+
+:&markdown
+
+  ## Development Snapshot
+
+  Want to help stablize the latest and greatest nightly development
+  build?  **Warnning**: These builds are extremely bleeding edge!
+
+  These development builds are automatically tested and deployed by a Jenkins CI server:
+
+    * [Checkin Build and Test Results](https://builds.apache.org/job/ActiveMQ-OpenWire/)
+    * [Nightly SNAPSHOT deployment Results](https://builds.apache.org/job/ActiveMQ-OpenWire-Deploy/)
+
+  ### #{project_name} #{project_snapshot_version}
+  [Installation Instructions](${website_base_url}/versions/#{project_snapshot_version}/website/documentation/getting-started.html) | [Documentation](${website_base_url}/versions/#{project_snapshot_version}/website/documentation/index.html)
+
+table.download
+  tr
+    td Binaries for Unix/Linux/OS X:
+    td
+      a(href="http://repository.apache.org/service/local/artifact/maven/redirect?r=snapshots&g=org.apache.activemq&a=openwire-project&v=#{project_snapshot_version}&e=tar.gz&c=unix-distro") openwire-project-#{project_snapshot_version}-unix-distro.tar.gz
+  tr
+    td Binaries for Windows:
+    td
+      a(href="https://repository.apache.org/service/local/artifact/maven/redirect?r=snapshots&g=org.apache.activemq&a=openwire-project&v=#{project_snapshot_version}&e=zip&c=windows-distro") openwire-project-#{project_snapshot_version}-windows-distro.zip
+
+:&markdown
+  The development build source code should be directly checked out from our [source code repository](community/source.html)

http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/src/images/module-deps-graph.png
----------------------------------------------------------------------
diff --git a/openwire-website/src/images/module-deps-graph.png b/openwire-website/src/images/module-deps-graph.png
new file mode 100644
index 0000000..53bee30
Binary files /dev/null and b/openwire-website/src/images/module-deps-graph.png differ

http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/src/images/project-logo-vector.png
----------------------------------------------------------------------
diff --git a/openwire-website/src/images/project-logo-vector.png b/openwire-website/src/images/project-logo-vector.png
new file mode 100644
index 0000000..d4d78c2
Binary files /dev/null and b/openwire-website/src/images/project-logo-vector.png differ

http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/src/images/project-logo.png
----------------------------------------------------------------------
diff --git a/openwire-website/src/images/project-logo.png b/openwire-website/src/images/project-logo.png
new file mode 100644
index 0000000..ea233f3
Binary files /dev/null and b/openwire-website/src/images/project-logo.png differ

http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/src/images/rss.gif
----------------------------------------------------------------------
diff --git a/openwire-website/src/images/rss.gif b/openwire-website/src/images/rss.gif
new file mode 100644
index 0000000..2891040
Binary files /dev/null and b/openwire-website/src/images/rss.gif differ

http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/src/index.page
----------------------------------------------------------------------
diff --git a/openwire-website/src/index.page b/openwire-website/src/index.page
new file mode 100644
index 0000000..8cf0dd0
--- /dev/null
+++ b/openwire-website/src/index.page
@@ -0,0 +1,42 @@
+---
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+title: OpenWire
+--- name:overview pipeline:jade
+
+h1 OpenWire #{project_version}
+
+| #{project_slogan}
+
+--- name:content pipeline:markdown
+
+[ActiveMQ OpenWire](http://activemq.apache.org/openwire/) is a stand-alone
+library that provides the implementation of the native wire protocol used by
+[ActiveMQ](http://activemq.apache.org) and its various client libraries.
+
+## Features
+
+* Small Core module with latest codecs only
+* External legacy module with support for all past OpenWire Versions.
+* JMS Wrappers around the OpenWire message types
+* Tight or loose encoding at the wire level for small or fast marshaling.
+* Message body compression.
+
+## Documentation
+
+* [Getting Started Guide](documentation/getting-started.html)
+* [OpenWire Protocol Manual](documentation/openwire-manual.html)
+
+

http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/src/privacy-policy.page
----------------------------------------------------------------------
diff --git a/openwire-website/src/privacy-policy.page b/openwire-website/src/privacy-policy.page
new file mode 100644
index 0000000..c8088eb
--- /dev/null
+++ b/openwire-website/src/privacy-policy.page
@@ -0,0 +1,48 @@
+---
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+title: Privacy Policy
+--- name:overview
+
+{project_slogan:}
+
+--- name:content
+
+Information about your use of this website is collected using server access
+logs and a tracking cookie. The collected information consists of the
+following:
+
+* The IP address from which you access the website
+* The type of browser and operating system you use to access our site
+* The date and time you access our site
+* The pages you visit
+* The addresses of pages from where you followed a link to our site
+
+Part of this information is gathered using a tracking cookie set by the
+[Google Analytics][] service and handled by Google as described in their
+[privacy policy][]. See your browser documentation for instructions on how to
+disable the cookie if you prefer not to share this data with Google.
+
+We use the gathered information to help us make our site more useful to
+visitors and to better understand how and when our site is used. We do not
+track or collect personally identifiable information or associate gathered
+data with any personally identifying information from other sources.
+
+By using this website, you consent to the collection of this data in the
+manner and for the purpose described above.
+
+[Google Analytics]:http://www.google.com/analytics/
+[privacy policy]:http://www.google.com/privacy.html


[2/3] https://issues.apache.org/jira/browse/OPENWIRE-2

Posted by ta...@apache.org.
http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/src/scripts/jquery.js
----------------------------------------------------------------------
diff --git a/openwire-website/src/scripts/jquery.js b/openwire-website/src/scripts/jquery.js
new file mode 100644
index 0000000..f3201aa
--- /dev/null
+++ b/openwire-website/src/scripts/jquery.js
@@ -0,0 +1,8981 @@
+/*!
+ * jQuery JavaScript Library v1.6.2
+ * http://jquery.com/
+ *
+ * Copyright 2011, John Resig
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * Includes Sizzle.js
+ * http://sizzlejs.com/
+ * Copyright 2011, The Dojo Foundation
+ * Released under the MIT, BSD, and GPL Licenses.
+ *
+ * Date: Thu Jun 30 14:16:56 2011 -0400
+ */
+(function( window, undefined ) {
+
+// Use the correct document accordingly with window argument (sandbox)
+var document = window.document,
+	navigator = window.navigator,
+	location = window.location;
+var jQuery = (function() {
+
+// Define a local copy of jQuery
+var jQuery = function( selector, context ) {
+		// The jQuery object is actually just the init constructor 'enhanced'
+		return new jQuery.fn.init( selector, context, rootjQuery );
+	},
+
+	// Map over jQuery in case of overwrite
+	_jQuery = window.jQuery,
+
+	// Map over the $ in case of overwrite
+	_$ = window.$,
+
+	// A central reference to the root jQuery(document)
+	rootjQuery,
+
+	// A simple way to check for HTML strings or ID strings
+	// (both of which we optimize for)
+	quickExpr = /^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,
+
+	// Check if a string has a non-whitespace character in it
+	rnotwhite = /\S/,
+
+	// Used for trimming whitespace
+	trimLeft = /^\s+/,
+	trimRight = /\s+$/,
+
+	// Check for digits
+	rdigit = /\d/,
+
+	// Match a standalone tag
+	rsingleTag = /^<(\w+)\s*\/?>(?:<\/\1>)?$/,
+
+	// JSON RegExp
+	rvalidchars = /^[\],:{}\s]*$/,
+	rvalidescape = /\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,
+	rvalidtokens = /"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,
+	rvalidbraces = /(?:^|:|,)(?:\s*\[)+/g,
+
+	// Useragent RegExp
+	rwebkit = /(webkit)[ \/]([\w.]+)/,
+	ropera = /(opera)(?:.*version)?[ \/]([\w.]+)/,
+	rmsie = /(msie) ([\w.]+)/,
+	rmozilla = /(mozilla)(?:.*? rv:([\w.]+))?/,
+
+	// Matches dashed string for camelizing
+	rdashAlpha = /-([a-z])/ig,
+
+	// Used by jQuery.camelCase as callback to replace()
+	fcamelCase = function( all, letter ) {
+		return letter.toUpperCase();
+	},
+
+	// Keep a UserAgent string for use with jQuery.browser
+	userAgent = navigator.userAgent,
+
+	// For matching the engine and version of the browser
+	browserMatch,
+
+	// The deferred used on DOM ready
+	readyList,
+
+	// The ready event handler
+	DOMContentLoaded,
+
+	// Save a reference to some core methods
+	toString = Object.prototype.toString,
+	hasOwn = Object.prototype.hasOwnProperty,
+	push = Array.prototype.push,
+	slice = Array.prototype.slice,
+	trim = String.prototype.trim,
+	indexOf = Array.prototype.indexOf,
+
+	// [[Class]] -> type pairs
+	class2type = {};
+
+jQuery.fn = jQuery.prototype = {
+	constructor: jQuery,
+	init: function( selector, context, rootjQuery ) {
+		var match, elem, ret, doc;
+
+		// Handle $(""), $(null), or $(undefined)
+		if ( !selector ) {
+			return this;
+		}
+
+		// Handle $(DOMElement)
+		if ( selector.nodeType ) {
+			this.context = this[0] = selector;
+			this.length = 1;
+			return this;
+		}
+
+		// The body element only exists once, optimize finding it
+		if ( selector === "body" && !context && document.body ) {
+			this.context = document;
+			this[0] = document.body;
+			this.selector = selector;
+			this.length = 1;
+			return this;
+		}
+
+		// Handle HTML strings
+		if ( typeof selector === "string" ) {
+			// Are we dealing with HTML string or an ID?
+			if ( selector.charAt(0) === "<" && selector.charAt( selector.length - 1 ) === ">" && selector.length >= 3 ) {
+				// Assume that strings that start and end with <> are HTML and skip the regex check
+				match = [ null, selector, null ];
+
+			} else {
+				match = quickExpr.exec( selector );
+			}
+
+			// Verify a match, and that no context was specified for #id
+			if ( match && (match[1] || !context) ) {
+
+				// HANDLE: $(html) -> $(array)
+				if ( match[1] ) {
+					context = context instanceof jQuery ? context[0] : context;
+					doc = (context ? context.ownerDocument || context : document);
+
+					// If a single string is passed in and it's a single tag
+					// just do a createElement and skip the rest
+					ret = rsingleTag.exec( selector );
+
+					if ( ret ) {
+						if ( jQuery.isPlainObject( context ) ) {
+							selector = [ document.createElement( ret[1] ) ];
+							jQuery.fn.attr.call( selector, context, true );
+
+						} else {
+							selector = [ doc.createElement( ret[1] ) ];
+						}
+
+					} else {
+						ret = jQuery.buildFragment( [ match[1] ], [ doc ] );
+						selector = (ret.cacheable ? jQuery.clone(ret.fragment) : ret.fragment).childNodes;
+					}
+
+					return jQuery.merge( this, selector );
+
+				// HANDLE: $("#id")
+				} else {
+					elem = document.getElementById( match[2] );
+
+					// Check parentNode to catch when Blackberry 4.6 returns
+					// nodes that are no longer in the document #6963
+					if ( elem && elem.parentNode ) {
+						// Handle the case where IE and Opera return items
+						// by name instead of ID
+						if ( elem.id !== match[2] ) {
+							return rootjQuery.find( selector );
+						}
+
+						// Otherwise, we inject the element directly into the jQuery object
+						this.length = 1;
+						this[0] = elem;
+					}
+
+					this.context = document;
+					this.selector = selector;
+					return this;
+				}
+
+			// HANDLE: $(expr, $(...))
+			} else if ( !context || context.jquery ) {
+				return (context || rootjQuery).find( selector );
+
+			// HANDLE: $(expr, context)
+			// (which is just equivalent to: $(context).find(expr)
+			} else {
+				return this.constructor( context ).find( selector );
+			}
+
+		// HANDLE: $(function)
+		// Shortcut for document ready
+		} else if ( jQuery.isFunction( selector ) ) {
+			return rootjQuery.ready( selector );
+		}
+
+		if (selector.selector !== undefined) {
+			this.selector = selector.selector;
+			this.context = selector.context;
+		}
+
+		return jQuery.makeArray( selector, this );
+	},
+
+	// Start with an empty selector
+	selector: "",
+
+	// The current version of jQuery being used
+	jquery: "1.6.2",
+
+	// The default length of a jQuery object is 0
+	length: 0,
+
+	// The number of elements contained in the matched element set
+	size: function() {
+		return this.length;
+	},
+
+	toArray: function() {
+		return slice.call( this, 0 );
+	},
+
+	// Get the Nth element in the matched element set OR
+	// Get the whole matched element set as a clean array
+	get: function( num ) {
+		return num == null ?
+
+			// Return a 'clean' array
+			this.toArray() :
+
+			// Return just the object
+			( num < 0 ? this[ this.length + num ] : this[ num ] );
+	},
+
+	// Take an array of elements and push it onto the stack
+	// (returning the new matched element set)
+	pushStack: function( elems, name, selector ) {
+		// Build a new jQuery matched element set
+		var ret = this.constructor();
+
+		if ( jQuery.isArray( elems ) ) {
+			push.apply( ret, elems );
+
+		} else {
+			jQuery.merge( ret, elems );
+		}
+
+		// Add the old object onto the stack (as a reference)
+		ret.prevObject = this;
+
+		ret.context = this.context;
+
+		if ( name === "find" ) {
+			ret.selector = this.selector + (this.selector ? " " : "") + selector;
+		} else if ( name ) {
+			ret.selector = this.selector + "." + name + "(" + selector + ")";
+		}
+
+		// Return the newly-formed element set
+		return ret;
+	},
+
+	// Execute a callback for every element in the matched set.
+	// (You can seed the arguments with an array of args, but this is
+	// only used internally.)
+	each: function( callback, args ) {
+		return jQuery.each( this, callback, args );
+	},
+
+	ready: function( fn ) {
+		// Attach the listeners
+		jQuery.bindReady();
+
+		// Add the callback
+		readyList.done( fn );
+
+		return this;
+	},
+
+	eq: function( i ) {
+		return i === -1 ?
+			this.slice( i ) :
+			this.slice( i, +i + 1 );
+	},
+
+	first: function() {
+		return this.eq( 0 );
+	},
+
+	last: function() {
+		return this.eq( -1 );
+	},
+
+	slice: function() {
+		return this.pushStack( slice.apply( this, arguments ),
+			"slice", slice.call(arguments).join(",") );
+	},
+
+	map: function( callback ) {
+		return this.pushStack( jQuery.map(this, function( elem, i ) {
+			return callback.call( elem, i, elem );
+		}));
+	},
+
+	end: function() {
+		return this.prevObject || this.constructor(null);
+	},
+
+	// For internal use only.
+	// Behaves like an Array's method, not like a jQuery method.
+	push: push,
+	sort: [].sort,
+	splice: [].splice
+};
+
+// Give the init function the jQuery prototype for later instantiation
+jQuery.fn.init.prototype = jQuery.fn;
+
+jQuery.extend = jQuery.fn.extend = function() {
+	var options, name, src, copy, copyIsArray, clone,
+		target = arguments[0] || {},
+		i = 1,
+		length = arguments.length,
+		deep = false;
+
+	// Handle a deep copy situation
+	if ( typeof target === "boolean" ) {
+		deep = target;
+		target = arguments[1] || {};
+		// skip the boolean and the target
+		i = 2;
+	}
+
+	// Handle case when target is a string or something (possible in deep copy)
+	if ( typeof target !== "object" && !jQuery.isFunction(target) ) {
+		target = {};
+	}
+
+	// extend jQuery itself if only one argument is passed
+	if ( length === i ) {
+		target = this;
+		--i;
+	}
+
+	for ( ; i < length; i++ ) {
+		// Only deal with non-null/undefined values
+		if ( (options = arguments[ i ]) != null ) {
+			// Extend the base object
+			for ( name in options ) {
+				src = target[ name ];
+				copy = options[ name ];
+
+				// Prevent never-ending loop
+				if ( target === copy ) {
+					continue;
+				}
+
+				// Recurse if we're merging plain objects or arrays
+				if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) {
+					if ( copyIsArray ) {
+						copyIsArray = false;
+						clone = src && jQuery.isArray(src) ? src : [];
+
+					} else {
+						clone = src && jQuery.isPlainObject(src) ? src : {};
+					}
+
+					// Never move original objects, clone them
+					target[ name ] = jQuery.extend( deep, clone, copy );
+
+				// Don't bring in undefined values
+				} else if ( copy !== undefined ) {
+					target[ name ] = copy;
+				}
+			}
+		}
+	}
+
+	// Return the modified object
+	return target;
+};
+
+jQuery.extend({
+	noConflict: function( deep ) {
+		if ( window.$ === jQuery ) {
+			window.$ = _$;
+		}
+
+		if ( deep && window.jQuery === jQuery ) {
+			window.jQuery = _jQuery;
+		}
+
+		return jQuery;
+	},
+
+	// Is the DOM ready to be used? Set to true once it occurs.
+	isReady: false,
+
+	// A counter to track how many items to wait for before
+	// the ready event fires. See #6781
+	readyWait: 1,
+
+	// Hold (or release) the ready event
+	holdReady: function( hold ) {
+		if ( hold ) {
+			jQuery.readyWait++;
+		} else {
+			jQuery.ready( true );
+		}
+	},
+
+	// Handle when the DOM is ready
+	ready: function( wait ) {
+		// Either a released hold or an DOMready/load event and not yet ready
+		if ( (wait === true && !--jQuery.readyWait) || (wait !== true && !jQuery.isReady) ) {
+			// Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443).
+			if ( !document.body ) {
+				return setTimeout( jQuery.ready, 1 );
+			}
+
+			// Remember that the DOM is ready
+			jQuery.isReady = true;
+
+			// If a normal DOM Ready event fired, decrement, and wait if need be
+			if ( wait !== true && --jQuery.readyWait > 0 ) {
+				return;
+			}
+
+			// If there are functions bound, to execute
+			readyList.resolveWith( document, [ jQuery ] );
+
+			// Trigger any bound ready events
+			if ( jQuery.fn.trigger ) {
+				jQuery( document ).trigger( "ready" ).unbind( "ready" );
+			}
+		}
+	},
+
+	bindReady: function() {
+		if ( readyList ) {
+			return;
+		}
+
+		readyList = jQuery._Deferred();
+
+		// Catch cases where $(document).ready() is called after the
+		// browser event has already occurred.
+		if ( document.readyState === "complete" ) {
+			// Handle it asynchronously to allow scripts the opportunity to delay ready
+			return setTimeout( jQuery.ready, 1 );
+		}
+
+		// Mozilla, Opera and webkit nightlies currently support this event
+		if ( document.addEventListener ) {
+			// Use the handy event callback
+			document.addEventListener( "DOMContentLoaded", DOMContentLoaded, false );
+
+			// A fallback to window.onload, that will always work
+			window.addEventListener( "load", jQuery.ready, false );
+
+		// If IE event model is used
+		} else if ( document.attachEvent ) {
+			// ensure firing before onload,
+			// maybe late but safe also for iframes
+			document.attachEvent( "onreadystatechange", DOMContentLoaded );
+
+			// A fallback to window.onload, that will always work
+			window.attachEvent( "onload", jQuery.ready );
+
+			// If IE and not a frame
+			// continually check to see if the document is ready
+			var toplevel = false;
+
+			try {
+				toplevel = window.frameElement == null;
+			} catch(e) {}
+
+			if ( document.documentElement.doScroll && toplevel ) {
+				doScrollCheck();
+			}
+		}
+	},
+
+	// See test/unit/core.js for details concerning isFunction.
+	// Since version 1.3, DOM methods and functions like alert
+	// aren't supported. They return false on IE (#2968).
+	isFunction: function( obj ) {
+		return jQuery.type(obj) === "function";
+	},
+
+	isArray: Array.isArray || function( obj ) {
+		return jQuery.type(obj) === "array";
+	},
+
+	// A crude way of determining if an object is a window
+	isWindow: function( obj ) {
+		return obj && typeof obj === "object" && "setInterval" in obj;
+	},
+
+	isNaN: function( obj ) {
+		return obj == null || !rdigit.test( obj ) || isNaN( obj );
+	},
+
+	type: function( obj ) {
+		return obj == null ?
+			String( obj ) :
+			class2type[ toString.call(obj) ] || "object";
+	},
+
+	isPlainObject: function( obj ) {
+		// Must be an Object.
+		// Because of IE, we also have to check the presence of the constructor property.
+		// Make sure that DOM nodes and window objects don't pass through, as well
+		if ( !obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) {
+			return false;
+		}
+
+		// Not own constructor property must be Object
+		if ( obj.constructor &&
+			!hasOwn.call(obj, "constructor") &&
+			!hasOwn.call(obj.constructor.prototype, "isPrototypeOf") ) {
+			return false;
+		}
+
+		// Own properties are enumerated firstly, so to speed up,
+		// if last one is own, then all properties are own.
+
+		var key;
+		for ( key in obj ) {}
+
+		return key === undefined || hasOwn.call( obj, key );
+	},
+
+	isEmptyObject: function( obj ) {
+		for ( var name in obj ) {
+			return false;
+		}
+		return true;
+	},
+
+	error: function( msg ) {
+		throw msg;
+	},
+
+	parseJSON: function( data ) {
+		if ( typeof data !== "string" || !data ) {
+			return null;
+		}
+
+		// Make sure leading/trailing whitespace is removed (IE can't handle it)
+		data = jQuery.trim( data );
+
+		// Attempt to parse using the native JSON parser first
+		if ( window.JSON && window.JSON.parse ) {
+			return window.JSON.parse( data );
+		}
+
+		// Make sure the incoming data is actual JSON
+		// Logic borrowed from http://json.org/json2.js
+		if ( rvalidchars.test( data.replace( rvalidescape, "@" )
+			.replace( rvalidtokens, "]" )
+			.replace( rvalidbraces, "")) ) {
+
+			return (new Function( "return " + data ))();
+
+		}
+		jQuery.error( "Invalid JSON: " + data );
+	},
+
+	// Cross-browser xml parsing
+	// (xml & tmp used internally)
+	parseXML: function( data , xml , tmp ) {
+
+		if ( window.DOMParser ) { // Standard
+			tmp = new DOMParser();
+			xml = tmp.parseFromString( data , "text/xml" );
+		} else { // IE
+			xml = new ActiveXObject( "Microsoft.XMLDOM" );
+			xml.async = "false";
+			xml.loadXML( data );
+		}
+
+		tmp = xml.documentElement;
+
+		if ( ! tmp || ! tmp.nodeName || tmp.nodeName === "parsererror" ) {
+			jQuery.error( "Invalid XML: " + data );
+		}
+
+		return xml;
+	},
+
+	noop: function() {},
+
+	// Evaluates a script in a global context
+	// Workarounds based on findings by Jim Driscoll
+	// http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context
+	globalEval: function( data ) {
+		if ( data && rnotwhite.test( data ) ) {
+			// We use execScript on Internet Explorer
+			// We use an anonymous function so that context is window
+			// rather than jQuery in Firefox
+			( window.execScript || function( data ) {
+				window[ "eval" ].call( window, data );
+			} )( data );
+		}
+	},
+
+	// Converts a dashed string to camelCased string;
+	// Used by both the css and data modules
+	camelCase: function( string ) {
+		return string.replace( rdashAlpha, fcamelCase );
+	},
+
+	nodeName: function( elem, name ) {
+		return elem.nodeName && elem.nodeName.toUpperCase() === name.toUpperCase();
+	},
+
+	// args is for internal usage only
+	each: function( object, callback, args ) {
+		var name, i = 0,
+			length = object.length,
+			isObj = length === undefined || jQuery.isFunction( object );
+
+		if ( args ) {
+			if ( isObj ) {
+				for ( name in object ) {
+					if ( callback.apply( object[ name ], args ) === false ) {
+						break;
+					}
+				}
+			} else {
+				for ( ; i < length; ) {
+					if ( callback.apply( object[ i++ ], args ) === false ) {
+						break;
+					}
+				}
+			}
+
+		// A special, fast, case for the most common use of each
+		} else {
+			if ( isObj ) {
+				for ( name in object ) {
+					if ( callback.call( object[ name ], name, object[ name ] ) === false ) {
+						break;
+					}
+				}
+			} else {
+				for ( ; i < length; ) {
+					if ( callback.call( object[ i ], i, object[ i++ ] ) === false ) {
+						break;
+					}
+				}
+			}
+		}
+
+		return object;
+	},
+
+	// Use native String.trim function wherever possible
+	trim: trim ?
+		function( text ) {
+			return text == null ?
+				"" :
+				trim.call( text );
+		} :
+
+		// Otherwise use our own trimming functionality
+		function( text ) {
+			return text == null ?
+				"" :
+				text.toString().replace( trimLeft, "" ).replace( trimRight, "" );
+		},
+
+	// results is for internal usage only
+	makeArray: function( array, results ) {
+		var ret = results || [];
+
+		if ( array != null ) {
+			// The window, strings (and functions) also have 'length'
+			// The extra typeof function check is to prevent crashes
+			// in Safari 2 (See: #3039)
+			// Tweaked logic slightly to handle Blackberry 4.7 RegExp issues #6930
+			var type = jQuery.type( array );
+
+			if ( array.length == null || type === "string" || type === "function" || type === "regexp" || jQuery.isWindow( array ) ) {
+				push.call( ret, array );
+			} else {
+				jQuery.merge( ret, array );
+			}
+		}
+
+		return ret;
+	},
+
+	inArray: function( elem, array ) {
+
+		if ( indexOf ) {
+			return indexOf.call( array, elem );
+		}
+
+		for ( var i = 0, length = array.length; i < length; i++ ) {
+			if ( array[ i ] === elem ) {
+				return i;
+			}
+		}
+
+		return -1;
+	},
+
+	merge: function( first, second ) {
+		var i = first.length,
+			j = 0;
+
+		if ( typeof second.length === "number" ) {
+			for ( var l = second.length; j < l; j++ ) {
+				first[ i++ ] = second[ j ];
+			}
+
+		} else {
+			while ( second[j] !== undefined ) {
+				first[ i++ ] = second[ j++ ];
+			}
+		}
+
+		first.length = i;
+
+		return first;
+	},
+
+	grep: function( elems, callback, inv ) {
+		var ret = [], retVal;
+		inv = !!inv;
+
+		// Go through the array, only saving the items
+		// that pass the validator function
+		for ( var i = 0, length = elems.length; i < length; i++ ) {
+			retVal = !!callback( elems[ i ], i );
+			if ( inv !== retVal ) {
+				ret.push( elems[ i ] );
+			}
+		}
+
+		return ret;
+	},
+
+	// arg is for internal usage only
+	map: function( elems, callback, arg ) {
+		var value, key, ret = [],
+			i = 0,
+			length = elems.length,
+			// jquery objects are treated as arrays
+			isArray = elems instanceof jQuery || length !== undefined && typeof length === "number" && ( ( length > 0 && elems[ 0 ] && elems[ length -1 ] ) || length === 0 || jQuery.isArray( elems ) ) ;
+
+		// Go through the array, translating each of the items to their
+		if ( isArray ) {
+			for ( ; i < length; i++ ) {
+				value = callback( elems[ i ], i, arg );
+
+				if ( value != null ) {
+					ret[ ret.length ] = value;
+				}
+			}
+
+		// Go through every key on the object,
+		} else {
+			for ( key in elems ) {
+				value = callback( elems[ key ], key, arg );
+
+				if ( value != null ) {
+					ret[ ret.length ] = value;
+				}
+			}
+		}
+
+		// Flatten any nested arrays
+		return ret.concat.apply( [], ret );
+	},
+
+	// A global GUID counter for objects
+	guid: 1,
+
+	// Bind a function to a context, optionally partially applying any
+	// arguments.
+	proxy: function( fn, context ) {
+		if ( typeof context === "string" ) {
+			var tmp = fn[ context ];
+			context = fn;
+			fn = tmp;
+		}
+
+		// Quick check to determine if target is callable, in the spec
+		// this throws a TypeError, but we will just return undefined.
+		if ( !jQuery.isFunction( fn ) ) {
+			return undefined;
+		}
+
+		// Simulated bind
+		var args = slice.call( arguments, 2 ),
+			proxy = function() {
+				return fn.apply( context, args.concat( slice.call( arguments ) ) );
+			};
+
+		// Set the guid of unique handler to the same of original handler, so it can be removed
+		proxy.guid = fn.guid = fn.guid || proxy.guid || jQuery.guid++;
+
+		return proxy;
+	},
+
+	// Mutifunctional method to get and set values to a collection
+	// The value/s can optionally be executed if it's a function
+	access: function( elems, key, value, exec, fn, pass ) {
+		var length = elems.length;
+
+		// Setting many attributes
+		if ( typeof key === "object" ) {
+			for ( var k in key ) {
+				jQuery.access( elems, k, key[k], exec, fn, value );
+			}
+			return elems;
+		}
+
+		// Setting one attribute
+		if ( value !== undefined ) {
+			// Optionally, function values get executed if exec is true
+			exec = !pass && exec && jQuery.isFunction(value);
+
+			for ( var i = 0; i < length; i++ ) {
+				fn( elems[i], key, exec ? value.call( elems[i], i, fn( elems[i], key ) ) : value, pass );
+			}
+
+			return elems;
+		}
+
+		// Getting an attribute
+		return length ? fn( elems[0], key ) : undefined;
+	},
+
+	now: function() {
+		return (new Date()).getTime();
+	},
+
+	// Use of jQuery.browser is frowned upon.
+	// More details: http://docs.jquery.com/Utilities/jQuery.browser
+	uaMatch: function( ua ) {
+		ua = ua.toLowerCase();
+
+		var match = rwebkit.exec( ua ) ||
+			ropera.exec( ua ) ||
+			rmsie.exec( ua ) ||
+			ua.indexOf("compatible") < 0 && rmozilla.exec( ua ) ||
+			[];
+
+		return { browser: match[1] || "", version: match[2] || "0" };
+	},
+
+	sub: function() {
+		function jQuerySub( selector, context ) {
+			return new jQuerySub.fn.init( selector, context );
+		}
+		jQuery.extend( true, jQuerySub, this );
+		jQuerySub.superclass = this;
+		jQuerySub.fn = jQuerySub.prototype = this();
+		jQuerySub.fn.constructor = jQuerySub;
+		jQuerySub.sub = this.sub;
+		jQuerySub.fn.init = function init( selector, context ) {
+			if ( context && context instanceof jQuery && !(context instanceof jQuerySub) ) {
+				context = jQuerySub( context );
+			}
+
+			return jQuery.fn.init.call( this, selector, context, rootjQuerySub );
+		};
+		jQuerySub.fn.init.prototype = jQuerySub.fn;
+		var rootjQuerySub = jQuerySub(document);
+		return jQuerySub;
+	},
+
+	browser: {}
+});
+
+// Populate the class2type map
+jQuery.each("Boolean Number String Function Array Date RegExp Object".split(" "), function(i, name) {
+	class2type[ "[object " + name + "]" ] = name.toLowerCase();
+});
+
+browserMatch = jQuery.uaMatch( userAgent );
+if ( browserMatch.browser ) {
+	jQuery.browser[ browserMatch.browser ] = true;
+	jQuery.browser.version = browserMatch.version;
+}
+
+// Deprecated, use jQuery.browser.webkit instead
+if ( jQuery.browser.webkit ) {
+	jQuery.browser.safari = true;
+}
+
+// IE doesn't match non-breaking spaces with \s
+if ( rnotwhite.test( "\xA0" ) ) {
+	trimLeft = /^[\s\xA0]+/;
+	trimRight = /[\s\xA0]+$/;
+}
+
+// All jQuery objects should point back to these
+rootjQuery = jQuery(document);
+
+// Cleanup functions for the document ready method
+if ( document.addEventListener ) {
+	DOMContentLoaded = function() {
+		document.removeEventListener( "DOMContentLoaded", DOMContentLoaded, false );
+		jQuery.ready();
+	};
+
+} else if ( document.attachEvent ) {
+	DOMContentLoaded = function() {
+		// Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443).
+		if ( document.readyState === "complete" ) {
+			document.detachEvent( "onreadystatechange", DOMContentLoaded );
+			jQuery.ready();
+		}
+	};
+}
+
+// The DOM ready check for Internet Explorer
+function doScrollCheck() {
+	if ( jQuery.isReady ) {
+		return;
+	}
+
+	try {
+		// If IE is used, use the trick by Diego Perini
+		// http://javascript.nwbox.com/IEContentLoaded/
+		document.documentElement.doScroll("left");
+	} catch(e) {
+		setTimeout( doScrollCheck, 1 );
+		return;
+	}
+
+	// and execute any waiting functions
+	jQuery.ready();
+}
+
+return jQuery;
+
+})();
+
+
+var // Promise methods
+	promiseMethods = "done fail isResolved isRejected promise then always pipe".split( " " ),
+	// Static reference to slice
+	sliceDeferred = [].slice;
+
+jQuery.extend({
+	// Create a simple deferred (one callbacks list)
+	_Deferred: function() {
+		var // callbacks list
+			callbacks = [],
+			// stored [ context , args ]
+			fired,
+			// to avoid firing when already doing so
+			firing,
+			// flag to know if the deferred has been cancelled
+			cancelled,
+			// the deferred itself
+			deferred  = {
+
+				// done( f1, f2, ...)
+				done: function() {
+					if ( !cancelled ) {
+						var args = arguments,
+							i,
+							length,
+							elem,
+							type,
+							_fired;
+						if ( fired ) {
+							_fired = fired;
+							fired = 0;
+						}
+						for ( i = 0, length = args.length; i < length; i++ ) {
+							elem = args[ i ];
+							type = jQuery.type( elem );
+							if ( type === "array" ) {
+								deferred.done.apply( deferred, elem );
+							} else if ( type === "function" ) {
+								callbacks.push( elem );
+							}
+						}
+						if ( _fired ) {
+							deferred.resolveWith( _fired[ 0 ], _fired[ 1 ] );
+						}
+					}
+					return this;
+				},
+
+				// resolve with given context and args
+				resolveWith: function( context, args ) {
+					if ( !cancelled && !fired && !firing ) {
+						// make sure args are available (#8421)
+						args = args || [];
+						firing = 1;
+						try {
+							while( callbacks[ 0 ] ) {
+								callbacks.shift().apply( context, args );
+							}
+						}
+						finally {
+							fired = [ context, args ];
+							firing = 0;
+						}
+					}
+					return this;
+				},
+
+				// resolve with this as context and given arguments
+				resolve: function() {
+					deferred.resolveWith( this, arguments );
+					return this;
+				},
+
+				// Has this deferred been resolved?
+				isResolved: function() {
+					return !!( firing || fired );
+				},
+
+				// Cancel
+				cancel: function() {
+					cancelled = 1;
+					callbacks = [];
+					return this;
+				}
+			};
+
+		return deferred;
+	},
+
+	// Full fledged deferred (two callbacks list)
+	Deferred: function( func ) {
+		var deferred = jQuery._Deferred(),
+			failDeferred = jQuery._Deferred(),
+			promise;
+		// Add errorDeferred methods, then and promise
+		jQuery.extend( deferred, {
+			then: function( doneCallbacks, failCallbacks ) {
+				deferred.done( doneCallbacks ).fail( failCallbacks );
+				return this;
+			},
+			always: function() {
+				return deferred.done.apply( deferred, arguments ).fail.apply( this, arguments );
+			},
+			fail: failDeferred.done,
+			rejectWith: failDeferred.resolveWith,
+			reject: failDeferred.resolve,
+			isRejected: failDeferred.isResolved,
+			pipe: function( fnDone, fnFail ) {
+				return jQuery.Deferred(function( newDefer ) {
+					jQuery.each( {
+						done: [ fnDone, "resolve" ],
+						fail: [ fnFail, "reject" ]
+					}, function( handler, data ) {
+						var fn = data[ 0 ],
+							action = data[ 1 ],
+							returned;
+						if ( jQuery.isFunction( fn ) ) {
+							deferred[ handler ](function() {
+								returned = fn.apply( this, arguments );
+								if ( returned && jQuery.isFunction( returned.promise ) ) {
+									returned.promise().then( newDefer.resolve, newDefer.reject );
+								} else {
+									newDefer[ action ]( returned );
+								}
+							});
+						} else {
+							deferred[ handler ]( newDefer[ action ] );
+						}
+					});
+				}).promise();
+			},
+			// Get a promise for this deferred
+			// If obj is provided, the promise aspect is added to the object
+			promise: function( obj ) {
+				if ( obj == null ) {
+					if ( promise ) {
+						return promise;
+					}
+					promise = obj = {};
+				}
+				var i = promiseMethods.length;
+				while( i-- ) {
+					obj[ promiseMethods[i] ] = deferred[ promiseMethods[i] ];
+				}
+				return obj;
+			}
+		});
+		// Make sure only one callback list will be used
+		deferred.done( failDeferred.cancel ).fail( deferred.cancel );
+		// Unexpose cancel
+		delete deferred.cancel;
+		// Call given func if any
+		if ( func ) {
+			func.call( deferred, deferred );
+		}
+		return deferred;
+	},
+
+	// Deferred helper
+	when: function( firstParam ) {
+		var args = arguments,
+			i = 0,
+			length = args.length,
+			count = length,
+			deferred = length <= 1 && firstParam && jQuery.isFunction( firstParam.promise ) ?
+				firstParam :
+				jQuery.Deferred();
+		function resolveFunc( i ) {
+			return function( value ) {
+				args[ i ] = arguments.length > 1 ? sliceDeferred.call( arguments, 0 ) : value;
+				if ( !( --count ) ) {
+					// Strange bug in FF4:
+					// Values changed onto the arguments object sometimes end up as undefined values
+					// outside the $.when method. Cloning the object into a fresh array solves the issue
+					deferred.resolveWith( deferred, sliceDeferred.call( args, 0 ) );
+				}
+			};
+		}
+		if ( length > 1 ) {
+			for( ; i < length; i++ ) {
+				if ( args[ i ] && jQuery.isFunction( args[ i ].promise ) ) {
+					args[ i ].promise().then( resolveFunc(i), deferred.reject );
+				} else {
+					--count;
+				}
+			}
+			if ( !count ) {
+				deferred.resolveWith( deferred, args );
+			}
+		} else if ( deferred !== firstParam ) {
+			deferred.resolveWith( deferred, length ? [ firstParam ] : [] );
+		}
+		return deferred.promise();
+	}
+});
+
+
+
+jQuery.support = (function() {
+
+	var div = document.createElement( "div" ),
+		documentElement = document.documentElement,
+		all,
+		a,
+		select,
+		opt,
+		input,
+		marginDiv,
+		support,
+		fragment,
+		body,
+		testElementParent,
+		testElement,
+		testElementStyle,
+		tds,
+		events,
+		eventName,
+		i,
+		isSupported;
+
+	// Preliminary tests
+	div.setAttribute("className", "t");
+	div.innerHTML = "   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>";
+
+	all = div.getElementsByTagName( "*" );
+	a = div.getElementsByTagName( "a" )[ 0 ];
+
+	// Can't get basic test support
+	if ( !all || !all.length || !a ) {
+		return {};
+	}
+
+	// First batch of supports tests
+	select = document.createElement( "select" );
+	opt = select.appendChild( document.createElement("option") );
+	input = div.getElementsByTagName( "input" )[ 0 ];
+
+	support = {
+		// IE strips leading whitespace when .innerHTML is used
+		leadingWhitespace: ( div.firstChild.nodeType === 3 ),
+
+		// Make sure that tbody elements aren't automatically inserted
+		// IE will insert them into empty tables
+		tbody: !div.getElementsByTagName( "tbody" ).length,
+
+		// Make sure that link elements get serialized correctly by innerHTML
+		// This requires a wrapper element in IE
+		htmlSerialize: !!div.getElementsByTagName( "link" ).length,
+
+		// Get the style information from getAttribute
+		// (IE uses .cssText instead)
+		style: /top/.test( a.getAttribute("style") ),
+
+		// Make sure that URLs aren't manipulated
+		// (IE normalizes it by default)
+		hrefNormalized: ( a.getAttribute( "href" ) === "/a" ),
+
+		// Make sure that element opacity exists
+		// (IE uses filter instead)
+		// Use a regex to work around a WebKit issue. See #5145
+		opacity: /^0.55$/.test( a.style.opacity ),
+
+		// Verify style float existence
+		// (IE uses styleFloat instead of cssFloat)
+		cssFloat: !!a.style.cssFloat,
+
+		// Make sure that if no value is specified for a checkbox
+		// that it defaults to "on".
+		// (WebKit defaults to "" instead)
+		checkOn: ( input.value === "on" ),
+
+		// Make sure that a selected-by-default option has a working selected property.
+		// (WebKit defaults to false instead of true, IE too, if it's in an optgroup)
+		optSelected: opt.selected,
+
+		// Test setAttribute on camelCase class. If it works, we need attrFixes when doing get/setAttribute (ie6/7)
+		getSetAttribute: div.className !== "t",
+
+		// Will be defined later
+		submitBubbles: true,
+		changeBubbles: true,
+		focusinBubbles: false,
+		deleteExpando: true,
+		noCloneEvent: true,
+		inlineBlockNeedsLayout: false,
+		shrinkWrapBlocks: false,
+		reliableMarginRight: true
+	};
+
+	// Make sure checked status is properly cloned
+	input.checked = true;
+	support.noCloneChecked = input.cloneNode( true ).checked;
+
+	// Make sure that the options inside disabled selects aren't marked as disabled
+	// (WebKit marks them as disabled)
+	select.disabled = true;
+	support.optDisabled = !opt.disabled;
+
+	// Test to see if it's possible to delete an expando from an element
+	// Fails in Internet Explorer
+	try {
+		delete div.test;
+	} catch( e ) {
+		support.deleteExpando = false;
+	}
+
+	if ( !div.addEventListener && div.attachEvent && div.fireEvent ) {
+		div.attachEvent( "onclick", function() {
+			// Cloning a node shouldn't copy over any
+			// bound event handlers (IE does this)
+			support.noCloneEvent = false;
+		});
+		div.cloneNode( true ).fireEvent( "onclick" );
+	}
+
+	// Check if a radio maintains it's value
+	// after being appended to the DOM
+	input = document.createElement("input");
+	input.value = "t";
+	input.setAttribute("type", "radio");
+	support.radioValue = input.value === "t";
+
+	input.setAttribute("checked", "checked");
+	div.appendChild( input );
+	fragment = document.createDocumentFragment();
+	fragment.appendChild( div.firstChild );
+
+	// WebKit doesn't clone checked state correctly in fragments
+	support.checkClone = fragment.cloneNode( true ).cloneNode( true ).lastChild.checked;
+
+	div.innerHTML = "";
+
+	// Figure out if the W3C box model works as expected
+	div.style.width = div.style.paddingLeft = "1px";
+
+	body = document.getElementsByTagName( "body" )[ 0 ];
+	// We use our own, invisible, body unless the body is already present
+	// in which case we use a div (#9239)
+	testElement = document.createElement( body ? "div" : "body" );
+	testElementStyle = {
+		visibility: "hidden",
+		width: 0,
+		height: 0,
+		border: 0,
+		margin: 0
+	};
+	if ( body ) {
+		jQuery.extend( testElementStyle, {
+			position: "absolute",
+			left: -1000,
+			top: -1000
+		});
+	}
+	for ( i in testElementStyle ) {
+		testElement.style[ i ] = testElementStyle[ i ];
+	}
+	testElement.appendChild( div );
+	testElementParent = body || documentElement;
+	testElementParent.insertBefore( testElement, testElementParent.firstChild );
+
+	// Check if a disconnected checkbox will retain its checked
+	// value of true after appended to the DOM (IE6/7)
+	support.appendChecked = input.checked;
+
+	support.boxModel = div.offsetWidth === 2;
+
+	if ( "zoom" in div.style ) {
+		// Check if natively block-level elements act like inline-block
+		// elements when setting their display to 'inline' and giving
+		// them layout
+		// (IE < 8 does this)
+		div.style.display = "inline";
+		div.style.zoom = 1;
+		support.inlineBlockNeedsLayout = ( div.offsetWidth === 2 );
+
+		// Check if elements with layout shrink-wrap their children
+		// (IE 6 does this)
+		div.style.display = "";
+		div.innerHTML = "<div style='width:4px;'></div>";
+		support.shrinkWrapBlocks = ( div.offsetWidth !== 2 );
+	}
+
+	div.innerHTML = "<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";
+	tds = div.getElementsByTagName( "td" );
+
+	// Check if table cells still have offsetWidth/Height when they are set
+	// to display:none and there are still other visible table cells in a
+	// table row; if so, offsetWidth/Height are not reliable for use when
+	// determining if an element has been hidden directly using
+	// display:none (it is still safe to use offsets if a parent element is
+	// hidden; don safety goggles and see bug #4512 for more information).
+	// (only IE 8 fails this test)
+	isSupported = ( tds[ 0 ].offsetHeight === 0 );
+
+	tds[ 0 ].style.display = "";
+	tds[ 1 ].style.display = "none";
+
+	// Check if empty table cells still have offsetWidth/Height
+	// (IE < 8 fail this test)
+	support.reliableHiddenOffsets = isSupported && ( tds[ 0 ].offsetHeight === 0 );
+	div.innerHTML = "";
+
+	// Check if div with explicit width and no margin-right incorrectly
+	// gets computed margin-right based on width of container. For more
+	// info see bug #3333
+	// Fails in WebKit before Feb 2011 nightlies
+	// WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right
+	if ( document.defaultView && document.defaultView.getComputedStyle ) {
+		marginDiv = document.createElement( "div" );
+		marginDiv.style.width = "0";
+		marginDiv.style.marginRight = "0";
+		div.appendChild( marginDiv );
+		support.reliableMarginRight =
+			( parseInt( ( document.defaultView.getComputedStyle( marginDiv, null ) || { marginRight: 0 } ).marginRight, 10 ) || 0 ) === 0;
+	}
+
+	// Remove the body element we added
+	testElement.innerHTML = "";
+	testElementParent.removeChild( testElement );
+
+	// Technique from Juriy Zaytsev
+	// http://thinkweb2.com/projects/prototype/detecting-event-support-without-browser-sniffing/
+	// We only care about the case where non-standard event systems
+	// are used, namely in IE. Short-circuiting here helps us to
+	// avoid an eval call (in setAttribute) which can cause CSP
+	// to go haywire. See: https://developer.mozilla.org/en/Security/CSP
+	if ( div.attachEvent ) {
+		for( i in {
+			submit: 1,
+			change: 1,
+			focusin: 1
+		} ) {
+			eventName = "on" + i;
+			isSupported = ( eventName in div );
+			if ( !isSupported ) {
+				div.setAttribute( eventName, "return;" );
+				isSupported = ( typeof div[ eventName ] === "function" );
+			}
+			support[ i + "Bubbles" ] = isSupported;
+		}
+	}
+
+	// Null connected elements to avoid leaks in IE
+	testElement = fragment = select = opt = body = marginDiv = div = input = null;
+
+	return support;
+})();
+
+// Keep track of boxModel
+jQuery.boxModel = jQuery.support.boxModel;
+
+
+
+
+var rbrace = /^(?:\{.*\}|\[.*\])$/,
+	rmultiDash = /([a-z])([A-Z])/g;
+
+jQuery.extend({
+	cache: {},
+
+	// Please use with caution
+	uuid: 0,
+
+	// Unique for each copy of jQuery on the page
+	// Non-digits removed to match rinlinejQuery
+	expando: "jQuery" + ( jQuery.fn.jquery + Math.random() ).replace( /\D/g, "" ),
+
+	// The following elements throw uncatchable exceptions if you
+	// attempt to add expando properties to them.
+	noData: {
+		"embed": true,
+		// Ban all objects except for Flash (which handle expandos)
+		"object": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",
+		"applet": true
+	},
+
+	hasData: function( elem ) {
+		elem = elem.nodeType ? jQuery.cache[ elem[jQuery.expando] ] : elem[ jQuery.expando ];
+
+		return !!elem && !isEmptyDataObject( elem );
+	},
+
+	data: function( elem, name, data, pvt /* Internal Use Only */ ) {
+		if ( !jQuery.acceptData( elem ) ) {
+			return;
+		}
+
+		var internalKey = jQuery.expando, getByName = typeof name === "string", thisCache,
+
+			// We have to handle DOM nodes and JS objects differently because IE6-7
+			// can't GC object references properly across the DOM-JS boundary
+			isNode = elem.nodeType,
+
+			// Only DOM nodes need the global jQuery cache; JS object data is
+			// attached directly to the object so GC can occur automatically
+			cache = isNode ? jQuery.cache : elem,
+
+			// Only defining an ID for JS objects if its cache already exists allows
+			// the code to shortcut on the same path as a DOM node with no cache
+			id = isNode ? elem[ jQuery.expando ] : elem[ jQuery.expando ] && jQuery.expando;
+
+		// Avoid doing any more work than we need to when trying to get data on an
+		// object that has no data at all
+		if ( (!id || (pvt && id && !cache[ id ][ internalKey ])) && getByName && data === undefined ) {
+			return;
+		}
+
+		if ( !id ) {
+			// Only DOM nodes need a new unique ID for each element since their data
+			// ends up in the global cache
+			if ( isNode ) {
+				elem[ jQuery.expando ] = id = ++jQuery.uuid;
+			} else {
+				id = jQuery.expando;
+			}
+		}
+
+		if ( !cache[ id ] ) {
+			cache[ id ] = {};
+
+			// TODO: This is a hack for 1.5 ONLY. Avoids exposing jQuery
+			// metadata on plain JS objects when the object is serialized using
+			// JSON.stringify
+			if ( !isNode ) {
+				cache[ id ].toJSON = jQuery.noop;
+			}
+		}
+
+		// An object can be passed to jQuery.data instead of a key/value pair; this gets
+		// shallow copied over onto the existing cache
+		if ( typeof name === "object" || typeof name === "function" ) {
+			if ( pvt ) {
+				cache[ id ][ internalKey ] = jQuery.extend(cache[ id ][ internalKey ], name);
+			} else {
+				cache[ id ] = jQuery.extend(cache[ id ], name);
+			}
+		}
+
+		thisCache = cache[ id ];
+
+		// Internal jQuery data is stored in a separate object inside the object's data
+		// cache in order to avoid key collisions between internal data and user-defined
+		// data
+		if ( pvt ) {
+			if ( !thisCache[ internalKey ] ) {
+				thisCache[ internalKey ] = {};
+			}
+
+			thisCache = thisCache[ internalKey ];
+		}
+
+		if ( data !== undefined ) {
+			thisCache[ jQuery.camelCase( name ) ] = data;
+		}
+
+		// TODO: This is a hack for 1.5 ONLY. It will be removed in 1.6. Users should
+		// not attempt to inspect the internal events object using jQuery.data, as this
+		// internal data object is undocumented and subject to change.
+		if ( name === "events" && !thisCache[name] ) {
+			return thisCache[ internalKey ] && thisCache[ internalKey ].events;
+		}
+
+		return getByName ? 
+			// Check for both converted-to-camel and non-converted data property names
+			thisCache[ jQuery.camelCase( name ) ] || thisCache[ name ] :
+			thisCache;
+	},
+
+	removeData: function( elem, name, pvt /* Internal Use Only */ ) {
+		if ( !jQuery.acceptData( elem ) ) {
+			return;
+		}
+
+		var internalKey = jQuery.expando, isNode = elem.nodeType,
+
+			// See jQuery.data for more information
+			cache = isNode ? jQuery.cache : elem,
+
+			// See jQuery.data for more information
+			id = isNode ? elem[ jQuery.expando ] : jQuery.expando;
+
+		// If there is already no cache entry for this object, there is no
+		// purpose in continuing
+		if ( !cache[ id ] ) {
+			return;
+		}
+
+		if ( name ) {
+			var thisCache = pvt ? cache[ id ][ internalKey ] : cache[ id ];
+
+			if ( thisCache ) {
+				delete thisCache[ name ];
+
+				// If there is no data left in the cache, we want to continue
+				// and let the cache object itself get destroyed
+				if ( !isEmptyDataObject(thisCache) ) {
+					return;
+				}
+			}
+		}
+
+		// See jQuery.data for more information
+		if ( pvt ) {
+			delete cache[ id ][ internalKey ];
+
+			// Don't destroy the parent cache unless the internal data object
+			// had been the only thing left in it
+			if ( !isEmptyDataObject(cache[ id ]) ) {
+				return;
+			}
+		}
+
+		var internalCache = cache[ id ][ internalKey ];
+
+		// Browsers that fail expando deletion also refuse to delete expandos on
+		// the window, but it will allow it on all other JS objects; other browsers
+		// don't care
+		if ( jQuery.support.deleteExpando || cache != window ) {
+			delete cache[ id ];
+		} else {
+			cache[ id ] = null;
+		}
+
+		// We destroyed the entire user cache at once because it's faster than
+		// iterating through each key, but we need to continue to persist internal
+		// data if it existed
+		if ( internalCache ) {
+			cache[ id ] = {};
+			// TODO: This is a hack for 1.5 ONLY. Avoids exposing jQuery
+			// metadata on plain JS objects when the object is serialized using
+			// JSON.stringify
+			if ( !isNode ) {
+				cache[ id ].toJSON = jQuery.noop;
+			}
+
+			cache[ id ][ internalKey ] = internalCache;
+
+		// Otherwise, we need to eliminate the expando on the node to avoid
+		// false lookups in the cache for entries that no longer exist
+		} else if ( isNode ) {
+			// IE does not allow us to delete expando properties from nodes,
+			// nor does it have a removeAttribute function on Document nodes;
+			// we must handle all of these cases
+			if ( jQuery.support.deleteExpando ) {
+				delete elem[ jQuery.expando ];
+			} else if ( elem.removeAttribute ) {
+				elem.removeAttribute( jQuery.expando );
+			} else {
+				elem[ jQuery.expando ] = null;
+			}
+		}
+	},
+
+	// For internal use only.
+	_data: function( elem, name, data ) {
+		return jQuery.data( elem, name, data, true );
+	},
+
+	// A method for determining if a DOM node can handle the data expando
+	acceptData: function( elem ) {
+		if ( elem.nodeName ) {
+			var match = jQuery.noData[ elem.nodeName.toLowerCase() ];
+
+			if ( match ) {
+				return !(match === true || elem.getAttribute("classid") !== match);
+			}
+		}
+
+		return true;
+	}
+});
+
+jQuery.fn.extend({
+	data: function( key, value ) {
+		var data = null;
+
+		if ( typeof key === "undefined" ) {
+			if ( this.length ) {
+				data = jQuery.data( this[0] );
+
+				if ( this[0].nodeType === 1 ) {
+			    var attr = this[0].attributes, name;
+					for ( var i = 0, l = attr.length; i < l; i++ ) {
+						name = attr[i].name;
+
+						if ( name.indexOf( "data-" ) === 0 ) {
+							name = jQuery.camelCase( name.substring(5) );
+
+							dataAttr( this[0], name, data[ name ] );
+						}
+					}
+				}
+			}
+
+			return data;
+
+		} else if ( typeof key === "object" ) {
+			return this.each(function() {
+				jQuery.data( this, key );
+			});
+		}
+
+		var parts = key.split(".");
+		parts[1] = parts[1] ? "." + parts[1] : "";
+
+		if ( value === undefined ) {
+			data = this.triggerHandler("getData" + parts[1] + "!", [parts[0]]);
+
+			// Try to fetch any internally stored data first
+			if ( data === undefined && this.length ) {
+				data = jQuery.data( this[0], key );
+				data = dataAttr( this[0], key, data );
+			}
+
+			return data === undefined && parts[1] ?
+				this.data( parts[0] ) :
+				data;
+
+		} else {
+			return this.each(function() {
+				var $this = jQuery( this ),
+					args = [ parts[0], value ];
+
+				$this.triggerHandler( "setData" + parts[1] + "!", args );
+				jQuery.data( this, key, value );
+				$this.triggerHandler( "changeData" + parts[1] + "!", args );
+			});
+		}
+	},
+
+	removeData: function( key ) {
+		return this.each(function() {
+			jQuery.removeData( this, key );
+		});
+	}
+});
+
+function dataAttr( elem, key, data ) {
+	// If nothing was found internally, try to fetch any
+	// data from the HTML5 data-* attribute
+	if ( data === undefined && elem.nodeType === 1 ) {
+		var name = "data-" + key.replace( rmultiDash, "$1-$2" ).toLowerCase();
+
+		data = elem.getAttribute( name );
+
+		if ( typeof data === "string" ) {
+			try {
+				data = data === "true" ? true :
+				data === "false" ? false :
+				data === "null" ? null :
+				!jQuery.isNaN( data ) ? parseFloat( data ) :
+					rbrace.test( data ) ? jQuery.parseJSON( data ) :
+					data;
+			} catch( e ) {}
+
+			// Make sure we set the data so it isn't changed later
+			jQuery.data( elem, key, data );
+
+		} else {
+			data = undefined;
+		}
+	}
+
+	return data;
+}
+
+// TODO: This is a hack for 1.5 ONLY to allow objects with a single toJSON
+// property to be considered empty objects; this property always exists in
+// order to make sure JSON.stringify does not expose internal metadata
+function isEmptyDataObject( obj ) {
+	for ( var name in obj ) {
+		if ( name !== "toJSON" ) {
+			return false;
+		}
+	}
+
+	return true;
+}
+
+
+
+
+function handleQueueMarkDefer( elem, type, src ) {
+	var deferDataKey = type + "defer",
+		queueDataKey = type + "queue",
+		markDataKey = type + "mark",
+		defer = jQuery.data( elem, deferDataKey, undefined, true );
+	if ( defer &&
+		( src === "queue" || !jQuery.data( elem, queueDataKey, undefined, true ) ) &&
+		( src === "mark" || !jQuery.data( elem, markDataKey, undefined, true ) ) ) {
+		// Give room for hard-coded callbacks to fire first
+		// and eventually mark/queue something else on the element
+		setTimeout( function() {
+			if ( !jQuery.data( elem, queueDataKey, undefined, true ) &&
+				!jQuery.data( elem, markDataKey, undefined, true ) ) {
+				jQuery.removeData( elem, deferDataKey, true );
+				defer.resolve();
+			}
+		}, 0 );
+	}
+}
+
+jQuery.extend({
+
+	_mark: function( elem, type ) {
+		if ( elem ) {
+			type = (type || "fx") + "mark";
+			jQuery.data( elem, type, (jQuery.data(elem,type,undefined,true) || 0) + 1, true );
+		}
+	},
+
+	_unmark: function( force, elem, type ) {
+		if ( force !== true ) {
+			type = elem;
+			elem = force;
+			force = false;
+		}
+		if ( elem ) {
+			type = type || "fx";
+			var key = type + "mark",
+				count = force ? 0 : ( (jQuery.data( elem, key, undefined, true) || 1 ) - 1 );
+			if ( count ) {
+				jQuery.data( elem, key, count, true );
+			} else {
+				jQuery.removeData( elem, key, true );
+				handleQueueMarkDefer( elem, type, "mark" );
+			}
+		}
+	},
+
+	queue: function( elem, type, data ) {
+		if ( elem ) {
+			type = (type || "fx") + "queue";
+			var q = jQuery.data( elem, type, undefined, true );
+			// Speed up dequeue by getting out quickly if this is just a lookup
+			if ( data ) {
+				if ( !q || jQuery.isArray(data) ) {
+					q = jQuery.data( elem, type, jQuery.makeArray(data), true );
+				} else {
+					q.push( data );
+				}
+			}
+			return q || [];
+		}
+	},
+
+	dequeue: function( elem, type ) {
+		type = type || "fx";
+
+		var queue = jQuery.queue( elem, type ),
+			fn = queue.shift(),
+			defer;
+
+		// If the fx queue is dequeued, always remove the progress sentinel
+		if ( fn === "inprogress" ) {
+			fn = queue.shift();
+		}
+
+		if ( fn ) {
+			// Add a progress sentinel to prevent the fx queue from being
+			// automatically dequeued
+			if ( type === "fx" ) {
+				queue.unshift("inprogress");
+			}
+
+			fn.call(elem, function() {
+				jQuery.dequeue(elem, type);
+			});
+		}
+
+		if ( !queue.length ) {
+			jQuery.removeData( elem, type + "queue", true );
+			handleQueueMarkDefer( elem, type, "queue" );
+		}
+	}
+});
+
+jQuery.fn.extend({
+	queue: function( type, data ) {
+		if ( typeof type !== "string" ) {
+			data = type;
+			type = "fx";
+		}
+
+		if ( data === undefined ) {
+			return jQuery.queue( this[0], type );
+		}
+		return this.each(function() {
+			var queue = jQuery.queue( this, type, data );
+
+			if ( type === "fx" && queue[0] !== "inprogress" ) {
+				jQuery.dequeue( this, type );
+			}
+		});
+	},
+	dequeue: function( type ) {
+		return this.each(function() {
+			jQuery.dequeue( this, type );
+		});
+	},
+	// Based off of the plugin by Clint Helfers, with permission.
+	// http://blindsignals.com/index.php/2009/07/jquery-delay/
+	delay: function( time, type ) {
+		time = jQuery.fx ? jQuery.fx.speeds[time] || time : time;
+		type = type || "fx";
+
+		return this.queue( type, function() {
+			var elem = this;
+			setTimeout(function() {
+				jQuery.dequeue( elem, type );
+			}, time );
+		});
+	},
+	clearQueue: function( type ) {
+		return this.queue( type || "fx", [] );
+	},
+	// Get a promise resolved when queues of a certain type
+	// are emptied (fx is the type by default)
+	promise: function( type, object ) {
+		if ( typeof type !== "string" ) {
+			object = type;
+			type = undefined;
+		}
+		type = type || "fx";
+		var defer = jQuery.Deferred(),
+			elements = this,
+			i = elements.length,
+			count = 1,
+			deferDataKey = type + "defer",
+			queueDataKey = type + "queue",
+			markDataKey = type + "mark",
+			tmp;
+		function resolve() {
+			if ( !( --count ) ) {
+				defer.resolveWith( elements, [ elements ] );
+			}
+		}
+		while( i-- ) {
+			if (( tmp = jQuery.data( elements[ i ], deferDataKey, undefined, true ) ||
+					( jQuery.data( elements[ i ], queueDataKey, undefined, true ) ||
+						jQuery.data( elements[ i ], markDataKey, undefined, true ) ) &&
+					jQuery.data( elements[ i ], deferDataKey, jQuery._Deferred(), true ) )) {
+				count++;
+				tmp.done( resolve );
+			}
+		}
+		resolve();
+		return defer.promise();
+	}
+});
+
+
+
+
+var rclass = /[\n\t\r]/g,
+	rspace = /\s+/,
+	rreturn = /\r/g,
+	rtype = /^(?:button|input)$/i,
+	rfocusable = /^(?:button|input|object|select|textarea)$/i,
+	rclickable = /^a(?:rea)?$/i,
+	rboolean = /^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,
+	rinvalidChar = /\:|^on/,
+	formHook, boolHook;
+
+jQuery.fn.extend({
+	attr: function( name, value ) {
+		return jQuery.access( this, name, value, true, jQuery.attr );
+	},
+
+	removeAttr: function( name ) {
+		return this.each(function() {
+			jQuery.removeAttr( this, name );
+		});
+	},
+	
+	prop: function( name, value ) {
+		return jQuery.access( this, name, value, true, jQuery.prop );
+	},
+	
+	removeProp: function( name ) {
+		name = jQuery.propFix[ name ] || name;
+		return this.each(function() {
+			// try/catch handles cases where IE balks (such as removing a property on window)
+			try {
+				this[ name ] = undefined;
+				delete this[ name ];
+			} catch( e ) {}
+		});
+	},
+
+	addClass: function( value ) {
+		var classNames, i, l, elem,
+			setClass, c, cl;
+
+		if ( jQuery.isFunction( value ) ) {
+			return this.each(function( j ) {
+				jQuery( this ).addClass( value.call(this, j, this.className) );
+			});
+		}
+
+		if ( value && typeof value === "string" ) {
+			classNames = value.split( rspace );
+
+			for ( i = 0, l = this.length; i < l; i++ ) {
+				elem = this[ i ];
+
+				if ( elem.nodeType === 1 ) {
+					if ( !elem.className && classNames.length === 1 ) {
+						elem.className = value;
+
+					} else {
+						setClass = " " + elem.className + " ";
+
+						for ( c = 0, cl = classNames.length; c < cl; c++ ) {
+							if ( !~setClass.indexOf( " " + classNames[ c ] + " " ) ) {
+								setClass += classNames[ c ] + " ";
+							}
+						}
+						elem.className = jQuery.trim( setClass );
+					}
+				}
+			}
+		}
+
+		return this;
+	},
+
+	removeClass: function( value ) {
+		var classNames, i, l, elem, className, c, cl;
+
+		if ( jQuery.isFunction( value ) ) {
+			return this.each(function( j ) {
+				jQuery( this ).removeClass( value.call(this, j, this.className) );
+			});
+		}
+
+		if ( (value && typeof value === "string") || value === undefined ) {
+			classNames = (value || "").split( rspace );
+
+			for ( i = 0, l = this.length; i < l; i++ ) {
+				elem = this[ i ];
+
+				if ( elem.nodeType === 1 && elem.className ) {
+					if ( value ) {
+						className = (" " + elem.className + " ").replace( rclass, " " );
+						for ( c = 0, cl = classNames.length; c < cl; c++ ) {
+							className = className.replace(" " + classNames[ c ] + " ", " ");
+						}
+						elem.className = jQuery.trim( className );
+
+					} else {
+						elem.className = "";
+					}
+				}
+			}
+		}
+
+		return this;
+	},
+
+	toggleClass: function( value, stateVal ) {
+		var type = typeof value,
+			isBool = typeof stateVal === "boolean";
+
+		if ( jQuery.isFunction( value ) ) {
+			return this.each(function( i ) {
+				jQuery( this ).toggleClass( value.call(this, i, this.className, stateVal), stateVal );
+			});
+		}
+
+		return this.each(function() {
+			if ( type === "string" ) {
+				// toggle individual class names
+				var className,
+					i = 0,
+					self = jQuery( this ),
+					state = stateVal,
+					classNames = value.split( rspace );
+
+				while ( (className = classNames[ i++ ]) ) {
+					// check each className given, space seperated list
+					state = isBool ? state : !self.hasClass( className );
+					self[ state ? "addClass" : "removeClass" ]( className );
+				}
+
+			} else if ( type === "undefined" || type === "boolean" ) {
+				if ( this.className ) {
+					// store className if set
+					jQuery._data( this, "__className__", this.className );
+				}
+
+				// toggle whole className
+				this.className = this.className || value === false ? "" : jQuery._data( this, "__className__" ) || "";
+			}
+		});
+	},
+
+	hasClass: function( selector ) {
+		var className = " " + selector + " ";
+		for ( var i = 0, l = this.length; i < l; i++ ) {
+			if ( (" " + this[i].className + " ").replace(rclass, " ").indexOf( className ) > -1 ) {
+				return true;
+			}
+		}
+
+		return false;
+	},
+
+	val: function( value ) {
+		var hooks, ret,
+			elem = this[0];
+		
+		if ( !arguments.length ) {
+			if ( elem ) {
+				hooks = jQuery.valHooks[ elem.nodeName.toLowerCase() ] || jQuery.valHooks[ elem.type ];
+
+				if ( hooks && "get" in hooks && (ret = hooks.get( elem, "value" )) !== undefined ) {
+					return ret;
+				}
+
+				ret = elem.value;
+
+				return typeof ret === "string" ? 
+					// handle most common string cases
+					ret.replace(rreturn, "") : 
+					// handle cases where value is null/undef or number
+					ret == null ? "" : ret;
+			}
+
+			return undefined;
+		}
+
+		var isFunction = jQuery.isFunction( value );
+
+		return this.each(function( i ) {
+			var self = jQuery(this), val;
+
+			if ( this.nodeType !== 1 ) {
+				return;
+			}
+
+			if ( isFunction ) {
+				val = value.call( this, i, self.val() );
+			} else {
+				val = value;
+			}
+
+			// Treat null/undefined as ""; convert numbers to string
+			if ( val == null ) {
+				val = "";
+			} else if ( typeof val === "number" ) {
+				val += "";
+			} else if ( jQuery.isArray( val ) ) {
+				val = jQuery.map(val, function ( value ) {
+					return value == null ? "" : value + "";
+				});
+			}
+
+			hooks = jQuery.valHooks[ this.nodeName.toLowerCase() ] || jQuery.valHooks[ this.type ];
+
+			// If set returns undefined, fall back to normal setting
+			if ( !hooks || !("set" in hooks) || hooks.set( this, val, "value" ) === undefined ) {
+				this.value = val;
+			}
+		});
+	}
+});
+
+jQuery.extend({
+	valHooks: {
+		option: {
+			get: function( elem ) {
+				// attributes.value is undefined in Blackberry 4.7 but
+				// uses .value. See #6932
+				var val = elem.attributes.value;
+				return !val || val.specified ? elem.value : elem.text;
+			}
+		},
+		select: {
+			get: function( elem ) {
+				var value,
+					index = elem.selectedIndex,
+					values = [],
+					options = elem.options,
+					one = elem.type === "select-one";
+
+				// Nothing was selected
+				if ( index < 0 ) {
+					return null;
+				}
+
+				// Loop through all the selected options
+				for ( var i = one ? index : 0, max = one ? index + 1 : options.length; i < max; i++ ) {
+					var option = options[ i ];
+
+					// Don't return options that are disabled or in a disabled optgroup
+					if ( option.selected && (jQuery.support.optDisabled ? !option.disabled : option.getAttribute("disabled") === null) &&
+							(!option.parentNode.disabled || !jQuery.nodeName( option.parentNode, "optgroup" )) ) {
+
+						// Get the specific value for the option
+						value = jQuery( option ).val();
+
+						// We don't need an array for one selects
+						if ( one ) {
+							return value;
+						}
+
+						// Multi-Selects return an array
+						values.push( value );
+					}
+				}
+
+				// Fixes Bug #2551 -- select.val() broken in IE after form.reset()
+				if ( one && !values.length && options.length ) {
+					return jQuery( options[ index ] ).val();
+				}
+
+				return values;
+			},
+
+			set: function( elem, value ) {
+				var values = jQuery.makeArray( value );
+
+				jQuery(elem).find("option").each(function() {
+					this.selected = jQuery.inArray( jQuery(this).val(), values ) >= 0;
+				});
+
+				if ( !values.length ) {
+					elem.selectedIndex = -1;
+				}
+				return values;
+			}
+		}
+	},
+
+	attrFn: {
+		val: true,
+		css: true,
+		html: true,
+		text: true,
+		data: true,
+		width: true,
+		height: true,
+		offset: true
+	},
+	
+	attrFix: {
+		// Always normalize to ensure hook usage
+		tabindex: "tabIndex"
+	},
+	
+	attr: function( elem, name, value, pass ) {
+		var nType = elem.nodeType;
+		
+		// don't get/set attributes on text, comment and attribute nodes
+		if ( !elem || nType === 3 || nType === 8 || nType === 2 ) {
+			return undefined;
+		}
+
+		if ( pass && name in jQuery.attrFn ) {
+			return jQuery( elem )[ name ]( value );
+		}
+
+		// Fallback to prop when attributes are not supported
+		if ( !("getAttribute" in elem) ) {
+			return jQuery.prop( elem, name, value );
+		}
+
+		var ret, hooks,
+			notxml = nType !== 1 || !jQuery.isXMLDoc( elem );
+
+		// Normalize the name if needed
+		if ( notxml ) {
+			name = jQuery.attrFix[ name ] || name;
+
+			hooks = jQuery.attrHooks[ name ];
+
+			if ( !hooks ) {
+				// Use boolHook for boolean attributes
+				if ( rboolean.test( name ) ) {
+
+					hooks = boolHook;
+
+				// Use formHook for forms and if the name contains certain characters
+				} else if ( formHook && name !== "className" &&
+					(jQuery.nodeName( elem, "form" ) || rinvalidChar.test( name )) ) {
+
+					hooks = formHook;
+				}
+			}
+		}
+
+		if ( value !== undefined ) {
+
+			if ( value === null ) {
+				jQuery.removeAttr( elem, name );
+				return undefined;
+
+			} else if ( hooks && "set" in hooks && notxml && (ret = hooks.set( elem, value, name )) !== undefined ) {
+				return ret;
+
+			} else {
+				elem.setAttribute( name, "" + value );
+				return value;
+			}
+
+		} else if ( hooks && "get" in hooks && notxml && (ret = hooks.get( elem, name )) !== null ) {
+			return ret;
+
+		} else {
+
+			ret = elem.getAttribute( name );
+
+			// Non-existent attributes return null, we normalize to undefined
+			return ret === null ?
+				undefined :
+				ret;
+		}
+	},
+
+	removeAttr: function( elem, name ) {
+		var propName;
+		if ( elem.nodeType === 1 ) {
+			name = jQuery.attrFix[ name ] || name;
+		
+			if ( jQuery.support.getSetAttribute ) {
+				// Use removeAttribute in browsers that support it
+				elem.removeAttribute( name );
+			} else {
+				jQuery.attr( elem, name, "" );
+				elem.removeAttributeNode( elem.getAttributeNode( name ) );
+			}
+
+			// Set corresponding property to false for boolean attributes
+			if ( rboolean.test( name ) && (propName = jQuery.propFix[ name ] || name) in elem ) {
+				elem[ propName ] = false;
+			}
+		}
+	},
+
+	attrHooks: {
+		type: {
+			set: function( elem, value ) {
+				// We can't allow the type property to be changed (since it causes problems in IE)
+				if ( rtype.test( elem.nodeName ) && elem.parentNode ) {
+					jQuery.error( "type property can't be changed" );
+				} else if ( !jQuery.support.radioValue && value === "radio" && jQuery.nodeName(elem, "input") ) {
+					// Setting the type on a radio button after the value resets the value in IE6-9
+					// Reset value to it's default in case type is set after value
+					// This is for element creation
+					var val = elem.value;
+					elem.setAttribute( "type", value );
+					if ( val ) {
+						elem.value = val;
+					}
+					return value;
+				}
+			}
+		},
+		tabIndex: {
+			get: function( elem ) {
+				// elem.tabIndex doesn't always return the correct value when it hasn't been explicitly set
+				// http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/
+				var attributeNode = elem.getAttributeNode("tabIndex");
+
+				return attributeNode && attributeNode.specified ?
+					parseInt( attributeNode.value, 10 ) :
+					rfocusable.test( elem.nodeName ) || rclickable.test( elem.nodeName ) && elem.href ?
+						0 :
+						undefined;
+			}
+		},
+		// Use the value property for back compat
+		// Use the formHook for button elements in IE6/7 (#1954)
+		value: {
+			get: function( elem, name ) {
+				if ( formHook && jQuery.nodeName( elem, "button" ) ) {
+					return formHook.get( elem, name );
+				}
+				return name in elem ?
+					elem.value :
+					null;
+			},
+			set: function( elem, value, name ) {
+				if ( formHook && jQuery.nodeName( elem, "button" ) ) {
+					return formHook.set( elem, value, name );
+				}
+				// Does not return so that setAttribute is also used
+				elem.value = value;
+			}
+		}
+	},
+
+	propFix: {
+		tabindex: "tabIndex",
+		readonly: "readOnly",
+		"for": "htmlFor",
+		"class": "className",
+		maxlength: "maxLength",
+		cellspacing: "cellSpacing",
+		cellpadding: "cellPadding",
+		rowspan: "rowSpan",
+		colspan: "colSpan",
+		usemap: "useMap",
+		frameborder: "frameBorder",
+		contenteditable: "contentEditable"
+	},
+	
+	prop: function( elem, name, value ) {
+		var nType = elem.nodeType;
+
+		// don't get/set properties on text, comment and attribute nodes
+		if ( !elem || nType === 3 || nType === 8 || nType === 2 ) {
+			return undefined;
+		}
+
+		var ret, hooks,
+			notxml = nType !== 1 || !jQuery.isXMLDoc( elem );
+
+		if ( notxml ) {
+			// Fix name and attach hooks
+			name = jQuery.propFix[ name ] || name;
+			hooks = jQuery.propHooks[ name ];
+		}
+
+		if ( value !== undefined ) {
+			if ( hooks && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ) {
+				return ret;
+
+			} else {
+				return (elem[ name ] = value);
+			}
+
+		} else {
+			if ( hooks && "get" in hooks && (ret = hooks.get( elem, name )) !== undefined ) {
+				return ret;
+
+			} else {
+				return elem[ name ];
+			}
+		}
+	},
+	
+	propHooks: {}
+});
+
+// Hook for boolean attributes
+boolHook = {
+	get: function( elem, name ) {
+		// Align boolean attributes with corresponding properties
+		return jQuery.prop( elem, name ) ?
+			name.toLowerCase() :
+			undefined;
+	},
+	set: function( elem, value, name ) {
+		var propName;
+		if ( value === false ) {
+			// Remove boolean attributes when set to false
+			jQuery.removeAttr( elem, name );
+		} else {
+			// value is true since we know at this point it's type boolean and not false
+			// Set boolean attributes to the same name and set the DOM property
+			propName = jQuery.propFix[ name ] || name;
+			if ( propName in elem ) {
+				// Only set the IDL specifically if it already exists on the element
+				elem[ propName ] = true;
+			}
+
+			elem.setAttribute( name, name.toLowerCase() );
+		}
+		return name;
+	}
+};
+
+// IE6/7 do not support getting/setting some attributes with get/setAttribute
+if ( !jQuery.support.getSetAttribute ) {
+
+	// propFix is more comprehensive and contains all fixes
+	jQuery.attrFix = jQuery.propFix;
+	
+	// Use this for any attribute on a form in IE6/7
+	formHook = jQuery.attrHooks.name = jQuery.attrHooks.title = jQuery.valHooks.button = {
+		get: function( elem, name ) {
+			var ret;
+			ret = elem.getAttributeNode( name );
+			// Return undefined if nodeValue is empty string
+			return ret && ret.nodeValue !== "" ?
+				ret.nodeValue :
+				undefined;
+		},
+		set: function( elem, value, name ) {
+			// Check form objects in IE (multiple bugs related)
+			// Only use nodeValue if the attribute node exists on the form
+			var ret = elem.getAttributeNode( name );
+			if ( ret ) {
+				ret.nodeValue = value;
+				return value;
+			}
+		}
+	};
+
+	// Set width and height to auto instead of 0 on empty string( Bug #8150 )
+	// This is for removals
+	jQuery.each([ "width", "height" ], function( i, name ) {
+		jQuery.attrHooks[ name ] = jQuery.extend( jQuery.attrHooks[ name ], {
+			set: function( elem, value ) {
+				if ( value === "" ) {
+					elem.setAttribute( name, "auto" );
+					return value;
+				}
+			}
+		});
+	});
+}
+
+
+// Some attributes require a special call on IE
+if ( !jQuery.support.hrefNormalized ) {
+	jQuery.each([ "href", "src", "width", "height" ], function( i, name ) {
+		jQuery.attrHooks[ name ] = jQuery.extend( jQuery.attrHooks[ name ], {
+			get: function( elem ) {
+				var ret = elem.getAttribute( name, 2 );
+				return ret === null ? undefined : ret;
+			}
+		});
+	});
+}
+
+if ( !jQuery.support.style ) {
+	jQuery.attrHooks.style = {
+		get: function( elem ) {
+			// Return undefined in the case of empty string
+			// Normalize to lowercase since IE uppercases css property names
+			return elem.style.cssText.toLowerCase() || undefined;
+		},
+		set: function( elem, value ) {
+			return (elem.style.cssText = "" + value);
+		}
+	};
+}
+
+// Safari mis-reports the default selected property of an option
+// Accessing the parent's selectedIndex property fixes it
+if ( !jQuery.support.optSelected ) {
+	jQuery.propHooks.selected = jQuery.extend( jQuery.propHooks.selected, {
+		get: function( elem ) {
+			var parent = elem.parentNode;
+
+			if ( parent ) {
+				parent.selectedIndex;
+
+				// Make sure that it also works with optgroups, see #5701
+				if ( parent.parentNode ) {
+					parent.parentNode.selectedIndex;
+				}
+			}
+		}
+	});
+}
+
+// Radios and checkboxes getter/setter
+if ( !jQuery.support.checkOn ) {
+	jQuery.each([ "radio", "checkbox" ], function() {
+		jQuery.valHooks[ this ] = {
+			get: function( elem ) {
+				// Handle the case where in Webkit "" is returned instead of "on" if a value isn't specified
+				return elem.getAttribute("value") === null ? "on" : elem.value;
+			}
+		};
+	});
+}
+jQuery.each([ "radio", "checkbox" ], function() {
+	jQuery.valHooks[ this ] = jQuery.extend( jQuery.valHooks[ this ], {
+		set: function( elem, value ) {
+			if ( jQuery.isArray( value ) ) {
+				return (elem.checked = jQuery.inArray( jQuery(elem).val(), value ) >= 0);
+			}
+		}
+	});
+});
+
+
+
+
+var rnamespaces = /\.(.*)$/,
+	rformElems = /^(?:textarea|input|select)$/i,
+	rperiod = /\./g,
+	rspaces = / /g,
+	rescape = /[^\w\s.|`]/g,
+	fcleanup = function( nm ) {
+		return nm.replace(rescape, "\\$&");
+	};
+
+/*
+ * A number of helper functions used for managing events.
+ * Many of the ideas behind this code originated from
+ * Dean Edwards' addEvent library.
+ */
+jQuery.event = {
+
+	// Bind an event to an element
+	// Original by Dean Edwards
+	add: function( elem, types, handler, data ) {
+		if ( elem.nodeType === 3 || elem.nodeType === 8 ) {
+			return;
+		}
+
+		if ( handler === false ) {
+			handler = returnFalse;
+		} else if ( !handler ) {
+			// Fixes bug #7229. Fix recommended by jdalton
+			return;
+		}
+
+		var handleObjIn, handleObj;
+
+		if ( handler.handler ) {
+			handleObjIn = handler;
+			handler = handleObjIn.handler;
+		}
+
+		// Make sure that the function being executed has a unique ID
+		if ( !handler.guid ) {
+			handler.guid = jQuery.guid++;
+		}
+
+		// Init the element's event structure
+		var elemData = jQuery._data( elem );
+
+		// If no elemData is found then we must be trying to bind to one of the
+		// banned noData elements
+		if ( !elemData ) {
+			return;
+		}
+
+		var events = elemData.events,
+			eventHandle = elemData.handle;
+
+		if ( !events ) {
+			elemData.events = events = {};
+		}
+
+		if ( !eventHandle ) {
+			elemData.handle = eventHandle = function( e ) {
+				// Discard the second event of a jQuery.event.trigger() and
+				// when an event is called after a page has unloaded
+				return typeof jQuery !== "undefined" && (!e || jQuery.event.triggered !== e.type) ?
+					jQuery.event.handle.apply( eventHandle.elem, arguments ) :
+					undefined;
+			};
+		}
+
+		// Add elem as a property of the handle function
+		// This is to prevent a memory leak with non-native events in IE.
+		eventHandle.elem = elem;
+
+		// Handle multiple events separated by a space
+		// jQuery(...).bind("mouseover mouseout", fn);
+		types = types.split(" ");
+
+		var type, i = 0, namespaces;
+
+		while ( (type = types[ i++ ]) ) {
+			handleObj = handleObjIn ?
+				jQuery.extend({}, handleObjIn) :
+				{ handler: handler, data: data };
+
+			// Namespaced event handlers
+			if ( type.indexOf(".") > -1 ) {
+				namespaces = type.split(".");
+				type = namespaces.shift();
+				handleObj.namespace = namespaces.slice(0).sort().join(".");
+
+			} else {
+				namespaces = [];
+				handleObj.namespace = "";
+			}
+
+			handleObj.type = type;
+			if ( !handleObj.guid ) {
+				handleObj.guid = handler.guid;
+			}
+
+			// Get the current list of functions bound to this event
+			var handlers = events[ type ],
+				special = jQuery.event.special[ type ] || {};
+
+			// Init the event handler queue
+			if ( !handlers ) {
+				handlers = events[ type ] = [];
+
+				// Check for a special event handler
+				// Only use addEventListener/attachEvent if the special
+				// events handler returns false
+				if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) {
+					// Bind the global event handler to the element
+					if ( elem.addEventListener ) {
+						elem.addEventListener( type, eventHandle, false );
+
+					} else if ( elem.attachEvent ) {
+						elem.attachEvent( "on" + type, eventHandle );
+					}
+				}
+			}
+
+			if ( special.add ) {
+				special.add.call( elem, handleObj );
+
+				if ( !handleObj.handler.guid ) {
+					handleObj.handler.guid = handler.guid;
+				}
+			}
+
+			// Add the function to the element's handler list
+			handlers.push( handleObj );
+
+			// Keep track of which events have been used, for event optimization
+			jQuery.event.global[ type ] = true;
+		}
+
+		// Nullify elem to prevent memory leaks in IE
+		elem = null;
+	},
+
+	global: {},
+
+	// Detach an event or set of events from an element
+	remove: function( elem, types, handler, pos ) {
+		// don't do events on text and comment nodes
+		if ( elem.nodeType === 3 || elem.nodeType === 8 ) {
+			return;
+		}
+
+		if ( handler === false ) {
+			handler = returnFalse;
+		}
+
+		var ret, type, fn, j, i = 0, all, namespaces, namespace, special, eventType, handleObj, origType,
+			elemData = jQuery.hasData( elem ) && jQuery._data( elem ),
+			events = elemData && elemData.events;
+
+		if ( !elemData || !events ) {
+			return;
+		}
+
+		// types is actually an event object here
+		if ( types && types.type ) {
+			handler = types.handler;
+			types = types.type;
+		}
+
+		// Unbind all events for the element
+		if ( !types || typeof types === "string" && types.charAt(0) === "." ) {
+			types = types || "";
+
+			for ( type in events ) {
+				jQuery.event.remove( elem, type + types );
+			}
+
+			return;
+		}
+
+		// Handle multiple events separated by a space
+		// jQuery(...).unbind("mouseover mouseout", fn);
+		types = types.split(" ");
+
+		while ( (type = types[ i++ ]) ) {
+			origType = type;
+			handleObj = null;
+			all = type.indexOf(".") < 0;
+			namespaces = [];
+
+			if ( !all ) {
+				// Namespaced event handlers
+				namespaces = type.split(".");
+				type = namespaces.shift();
+
+				namespace = new RegExp("(^|\\.)" +
+					jQuery.map( namespaces.slice(0).sort(), fcleanup ).join("\\.(?:.*\\.)?") + "(\\.|$)");
+			}
+
+			eventType = events[ type ];
+
+			if ( !eventType ) {
+				continue;
+			}
+
+			if ( !handler ) {
+				for ( j = 0; j < eventType.length; j++ ) {
+					handleObj = eventType[ j ];
+
+					if ( all || namespace.test( handleObj.namespace ) ) {
+						jQuery.event.remove( elem, origType, handleObj.handler, j );
+						eventType.splice( j--, 1 );
+					}
+				}
+
+				continue;
+			}
+
+			special = jQuery.event.special[ type ] || {};
+
+			for ( j = pos || 0; j < eventType.length; j++ ) {
+				handleObj = eventType[ j ];
+
+				if ( handler.guid === handleObj.guid ) {
+					// remove the given handler for the given type
+					if ( all || namespace.test( handleObj.namespace ) ) {
+						if ( pos == null ) {
+							eventType.splice( j--, 1 );
+						}
+
+						if ( special.remove ) {
+							special.remove.call( elem, handleObj );
+						}
+					}
+
+					if ( pos != null ) {
+						break;
+					}
+				}
+			}
+
+			// remove generic event handler if no more handlers exist
+			if ( eventType.length === 0 || pos != null && eventType.length === 1 ) {
+				if ( !special.teardown || special.teardown.call( elem, namespaces ) === false ) {
+					jQuery.removeEvent( elem, type, elemData.handle );
+				}
+
+				ret = null;
+				delete events[ type ];
+			}
+		}
+
+		// Remove the expando if it's no longer used
+		if ( jQuery.isEmptyObject( events ) ) {
+			var handle = elemData.handle;
+			if ( handle ) {
+				handle.elem = null;
+			}
+
+			delete elemData.events;
+			delete elemData.handle;
+
+			if ( jQuery.isEmptyObject( elemData ) ) {
+				jQuery.removeData( elem, undefined, true );
+			}
+		}
+	},
+	
+	// Events that are safe to short-circuit if no handlers are attached.
+	// Native DOM events should not be added, they may have inline handlers.
+	customEvent: {
+		"getData": true,
+		"setData": true,
+		"changeData": true
+	},
+
+	trigger: function( event, data, elem, onlyHandlers ) {
+		// Event object or event type
+		var type = event.type || event,
+			namespaces = [],
+			exclusive;
+
+		if ( type.indexOf("!") >= 0 ) {
+			// Exclusive events trigger only for the exact event (no namespaces)
+			type = type.slice(0, -1);
+			exclusive = true;
+		}
+
+		if ( type.indexOf(".") >= 0 ) {
+			// Namespaced trigger; create a regexp to match event type in handle()
+			namespaces = type.split(".");
+			type = namespaces.shift();
+			namespaces.sort();
+		}
+
+		if ( (!elem || jQuery.event.customEvent[ type ]) && !jQuery.event.global[ type ] ) {
+			// No jQuery handlers for this event type, and it can't have inline handlers
+			return;
+		}
+
+		// Caller can pass in an Event, Object, or just an event type string
+		event = typeof event === "object" ?
+			// jQuery.Event object
+			event[ jQuery.expando ] ? event :
+			// Object literal
+			new jQuery.Event( type, event ) :
+			// Just the event type (string)
+			new jQuery.Event( type );
+
+		event.type = type;
+		event.exclusive = exclusive;
+		event.namespace = namespaces.join(".");
+		event.namespace_re = new RegExp("(^|\\.)" + namespaces.join("\\.(?:.*\\.)?") + "(\\.|$)");
+		
+		// triggerHandler() and global events don't bubble or run the default action
+		if ( onlyHandlers || !elem ) {
+			event.preventDefault();
+			event.stopPropagation();
+		}
+
+		// Handle a global trigger
+		if ( !elem ) {
+			// TODO: Stop taunting the data cache; remove global events and always attach to document
+			jQuery.each( jQuery.cache, function() {
+				// internalKey variable is just used to make it easier to find
+				// and potentially change this stuff later; currently it just
+				// points to jQuery.expando
+				var internalKey = jQuery.expando,
+					internalCache = this[ internalKey ];
+				if ( internalCache && internalCache.events && internalCache.events[ type ] ) {
+					jQuery.event.trigger( event, data, internalCache.handle.elem );
+				}
+			});
+			return;
+		}
+
+		// Don't do events on text and comment nodes
+		if ( elem.nodeType === 3 || elem.nodeType === 8 ) {
+			return;
+		}
+
+		// Clean up the event in case it is being reused
+		event.result = undefined;
+		event.target = elem;
+
+		// Clone any incoming data and prepend the event, creating the handler arg list
+		data = data != null ? jQuery.makeArray( data ) : [];
+		data.unshift( event );
+
+		var cur = elem,
+			// IE doesn't like method names with a colon (#3533, #8272)
+			ontype = type.indexOf(":") < 0 ? "on" + type : "";
+
+		// Fire event on the current element, then bubble up the DOM tree
+		do {
+			var handle = jQuery._data( cur, "handle" );
+
+			event.currentTarget = cur;
+			if ( handle ) {
+				handle.apply( cur, data );
+			}
+
+			// Trigger an inline bound script
+			if ( ontype && jQuery.acceptData( cur ) && cur[ ontype ] && cur[ ontype ].apply( cur, data ) === false ) {
+				event.result = false;
+				event.preventDefault();
+			}
+
+			// Bubble up to document, then to window
+			cur = cur.parentNode || cur.ownerDocument || cur === event.target.ownerDocument && window;
+		} while ( cur && !event.isPropagationStopped() );
+
+		// If nobody prevented the default action, do it now
+		if ( !event.isDefaultPrevented() ) {
+			var old,
+				special = jQuery.event.special[ type ] || {};
+
+			if ( (!special._default || special._default.call( elem.ownerDocument, event ) === false) &&
+				!(type === "click" && jQuery.nodeName( elem, "a" )) && jQuery.acceptData( elem ) ) {
+
+				// Call a native DOM method on the target with the same name name as the event.
+				// Can't use an .isFunction)() check here because IE6/7 fails that test.
+				// IE<9 dies on focus to hidden element (#1486), may want to revisit a try/catch.
+				try {
+					if ( ontype && elem[ type ] ) {
+						// Don't re-trigger an onFOO event when we call its FOO() method
+						old = elem[ ontype ];
+
+						if ( old ) {
+							elem[ ontype ] = null;
+						}
+
+						jQuery.event.triggered = type;
+						elem[ type ]();
+					}
+				} catch ( ieError ) {}
+
+				if ( old ) {
+					elem[ ontype ] = old;
+				}
+
+				jQuery.event.triggered = undefined;
+			}
+		}
+		
+		return event.result;
+	},
+
+	handle: function( event ) {
+		event = jQuery.event.fix( event || window.event );
+		// Snapshot the handlers list since a called handler may add/remove events.
+		var handlers = ((jQuery._data( this, "events" ) || {})[ event.type ] || []).slice(0),
+			run_all = !event.exclusive && !event.namespace,
+			args = Array.prototype.slice.call( arguments, 0 );
+
+		// Use the fix-ed Event rather than the (read-only) native event
+		args[0] = event;
+		event.currentTarget = this;
+
+		for ( var j = 0, l = handlers.length; j < l; j++ ) {
+			var handleObj = handlers[ j ];
+
+			// Triggered event must 1) be non-exclusive and have no namespace, or
+			// 2) have namespace(s) a subset or equal to those in the bound event.
+			if ( run_all || event.namespace_re.test( handleObj.namespace ) ) {
+				// Pass in a reference to the handler function itself
+				// So that we can later remove it
+				event.handler = handleObj.handler;
+				event.data = handleObj.data;
+				event.handleObj = handleObj;
+
+				var ret = handleObj.handler.apply( this, args );
+
+				if ( ret !== undefined ) {
+					event.result = ret;
+					if ( ret === false ) {
+						event.preventDefault();
+						event.stopPropagation();
+					}
+				}
+
+				if ( event.isImmediatePropagationStopped() ) {
+					break;
+				}
+			}
+		}
+		return event.result;
+	},
+
+	props: "altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
+
+	fix: function( event ) {
+		if ( event[ jQuery.expando ] ) {
+			return event;
+		}
+
+		// store a copy of the original event object
+		// and "clone" to set read-only properties
+		var originalEvent = event;
+		event = jQuery.Event( originalEvent );
+
+		for ( var i = this.props.length, prop; i; ) {
+			prop = this.props[ --i ];
+			event[ prop ] = originalEvent[ prop ];
+		}
+
+		// Fix target property, if necessary
+		if ( !event.target ) {
+			// Fixes #1925 where srcElement might not be defined either
+			event.target = event.srcElement || document;
+		}
+
+		// check if target is a textnode (safari)
+		if ( event.target.nodeType === 3 ) {
+			event.target = event.target.parentNode;
+		}
+
+		// Add relatedTarget, if necessary
+		if ( !event.relatedTarget && event.fromElement ) {
+			event.relatedTarget = event.fromElement === event.target ? event.toElement : event.fromElement;
+		}
+
+		// Calculate pageX/Y if missing and clientX/Y available
+		if ( event.pageX == null && event.clientX != null ) {
+			var eventDocument = event.target.ownerDocument || document,
+				doc = eventDocument.documentElement,
+				body = eventDocument.body;
+
+			event.pageX = event.clientX + (doc && doc.scrollLeft || body && body.scrollLeft || 0) - (doc && doc.clientLeft || body && body.clientLeft || 0);
+			event.pageY = event.clientY + (doc && doc.scrollTop  || body && body.scrollTop  || 0) - (doc && doc.clientTop  || body && body.clientTop  || 0);
+		}
+
+		// Add which for key events
+		if ( event.which == null && (event.charCode != null || event.keyCode != null) ) {
+			event.which = event.charCode != null ? event.charCode : event.keyCode;
+		}
+
+		// Add metaKey to non-Mac browsers (use ctrl for PC's and Meta for Macs)
+		if ( !event.metaKey && event.ctrlKey ) {
+			event.metaKey = event.ctrlKey;
+		}
+
+		// Add which for click: 1 === left; 2 === middle; 3 === right
+		// Note: button is not normalized, so don't use it
+		if ( !event.which && event.button !== undefined ) {
+			event.which = (event.button & 1 ? 1 : ( event.button & 2 ? 3 : ( event.button & 4 ? 2 : 0 ) ));
+		}
+
+		return event;
+	},
+
+	// Deprecated, use jQuery.guid instead
+	guid: 1E8,
+
+	// Deprecated, use jQuery.proxy instead
+	proxy: jQuery.proxy,
+
+	special: {
+		ready: {
+			// Make sure the ready event is setup
+			setup: jQuery.bindReady,
+			teardown: jQuery.noop
+		},
+
+		live: {
+			add: function( handleObj ) {
+				jQuery.event.add( this,
+					liveConvert( handleObj.origType, handleObj.selector ),
+					jQuery.extend({}, handleObj, {handler: liveHandler, guid: handleObj.handler.guid}) );
+			},
+
+			remove: function( handleObj ) {
+				jQuery.event.remove( this, liveConvert( handleObj.origType, handleObj.selector ), handleObj );
+			}
+		},
+
+		beforeunload: {
+			setup: function( data, namespaces, eventHandle ) {
+				// We only want to do this special case on windows
+				if ( jQuery.isWindow( this ) ) {
+					this.onbeforeunload = eventHandle;
+				}
+			},
+
+			teardown: function( namespaces, eventHandle ) {
+				if ( this.onbeforeunload === eventHandle ) {
+					this.onbeforeunload = null;
+				}
+			}
+		}
+	}
+};
+
+jQuery.removeEvent = document.removeEventListener ?
+	function( elem, type, handle ) {
+		if ( elem.removeEventListener ) {
+			elem.removeEventListener( type, handle, false );
+		}
+	} :
+	function( elem, type, handle ) {
+		if ( elem.detachEvent ) {
+			elem.detachEvent( "on" + type, handle );
+		}
+	};
+
+jQuery.Event = function( src, props ) {
+	// Allow instantiation without the 'new' keyword
+	if ( !this.preventDefault ) {
+		return new jQuery.Event( src, props );
+	}
+
+	// Event object
+	if ( src && src.type ) {
+		this.originalEvent = src;
+		this.type = src.type;
+
+		// Events bubbling up the document may have been marked as prevented
+		// by a handler lower down the tree; reflect the correct value.
+		this.isDefaultPrevented = (src.defaultPrevented || src.returnValue === false ||
+			src.getPreventDefault && src.getPreventDefault()) ? returnTrue : returnFalse;
+
+	// Event type
+	} else {
+		this.type = src;
+	}
+
+	// Put explicitly provided properties onto the event object
+	if ( props ) {
+		jQuery.extend( this, props );
+	}
+
+	// timeStamp is buggy for some events on Firefox(#3843)
+	// So we won't rely on the native value
+	this.timeStamp = jQuery.now();
+
+	// Mark it as fixed
+	this[ jQuery.expando ] = true;
+};
+
+function returnFalse() {
+	return false;
+}
+function returnTrue() {
+	return true;
+}
+
+// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding
+// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html
+jQuery.Event.prototype = {
+	preventDefault: function() {
+		this.isDefaultPrevented = returnTrue;
+
+		var e = this.originalEvent;
+		if ( !e ) {
+			return;
+		}
+
+		// if preventDefault exists run it on the original event
+		if ( e.preventDefault ) {
+			e.preventDefault();
+
+		// otherwise set the returnValue property of the original event to false (IE)
+		} else {
+			e.returnValue = false;
+		}
+	},
+	stopPropagation: function() {
+		this.isPropagationStopped = returnTrue;
+
+		var e = this.originalEvent;
+		if ( !e ) {
+			return;
+		}
+		// if stopPropagation exists run it on the original event
+		if ( e.stopPropagation ) {
+			e.stopPropagation();
+		}
+		// otherwise set the cancelBubble property of the original event to true (IE)
+		e.cancelBubble = true;
+	},
+	stopImmediatePropagation: function() {
+		this.isImmediatePropagationStopped = returnTrue;
+		this.stopPropagation();
+	},
+	isDefaultPrevented: returnFalse,
+	isPropagationStopped: returnFalse,
+	isImmediatePropagationStopped: returnFalse
+};
+
+// Checks if an event happened on an element within another element
+// Used in jQuery.event.special.mouseenter and mouseleave handlers
+var withinElement = function( event ) {
+
+	// Check if mouse(over|out) are still within the same parent element
+	var related = event.relatedTarget,
+		inside = false,
+		eventType = event.type;
+
+

<TRUNCATED>