incubator-deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lut...@apache.org
Subject svn commit: r1027303 [5/14] - in /incubator/deltacloud/trunk/site: ./ bin/ deltacloud.org/ deltacloud.org/content/ deltacloud.org/content/Scripts/ deltacloud.org/content/css/ deltacloud.org/content/css/blueprint/ deltacloud.org/content/css/blueprint/pl...
Date Mon, 25 Oct 2010 23:27:05 GMT
Propchange: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/backup/callout-bg.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/backup/definition.png
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/content/styles/backup/definition.png?rev=1027303&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/backup/definition.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/backup/introbg.png
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/content/styles/backup/introbg.png?rev=1027303&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/backup/introbg.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/backup/introbg2.png
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/content/styles/backup/introbg2.png?rev=1027303&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/backup/introbg2.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/backup/logo-banner.png
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/content/styles/backup/logo-banner.png?rev=1027303&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/backup/logo-banner.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/backup/logo.png
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/content/styles/backup/logo.png?rev=1027303&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/backup/logo.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/backup/navbarbg.png
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/content/styles/backup/navbarbg.png?rev=1027303&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/backup/navbarbg.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/backup/topbar-bg.png
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/content/styles/backup/topbar-bg.png?rev=1027303&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/backup/topbar-bg.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/backup/topbar-bg_2.png
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/content/styles/backup/topbar-bg_2.png?rev=1027303&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/backup/topbar-bg_2.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/basic-relationships.png
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/content/styles/basic-relationships.png?rev=1027303&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/basic-relationships.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/bullet.png
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/content/styles/bullet.png?rev=1027303&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/bullet.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/colbg.png
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/content/styles/colbg.png?rev=1027303&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/colbg.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/dcloud-soa-1.png
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/content/styles/dcloud-soa-1.png?rev=1027303&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/dcloud-soa-1.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/dcloud.css
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/content/styles/dcloud.css?rev=1027303&view=auto
==============================================================================
--- incubator/deltacloud/trunk/site/deltacloud.org/content/styles/dcloud.css (added)
+++ incubator/deltacloud/trunk/site/deltacloud.org/content/styles/dcloud.css Mon Oct 25 23:26:58 2010
@@ -0,0 +1,373 @@
+#wiki {
+  margin-top: 2em;
+}
+
+#wiki div.panel, #wikiicon {
+  border-top: 2px solid #cccccc;
+}
+
+
+#wikiicon {
+  padding: 1em;
+  text-align: right;
+}
+
+#wikiicon img {
+  border: 0px;
+}
+
+#wiki h2, #wiki ul.menu, #wiki div.info, #wiki ul.menu li {
+  display: inline;
+  border: 0px;
+  padding: 0px;
+  margin: 0px;
+}
+
+#wiki h2 {
+  font-size: 1em;
+  font-weight: bold;
+}
+
+#wiki ul.menu {
+  padding-left: 1em;
+}
+
+#wiki ul.menu li a {
+  font-size: 1.0em;
+  text-decoration: none;
+  color: inherit;
+}
+
+
+.container {
+  margin: 0 auto;
+  width: 960px;
+}
+
+body {
+  background: #24292b;
+}
+
+#main {
+  background: #FFF;
+  padding: 0 0 4em 0;
+}
+
+#header {
+  padding: 0;
+  margin: 0;
+  height: 106px;
+  width: 100%;
+  background: #6498c5 url(topbar-bg.png) no-repeat center;
+  border: 0px;
+}
+
+#headerLogo {
+  display:block;
+  padding-top: 24px;
+}
+
+#headerLogo h1{
+  height: 37px;
+  width: 600px;
+  margin: 8px 0 0 0;
+  text-indent:-9999px;
+  background: url(logo-wide.png) no-repeat;
+  display: inline-block;
+}
+
+#headerLogo a {
+  text-decoration: none;
+}
+
+#headerLogo a:focus {
+  outline: none;
+}
+
+
+#headerSearch {
+  position: absolute;
+  top: 0px;
+  right: 0px;
+  padding: 2em;
+}
+
+#headerSearch input {
+  border: 1px solid #999999;
+  color: #999999;
+  background: white;
+  padding: 3px;
+  font-size: 1em;
+}
+
+#headerSearch #submit {
+  border: 1px solid #999999;
+  background: #eeeeee;
+  color: black;
+  padding: 3px;
+  font-size: 1em;
+}
+
+
+#content-deltacloud {
+  padding: 2em 0 0 0;
+}
+
+/*=====  Main nav styles  =====*/
+
+#navigation {
+  background: #24292b url(navbarbg.png) repeat-x;
+  border-bottom:1px solid #d1dee4;
+  border-top:1px solid #074665;
+}
+
+#menu {
+  padding: 9px 0;
+}
+
+
+#menu li, #menu li div, #submenu li, #submenu li div {
+  display: inline;
+}
+
+#menu ul, #submenu ul {
+  padding: 0;
+  margin: 0;
+  list-style-type:none;
+}
+
+#menu ul li {
+  margin-right:6px;
+  font-size: 1.1em;
+}
+
+
+#menu ul li a, #menu ul li span {
+  text-decoration: inherit;
+  color: #d7d8d8;
+  font-weight: 600;
+  letter-spacing: -0.02em;
+  outline: none;
+}
+
+#menu ul li a:hover {
+  background:#5a1c1d none repeat scroll 0 0;
+  -moz-border-radius: 3px;
+  -webkit-border-radius: 3px;
+
+}
+
+#menu ul.l0 li .active {
+  color:#FFF;
+  background: #0d84bd;
+  padding: 6px 12px;
+  -moz-border-radius: 3px;
+  -webkit-border-radius: 3px;
+}
+
+#menu ul.l0 li .inactive {
+  padding: 6px 12px;
+}
+
+#subnavigation {
+  padding: 9px 0;
+  background: url(subnav-bg.png) repeat-x top #e4ebef;
+}
+
+#submenu ul li {
+  margin-right:3px;
+  font-size: 0.9em;
+  font-weight: 600;
+}
+
+
+#submenu ul li a, #submenu ul li span {
+  text-decoration: inherit;
+  color: #4e81a1;
+  outline: none;
+}
+
+#submenu ul li a:hover {
+  color: #ba3335;
+}
+
+#submenu ul.l1 li .active {
+  color:#333;
+  padding: 12px 9px;
+  background: url("subnav-pointer.png") no-repeat scroll 50% 10% transparent;
+}
+
+#submenu ul.l1 li .inactive {
+  padding: 12px 9px;
+}
+/*===== End of main nav styles  ======*/
+
+
+pre {
+  font-size: 1.2em;
+  font-weight: bold;
+  border: 1px dashed #a4c3d4;
+  background: #e4ebef;
+  color: #000;
+  padding: 1em;
+  margin-bottom: 1em;
+}
+
+code {
+  font-size: 1.2em;
+  font-weight: bold;
+}
+
+pre > code {
+  font-size: 1em;
+}
+
+a {
+  color: #026fbd;
+}
+
+a:hover {
+  color: #ba3335;
+  text-decoration: none;
+}
+
+
+h1 a, h2 a, h3 a, h4 a, h5 a {
+  color: inherit;
+  text-decoration: inherit;
+}
+
+li > h1 a, li > h2 a, li > h3 a, li > h4 a, li > h5 a { /* When headings are links that are in a list, they will be styled as links. */
+  color: #026fbd;
+  text-decoration: inherit;
+}
+
+
+#changelog .author {
+  color: #3c857c;
+  font-weight: bold;
+}
+
+p.image {
+  text-align: center;
+  border: none;
+}
+
+#content-deltacloud ul {
+  list-style-image: url(bullet.png)
+}
+
+/*=====  Footer styles  =====*/
+
+#footer-deltacloud {
+  clear: both;
+  position: relative;
+  border: 0px;
+  background: #24292b;
+  height: 180px;
+}
+
+/* This is hidden from IE <= 6 because it can't do transparency */
+body > #footer-deltacloud {
+  background: #24292b url(footer_pattern.png) repeat-x;
+}
+
+/* This is hidden from IE <= 6 because it can't do transparency */
+head:first-child+body #projects dl {
+  background: url(footer_corner.png) no-repeat;
+}
+
+#footer-deltacloud p {
+  top: 0px;
+  left: 0px;
+  margin: 0px;
+  border: 0px;
+  width: 220px;
+  float: left;
+}
+
+#footer-deltacloud p a img {
+  border: 0px;
+}
+
+
+#projects dl {
+  margin: 0px;
+  height: 180px;
+  position: relative;
+  top: 0px;
+  left: 0px;
+}
+
+
+#projects #p1, #p2, #p3 {
+  width: 240px;
+  float: left;
+}
+
+#projects dl dd  {
+  display: block;
+  padding: .5em 1em 0;
+  color: #ccc;
+  font-size: .95em;
+}
+
+#projects a {
+  display: block;
+  padding-left: 1em;
+  padding-top: 1em;
+  color: white;
+  text-decoration: inherit;
+  font-weight: bold;
+}
+
+table#providers {
+  margin-bottom: 1em;
+  border: 1px solid #efefef;
+  padding: 1em;
+  width: 100%;
+}
+
+table#providers th {
+  font-weight: normal;
+  padding: 0.5em;
+  vertical-align: top;
+  color: #242829;
+  background: #E4EBEF;
+}
+
+table#providers th.emptycell {
+  background: #FFF;
+}
+
+table#providers td {
+  padding: 0.5em;
+  width: 10%;
+  height: 3em;
+  background: #E4EBEF;
+}
+
+table#providers td.provider  {
+  font-weight: bold;
+  color: #242829;
+  padding: 0 0.5em;
+}
+
+table#providers td.provider span {
+  color: #738389;
+  font-style: italic;
+  font-weight: normal;
+  font-size: .95em;
+}
+
+table#providers td.not-supported {
+  text-align: center;
+  background: #E4EBEF;
+  color: #738389;
+}
+
+table#providers td.supported {
+  text-align: center;
+  background: #a4c3d4;
+  color: #242829;
+}

Added: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/debug.css
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/content/styles/debug.css?rev=1027303&view=auto
==============================================================================
--- incubator/deltacloud/trunk/site/deltacloud.org/content/styles/debug.css (added)
+++ incubator/deltacloud/trunk/site/deltacloud.org/content/styles/debug.css Mon Oct 25 23:26:58 2010
@@ -0,0 +1,6 @@
+
+* {
+  border: 1px solid black !IMPORTANT;
+  margin: 1px;
+  padding: 1px;
+}

Added: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/default-debug.css
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/content/styles/default-debug.css?rev=1027303&view=auto
==============================================================================
--- incubator/deltacloud/trunk/site/deltacloud.org/content/styles/default-debug.css (added)
+++ incubator/deltacloud/trunk/site/deltacloud.org/content/styles/default-debug.css Mon Oct 25 23:26:58 2010
@@ -0,0 +1,2 @@
+@import url(generic.css);
+@import url(debug.css);

Added: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/default.css
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/content/styles/default.css?rev=1027303&view=auto
==============================================================================
--- incubator/deltacloud/trunk/site/deltacloud.org/content/styles/default.css (added)
+++ incubator/deltacloud/trunk/site/deltacloud.org/content/styles/default.css Mon Oct 25 23:26:58 2010
@@ -0,0 +1,2 @@
+@import url(generic.css);
+@import url(dcloud.css);

Added: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/diagram-soa.png
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/content/styles/diagram-soa.png?rev=1027303&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/diagram-soa.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/et_logo.png
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/content/styles/et_logo.png?rev=1027303&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/et_logo.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/fade.png
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/content/styles/fade.png?rev=1027303&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/fade.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/favicon.ico
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/content/styles/favicon.ico?rev=1027303&view=auto
==============================================================================
Files incubator/deltacloud/trunk/site/deltacloud.org/content/styles/favicon.ico (added) and incubator/deltacloud/trunk/site/deltacloud.org/content/styles/favicon.ico Mon Oct 25 23:26:58 2010 differ

Added: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/firstpage.css
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/content/styles/firstpage.css?rev=1027303&view=auto
==============================================================================
--- incubator/deltacloud/trunk/site/deltacloud.org/content/styles/firstpage.css (added)
+++ incubator/deltacloud/trunk/site/deltacloud.org/content/styles/firstpage.css Mon Oct 25 23:26:58 2010
@@ -0,0 +1,121 @@
+/*  Styles for the first page are here.  This page uses a different layout
+than the rest of the site */
+
+#main {
+  background: #dce9e7;
+}
+
+#frontpageHeader {
+  background: #b9c5cc url(introbg.png) no-repeat center;
+  height:200px;
+  position: relative;
+  overflow:hidden;
+  border-bottom: 8px solid #F8FCFB;
+}
+
+#frontpage {
+  margin: 0 340px 0 0;
+  color: #354750;
+  font-size: 15px;
+  line-height: 30px;
+}
+
+#frontpage em{
+  font-weight: bold;
+  font-style: normal;
+  color: #cc0000;
+}
+
+.colright {
+  width: 275px;
+  float: left;
+  padding: 15px;
+  margin: 1em 0 10px 10px;
+  background: url(colbg.png) no-repeat;
+  /* 	background-color: #ecf7f5; */
+  font-size: 15px;
+  line-height: 30px;
+  height: 270px;
+}
+
+.colleft {
+  width: 275px;
+  float: left;
+  padding: 15px;
+  margin: 1em 0 10px;
+  background: url(colbg.png) no-repeat;
+  /* 	background-color: #ecf7f5; */
+  font-size: 15px;
+  line-height: 30px;
+  height: 270px;
+}
+
+
+#news {
+  margin-left: 660px;
+  position:absolute;
+  top: 170px;
+  width: 300px;
+  font-size: 13px;
+  line-height: 30px;
+}
+
+#news h2 {
+  border-bottom:none;
+  color:#cc0000;
+  margin-top: 0;
+}
+
+
+#news ul {
+  margin-left:15px;
+  padding:0;
+  list-style-image: url(newsbullet.png)
+}
+
+#news li {
+  margin-bottom: .8em;
+}
+
+
+#news a {
+  text-decoration: none;
+}
+
+#news a:hover {
+  text-decoration: underline;
+}
+
+#news .recent {
+  background-color: #FFF;
+  margin-bottom: 3em;
+  padding: 15px 15px 5px 15px;
+  -moz-border-radius: 10px;
+  -webkit-border-radius: 10px;
+}
+
+#news .section {
+  background-color:transparent;
+  margin-bottom: 2em;
+  color: #354750;
+}
+
+#news img.video {
+  float: left;
+  margin: 0 13px 8px 0;
+  border: 1px solid #fff;
+}
+
+#news img.video:hover {
+  border: 1px solid #026fbd;
+}
+
+div.right {
+  float : left;
+  width : 200px;
+  margin : 15px 0 0 35px;
+}
+
+p.foot {
+  clear : both;
+}

Added: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/footer_corner.png
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/content/styles/footer_corner.png?rev=1027303&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/footer_corner.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/footer_pattern.png
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/content/styles/footer_pattern.png?rev=1027303&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/footer_pattern.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/framework.png
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/content/styles/framework.png?rev=1027303&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/framework.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/generic.css
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/content/styles/generic.css?rev=1027303&view=auto
==============================================================================
--- incubator/deltacloud/trunk/site/deltacloud.org/content/styles/generic.css (added)
+++ incubator/deltacloud/trunk/site/deltacloud.org/content/styles/generic.css Mon Oct 25 23:26:58 2010
@@ -0,0 +1,73 @@
+* {
+  padding:0;
+  margin:0;
+}
+
+html {
+  min-width: 990px;
+}
+
+body {
+  margin: 0;
+  padding: 0;
+  color: #252525;
+  background: #FFF;
+  font-family: "Helvetica Neue", "Liberation Sans", Arial, sans-serif;
+  font-size: 81.25%;
+}
+
+ol,ul,dl,p {
+  padding: 0;
+  margin: 0 0 1em 0;
+  line-height: 1.6em;
+}
+
+ol,ul {
+  margin-left: 2em;
+}
+
+li>ul {
+  margin: 0 0 0 1.4em;
+}
+
+li>ol {
+  margin: 0 0 0 1.4em;
+}
+
+h1,h2,h3,h4,h5,h6 {
+  font-weight: normal;
+  margin-bottom: 0.5em;
+  padding: 0;
+}
+
+h2,h3,h4,h5,h6 {
+  margin-top: 2em;
+}
+
+h1 {
+  margin-top: 0;
+  font-size: 1.8em;
+}
+h2 {
+  font-size: 1.4em;
+}
+h3 {
+  font-size: 1.2em;
+  font-weight: bold;
+}
+h4 {
+  font-size: 1em;
+  font-weight: bold;
+}
+h5 {
+  font-size: 0.9em;
+  font-weight: bold;
+  font-style: italic;
+}
+h6 {
+  font-size: 0.8em;
+  font-style: italic;
+}
+img {
+  border: 0;
+}

Added: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/introbg.png
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/content/styles/introbg.png?rev=1027303&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/introbg.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/logo-wide.png
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/content/styles/logo-wide.png?rev=1027303&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/logo-wide.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/logo.png
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/content/styles/logo.png?rev=1027303&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/logo.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/navbarbg.png
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/content/styles/navbarbg.png?rev=1027303&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/navbarbg.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/newsbullet.png
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/content/styles/newsbullet.png?rev=1027303&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/newsbullet.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/subnav-bg.png
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/content/styles/subnav-bg.png?rev=1027303&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/subnav-bg.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/subnav-pointer.png
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/content/styles/subnav-pointer.png?rev=1027303&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/subnav-pointer.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/topbar-bg.png
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/content/styles/topbar-bg.png?rev=1027303&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/topbar-bg.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/wikibar-bg.png
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/content/styles/wikibar-bg.png?rev=1027303&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/deltacloud/trunk/site/deltacloud.org/content/styles/wikibar-bg.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/deltacloud/trunk/site/deltacloud.org/content/video/DCloud.png
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/content/video/DCloud.png?rev=1027303&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/deltacloud/trunk/site/deltacloud.org/content/video/DCloud.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/deltacloud/trunk/site/deltacloud.org/content/video/DCloud300.png
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/content/video/DCloud300.png?rev=1027303&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/deltacloud/trunk/site/deltacloud.org/content/video/DCloud300.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/deltacloud/trunk/site/deltacloud.org/content/video/DCloud_Demo.png
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/content/video/DCloud_Demo.png?rev=1027303&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/deltacloud/trunk/site/deltacloud.org/content/video/DCloud_Demo.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/deltacloud/trunk/site/deltacloud.org/content/video/DCloud_Demo300.png
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/content/video/DCloud_Demo300.png?rev=1027303&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/deltacloud/trunk/site/deltacloud.org/content/video/DCloud_Demo300.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/deltacloud/trunk/site/deltacloud.org/layouts/default.txt
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/layouts/default.txt?rev=1027303&view=auto
==============================================================================
--- incubator/deltacloud/trunk/site/deltacloud.org/layouts/default.txt (added)
+++ incubator/deltacloud/trunk/site/deltacloud.org/layouts/default.txt Mon Oct 25 23:26:58 2010
@@ -0,0 +1,50 @@
+---
+extension: html
+dirty: true
+filter: haml
+---
+!!! Strict
+%html
+  %head
+    %title
+      = @page.title
+    %meta{ :name => "keywords", :content => "" }
+    %meta{ :name => "description", :content => "" }
+    %meta{ :content => "text/html; charset=utf-8", "http-equiv" => "Content-Type" }
+    %link{ :href => "./styles/favicon.ico", :rel => "shortcut icon", :type => "image/x-icon" }
+    %link{ :href => "./styles/default.css", :title => "Main style", :rel => "StyleSheet", :type => "text/css" }
+    %link{ :href => "./styles/default-debug.css", :title => "Debug main style", :rel => "Alternate StyleSheet", :type => "text/css" }
+
+    - if @page.filename == "index"
+      %link{ :href => "./styles/firstpage.css", :rel => "stylesheet", :type => "text/css" }
+      %link{ :href => "./jquery.fancybox/jquery.fancybox-1.3.1.css", :rel => "stylesheet", :type => "text/css", :media => "screen" }
+      %script{ :type => "text/javascript", :src => "./jquery.fancybox/jquery-1.3.2.min.js" }
+      %script{ :type => "text/javascript", :src => "./jquery.fancybox/jquery.easing-1.3.pack.js" }
+      %script{ :type => "text/javascript", :src => "./jquery.fancybox/jquery.fancybox-1.3.1.pack.js" }
+      %script{ :src => "Scripts/swfobject_modified.js", :type => "text/javascript" }
+      %script{ :type => "text/javascript" }
+        $(document).ready(function() {
+        if($.browser.msie) {
+        $("#dcloud_popup_link").attr("href", "dcloud.html");
+        $("#demo_popup_link").attr("href", "dcloud-demo.html");
+        } else {
+        $("a.vid").fancybox({ 'hideOnContentClick': true, 'width': 400, 'height': 300, 'titleShow': false });
+        $("a.providers").fancybox({ 'hideOnContentClick': true, 'padding': 0, 'margin': 0, 'width': 958,
+        'height': 528, 'scrolling': 'no', 'autoDimensions': false, 'autoScale': true });
+        }
+        });
+
+
+  %body
+    #header
+      .container
+        #headerLogo{ :onclick => "location.href='index.html';", :style => "cursor: pointer;" }
+          %h1
+            Deltacloud - Many clouds. One API. No problem.
+    = render(:partial => "navigation", :locals => {:current_page => "#{@page.filename}.#{@page.extension}", :area => @page.area } )
+    - if @page.area == "documentation"
+      = render(:partial => "submenu-documentation", :locals => {:current_page => "#{@page.filename}.#{@page.extension}" } )
+    #frontpageHeader
+    #main
+      #content-deltacloud.container
+        ~ @content

Propchange: incubator/deltacloud/trunk/site/deltacloud.org/layouts/default.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/deltacloud/trunk/site/deltacloud.org/lib/breadcrumbs.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/lib/breadcrumbs.rb?rev=1027303&view=auto
==============================================================================
--- incubator/deltacloud/trunk/site/deltacloud.org/lib/breadcrumbs.rb (added)
+++ incubator/deltacloud/trunk/site/deltacloud.org/lib/breadcrumbs.rb Mon Oct 25 23:26:58 2010
@@ -0,0 +1,28 @@
+# breadcrumbs.rb
+
+module BreadcrumbsHelper
+  # call-seq:
+  #    breadcrumbs( page )    => html
+  #
+  # Create breadcrumb links for the current page. This will return an HTML
+  # <ul></ul> object.
+  #
+  def breadcrumbs( page )
+    list = ["<li>#{h(page.title)}</li>"]
+    loop do
+      page = @pages.parent_of(page)
+      break if page.nil?
+      list << "<li>#{link_to_page(page)}</li>"
+    end
+    list.reverse!
+
+    html = "<ul class=\"breadcrumbs\">\n"
+    html << list.join("\n")
+    html << "\n</ul>\n"
+    html
+  end
+end  # module Breadcrumbs
+
+Webby::Helpers.register(BreadcrumbsHelper)
+
+# EOF

Added: incubator/deltacloud/trunk/site/deltacloud.org/lib/documentation.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/lib/documentation.rb?rev=1027303&view=auto
==============================================================================
--- incubator/deltacloud/trunk/site/deltacloud.org/lib/documentation.rb (added)
+++ incubator/deltacloud/trunk/site/deltacloud.org/lib/documentation.rb Mon Oct 25 23:26:58 2010
@@ -0,0 +1,14 @@
+module DocumentationHelper
+  def documentation_pages
+    [
+      { :href => 'documentation.html', :menu => 'Overview' },
+      { :href => "api.html" , :menu => 'REST API', :description => 'REST API definition' },
+      { :href => "drivers.html" , :menu => 'Drivers', :description => 'Currently-supported drivers' },
+      { :href => "framework.html" , :menu => 'Framework', :description => 'Framework for writing additional drivers' },
+      { :href => "client-ruby.html" , :menu => 'Ruby Client', :description => 'Ruby client' },
+    ]
+  end
+
+end
+
+Webby::Helpers.register(DocumentationHelper)

Added: incubator/deltacloud/trunk/site/deltacloud.org/lib/news.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/lib/news.rb?rev=1027303&view=auto
==============================================================================
--- incubator/deltacloud/trunk/site/deltacloud.org/lib/news.rb (added)
+++ incubator/deltacloud/trunk/site/deltacloud.org/lib/news.rb Mon Oct 25 23:26:58 2010
@@ -0,0 +1,13 @@
+module NewsHelper
+  def all_news
+    [
+      %Q(Deltacloud Core <a href="http://watzmann.net/blog/2010/07/deltacloud-apache-incubator.html">moved to Apache Incubator</a>.),
+      %Q(Deltacloud now <a href="./drivers.html#providers">supports GoGrid</a>!),
+      %Q(We've introduced <a href="./api.html#h4_1">Hardware Profiles</a> to the API.),
+      %Q(Deltacloud <a href="http://press.redhat.com/2009/09/03/introducing-deltacloud/">announced</a> at 2009 Red Hat Summit!),
+    ]
+  end
+
+end
+
+Webby::Helpers.register(NewsHelper)

Added: incubator/deltacloud/trunk/site/deltacloud.org/lib/provider_support.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/lib/provider_support.rb?rev=1027303&view=auto
==============================================================================
--- incubator/deltacloud/trunk/site/deltacloud.org/lib/provider_support.rb (added)
+++ incubator/deltacloud/trunk/site/deltacloud.org/lib/provider_support.rb Mon Oct 25 23:26:58 2010
@@ -0,0 +1,31 @@
+module ProviderSupportHelper
+  def provider_support
+    [
+      {:name => "Amazon EC2", :driver => true, :instance => { :create => true, :start => false, :stop => true, :reboot => true, :destroy => true },
+        :list => { :hardware_profiles => true, :realms => true, :images => true, :instances => true} },
+      {:name => "GoGrid", :driver => true, :instance => { :create => true, :start => false, :stop => true, :reboot => true, :destroy => true },
+        :list => { :hardware_profiles => true, :realms => true, :images => true, :instances => true} },
+      {:name => "OpenNebula", :driver => true, :instance => { :create => true, :start => true, :stop => true, :reboot => false, :destroy => true },
+        :list => { :hardware_profiles => true, :realms => true, :images => true, :instances => true} },
+      {:name => "Rackspace", :driver => true, :instance => { :create => true, :start => false, :stop => true, :reboot => true, :destroy => true },
+        :list => { :hardware_profiles => true, :realms => true, :images => true, :instances => true} },
+      {:name => "RHEV-M", :driver => true, :instance => { :create => true, :start => true, :stop => true, :reboot => true, :destroy => true },
+        :list => { :hardware_profiles => true, :realms => true, :images => true, :instances => true} },
+      {:name => "RimuHosting", :driver => true, :instance => { :create => true, :start => true, :stop => true, :reboot => true, :destroy => true },
+        :list => { :hardware_profiles => true, :realms => true, :images => true, :instances => true} },
+      {:name => "Terremark", :driver => false, :instance => { :create => true, :start => true, :stop => true, :reboot => true, :destroy => true },
+        :list => { :hardware_profiles => true, :realms => true, :images => true, :instances => true} },
+      {:name => "vCloud", :driver => false, :instance => { :create => true, :start => true, :stop => true, :reboot => true, :destroy => true },
+        :list => { :hardware_profiles => true, :realms => true, :images => true, :instances => true} },
+    ]
+  end
+
+  def support_indicator(value)
+    text = value ? "yes" : "no"
+    cls = value ? "supported" : "not-supported"
+    "<td class=\"#{cls}\">#{text}</td>"
+  end
+
+end
+
+Webby::Helpers.register(ProviderSupportHelper)

Added: incubator/deltacloud/trunk/site/deltacloud.org/output/.cairn
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/output/.cairn?rev=1027303&view=auto
==============================================================================
    (empty)

Added: incubator/deltacloud/trunk/site/deltacloud.org/output/Scripts/swfobject_modified.js
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/deltacloud.org/output/Scripts/swfobject_modified.js?rev=1027303&view=auto
==============================================================================
--- incubator/deltacloud/trunk/site/deltacloud.org/output/Scripts/swfobject_modified.js (added)
+++ incubator/deltacloud/trunk/site/deltacloud.org/output/Scripts/swfobject_modified.js Mon Oct 25 23:26:58 2010
@@ -0,0 +1,669 @@
+/*!    SWFObject v2.0 <http://code.google.com/p/swfobject/>
+       Copyright (c) 2007 Geoff Stearns, Michael Williams, and Bobby van der Sluis
+       This software is released under the MIT License <http://www.opensource.org/licenses/mit-license.php>
+*/
+
+var swfobject = function() {
+
+       var UNDEF = "undefined",
+               OBJECT = "object",
+               SHOCKWAVE_FLASH = "Shockwave Flash",
+               SHOCKWAVE_FLASH_AX = "ShockwaveFlash.ShockwaveFlash",
+               FLASH_MIME_TYPE = "application/x-shockwave-flash",
+               EXPRESS_INSTALL_ID = "SWFObjectExprInst",
+
+               win = window,
+               doc = document,
+               nav = navigator,
+
+               domLoadFnArr = [],
+               regObjArr = [],
+               timer = null,
+               storedAltContent = null,
+               storedAltContentId = null,
+               isDomLoaded = false,
+               isExpressInstallActive = false;
+
+       /* Centralized function for browser feature detection
+               - Proprietary feature detection (conditional compiling) is used to detect Internet Explorer's features
+               - User agent string detection is only used when no alternative is possible
+               - Is executed directly for optimal performance
+       */
+       var ua = function() {
+               var w3cdom = typeof doc.getElementById != UNDEF && typeof doc.getElementsByTagName != UNDEF && typeof doc.createElement != UNDEF && typeof doc.appendChild != UNDEF && typeof doc.replaceChild != UNDEF && typeof doc.removeChild != UNDEF && typeof doc.cloneNode != UNDEF,
+                       playerVersion = [0,0,0],
+                       d = null;
+               if (typeof nav.plugins != UNDEF && typeof nav.plugins[SHOCKWAVE_FLASH] == OBJECT) {
+                       d = nav.plugins[SHOCKWAVE_FLASH].description;
+                       if (d) {
+                               d = d.replace(/^.*\s+(\S+\s+\S+$)/, "$1");
+                               playerVersion[0] = parseInt(d.replace(/^(.*)\..*$/, "$1"), 10);
+                               playerVersion[1] = parseInt(d.replace(/^.*\.(.*)\s.*$/, "$1"), 10);
+                               playerVersion[2] = /r/.test(d) ? parseInt(d.replace(/^.*r(.*)$/, "$1"), 10) : 0;
+                       }
+               }
+               else if (typeof win.ActiveXObject != UNDEF) {
+                       var a = null, fp6Crash = false;
+                       try {
+                               a = new ActiveXObject(SHOCKWAVE_FLASH_AX + ".7");
+                       }
+                       catch(e) {
+                               try {
+                                       a = new ActiveXObject(SHOCKWAVE_FLASH_AX + ".6");
+                                       playerVersion = [6,0,21];
+                                       a.AllowScriptAccess = "always";  // Introduced in fp6.0.47
+                               }
+                               catch(e) {
+                                       if (playerVersion[0] == 6) {
+                                               fp6Crash = true;
+                                       }
+                               }
+                               if (!fp6Crash) {
+                                       try {
+                                               a = new ActiveXObject(SHOCKWAVE_FLASH_AX);
+                                       }
+                                       catch(e) {}
+                               }
+                       }
+                       if (!fp6Crash && a) { // a will return null when ActiveX is disabled
+                               try {
+                                       d = a.GetVariable("$version");  // Will crash fp6.0.21/23/29
+                                       if (d) {
+                                               d = d.split(" ")[1].split(",");
+                                               playerVersion = [parseInt(d[0], 10), parseInt(d[1], 10), parseInt(d[2], 10)];
+                                       }
+                               }
+                               catch(e) {}
+                       }
+               }
+               var u = nav.userAgent.toLowerCase(),
+                       p = nav.platform.toLowerCase(),
+                       webkit = /webkit/.test(u) ? parseFloat(u.replace(/^.*webkit\/(\d+(\.\d+)?).*$/, "$1")) : false, // returns either the webkit version or false if not webkit
+                       ie = false,
+                       windows = p ? /win/.test(p) : /win/.test(u),
+                       mac = p ? /mac/.test(p) : /mac/.test(u);
+               /*@cc_on
+                       ie = true;
+                       @if (@_win32)
+                               windows = true;
+                       @elif (@_mac)
+                               mac = true;
+                       @end
+               @*/
+               return { w3cdom:w3cdom, pv:playerVersion, webkit:webkit, ie:ie, win:windows, mac:mac };
+       }();
+
+       /* Cross-browser onDomLoad
+               - Based on Dean Edwards' solution: http://dean.edwards.name/weblog/2006/06/again/
+               - Will fire an event as soon as the DOM of a page is loaded (supported by Gecko based browsers - like Firefox -, IE, Opera9+, Safari)
+       */
+       var onDomLoad = function() {
+               if (!ua.w3cdom) {
+                       return;
+               }
+               addDomLoadEvent(main);
+               if (ua.ie && ua.win) {
+                       try {  // Avoid a possible Operation Aborted error
+                               doc.write("<scr" + "ipt id=__ie_ondomload defer=true src=//:></scr" + "ipt>"); // String is split into pieces to avoid Norton AV to add code that can cause errors
+                               var s = getElementById("__ie_ondomload");
+                               if (s) {
+                                       s.onreadystatechange = function() {
+                                               if (this.readyState == "complete") {
+                                                       this.parentNode.removeChild(this);
+                                                       callDomLoadFunctions();
+                                               }
+                                       };
+                               }
+                       }
+                       catch(e) {}
+               }
+               if (ua.webkit && typeof doc.readyState != UNDEF) {
+                       timer = setInterval(function() { if (/loaded|complete/.test(doc.readyState)) { callDomLoadFunctions(); }}, 10);
+               }
+               if (typeof doc.addEventListener != UNDEF) {
+                       doc.addEventListener("DOMContentLoaded", callDomLoadFunctions, null);
+               }
+               addLoadEvent(callDomLoadFunctions);
+       }();
+
+       function callDomLoadFunctions() {
+               if (isDomLoaded) {
+                       return;
+               }
+               if (ua.ie && ua.win) { // Test if we can really add elements to the DOM; we don't want to fire it too early
+                       var s = createElement("span");
+                       try { // Avoid a possible Operation Aborted error
+                               var t = doc.getElementsByTagName("body")[0].appendChild(s);
+                               t.parentNode.removeChild(t);
+                       }
+                       catch (e) {
+                               return;
+                       }
+               }
+               isDomLoaded = true;
+               if (timer) {
+                       clearInterval(timer);
+                       timer = null;
+               }
+               var dl = domLoadFnArr.length;
+               for (var i = 0; i < dl; i++) {
+                       domLoadFnArr[i]();
+               }
+       }
+
+       function addDomLoadEvent(fn) {
+               if (isDomLoaded) {
+                       fn();
+               }
+               else {
+                       domLoadFnArr[domLoadFnArr.length] = fn; // Array.push() is only available in IE5.5+
+               }
+       }
+
+       /* Cross-browser onload
+               - Based on James Edwards' solution: http://brothercake.com/site/resources/scripts/onload/
+               - Will fire an event as soon as a web page including all of its assets are loaded
+        */
+       function addLoadEvent(fn) {
+               if (typeof win.addEventListener != UNDEF) {
+                       win.addEventListener("load", fn, false);
+               }
+               else if (typeof doc.addEventListener != UNDEF) {
+                       doc.addEventListener("load", fn, false);
+               }
+               else if (typeof win.attachEvent != UNDEF) {
+                       win.attachEvent("onload", fn);
+               }
+               else if (typeof win.onload == "function") {
+                       var fnOld = win.onload;
+                       win.onload = function() {
+                               fnOld();
+                               fn();
+                       };
+               }
+               else {
+                       win.onload = fn;
+               }
+       }
+
+       /* Main function
+               - Will preferably execute onDomLoad, otherwise onload (as a fallback)
+       */
+       function main() { // Static publishing only
+               var rl = regObjArr.length;
+               for (var i = 0; i < rl; i++) { // For each registered object element
+                       var id = regObjArr[i].id;
+                       if (ua.pv[0] > 0) {
+                               var obj = getElementById(id);
+                               if (obj) {
+                                       regObjArr[i].width = obj.getAttribute("width") ? obj.getAttribute("width") : "0";
+                                       regObjArr[i].height = obj.getAttribute("height") ? obj.getAttribute("height") : "0";
+                                       if (hasPlayerVersion(regObjArr[i].swfVersion)) { // Flash plug-in version >= Flash content version: Houston, we have a match!
+                                               if (ua.webkit && ua.webkit < 312) { // Older webkit engines ignore the object element's nested param elements
+                                                       fixParams(obj);
+                                               }
+                                               setVisibility(id, true);
+                                       }
+                                       else if (regObjArr[i].expressInstall && !isExpressInstallActive && hasPlayerVersion("6.0.65") && (ua.win || ua.mac)) { // Show the Adobe Express Install dialog if set by the web page author and if supported (fp6.0.65+ on Win/Mac OS only)
+                                               showExpressInstall(regObjArr[i]);
+                                       }
+                                       else { // Flash plug-in and Flash content version mismatch: display alternative content instead of Flash content
+                                               displayAltContent(obj);
+                                       }
+                               }
+                       }
+                       else {  // If no fp is installed, we let the object element do its job (show alternative content)
+                               setVisibility(id, true);
+                       }
+               }
+       }
+
+       /* Fix nested param elements, which are ignored by older webkit engines
+               - This includes Safari up to and including version 1.2.2 on Mac OS 10.3
+               - Fall back to the proprietary embed element
+       */
+       function fixParams(obj) {
+               var nestedObj = obj.getElementsByTagName(OBJECT)[0];
+               if (nestedObj) {
+                       var e = createElement("embed"), a = nestedObj.attributes;
+                       if (a) {
+                               var al = a.length;
+                               for (var i = 0; i < al; i++) {
+                                       if (a[i].nodeName.toLowerCase() == "data") {
+                                               e.setAttribute("src", a[i].nodeValue);
+                                       }
+                                       else {
+                                               e.setAttribute(a[i].nodeName, a[i].nodeValue);
+                                       }
+                               }
+                       }
+                       var c = nestedObj.childNodes;
+                       if (c) {
+                               var cl = c.length;
+                               for (var j = 0; j < cl; j++) {
+                                       if (c[j].nodeType == 1 && c[j].nodeName.toLowerCase() == "param") {
+                                               e.setAttribute(c[j].getAttribute("name"), c[j].getAttribute("value"));
+                                       }
+                               }
+                       }
+                       obj.parentNode.replaceChild(e, obj);
+               }
+       }
+
+       /* Fix hanging audio/video threads and force open sockets and NetConnections to disconnect
+               - Occurs when unloading a web page in IE using fp8+ and innerHTML/outerHTML
+               - Dynamic publishing only
+       */
+       function fixObjectLeaks(id) {
+               if (ua.ie && ua.win && hasPlayerVersion("8.0.0")) {
+                       win.attachEvent("onunload", function () {
+                               var obj = getElementById(id);
+                               if (obj) {
+                                       for (var i in obj) {
+                                               if (typeof obj[i] == "function") {
+                                                       obj[i] = function() {};
+                                               }
+                                       }
+                                       obj.parentNode.removeChild(obj);
+                               }
+                       });
+               }
+       }
+
+       /* Show the Adobe Express Install dialog
+               - Reference: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=6a253b75
+       */
+       function showExpressInstall(regObj) {
+               isExpressInstallActive = true;
+               var obj = getElementById(regObj.id);
+               if (obj) {
+                       if (regObj.altContentId) {
+                               var ac = getElementById(regObj.altContentId);
+                               if (ac) {
+                                       storedAltContent = ac;
+                                       storedAltContentId = regObj.altContentId;
+                               }
+                       }
+                       else {
+                               storedAltContent = abstractAltContent(obj);
+                       }
+                       if (!(/%$/.test(regObj.width)) && parseInt(regObj.width, 10) < 310) {
+                               regObj.width = "310";
+                       }
+                       if (!(/%$/.test(regObj.height)) && parseInt(regObj.height, 10) < 137) {
+                               regObj.height = "137";
+                       }
+                       doc.title = doc.title.slice(0, 47) + " - Flash Player Installation";
+                       var pt = ua.ie && ua.win ? "ActiveX" : "PlugIn",
+                               dt = doc.title,
+                               fv = "MMredirectURL=" + win.location + "&MMplayerType=" + pt + "&MMdoctitle=" + dt,
+                               replaceId = regObj.id;
+                       // For IE when a SWF is loading (AND: not available in cache) wait for the onload event to fire to remove the original object element
+                       // In IE you cannot properly cancel a loading SWF file without breaking browser load references, also obj.onreadystatechange doesn't work
+                       if (ua.ie && ua.win && obj.readyState != 4) {
+                               var newObj = createElement("div");
+                               replaceId += "SWFObjectNew";
+                               newObj.setAttribute("id", replaceId);
+                               obj.parentNode.insertBefore(newObj, obj); // Insert placeholder div that will be replaced by the object element that loads expressinstall.swf
+                               obj.style.display = "none";
+                               win.attachEvent("onload", function() { obj.parentNode.removeChild(obj); });
+                       }
+                       createSWF({ data:regObj.expressInstall, id:EXPRESS_INSTALL_ID, width:regObj.width, height:regObj.height }, { flashvars:fv }, replaceId);
+               }
+       }
+
+       /* Functions to abstract and display alternative content
+       */
+       function displayAltContent(obj) {
+               if (ua.ie && ua.win && obj.readyState != 4) {
+                       // For IE when a SWF is loading (AND: not available in cache) wait for the onload event to fire to remove the original object element
+                       // In IE you cannot properly cancel a loading SWF file without breaking browser load references, also obj.onreadystatechange doesn't work
+                       var el = createElement("div");
+                       obj.parentNode.insertBefore(el, obj); // Insert placeholder div that will be replaced by the alternative content
+                       el.parentNode.replaceChild(abstractAltContent(obj), el);
+                       obj.style.display = "none";
+                       win.attachEvent("onload", function() { obj.parentNode.removeChild(obj); });
+               }
+               else {
+                       obj.parentNode.replaceChild(abstractAltContent(obj), obj);
+               }
+       }
+
+       function abstractAltContent(obj) {
+               var ac = createElement("div");
+               if (ua.win && ua.ie) {
+                       ac.innerHTML = obj.innerHTML;
+               }
+               else {
+                       var nestedObj = obj.getElementsByTagName(OBJECT)[0];
+                       if (nestedObj) {
+                               var c = nestedObj.childNodes;
+                               if (c) {
+                                       var cl = c.length;
+                                       for (var i = 0; i < cl; i++) {
+                                               if (!(c[i].nodeType == 1 && c[i].nodeName.toLowerCase() == "param") && !(c[i].nodeType == 8)) {
+                                                       ac.appendChild(c[i].cloneNode(true));
+                                               }
+                                       }
+                               }
+                       }
+               }
+               return ac;
+       }
+
+       /* Cross-browser dynamic SWF creation
+       */
+       function createSWF(attObj, parObj, id) {
+               var r, el = getElementById(id);
+               if (typeof attObj.id == UNDEF) { // if no 'id' is defined for the object element, it will inherit the 'id' from the alternative content
+                       attObj.id = id;
+               }
+               if (ua.ie && ua.win) { // IE, the object element and W3C DOM methods do not combine: fall back to outerHTML
+                       var att = "";
+                       for (var i in attObj) {
+                               if (attObj[i] != Object.prototype[i]) { // Filter out prototype additions from other potential libraries, like Object.prototype.toJSONString = function() {}
+                                       if (i == "data") {
+                                               parObj.movie = attObj[i];
+                                       }
+                                       else if (i.toLowerCase() == "styleclass") { // 'class' is an ECMA4 reserved keyword
+                                               att += ' class="' + attObj[i] + '"';
+                                       }
+                                       else if (i != "classid") {
+                                               att += ' ' + i + '="' + attObj[i] + '"';
+                                       }
+                               }
+                       }
+                       var par = "";
+                       for (var j in parObj) {
+                               if (parObj[j] != Object.prototype[j]) { // Filter out prototype additions from other potential libraries
+                                       par += '<param name="' + j + '" value="' + parObj[j] + '" />';
+                               }
+                       }
+                       el.outerHTML = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"' + att + '>' + par + '</object>';
+                       fixObjectLeaks(attObj.id); // This bug affects dynamic publishing only
+                       r = getElementById(attObj.id);
+               }
+               else if (ua.webkit && ua.webkit < 312) { // Older webkit engines ignore the object element's nested param elements: fall back to the proprietary embed element
+                       var e = createElement("embed");
+                       e.setAttribute("type", FLASH_MIME_TYPE);
+                       for (var k in attObj) {
+                               if (attObj[k] != Object.prototype[k]) { // Filter out prototype additions from other potential libraries
+                                       if (k == "data") {
+                                               e.setAttribute("src", attObj[k]);
+                                       }
+                                       else if (k.toLowerCase() == "styleclass") { // 'class' is an ECMA4 reserved keyword
+                                               e.setAttribute("class", attObj[k]);
+                                       }
+                                       else if (k != "classid") { // Filter out IE specific attribute
+                                               e.setAttribute(k, attObj[k]);
+                                       }
+                               }
+                       }
+                       for (var l in parObj) {
+                               if (parObj[l] != Object.prototype[l]) { // Filter out prototype additions from other potential libraries
+                                       if (l != "movie") { // Filter out IE specific param element
+                                               e.setAttribute(l, parObj[l]);
+                                       }
+                               }
+                       }
+                       el.parentNode.replaceChild(e, el);
+                       r = e;
+               }
+               else { // Well-behaving browsers
+                       var o = createElement(OBJECT);
+                       o.setAttribute("type", FLASH_MIME_TYPE);
+                       for (var m in attObj) {
+                               if (attObj[m] != Object.prototype[m]) { // Filter out prototype additions from other potential libraries
+                                       if (m.toLowerCase() == "styleclass") { // 'class' is an ECMA4 reserved keyword
+                                               o.setAttribute("class", attObj[m]);
+                                       }
+                                       else if (m != "classid") { // Filter out IE specific attribute
+                                               o.setAttribute(m, attObj[m]);
+                                       }
+                               }
+                       }
+                       for (var n in parObj) {
+                               if (parObj[n] != Object.prototype[n] && n != "movie") { // Filter out prototype additions from other potential libraries and IE specific param element
+                                       createObjParam(o, n, parObj[n]);
+                               }
+                       }
+                       el.parentNode.replaceChild(o, el);
+                       r = o;
+               }
+               return r;
+       }
+
+       function createObjParam(el, pName, pValue) {
+               var p = createElement("param");
+               p.setAttribute("name", pName);
+               p.setAttribute("value", pValue);
+               el.appendChild(p);
+       }
+
+       function getElementById(id) {
+               return doc.getElementById(id);
+       }
+
+       function createElement(el) {
+               return doc.createElement(el);
+       }
+
+       function hasPlayerVersion(rv) {
+               var pv = ua.pv, v = rv.split(".");
+               v[0] = parseInt(v[0], 10);
+               v[1] = parseInt(v[1], 10);
+               v[2] = parseInt(v[2], 10);
+               return (pv[0] > v[0] || (pv[0] == v[0] && pv[1] > v[1]) || (pv[0] == v[0] && pv[1] == v[1] && pv[2] >= v[2])) ? true : false;
+       }
+
+       /* Cross-browser dynamic CSS creation
+               - Based on Bobby van der Sluis' solution: http://www.bobbyvandersluis.com/articles/dynamicCSS.php
+       */
+       function createCSS(sel, decl) {
+               if (ua.ie && ua.mac) {
+                       return;
+               }
+               var h = doc.getElementsByTagName("head")[0], s = createElement("style");
+               s.setAttribute("type", "text/css");
+               s.setAttribute("media", "screen");
+               if (!(ua.ie && ua.win) && typeof doc.createTextNode != UNDEF) {
+                       s.appendChild(doc.createTextNode(sel + " {" + decl + "}"));
+               }
+               h.appendChild(s);
+               if (ua.ie && ua.win && typeof doc.styleSheets != UNDEF && doc.styleSheets.length > 0) {
+                       var ls = doc.styleSheets[doc.styleSheets.length - 1];
+                       if (typeof ls.addRule == OBJECT) {
+                               ls.addRule(sel, decl);
+                       }
+               }
+       }
+
+       function setVisibility(id, isVisible) {
+               var v = isVisible ? "visible" : "hidden";
+               if (isDomLoaded) {
+                       getElementById(id).style.visibility = v;
+               }
+               else {
+                       createCSS("#" + id, "visibility:" + v);
+               }
+       }
+
+       function getTargetVersion(obj) {
+           if (!obj)
+               return 0;
+               var c = obj.childNodes;
+               var cl = c.length;
+               for (var i = 0; i < cl; i++) {
+                       if (c[i].nodeType == 1 && c[i].nodeName.toLowerCase() == "object") {
+                           c = c[i].childNodes;
+                           cl = c.length;
+                           i = 0;
+                       }
+                       if (c[i].nodeType == 1 && c[i].nodeName.toLowerCase() == "param" && c[i].getAttribute("name") == "swfversion") {
+                          return c[i].getAttribute("value");
+                       }
+               }
+               return 0;
+       }
+
+       function getExpressInstall(obj) {
+           if (!obj)
+               return "";
+               var c = obj.childNodes;
+               var cl = c.length;
+               for (var i = 0; i < cl; i++) {
+                       if (c[i].nodeType == 1 && c[i].nodeName.toLowerCase() == "object") {
+                           c = c[i].childNodes;
+                           cl = c.length;
+                           i = 0;
+                       }
+                       if (c[i].nodeType == 1 && c[i].nodeName.toLowerCase() == "param" && c[i].getAttribute("name") == "expressinstall") {
+                           return c[i].getAttribute("value");
+                       }
+               }
+               return "";
+       }
+
+       return {
+               /* Public API
+                       - Reference: http://code.google.com/p/swfobject/wiki/SWFObject_2_0_documentation
+               */
+               registerObject: function(objectIdStr, swfVersionStr, xiSwfUrlStr) {
+                       if (!ua.w3cdom || !objectIdStr) {
+                               return;
+                       }
+                       var obj = document.getElementById(objectIdStr);
+                       var xi = getExpressInstall(obj);
+                       var regObj = {};
+                       regObj.id = objectIdStr;
+                       regObj.swfVersion = swfVersionStr ? swfVersionStr : getTargetVersion(obj);
+                       regObj.expressInstall = xiSwfUrlStr ? xiSwfUrlStr : ((xi != "") ? xi : false);
+                       regObjArr[regObjArr.length] = regObj;
+                       setVisibility(objectIdStr, false);
+               },
+
+               getObjectById: function(objectIdStr) {
+                       var r = null;
+                       if (ua.w3cdom && isDomLoaded) {
+                               var o = getElementById(objectIdStr);
+                               if (o) {
+                                       var n = o.getElementsByTagName(OBJECT)[0];
+                                       if (!n || (n && typeof o.SetVariable != UNDEF)) {
+                                       r = o;
+                                       }
+                                       else if (typeof n.SetVariable != UNDEF) {
+                                               r = n;
+                                       }
+                               }
+                       }
+                       return r;
+               },
+
+               embedSWF: function(swfUrlStr, replaceElemIdStr, widthStr, heightStr, swfVersionStr, xiSwfUrlStr, flashvarsObj, parObj, attObj) {
+                       if (!ua.w3cdom || !swfUrlStr || !replaceElemIdStr || !widthStr || !heightStr || !swfVersionStr) {
+                               return;
+                       }
+                       widthStr += ""; // Auto-convert to string to make it idiot proof
+                       heightStr += "";
+                       if (hasPlayerVersion(swfVersionStr)) {
+                               setVisibility(replaceElemIdStr, false);
+                               var att = (typeof attObj == OBJECT) ? attObj : {};
+                               att.data = swfUrlStr;
+                               att.width = widthStr;
+                               att.height = heightStr;
+                               var par = (typeof parObj == OBJECT) ? parObj : {};
+                               if (typeof flashvarsObj == OBJECT) {
+                                       for (var i in flashvarsObj) {
+                                               if (flashvarsObj[i] != Object.prototype[i]) { // Filter out prototype additions from other potential libraries
+                                                       if (typeof par.flashvars != UNDEF) {
+                                                               par.flashvars += "&" + i + "=" + flashvarsObj[i];
+                                                       }
+                                                       else {
+                                                               par.flashvars = i + "=" + flashvarsObj[i];
+                                                       }
+                                               }
+                                       }
+                               }
+                               addDomLoadEvent(function() {
+                                       createSWF(att, par, replaceElemIdStr);
+                                       if (att.id == replaceElemIdStr) {
+                                               setVisibility(replaceElemIdStr, true);
+                                       }
+                               });
+                       }
+                       else if (xiSwfUrlStr && !isExpressInstallActive && hasPlayerVersion("6.0.65") && (ua.win || ua.mac)) {
+                               setVisibility(replaceElemIdStr, false);
+                               addDomLoadEvent(function() {
+                                       var regObj = {};
+                                       regObj.id = regObj.altContentId = replaceElemIdStr;
+                                       regObj.width = widthStr;
+                                       regObj.height = heightStr;
+                                       regObj.expressInstall = xiSwfUrlStr;
+                                       showExpressInstall(regObj);
+                               });
+                       }
+               },
+
+               getFlashPlayerVersion: function() {
+                       return { major:ua.pv[0], minor:ua.pv[1], release:ua.pv[2] };
+               },
+
+               hasFlashPlayerVersion:hasPlayerVersion,
+
+               createSWF: function(attObj, parObj, replaceElemIdStr) {
+                       if (ua.w3cdom && isDomLoaded) {
+                               return createSWF(attObj, parObj, replaceElemIdStr);
+                       }
+                       else {
+                               return undefined;
+                       }
+               },
+
+               createCSS: function(sel, decl) {
+                       if (ua.w3cdom) {
+                               createCSS(sel, decl);
+                       }
+               },
+
+               addDomLoadEvent:addDomLoadEvent,
+
+               addLoadEvent:addLoadEvent,
+
+               getQueryParamValue: function(param) {
+                       var q = doc.location.search || doc.location.hash;
+                       if (param == null) {
+                               return q;
+                       }
+                       if(q) {
+                               var pairs = q.substring(1).split("&");
+                               for (var i = 0; i < pairs.length; i++) {
+                                       if (pairs[i].substring(0, pairs[i].indexOf("=")) == param) {
+                                               return pairs[i].substring((pairs[i].indexOf("=") + 1));
+                                       }
+                               }
+                       }
+                       return "";
+               },
+
+               // For internal usage only
+               expressInstallCallback: function() {
+                       if (isExpressInstallActive && storedAltContent) {
+                               var obj = getElementById(EXPRESS_INSTALL_ID);
+                               if (obj) {
+                                       obj.parentNode.replaceChild(storedAltContent, obj);
+                                       if (storedAltContentId) {
+                                               setVisibility(storedAltContentId, true);
+                                               if (ua.ie && ua.win) {
+                                                       storedAltContent.style.display = "block";
+                                               }
+                                       }
+                                       storedAltContent = null;
+                                       storedAltContentId = null;
+                                       isExpressInstallActive = false;
+                               }
+                       }
+               }
+
+       };
+
+}();



Mime
View raw message