Index: /tags/assets/v1.0/flowplayer/flowplayer-3.2.6.min.js
===================================================================
--- /tags/assets/v1.0/flowplayer/flowplayer-3.2.6.min.js	(revision 688)
+++ /tags/assets/v1.0/flowplayer/flowplayer-3.2.6.min.js	(revision 688)
@@ -0,0 +1,24 @@
+/* 
+ * flowplayer.js 3.2.6. The Flowplayer API
+ * 
+ * Copyright 2009-2011 Flowplayer Oy
+ * 
+ * This file is part of Flowplayer.
+ * 
+ * Flowplayer is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * 
+ * Flowplayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with Flowplayer.  If not, see <http://www.gnu.org/licenses/>.
+ * 
+ * Date: 2011-02-04 05:45:28 -0500 (Fri, 04 Feb 2011)
+ * Revision: 614 
+ */
+(function(){function g(o){console.log("$f.fireEvent",[].slice.call(o))}function k(q){if(!q||typeof q!="object"){return q}var o=new q.constructor();for(var p in q){if(q.hasOwnProperty(p)){o[p]=k(q[p])}}return o}function m(t,q){if(!t){return}var o,p=0,r=t.length;if(r===undefined){for(o in t){if(q.call(t[o],o,t[o])===false){break}}}else{for(var s=t[0];p<r&&q.call(s,p,s)!==false;s=t[++p]){}}return t}function c(o){return document.getElementById(o)}function i(q,p,o){if(typeof p!="object"){return q}if(q&&p){m(p,function(r,s){if(!o||typeof s!="function"){q[r]=s}})}return q}function n(s){var q=s.indexOf(".");if(q!=-1){var p=s.slice(0,q)||"*";var o=s.slice(q+1,s.length);var r=[];m(document.getElementsByTagName(p),function(){if(this.className&&this.className.indexOf(o)!=-1){r.push(this)}});return r}}function f(o){o=o||window.event;if(o.preventDefault){o.stopPropagation();o.preventDefault()}else{o.returnValue=false;o.cancelBubble=true}return false}function j(q,o,p){q[o]=q[o]||[];q[o].push(p)}function e(){return"_"+(""+Math.random()).slice(2,10)}var h=function(t,r,s){var q=this,p={},u={};q.index=r;if(typeof t=="string"){t={url:t}}i(this,t,true);m(("Begin*,Start,Pause*,Resume*,Seek*,Stop*,Finish*,LastSecond,Update,BufferFull,BufferEmpty,BufferStop").split(","),function(){var v="on"+this;if(v.indexOf("*")!=-1){v=v.slice(0,v.length-1);var w="onBefore"+v.slice(2);q[w]=function(x){j(u,w,x);return q}}q[v]=function(x){j(u,v,x);return q};if(r==-1){if(q[w]){s[w]=q[w]}if(q[v]){s[v]=q[v]}}});i(this,{onCuepoint:function(x,w){if(arguments.length==1){p.embedded=[null,x];return q}if(typeof x=="number"){x=[x]}var v=e();p[v]=[x,w];if(s.isLoaded()){s._api().fp_addCuepoints(x,r,v)}return q},update:function(w){i(q,w);if(s.isLoaded()){s._api().fp_updateClip(w,r)}var v=s.getConfig();var x=(r==-1)?v.clip:v.playlist[r];i(x,w,true)},_fireEvent:function(v,y,w,A){if(v=="onLoad"){m(p,function(B,C){if(C[0]){s._api().fp_addCuepoints(C[0],r,B)}});return false}A=A||q;if(v=="onCuepoint"){var z=p[y];if(z){return z[1].call(s,A,w)}}if(y&&"onBeforeBegin,onMetaData,onStart,onUpdate,onResume".indexOf(v)!=-1){i(A,y);if(y.metaData){if(!A.duration){A.duration=y.metaData.duration}else{A.fullDuration=y.metaData.duration}}}var x=true;m(u[v],function(){x=this.call(s,A,y,w)});return x}});if(t.onCuepoint){var o=t.onCuepoint;q.onCuepoint.apply(q,typeof o=="function"?[o]:o);delete t.onCuepoint}m(t,function(v,w){if(typeof w=="function"){j(u,v,w);delete t[v]}});if(r==-1){s.onCuepoint=this.onCuepoint}};var l=function(p,r,q,t){var o=this,s={},u=false;if(t){i(s,t)}m(r,function(v,w){if(typeof w=="function"){s[v]=w;delete r[v]}});i(this,{animate:function(y,z,x){if(!y){return o}if(typeof z=="function"){x=z;z=500}if(typeof y=="string"){var w=y;y={};y[w]=z;z=500}if(x){var v=e();s[v]=x}if(z===undefined){z=500}r=q._api().fp_animate(p,y,z,v);return o},css:function(w,x){if(x!==undefined){var v={};v[w]=x;w=v}r=q._api().fp_css(p,w);i(o,r);return o},show:function(){this.display="block";q._api().fp_showPlugin(p);return o},hide:function(){this.display="none";q._api().fp_hidePlugin(p);return o},toggle:function(){this.display=q._api().fp_togglePlugin(p);return o},fadeTo:function(y,x,w){if(typeof x=="function"){w=x;x=500}if(w){var v=e();s[v]=w}this.display=q._api().fp_fadeTo(p,y,x,v);this.opacity=y;return o},fadeIn:function(w,v){return o.fadeTo(1,w,v)},fadeOut:function(w,v){return o.fadeTo(0,w,v)},getName:function(){return p},getPlayer:function(){return q},_fireEvent:function(w,v,x){if(w=="onUpdate"){var z=q._api().fp_getPlugin(p);if(!z){return}i(o,z);delete o.methods;if(!u){m(z.methods,function(){var B=""+this;o[B]=function(){var C=[].slice.call(arguments);var D=q._api().fp_invoke(p,B,C);return D==="undefined"||D===undefined?o:D}});u=true}}var A=s[w];if(A){var y=A.apply(o,v);if(w.slice(0,1)=="_"){delete s[w]}return y}return o}})};function b(q,G,t){var w=this,v=null,D=false,u,s,F=[],y={},x={},E,r,p,C,o,A;i(w,{id:function(){return E},isLoaded:function(){return(v!==null&&v.fp_play!==undefined&&!D)},getParent:function(){return q},hide:function(H){if(H){q.style.height="0px"}if(w.isLoaded()){v.style.height="0px"}return w},show:function(){q.style.height=A+"px";if(w.isLoaded()){v.style.height=o+"px"}return w},isHidden:function(){return w.isLoaded()&&parseInt(v.style.height,10)===0},load:function(J){if(!w.isLoaded()&&w._fireEvent("onBeforeLoad")!==false){var H=function(){u=q.innerHTML;if(u&&!flashembed.isSupported(G.version)){q.innerHTML=""}if(J){J.cached=true;j(x,"onLoad",J)}flashembed(q,G,{config:t})};var I=0;m(a,function(){this.unload(function(K){if(++I==a.length){H()}})})}return w},unload:function(J){if(this.isFullscreen()&&/WebKit/i.test(navigator.userAgent)){if(J){J(false)}return w}if(u.replace(/\s/g,"")!==""){if(w._fireEvent("onBeforeUnload")===false){if(J){J(false)}return w}D=true;try{if(v){v.fp_close();w._fireEvent("onUnload")}}catch(H){}var I=function(){v=null;q.innerHTML=u;D=false;if(J){J(true)}};setTimeout(I,50)}else{if(J){J(false)}}return w},getClip:function(H){if(H===undefined){H=C}return F[H]},getCommonClip:function(){return s},getPlaylist:function(){return F},getPlugin:function(H){var J=y[H];if(!J&&w.isLoaded()){var I=w._api().fp_getPlugin(H);if(I){J=new l(H,I,w);y[H]=J}}return J},getScreen:function(){return w.getPlugin("screen")},getControls:function(){return w.getPlugin("controls")._fireEvent("onUpdate")},getLogo:function(){try{return w.getPlugin("logo")._fireEvent("onUpdate")}catch(H){}},getPlay:function(){return w.getPlugin("play")._fireEvent("onUpdate")},getConfig:function(H){return H?k(t):t},getFlashParams:function(){return G},loadPlugin:function(K,J,M,L){if(typeof M=="function"){L=M;M={}}var I=L?e():"_";w._api().fp_loadPlugin(K,J,M,I);var H={};H[I]=L;var N=new l(K,null,w,H);y[K]=N;return N},getState:function(){return w.isLoaded()?v.fp_getState():-1},play:function(I,H){var J=function(){if(I!==undefined){w._api().fp_play(I,H)}else{w._api().fp_play()}};if(w.isLoaded()){J()}else{if(D){setTimeout(function(){w.play(I,H)},50)}else{w.load(function(){J()})}}return w},getVersion:function(){var I="flowplayer.js 3.2.6";if(w.isLoaded()){var H=v.fp_getVersion();H.push(I);return H}return I},_api:function(){if(!w.isLoaded()){throw"Flowplayer "+w.id()+" not loaded when calling an API method"}return v},setClip:function(H){w.setPlaylist([H]);return w},getIndex:function(){return p},_swfHeight:function(){return v.clientHeight}});m(("Click*,Load*,Unload*,Keypress*,Volume*,Mute*,Unmute*,PlaylistReplace,ClipAdd,Fullscreen*,FullscreenExit,Error,MouseOver,MouseOut").split(","),function(){var H="on"+this;if(H.indexOf("*")!=-1){H=H.slice(0,H.length-1);var I="onBefore"+H.slice(2);w[I]=function(J){j(x,I,J);return w}}w[H]=function(J){j(x,H,J);return w}});m(("pause,resume,mute,unmute,stop,toggle,seek,getStatus,getVolume,setVolume,getTime,isPaused,isPlaying,startBuffering,stopBuffering,isFullscreen,toggleFullscreen,reset,close,setPlaylist,addClip,playFeed,setKeyboardShortcutsEnabled,isKeyboardShortcutsEnabled").split(","),function(){var H=this;w[H]=function(J,I){if(!w.isLoaded()){return w}var K=null;if(J!==undefined&&I!==undefined){K=v["fp_"+H](J,I)}else{K=(J===undefined)?v["fp_"+H]():v["fp_"+H](J)}return K==="undefined"||K===undefined?w:K}});w._fireEvent=function(Q){if(typeof Q=="string"){Q=[Q]}var R=Q[0],O=Q[1],M=Q[2],L=Q[3],K=0;if(t.debug){g(Q)}if(!w.isLoaded()&&R=="onLoad"&&O=="player"){v=v||c(r);o=w._swfHeight();m(F,function(){this._fireEvent("onLoad")});m(y,function(S,T){T._fireEvent("onUpdate")});s._fireEvent("onLoad")}if(R=="onLoad"&&O!="player"){return}if(R=="onError"){if(typeof O=="string"||(typeof O=="number"&&typeof M=="number")){O=M;M=L}}if(R=="onContextMenu"){m(t.contextMenu[O],function(S,T){T.call(w)});return}if(R=="onPluginEvent"||R=="onBeforePluginEvent"){var H=O.name||O;var I=y[H];if(I){I._fireEvent("onUpdate",O);return I._fireEvent(M,Q.slice(3))}return}if(R=="onPlaylistReplace"){F=[];var N=0;m(O,function(){F.push(new h(this,N++,w))})}if(R=="onClipAdd"){if(O.isInStream){return}O=new h(O,M,w);F.splice(M,0,O);for(K=M+1;K<F.length;K++){F[K].index++}}var P=true;if(typeof O=="number"&&O<F.length){C=O;var J=F[O];if(J){P=J._fireEvent(R,M,L)}if(!J||P!==false){P=s._fireEvent(R,M,L,J)}}m(x[R],function(){P=this.call(w,O,M);if(this.cached){x[R].splice(K,1)}if(P===false){return false}K++});return P};function B(){if($f(q)){$f(q).getParent().innerHTML="";p=$f(q).getIndex();a[p]=w}else{a.push(w);p=a.length-1}A=parseInt(q.style.height,10)||q.clientHeight;E=q.id||"fp"+e();r=G.id||E+"_api";G.id=r;t.playerId=E;if(typeof t=="string"){t={clip:{url:t}}}if(typeof t.clip=="string"){t.clip={url:t.clip}}t.clip=t.clip||{};if(q.getAttribute("href",2)&&!t.clip.url){t.clip.url=q.getAttribute("href",2)}s=new h(t.clip,-1,w);t.playlist=t.playlist||[t.clip];var I=0;m(t.playlist,function(){var K=this;if(typeof K=="object"&&K.length){K={url:""+K}}m(t.clip,function(L,M){if(M!==undefined&&K[L]===undefined&&typeof M!="function"){K[L]=M}});t.playlist[I]=K;K=new h(K,I,w);F.push(K);I++});m(t,function(K,L){if(typeof L=="function"){if(s[K]){s[K](L)}else{j(x,K,L)}delete t[K]}});m(t.plugins,function(K,L){if(L){y[K]=new l(K,L,w)}});if(!t.plugins||t.plugins.controls===undefined){y.controls=new l("controls",null,w)}y.canvas=new l("canvas",null,w);u=q.innerHTML;function J(L){var K=w.hasiPadSupport&&w.hasiPadSupport();if(/iPad|iPhone|iPod/i.test(navigator.userAgent)&&!/.flv$/i.test(F[0].url)&&!K){return true}if(!w.isLoaded()&&w._fireEvent("onBeforeClick")!==false){w.load()}return f(L)}function H(){if(u.replace(/\s/g,"")!==""){if(q.addEventListener){q.addEventListener("click",J,false)}else{if(q.attachEvent){q.attachEvent("onclick",J)}}}else{if(q.addEventListener){q.addEventListener("click",f,false)}w.load()}}setTimeout(H,0)}if(typeof q=="string"){var z=c(q);if(!z){throw"Flowplayer cannot access element: "+q}q=z;B()}else{B()}}var a=[];function d(o){this.length=o.length;this.each=function(p){m(o,p)};this.size=function(){return o.length}}window.flowplayer=window.$f=function(){var p=null;var o=arguments[0];if(!arguments.length){m(a,function(){if(this.isLoaded()){p=this;return false}});return p||a[0]}if(arguments.length==1){if(typeof o=="number"){return a[o]}else{if(o=="*"){return new d(a)}m(a,function(){if(this.id()==o.id||this.id()==o||this.getParent()==o){p=this;return false}});return p}}if(arguments.length>1){var t=arguments[1],q=(arguments.length==3)?arguments[2]:{};if(typeof t=="string"){t={src:t}}t=i({bgcolor:"#000000",version:[9,0],expressInstall:"http://static.flowplayer.org/swf/expressinstall.swf",cachebusting:false},t);if(typeof o=="string"){if(o.indexOf(".")!=-1){var s=[];m(n(o),function(){s.push(new b(this,k(t),k(q)))});return new d(s)}else{var r=c(o);return new b(r!==null?r:o,t,q)}}else{if(o){return new b(o,t,q)}}}return null};i(window.$f,{fireEvent:function(){var o=[].slice.call(arguments);var q=$f(o[0]);return q?q._fireEvent(o.slice(1)):null},addPlugin:function(o,p){b.prototype[o]=p;return $f},each:m,extend:i});if(typeof jQuery=="function"){jQuery.fn.flowplayer=function(q,p){if(!arguments.length||typeof arguments[0]=="number"){var o=[];this.each(function(){var r=$f(this);if(r){o.push(r)}});return arguments.length?o[arguments[0]]:new d(o)}return this.each(function(){$f(this,k(q),p?k(p):{})})}}})();(function(){var e=typeof jQuery=="function";var i={width:"100%",height:"100%",allowfullscreen:true,allowscriptaccess:"always",quality:"high",version:null,onFail:null,expressInstall:null,w3c:false,cachebusting:false};if(e){jQuery.tools=jQuery.tools||{};jQuery.tools.flashembed={version:"1.0.4",conf:i}}function j(){if(c.done){return false}var l=document;if(l&&l.getElementsByTagName&&l.getElementById&&l.body){clearInterval(c.timer);c.timer=null;for(var k=0;k<c.ready.length;k++){c.ready[k].call()}c.ready=null;c.done=true}}var c=e?jQuery:function(k){if(c.done){return k()}if(c.timer){c.ready.push(k)}else{c.ready=[k];c.timer=setInterval(j,13)}};function f(l,k){if(k){for(key in k){if(k.hasOwnProperty(key)){l[key]=k[key]}}}return l}function g(k){switch(h(k)){case"string":k=k.replace(new RegExp('(["\\\\])',"g"),"\\$1");k=k.replace(/^\s?(\d+)%/,"$1pct");return'"'+k+'"';case"array":return"["+b(k,function(n){return g(n)}).join(",")+"]";case"function":return'"function()"';case"object":var l=[];for(var m in k){if(k.hasOwnProperty(m)){l.push('"'+m+'":'+g(k[m]))}}return"{"+l.join(",")+"}"}return String(k).replace(/\s/g," ").replace(/\'/g,'"')}function h(l){if(l===null||l===undefined){return false}var k=typeof l;return(k=="object"&&l.push)?"array":k}if(window.attachEvent){window.attachEvent("onbeforeunload",function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){}})}function b(k,n){var m=[];for(var l in k){if(k.hasOwnProperty(l)){m[l]=n(k[l])}}return m}function a(r,t){var q=f({},r);var s=document.all;var n='<object width="'+q.width+'" height="'+q.height+'"';if(s&&!q.id){q.id="_"+(""+Math.random()).substring(9)}if(q.id){n+=' id="'+q.id+'"'}if(q.cachebusting){q.src+=((q.src.indexOf("?")!=-1?"&":"?")+Math.random())}if(q.w3c||!s){n+=' data="'+q.src+'" type="application/x-shockwave-flash"'}else{n+=' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'}n+=">";if(q.w3c||s){n+='<param name="movie" value="'+q.src+'" />'}q.width=q.height=q.id=q.w3c=q.src=null;for(var l in q){if(q[l]!==null){n+='<param name="'+l+'" value="'+q[l]+'" />'}}var o="";if(t){for(var m in t){if(t[m]!==null){o+=m+"="+(typeof t[m]=="object"?g(t[m]):t[m])+"&"}}o=o.substring(0,o.length-1);n+='<param name="flashvars" value=\''+o+"' />"}n+="</object>";return n}function d(m,p,l){var k=flashembed.getVersion();f(this,{getContainer:function(){return m},getConf:function(){return p},getVersion:function(){return k},getFlashvars:function(){return l},getApi:function(){return m.firstChild},getHTML:function(){return a(p,l)}});var q=p.version;var r=p.expressInstall;var o=!q||flashembed.isSupported(q);if(o){p.onFail=p.version=p.expressInstall=null;m.innerHTML=a(p,l)}else{if(q&&r&&flashembed.isSupported([6,65])){f(p,{src:r});l={MMredirectURL:location.href,MMplayerType:"PlugIn",MMdoctitle:document.title};m.innerHTML=a(p,l)}else{if(m.innerHTML.replace(/\s/g,"")!==""){}else{m.innerHTML="<h2>Flash version "+q+" or greater is required</h2><h3>"+(k[0]>0?"Your version is "+k:"You have no flash plugin installed")+"</h3>"+(m.tagName=="A"?"<p>Click here to download latest version</p>":"<p>Download latest version from <a href='http://www.adobe.com/go/getflashplayer'>here</a></p>");if(m.tagName=="A"){m.onclick=function(){location.href="http://www.adobe.com/go/getflashplayer"}}}}}if(!o&&p.onFail){var n=p.onFail.call(this);if(typeof n=="string"){m.innerHTML=n}}if(document.all){window[p.id]=document.getElementById(p.id)}}window.flashembed=function(l,m,k){if(typeof l=="string"){var n=document.getElementById(l);if(n){l=n}else{c(function(){flashembed(l,m,k)});return}}if(!l){return}if(typeof m=="string"){m={src:m}}var o=f({},i);f(o,m);return new d(l,o,k)};f(window.flashembed,{getVersion:function(){var m=[0,0];if(navigator.plugins&&typeof navigator.plugins["Shockwave Flash"]=="object"){var l=navigator.plugins["Shockwave Flash"].description;if(typeof l!="undefined"){l=l.replace(/^.*\s+(\S+\s+\S+$)/,"$1");var n=parseInt(l.replace(/^(.*)\..*$/,"$1"),10);var r=/r/.test(l)?parseInt(l.replace(/^.*r(.*)$/,"$1"),10):0;m=[n,r]}}else{if(window.ActiveXObject){try{var p=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(q){try{p=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");m=[6,0];p.AllowScriptAccess="always"}catch(k){if(m[0]==6){return m}}try{p=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(o){}}if(typeof p=="object"){l=p.GetVariable("$version");if(typeof l!="undefined"){l=l.replace(/^\S+\s+(.*)$/,"$1").split(",");m=[parseInt(l[0],10),parseInt(l[2],10)]}}}}return m},isSupported:function(k){var m=flashembed.getVersion();var l=(m[0]>k[0])||(m[0]==k[0]&&m[1]>=k[1]);return l},domReady:c,asString:g,getHTML:a});if(e){jQuery.fn.flashembed=function(l,k){var m=null;this.each(function(){m=flashembed(this,l,k)});return l.api===false?this:m}}})();
Index: /tags/assets/v1.0/js/prettify.js
===================================================================
--- /tags/assets/v1.0/js/prettify.js	(revision 688)
+++ /tags/assets/v1.0/js/prettify.js	(revision 688)
@@ -0,0 +1,3 @@
+
+window.PR_SHOULD_USE_CONTINUATION=true;window.PR_TAB_WIDTH=8;window.PR_normalizedHtml=window.PR=window.prettyPrintOne=window.prettyPrint=void 0;window._pr_isIE6=function(){var y=navigator&&navigator.userAgent&&navigator.userAgent.match(/\bMSIE ([678])\./);y=y?+y[1]:false;window._pr_isIE6=function(){return y};return y};(function(){function y(b){return b.replace(L,"&amp;").replace(M,"&lt;").replace(N,"&gt;")}function H(b,f,i){switch(b.nodeType){case 1:var o=b.tagName.toLowerCase();f.push("<",o);var l=b.attributes,n=l.length;if(n){if(i){for(var r=[],j=n;--j>=0;)r[j]=l[j];r.sort(function(q,m){return q.name<m.name?-1:q.name===m.name?0:1});l=r}for(j=0;j<n;++j){r=l[j];r.specified&&f.push(" ",r.name.toLowerCase(),'="',r.value.replace(L,"&amp;").replace(M,"&lt;").replace(N,"&gt;").replace(X,"&quot;"),'"')}}f.push(">");for(l=b.firstChild;l;l=l.nextSibling)H(l,f,i);if(b.firstChild||!/^(?:br|link|img)$/.test(o))f.push("</",o,">");break;case 3:case 4:f.push(y(b.nodeValue));break}}function O(b){function f(c){if(c.charAt(0)!=="\\")return c.charCodeAt(0);switch(c.charAt(1)){case"b":return 8;case"t":return 9;case"n":return 10;case"v":return 11;case"f":return 12;case"r":return 13;case"u":case"x":return parseInt(c.substring(2),16)||c.charCodeAt(1);case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":return parseInt(c.substring(1),8);default:return c.charCodeAt(1)}}function i(c){if(c<32)return(c<16?"\\x0":"\\x")+c.toString(16);c=String.fromCharCode(c);if(c==="\\"||c==="-"||c==="["||c==="]")c="\\"+c;return c}function o(c){var d=c.substring(1,c.length-1).match(RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g"));c=[];for(var a=[],k=d[0]==="^",e=k?1:0,h=d.length;e<h;++e){var g=d[e];switch(g){case"\\B":case"\\b":case"\\D":case"\\d":case"\\S":case"\\s":case"\\W":case"\\w":c.push(g);continue}g=f(g);var s;if(e+2<h&&"-"===d[e+1]){s=f(d[e+2]);e+=2}else s=g;a.push([g,s]);if(!(s<65||g>122)){s<65||g>90||a.push([Math.max(65,g)|32,Math.min(s,90)|32]);s<97||g>122||a.push([Math.max(97,g)&-33,Math.min(s,122)&-33])}}a.sort(function(v,w){return v[0]-w[0]||w[1]-v[1]});d=[];g=[NaN,NaN];for(e=0;e<a.length;++e){h=a[e];if(h[0]<=g[1]+1)g[1]=Math.max(g[1],h[1]);else d.push(g=h)}a=["["];k&&a.push("^");a.push.apply(a,c);for(e=0;e<d.length;++e){h=d[e];a.push(i(h[0]));if(h[1]>h[0]){h[1]+1>h[0]&&a.push("-");a.push(i(h[1]))}}a.push("]");return a.join("")}function l(c){for(var d=c.source.match(RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),a=d.length,k=[],e=0,h=0;e<a;++e){var g=d[e];if(g==="(")++h;else if("\\"===g.charAt(0))if((g=+g.substring(1))&&g<=h)k[g]=-1}for(e=1;e<k.length;++e)if(-1===k[e])k[e]=++n;for(h=e=0;e<a;++e){g=d[e];if(g==="("){++h;if(k[h]===undefined)d[e]="(?:"}else if("\\"===g.charAt(0))if((g=+g.substring(1))&&g<=h)d[e]="\\"+k[h]}for(h=e=0;e<a;++e)if("^"===d[e]&&"^"!==d[e+1])d[e]="";if(c.ignoreCase&&r)for(e=0;e<a;++e){g=d[e];c=g.charAt(0);if(g.length>=2&&c==="[")d[e]=o(g);else if(c!=="\\")d[e]=g.replace(/[a-zA-Z]/g,function(s){s=s.charCodeAt(0);return"["+String.fromCharCode(s&-33,s|32)+"]"})}return d.join("")}for(var n=0,r=false,j=false,q=0,m=b.length;q<m;++q){var t=b[q];if(t.ignoreCase)j=true;else if(/[a-z]/i.test(t.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){r=true;j=false;break}}var p=[];q=0;for(m=b.length;q<m;++q){t=b[q];if(t.global||t.multiline)throw Error(""+t);p.push("(?:"+l(t)+")")}return RegExp(p.join("|"),j?"gi":"g")}function Y(b){var f=0;return function(i){for(var o=null,l=0,n=0,r=i.length;n<r;++n)switch(i.charAt(n)){case"\t":o||(o=[]);o.push(i.substring(l,n));l=b-f%b;for(f+=l;l>=0;l-=16)o.push("                ".substring(0,l));l=n+1;break;case"\n":f=0;break;default:++f}if(!o)return i;o.push(i.substring(l));return o.join("")}}function I(b,f,i,o){if(f){b={source:f,c:b};i(b);o.push.apply(o,b.d)}}function B(b,f){var i={},o;(function(){for(var r=b.concat(f),j=[],q={},m=0,t=r.length;m<t;++m){var p=r[m],c=p[3];if(c)for(var d=c.length;--d>=0;)i[c.charAt(d)]=p;p=p[1];c=""+p;if(!q.hasOwnProperty(c)){j.push(p);q[c]=null}}j.push(/[\0-\uffff]/);o=O(j)})();var l=f.length;function n(r){for(var j=r.c,q=[j,z],m=0,t=r.source.match(o)||[],p={},c=0,d=t.length;c<d;++c){var a=t[c],k=p[a],e=void 0,h;if(typeof k==="string")h=false;else{var g=i[a.charAt(0)];if(g){e=a.match(g[1]);k=g[0]}else{for(h=0;h<l;++h){g=f[h];if(e=a.match(g[1])){k=g[0];break}}e||(k=z)}if((h=k.length>=5&&"lang-"===k.substring(0,5))&&!(e&&typeof e[1]==="string")){h=false;k=P}h||(p[a]=k)}g=m;m+=a.length;if(h){h=e[1];var s=a.indexOf(h),v=s+h.length;if(e[2]){v=a.length-e[2].length;s=v-h.length}k=k.substring(5);I(j+g,a.substring(0,s),n,q);I(j+g+s,h,Q(k,h),q);I(j+g+v,a.substring(v),n,q)}else q.push(j+g,k)}r.d=q}return n}function x(b){var f=[],i=[];if(b.tripleQuotedStrings)f.push([A,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,"'\""]);else b.multiLineStrings?f.push([A,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):f.push([A,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,"\"'"]);b.verbatimStrings&&i.push([A,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);if(b.hashComments)if(b.cStyleComments){f.push([C,/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]);i.push([A,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,null])}else f.push([C,/^#[^\r\n]*/,null,"#"]);if(b.cStyleComments){i.push([C,/^\/\/[^\r\n]*/,null]);i.push([C,/^\/\*[\s\S]*?(?:\*\/|$)/,null])}b.regexLiterals&&i.push(["lang-regex",RegExp("^"+Z+"(/(?=[^/*])(?:[^/\\x5B\\x5C]|\\x5C[\\s\\S]|\\x5B(?:[^\\x5C\\x5D]|\\x5C[\\s\\S])*(?:\\x5D|$))+/)")]);b=b.keywords.replace(/^\s+|\s+$/g,"");b.length&&i.push([R,RegExp("^(?:"+b.replace(/\s+/g,"|")+")\\b"),null]);f.push([z,/^\s+/,null," \r\n\t\u00a0"]);i.push([J,/^@[a-z_$][a-z_$@0-9]*/i,null],[S,/^@?[A-Z]+[a-z][A-Za-z_$@0-9]*/,null],[z,/^[a-z_$][a-z_$@0-9]*/i,null],[J,/^(?:0x[a-f0-9]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+\-]?\d+)?)[a-z]*/i,null,"0123456789"],[E,/^.[^\s\w\.$@\'\"\`\/\#]*/,null]);return B(f,i)}function $(b){function f(D){if(D>r){if(j&&j!==q){n.push("</span>");j=null}if(!j&&q){j=q;n.push('<span class="',j,'">')}var T=y(p(i.substring(r,D))).replace(e?d:c,"$1&#160;");e=k.test(T);n.push(T.replace(a,s));r=D}}var i=b.source,o=b.g,l=b.d,n=[],r=0,j=null,q=null,m=0,t=0,p=Y(window.PR_TAB_WIDTH),c=/([\r\n ]) /g,d=/(^| ) /gm,a=/\r\n?|\n/g,k=/[ \r\n]$/,e=true,h=window._pr_isIE6();h=h?b.b.tagName==="PRE"?h===6?"&#160;\r\n":h===7?"&#160;<br>\r":"&#160;\r":"&#160;<br />":"<br />";var g=b.b.className.match(/\blinenums\b(?::(\d+))?/),s;if(g){for(var v=[],w=0;w<10;++w)v[w]=h+'</li><li class="L'+w+'">';var F=g[1]&&g[1].length?g[1]-1:0;n.push('<ol class="linenums"><li class="L',F%10,'"');F&&n.push(' value="',F+1,'"');n.push(">");s=function(){var D=v[++F%10];return j?"</span>"+D+'<span class="'+j+'">':D}}else s=h;for(;;)if(m<o.length?t<l.length?o[m]<=l[t]:true:false){f(o[m]);if(j){n.push("</span>");j=null}n.push(o[m+1]);m+=2}else if(t<l.length){f(l[t]);q=l[t+1];t+=2}else break;f(i.length);j&&n.push("</span>");g&&n.push("</li></ol>");b.a=n.join("")}function u(b,f){for(var i=f.length;--i>=0;){var o=f[i];if(G.hasOwnProperty(o))"console"in window&&console.warn("cannot override language handler %s",o);else G[o]=b}}function Q(b,f){b&&G.hasOwnProperty(b)||(b=/^\s*</.test(f)?"default-markup":"default-code");return G[b]}
+function U(b){var f=b.f,i=b.e;b.a=f;try{var o,l=f.match(aa);f=[];var n=0,r=[];if(l)for(var j=0,q=l.length;j<q;++j){var m=l[j];if(m.length>1&&m.charAt(0)==="<"){if(!ba.test(m))if(ca.test(m)){f.push(m.substring(9,m.length-3));n+=m.length-12}else if(da.test(m)){f.push("\n");++n}else if(m.indexOf(V)>=0&&m.replace(/\s(\w+)\s*=\s*(?:\"([^\"]*)\"|'([^\']*)'|(\S+))/g,' $1="$2$3$4"').match(/[cC][lL][aA][sS][sS]=\"[^\"]*\bnocode\b/)){var t=m.match(W)[2],p=1,c;c=j+1;a:for(;c<q;++c){var d=l[c].match(W);if(d&&d[2]===t)if(d[1]==="/"){if(--p===0)break a}else++p}if(c<q){r.push(n,l.slice(j,c+1).join(""));j=c}else r.push(n,m)}else r.push(n,m)}else{var a;p=m;var k=p.indexOf("&");if(k<0)a=p;else{for(--k;(k=p.indexOf("&#",k+1))>=0;){var e=p.indexOf(";",k);if(e>=0){var h=p.substring(k+3,e),g=10;if(h&&h.charAt(0)==="x"){h=h.substring(1);g=16}var s=parseInt(h,g);isNaN(s)||(p=p.substring(0,k)+String.fromCharCode(s)+p.substring(e+1))}}a=p.replace(ea,"<").replace(fa,">").replace(ga,"'").replace(ha,'"').replace(ia," ").replace(ja,"&")}f.push(a);n+=a.length}}o={source:f.join(""),h:r};var v=o.source;b.source=v;b.c=0;b.g=o.h;Q(i,v)(b);$(b)}catch(w){if("console"in window)console.log(w&&w.stack?w.stack:w)}}var A="str",R="kwd",C="com",S="typ",J="lit",E="pun",z="pln",P="src",V="nocode",Z=function(){for(var b=["!","!=","!==","#","%","%=","&","&&","&&=","&=","(","*","*=","+=",",","-=","->","/","/=",":","::",";","<","<<","<<=","<=","=","==","===",">",">=",">>",">>=",">>>",">>>=","?","@","[","^","^=","^^","^^=","{","|","|=","||","||=","~","break","case","continue","delete","do","else","finally","instanceof","return","throw","try","typeof"],f="(?:^^|[+-]",i=0;i<b.length;++i)f+="|"+b[i].replace(/([^=<>:&a-z])/g,"\\$1");f+=")\\s*";return f}(),L=/&/g,M=/</g,N=/>/g,X=/\"/g,ea=/&lt;/g,fa=/&gt;/g,ga=/&apos;/g,ha=/&quot;/g,ja=/&amp;/g,ia=/&nbsp;/g,ka=/[\r\n]/g,K=null,aa=RegExp("[^<]+|<!--[\\s\\S]*?--\>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>|</?[a-zA-Z](?:[^>\"']|'[^']*'|\"[^\"]*\")*>|<","g"),ba=/^<\!--/,ca=/^<!\[CDATA\[/,da=/^<br\b/i,W=/^<(\/?)([a-zA-Z][a-zA-Z0-9]*)/,la=x({keywords:"break continue do else for if return while auto case char const default double enum extern float goto int long register short signed sizeof static struct switch typedef union unsigned void volatile catch class delete false import new operator private protected public this throw true try typeof alignof align_union asm axiom bool concept concept_map const_cast constexpr decltype dynamic_cast explicit export friend inline late_check mutable namespace nullptr reinterpret_cast static_assert static_cast template typeid typename using virtual wchar_t where break continue do else for if return while auto case char const default double enum extern float goto int long register short signed sizeof static struct switch typedef union unsigned void volatile catch class delete false import new operator private protected public this throw true try typeof abstract boolean byte extends final finally implements import instanceof null native package strictfp super synchronized throws transient as base by checked decimal delegate descending event fixed foreach from group implicit in interface internal into is lock object out override orderby params partial readonly ref sbyte sealed stackalloc string select uint ulong unchecked unsafe ushort var break continue do else for if return while auto case char const default double enum extern float goto int long register short signed sizeof static struct switch typedef union unsigned void volatile catch class delete false import new operator private protected public this throw true try typeof debugger eval export function get null set undefined var with Infinity NaN caller delete die do dump elsif eval exit foreach for goto if import last local my next no our print package redo require sub undef unless until use wantarray while BEGIN END break continue do else for if return while and as assert class def del elif except exec finally from global import in is lambda nonlocal not or pass print raise try with yield False True None break continue do else for if return while alias and begin case class def defined elsif end ensure false in module next nil not or redo rescue retry self super then true undef unless until when yield BEGIN END break continue do else for if return while case done elif esac eval fi function in local set then until ",hashComments:true,cStyleComments:true,multiLineStrings:true,regexLiterals:true}),G={};u(la,["default-code"]);u(B([],[[z,/^[^<?]+/],["dec",/^<!\w[^>]*(?:>|$)/],[C,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[E,/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]);u(B([[z,/^[\s]+/,null," \t\r\n"],["atv",/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[E,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]);u(B([],[["atv",/^[\s\S]+/]]),["uq.val"]);u(x({keywords:"break continue do else for if return while auto case char const default double enum extern float goto int long register short signed sizeof static struct switch typedef union unsigned void volatile catch class delete false import new operator private protected public this throw true try typeof alignof align_union asm axiom bool concept concept_map const_cast constexpr decltype dynamic_cast explicit export friend inline late_check mutable namespace nullptr reinterpret_cast static_assert static_cast template typeid typename using virtual wchar_t where ",hashComments:true,cStyleComments:true}),["c","cc","cpp","cxx","cyc","m"]);u(x({keywords:"null true false"}),["json"]);u(x({keywords:"break continue do else for if return while auto case char const default double enum extern float goto int long register short signed sizeof static struct switch typedef union unsigned void volatile catch class delete false import new operator private protected public this throw true try typeof abstract boolean byte extends final finally implements import instanceof null native package strictfp super synchronized throws transient as base by checked decimal delegate descending event fixed foreach from group implicit in interface internal into is lock object out override orderby params partial readonly ref sbyte sealed stackalloc string select uint ulong unchecked unsafe ushort var ",hashComments:true,cStyleComments:true,verbatimStrings:true}),["cs"]);u(x({keywords:"break continue do else for if return while auto case char const default double enum extern float goto int long register short signed sizeof static struct switch typedef union unsigned void volatile catch class delete false import new operator private protected public this throw true try typeof abstract boolean byte extends final finally implements import instanceof null native package strictfp super synchronized throws transient ",cStyleComments:true}),["java"]);u(x({keywords:"break continue do else for if return while case done elif esac eval fi function in local set then until ",hashComments:true,multiLineStrings:true}),["bsh","csh","sh"]);u(x({keywords:"break continue do else for if return while and as assert class def del elif except exec finally from global import in is lambda nonlocal not or pass print raise try with yield False True None ",hashComments:true,multiLineStrings:true,tripleQuotedStrings:true}),["cv","py"]);u(x({keywords:"caller delete die do dump elsif eval exit foreach for goto if import last local my next no our print package redo require sub undef unless until use wantarray while BEGIN END ",hashComments:true,multiLineStrings:true,regexLiterals:true}),["perl","pl","pm"]);u(x({keywords:"break continue do else for if return while alias and begin case class def defined elsif end ensure false in module next nil not or redo rescue retry self super then true undef unless until when yield BEGIN END ",hashComments:true,multiLineStrings:true,regexLiterals:true}),["rb"]);u(x({keywords:"break continue do else for if return while auto case char const default double enum extern float goto int long register short signed sizeof static struct switch typedef union unsigned void volatile catch class delete false import new operator private protected public this throw true try typeof debugger eval export function get null set undefined var with Infinity NaN ",cStyleComments:true,regexLiterals:true}),["js"]);u(B([],[[A,/^[\s\S]+/]]),["regex"]);window.PR_normalizedHtml=H;window.prettyPrintOne=function(b,f){var i={f:b,e:f};U(i);return i.a};window.prettyPrint=function(b){function f(){for(var t=window.PR_SHOULD_USE_CONTINUATION?j.now()+250:Infinity;q<o.length&&j.now()<t;q++){var p=o[q];if(p.className&&p.className.indexOf("prettyprint")>=0){var c=p.className.match(/\blang-(\w+)\b/);if(c)c=c[1];for(var d=false,a=p.parentNode;a;a=a.parentNode)if((a.tagName==="pre"||a.tagName==="code"||a.tagName==="xmp")&&a.className&&a.className.indexOf("prettyprint")>=0){d=true;break}if(!d){a=p;if(null===K){d=document.createElement("PRE");d.appendChild(document.createTextNode('<!DOCTYPE foo PUBLIC "foo bar">\n<foo />'));K=!/</.test(d.innerHTML)}if(K){d=a.innerHTML;if("XMP"===a.tagName)d=y(d);else{a=a;if("PRE"===a.tagName)a=true;else if(ka.test(d)){var k="";if(a.currentStyle)k=a.currentStyle.whiteSpace;else if(window.getComputedStyle)k=window.getComputedStyle(a,null).whiteSpace;a=!k||k==="pre"}else a=true;a||(d=d.replace(/(<br\s*\/?>)[\r\n]+/g,"$1").replace(/(?:[\r\n]+[ \t]*)+/g," "))}d=d}else{d=[];for(a=a.firstChild;a;a=a.nextSibling)H(a,d);d=d.join("")}d=d.replace(/(?:\r\n?|\n)$/,"");m={f:d,e:c,b:p};U(m);if(p=m.a){c=m.b;if("XMP"===c.tagName){d=document.createElement("PRE");for(a=0;a<c.attributes.length;++a){k=c.attributes[a];if(k.specified)if(k.name.toLowerCase()==="class")d.className=k.value;else d.setAttribute(k.name,k.value)}d.innerHTML=p;c.parentNode.replaceChild(d,c)}else c.innerHTML=p}}}}if(q<o.length)setTimeout(f,250);else b&&b()}for(var i=[document.getElementsByTagName("pre"),document.getElementsByTagName("code"),document.getElementsByTagName("xmp")],o=[],l=0;l<i.length;++l)for(var n=0,r=i[l].length;n<r;++n)o.push(i[l][n]);i=null;var j=Date;j.now||(j={now:function(){return(new Date).getTime()}});var q=0,m;f()};window.PR={combinePrefixPatterns:O,createSimpleLexer:B,registerLangHandler:u,sourceDecorator:x,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:C,PR_DECLARATION:"dec",PR_KEYWORD:R,PR_LITERAL:J,PR_NOCODE:V,PR_PLAIN:z,PR_PUNCTUATION:E,PR_SOURCE:P,PR_STRING:A,PR_TAG:"tag",PR_TYPE:S}})()
Index: /tags/assets/v1.0/js/ova-examplifier.js
===================================================================
--- /tags/assets/v1.0/js/ova-examplifier.js	(revision 688)
+++ /tags/assets/v1.0/js/ova-examplifier.js	(revision 688)
@@ -0,0 +1,329 @@
+$(document).ready(function() {
+
+// PLAYERS AND PLUGINS
+
+var OVA_FLOWPLAYER_SWF = "http://www.longtailvideo.com/content/ova/flowplayer/flowplayer-3.2.7.swf"
+var OVA_JW5_PLAYER_SWF = "http://player.longtailvideo.com/player.swf"
+var OVA_JW5_LICENSED_PLAYER_SWF = "http://player.longtailvideo.com/player.swf"
+var OVA_FLOWPLAYER_PLUGIN_SWF = "http://www.longtailvideo.com/content/ova/flowplayer/ova.swf"
+var OVA_FLOWPLAYER_AUDIO_PLUGIN_SWF = "http://www.longtailvideo.com/content/ova/flowplayer/flowplayer.audio-3.2.2.swf"
+var OVA_FLOWPLAYER_RTMP_PLUGIN_SWF = "http://www.longtailvideo.com/content/ova/flowplayer/flowplayer.rtmp-3.2.3.swf"
+var OVA_FLOWPLAYER_BWCHECK_PLUGIN_SWF = "http://www.longtailvideo.com/content/ova/flowplayer/flowplayer.bwcheck-3.2.5.swf"
+var OVA_FLOWPLAYER_CLUSTER_PLUGIN_SWF = "http://www.longtailvideo.com/content/ova/flowplayer/flowplayer.cluster-3.2.3.swf"
+var OVA_FLOWPLAYER_PROXY_PLUGIN_SWF = "http://www.longtailvideo.com/content/ova/flowplayer/flowplayer.akamai-3.2.0.swf"
+var OVA_FLOWPLAYER_SECURE_PLUGIN_SWF = "http://www.longtailvideo.com/content/ova/flowplayer/flowplayer.securestreaming-3.2.3.swf"
+var OVA_JW5_PLUGIN_SWF = "ova-jw"
+var OVA_JW5_PLUGIN_JS = "ova-jw"
+var OVA_JW5_PLUGIN = OVA_JW5_PLUGIN_JS;
+var OVA_FLOWPLAYER_SECURE_TOKEN = escape('#ed%h0#w@1')
+
+// STREAMS
+
+var OVA_HTTP_SHOW_STREAM = "http://streaming.openvideoads.org/shows/the-black-hole.mp4"
+var OVA_PSEUDO_SHOW_STREAM = "http://streaming.openvideoads.org:81/shows/the-black-hole.mp4"
+var OVA_HTTP_SHOW_STREAM_2 = "http://streaming.openvideoads.org/shows/bbb-640x360.mp4"
+var OVA_AUDIO_SHOW_STREAM = "http://streaming.openvideoads.org/shows/girlwho.mp3"
+
+// IMAGES, SKINS
+
+var OVA_CUSTOM_LOGO = "http://www.longtailvideo.com/content/ova/images/hc-player.png"
+var OVA_HTTP_SHOW_STREAM_IMAGE = "http://static.openvideoads.org/shows/the-black-hole-thumbnail.png"
+var OVA_JW5_SKIN = "http://static.openvideoads.org/downloads/skins/lulu.zip"
+var OVA_BOTR_PLAYLIST = "http://content.bitsontherun.com/jwp/482jsTAr.xml"
+
+// LIVE AD TAGS
+
+var OVA_OPENX_API = "http://openx.openvideoads.org/openx/www/delivery/fc.php"
+var OVA_AD_TAG_LINEAR_STREAM_WITH_80x300_COMPANION = "http://openx.openvideoads.org/openx/www/delivery/fc.php?script=bannerTypeHtml:vastInlineBannerTypeHtml:vastInlineHtml__amp__zones=pre-roll:0.0-0%3D50__amp__nz=1__amp__source=__amp__r=R0.05822725687175989__amp__block=1__amp__format=vast__amp__charset=UTF-8";
+var OVA_ADFORM_PRE_ROLL = "http://track.adform.net/serving/videoad/?bn=453599__amp__ord=1328005854622"
+var OVA_LIVERAIL_PRE_ROLL = "http://ad3.liverail.com/?LR_PUBLISHER_ID=1331__amp__LR_CAMPAIGN_ID=229__amp__LR_SCHEMA=vast2"
+var OVA_BAD_OPENX_PRE_ROLL = "http://openx.openvideoads.org/openx/www/delivery/fc.php?script=bannerTypeHtml:vastInlineBannerTypeHtml:vastInlineHtml__amp__zones=pre-roll:0.0-0%3D978__amp__nz=1__amp__source=__amp__r=R0.05822725687175989__amp__block=1__amp__format=vast__amp__charset=UTF-8"
+var OVA_AD_TAG_VPAID = "http://www.adotube.com/kernel/vast/vast.php?omlSource=http://www.adotube.com/php/services/player/OMLService.php?avpid=UDKjuff__amp__ad_type=pre-rolls__amp__platform_version=vast20as3__amp__vpaid=1__amp__rtb=0__amp__publisher=adotube.com__amp__title=[VIDEO_TITLE]__amp__tags=[VIDEO_TAGS]__amp__description=[VIDEO_DESCRIPTION]__amp__videoURL=[VIDEO_FILE_URL]"
+var OVA_AD_TAG_NON_LINEAR_VPAID = "http://www.adotube.com/kernel/vast/vast.php?omlSource=http://www.adotube.com/php/services/player/OMLService.php?avpid=pctozxH__amp__ad_type=overlays__amp__platform_version=vast20as3__amp__vpaid=1__amp__rtb=0__amp__publisher=adotube.com__amp__title=[VIDEO_TITLE]__amp__tags=[VIDEO_TAGS]__amp__description=[VIDEO_DESCRIPTION]__amp__videoURL=[VIDEO_FILE_URL]"
+var OVA_AD_TAG_FAILOVER_1 = "http://xxxadserver.adtech.de/?adrawdata/3.0/990.1/2366662/0/1725/noperf=1;cc=2;header=yes;cookie=yes;adct=204;alias=;key=key1+key2;;=;grp=[group];misc=__random-number__"
+var OVA_AD_TAG_FAILOVER_2 = "http://adserver.adtech.de/?adrawdata/3.0/990.1/2366662/0/1725/noperf=1;cc=2;header=yes;cookie=yes;adct=204;alias=;key=key1+key2;;=;grp=[group];misc=__random-number__"
+
+// TEMPLATE BASED AD TAGS
+
+var OVA_AUDIO_AD_TAG = "http://www.longtailvideo.com/content/ova/tags/vast1-mp3-linear.xml"
+var OVA_AD_TAG_VAST1_MP4_NO_MARKERS = "http://www.longtailvideo.com/content/ova/tags/vast1-mp4-no-markers.xml"
+var OVA_AD_TAG_FLOWPLAYER_PROXY = "http://www.longtailvideo.com/content/ova/tags/akamai-vast-response.xml"
+var OVA_AD_TAG_LINEAR_WITH_CLICK_TRACKING = "http://www.longtailvideo.com/content/ova/tags/vast1-linear-with-click-tracking.xml"
+var OVA_AD_TAG_MULTIPLE_NON_LINEAR_TYPES = "http://www.longtailvideo.com/content/ova/tags/vast2-multi-types.xml"
+var OVA_AD_TAG_BITRATES = "http://www.longtailvideo.com/content/ova/tags/openx-bitrates-vast.xml"
+var OVA_AD_TAG_SCALABLE_NON_LINEAR_IMAGE = "http://www.longtailvideo.com/content/ova/tags/vast2-image-scalable.xml"
+
+// PLAYER SPECIFIC OVA SETTINGS
+
+var PLAYER_SPECIFIC_AUDIO_PROVIDER = {
+    "flowplayer": "audio",
+    "jw5": "sound"
+}
+
+function _ovaDebug(output) {
+	try {
+   		console.log(output);
+  	}
+  	catch(error) {}
+}
+
+function _ovaStripNewlines(data) {
+    if(data != null) {
+		return data.replace(/(\r\n|\n|\r)/gm,"");
+    }
+    return data;
+}
+
+function _ovaShortenString(data, front, back) {
+    if(data != null) {
+	    if(data.length > (front + back)) {
+    	   return data.substring(0, front) + " ... " + data.substring(data.length-back, data.length);
+    	}
+    }
+    return data;
+}
+
+function _ovaReplaceVariables(data, shorten, replaceAmps, playerName) {
+    if(data != null) {
+    	var result = data.replace(/OVA_FLOWPLAYER_SWF/gm, OVA_FLOWPLAYER_SWF);
+    	result = result.replace(/OVA_JW5_PLAYER_SWF/gm, OVA_JW5_PLAYER_SWF);
+    	result = result.replace(/OVA_JW5_LICENSED_PLAYER_SWF/gm, OVA_JW5_LICENSED_PLAYER_SWF);
+    	result = result.replace(/OVA_FLOWPLAYER_PLUGIN_SWF/gm, OVA_FLOWPLAYER_PLUGIN_SWF);
+    	result = result.replace(/OVA_JW5_PLUGIN_SWF/gm, OVA_JW5_PLUGIN_SWF);
+    	result = result.replace(/OVA_FLOWPLAYER_AUDIO_PLUGIN_SWF/gm, OVA_FLOWPLAYER_AUDIO_PLUGIN_SWF);
+    	result = result.replace(/OVA_FLOWPLAYER_RTMP_PLUGIN_SWF/gm, OVA_FLOWPLAYER_RTMP_PLUGIN_SWF);
+    	result = result.replace(/OVA_FLOWPLAYER_BWCHECK_PLUGIN_SWF/gm, OVA_FLOWPLAYER_BWCHECK_PLUGIN_SWF);
+    	result = result.replace(/OVA_FLOWPLAYER_CLUSTER_PLUGIN_SWF/gm, OVA_FLOWPLAYER_CLUSTER_PLUGIN_SWF);
+    	result = result.replace(/OVA_FLOWPLAYER_PROXY_PLUGIN_SWF/gm, OVA_FLOWPLAYER_PROXY_PLUGIN_SWF);
+    	result = result.replace(/OVA_FLOWPLAYER_SECURE_PLUGIN_SWF/gm, OVA_FLOWPLAYER_SECURE_PLUGIN_SWF);
+    	result = result.replace(/OVA_FLOWPLAYER_SECURE_TOKEN/gm, OVA_FLOWPLAYER_SECURE_TOKEN);
+    	result = result.replace(/OVA_CUSTOM_LOGO/gm, OVA_CUSTOM_LOGO);
+    	result = result.replace(/OVA_JW5_SKIN/gm, OVA_JW5_SKIN);
+    	result = result.replace(/OVA_OPENX_API/gm, OVA_OPENX_API);
+
+    	if(shorten) {
+		    result = result.replace(/OVA_AD_TAG_LINEAR_STREAM_WITH_80x300_COMPANION/gm, _ovaShortenString(OVA_AD_TAG_LINEAR_STREAM_WITH_80x300_COMPANION, 25, 20));
+		    result = result.replace(/OVA_ADFORM_PRE_ROLL/gm, _ovaShortenString(OVA_ADFORM_PRE_ROLL, 25, 20));
+		    result = result.replace(/OVA_LIVERAIL_PRE_ROLL/gm, _ovaShortenString(OVA_LIVERAIL_PRE_ROLL, 25, 20));
+		    result = result.replace(/OVA_BAD_OPENX_PRE_ROLL/gm, _ovaShortenString(OVA_BAD_OPENX_PRE_ROLL, 25, 20));
+		    result = result.replace(/OVA_AUDIO_AD_TAG/gm, _ovaShortenString(OVA_AUDIO_AD_TAG, 25, 20));
+		    result = result.replace(/OVA_AD_TAG_VAST1_MP4_NO_MARKERS/gm, _ovaShortenString(OVA_AD_TAG_VAST1_MP4_NO_MARKERS, 25, 20));
+		    result = result.replace(/OVA_AD_TAG_FLOWPLAYER_PROXY/gm, _ovaShortenString(OVA_AD_TAG_FLOWPLAYER_PROXY, 25, 20));
+		    result = result.replace(/OVA_AD_TAG_VPAID/gm, _ovaShortenString(OVA_AD_TAG_VPAID, 25, 20));
+		    result = result.replace(/OVA_AD_TAG_LINEAR_WITH_CLICK_TRACKING/gm, _ovaShortenString(OVA_AD_TAG_LINEAR_WITH_CLICK_TRACKING, 25, 20));
+		    result = result.replace(/OVA_AD_TAG_MULTIPLE_NON_LINEAR_TYPES/gm, _ovaShortenString(OVA_AD_TAG_MULTIPLE_NON_LINEAR_TYPES, 25, 20));
+		    result = result.replace(/OVA_AD_TAG_NON_LINEAR_VPAID/gm, _ovaShortenString(OVA_AD_TAG_NON_LINEAR_VPAID, 25, 20));
+		    result = result.replace(/OVA_AD_TAG_BITRATES/gm, _ovaShortenString(OVA_AD_TAG_BITRATES, 25, 20));
+		    result = result.replace(/OVA_AD_TAG_FAILOVER_1/gm, _ovaShortenString(OVA_AD_TAG_FAILOVER_1, 25, 20));
+		    result = result.replace(/OVA_AD_TAG_FAILOVER_2/gm, _ovaShortenString(OVA_AD_TAG_FAILOVER_2, 25, 20));
+		    result = result.replace(/OVA_AD_TAG_SCALABLE_NON_LINEAR_IMAGE/gm, _ovaShortenString(OVA_AD_TAG_SCALABLE_NON_LINEAR_IMAGE, 25, 20));
+    	}
+    	else {
+		    result = result.replace(/OVA_AD_TAG_LINEAR_STREAM_WITH_80x300_COMPANION/gm, OVA_AD_TAG_LINEAR_STREAM_WITH_80x300_COMPANION);
+		    result = result.replace(/OVA_ADFORM_PRE_ROLL/gm, OVA_ADFORM_PRE_ROLL);
+		    result = result.replace(/OVA_LIVERAIL_PRE_ROLL/gm, OVA_LIVERAIL_PRE_ROLL);
+		    result = result.replace(/OVA_BAD_OPENX_PRE_ROLL/gm, OVA_BAD_OPENX_PRE_ROLL);
+		    result = result.replace(/OVA_AUDIO_AD_TAG/gm, OVA_AUDIO_AD_TAG);
+		    result = result.replace(/OVA_AD_TAG_VAST1_MP4_NO_MARKERS/gm, OVA_AD_TAG_VAST1_MP4_NO_MARKERS);
+		    result = result.replace(/OVA_AD_TAG_FLOWPLAYER_PROXY/gm, OVA_AD_TAG_FLOWPLAYER_PROXY);
+		    result = result.replace(/OVA_AD_TAG_VPAID/gm, OVA_AD_TAG_VPAID);
+		    result = result.replace(/OVA_AD_TAG_LINEAR_WITH_CLICK_TRACKING/gm, OVA_AD_TAG_LINEAR_WITH_CLICK_TRACKING);
+		    result = result.replace(/OVA_AD_TAG_MULTIPLE_NON_LINEAR_TYPES/gm, OVA_AD_TAG_MULTIPLE_NON_LINEAR_TYPES);
+		    result = result.replace(/OVA_AD_TAG_NON_LINEAR_VPAID/gm, OVA_AD_TAG_NON_LINEAR_VPAID);
+		    result = result.replace(/OVA_AD_TAG_BITRATES/gm, OVA_AD_TAG_BITRATES);
+		    result = result.replace(/OVA_AD_TAG_FAILOVER_1/gm, OVA_AD_TAG_FAILOVER_1);
+		    result = result.replace(/OVA_AD_TAG_FAILOVER_2/gm, OVA_AD_TAG_FAILOVER_2);
+		    result = result.replace(/OVA_AD_TAG_SCALABLE_NON_LINEAR_IMAGE/gm, OVA_AD_TAG_SCALABLE_NON_LINEAR_IMAGE);
+    	}
+
+    	result = result.replace(/OVA_HTTP_SHOW_STREAM_2/gm, OVA_HTTP_SHOW_STREAM_2);
+    	result = result.replace(/OVA_HTTP_SHOW_STREAM_IMAGE/gm, OVA_HTTP_SHOW_STREAM_IMAGE);
+    	result = result.replace(/OVA_HTTP_SHOW_STREAM/gm, OVA_HTTP_SHOW_STREAM);
+    	result = result.replace(/OVA_PSEUDO_SHOW_STREAM/gm, OVA_PSEUDO_SHOW_STREAM);
+    	result = result.replace(/OVA_AUDIO_SHOW_STREAM/gm, OVA_AUDIO_SHOW_STREAM);
+    	result = result.replace(/OVA_BOTR_PLAYLIST/gm, OVA_BOTR_PLAYLIST);
+
+    	result = result.replace(/PLAYER_SPECIFIC_AUDIO_PROVIDER/gm, PLAYER_SPECIFIC_AUDIO_PROVIDER[playerName]);
+        if(replaceAmps) {
+           result = result.replace(/__amp__/gm, "&");
+        }
+    	return result;
+    }
+    return "";
+}
+
+// === The following methods generates the final player configuration objects =============================================
+
+function _ovaBuildFinalPlayerConfigObject(playerName, ovaConfigObject, pluginID, replaceAmps) {
+    // Base config is the template in the flowplayer config DIV
+    var finalConfigObject = JSON.parse(_ovaReplaceVariables(_ovaStripNewlines($("#ova-" + playerName + "-config").html()), false, replaceAmps, playerName));
+
+	// Now add in the example specific config options to the "ova" config variable
+	if(ovaConfigObject != null && finalConfigObject != null) {
+	    if(finalConfigObject.hasOwnProperty("plugins") == false) finalConfigObject["plugins"] = {};
+	    if(finalConfigObject.plugins.hasOwnProperty(pluginID) == false) finalConfigObject.plugins[pluginID] = {};
+		for(var attr in ovaConfigObject) {
+        	if(ovaConfigObject.hasOwnProperty(attr)) finalConfigObject.plugins[pluginID][attr] = ovaConfigObject[attr];
+    	}
+	}
+	return finalConfigObject;
+}
+
+function _ovaBuildFinalFlowplayerConfigObject(ovaConfigObject) {
+    return _ovaBuildFinalPlayerConfigObject("flowplayer", ovaConfigObject, "ova", false);
+}
+
+function _ovaBuildFinalJW5ConfigObject(ovaConfigObject) {
+    return _ovaBuildFinalPlayerConfigObject("jw5", ovaConfigObject, OVA_JW5_PLUGIN, true);
+}
+
+// === The following methods generates printable versions of the config ===================================================
+
+function _ovaExtractOVAConfigAsObject(shorten, replaceAmps, playerName) {
+    return JSON.parse(
+    		_ovaReplaceVariables(
+	    		_ovaStripNewlines(
+    				$("#ova-config").html()
+    			),
+    			shorten,
+    			replaceAmps,
+    			playerName
+    		)
+    );
+}
+
+function _ovaGetPrintableJSONConfig(ovaConfigObject) {
+	return 	"<pre class='prettyprint lang-html'>\n" +
+	            JSON.stringify(ovaConfigObject, undefined, 2) +
+			"</pre>"
+}
+
+function _ovaGetPrintableFlowplayerConfig(ovaConfigObject) {
+	return "<pre class='prettyprint lang-html'>\n" +
+			  "&lt;script type='text/javascript'>\n" +
+				"flowplayer('a.container', { src: 'flowplayer-3.2.7.swf', wmode: 'opaque' }, " +
+				    JSON.stringify(_ovaBuildFinalFlowplayerConfigObject(ovaConfigObject), undefined, 2) +
+				");\n" +
+			  "&lt;/script>\n" +
+			"</pre>";
+}
+
+function _ovaGetPrintableJW5Config(ovaConfigObject) {
+	return "<pre class='prettyprint lang-html'>\n" +
+			  "&lt;script type='text/javascript'>\n" +
+                "jwplayer('ova-jwplayer-container').setup(" +
+				    JSON.stringify(_ovaBuildFinalJW5ConfigObject(ovaConfigObject), undefined, 2) +
+				");\n" +
+			  "&lt;/script>\n" +
+			"</pre>";
+}
+
+// === The following methods support tab activation  ======================================================================
+
+function _ovaActivateConfigTab(activeProduct, inactiveProduct1, inactiveProduct2) {
+    // Activate the required tab, deactivate the rest
+
+    $("#ova-tab-" + activeProduct).children("a").addClass("current");
+    $("#ova-tab-" + inactiveProduct1).children("a").removeClass("current");
+    $("#ova-tab-" + inactiveProduct2).children("a").removeClass("current");
+
+    // Show the associated config code block and player instance
+
+    var container = "";
+
+    if(activeProduct == "flowplayer") {
+        // insert the config code block
+	   	$("#ova-example-config").html(_ovaGetPrintableFlowplayerConfig(_ovaExtractOVAConfigAsObject(true, false, "flowplayer")));
+
+	   	if($("#ova-config").attr("companion") == "true") {
+	   	   container = "<div style='width:540px;'>\n" +
+	   	                  "<div style='background:#000000;float:left;width:450px;height:300px;'>\n" +
+	   	                      "<a class='ova-flowplayer-container' style='background:#000000;width:100%;height:300px;'></a>\n" +
+	   	                  "</div>\n" +
+	   	                  "<div id='companion' style='width:80px;height:300px;background:#DDDDDD;float:right;'></div>\n" +
+	   	               "</div>";
+	   	}
+	   	else if($("#ova-config").attr("companion_300x250") == "true") {
+	   	   container = "<div style='width:700px;'>\n" +
+	   	                  "<div style='background:#000000;float:left;width:400px;height:250px;'>\n" +
+	   	                      "<a class='ova-flowplayer-container' style='background:#000000;width:100%;height:250px;'></a>\n" +
+	   	                  "</div>\n" +
+	   	                  "<div id='companion' style='width:300px;height:250px;background:#DDDDDD;float:right;'></div>\n" +
+	   	               "</div>";
+	   	}
+	   	else container = "<a class='ova-flowplayer-container' style='height:300px;width:450px;'></a>\n";
+
+	   	// setup the flowplayer instance
+        $("#ova-example-player").html(
+            container +
+		    "<script type='text/javascript'>\n" +
+			  "flowplayer('a.ova-flowplayer-container', { src: '" + OVA_FLOWPLAYER_SWF + "', wmode: 'opaque' },\n" +
+			      JSON.stringify(_ovaBuildFinalFlowplayerConfigObject(_ovaExtractOVAConfigAsObject(false, false, "flowplayer")), undefined, 2) +
+			  ");\n" +
+		    "</script>\n"
+		);
+    }
+    else if(activeProduct == "jw5") {
+        // insert the config code block
+	    $("#ova-example-config").html(_ovaGetPrintableJW5Config(_ovaExtractOVAConfigAsObject(true, true, "jw5")));
+
+	   	if($("#ova-config").attr("companion") == "true") {
+	   	   container = "<div style='width:540px;'>\n" +
+	   	                  "<div style='background:#000000;width:450px;float:left;'><div id='ova-jwplayer-container'></div></div>\n" +
+	   	                  "<div id='companion' style='width:80px;height:300px;background:#DDDDDD;float:right;'></div>" +
+	   	               "</div>";
+	   	}
+	   	else if($("#ova-config").attr("companion_300x250") == "true") {
+	   	   container = "<div style='width:700px;'>\n" +
+	   	                  "<div style='background:#000000;width:400px;float:left;'><div id='ova-jwplayer-container'></div></div>\n" +
+	   	                  "<div id='companion' style='width:300px;height:250px;background:#DDDDDD;float:right;'></div>" +
+	   	               "</div>";
+	   	}
+	   	else container = "<div id='ova-jwplayer-container'></div>\n";
+
+        // setup the jw5 player instance
+        $("#ova-example-player").html(
+            container +
+		    "<script type='text/javascript'>\n" +
+              "jwplayer('ova-jwplayer-container').setup(" +
+			      JSON.stringify(_ovaBuildFinalJW5ConfigObject(_ovaExtractOVAConfigAsObject(false, true, "jw5")), undefined, 2) +
+			  ");\n" +
+		    "</script>\n"
+		);
+    }
+    else {
+	    $("#ova-example-config").html(_ovaGetPrintableJSONConfig(_ovaExtractOVAConfigAsObject(true, true, "jw5")));
+    }
+}
+
+function _ovaActivateJSON() {
+    _ovaActivateConfigTab("json", "flowplayer", "jw5");
+}
+
+function _ovaActivateFlowplayer() {
+    _ovaActivateConfigTab("flowplayer", "jw5", "json");
+}
+
+function _ovaActivateJW5() {
+    _ovaActivateConfigTab("jw5", "flowplayer", "json");
+}
+
+function _ovaInsertExampleConfig() {
+    // Setup the click handlers for each tab
+
+    $("#ova-tab-json").click(function() { _ovaActivateJSON() });
+    $("#ova-tab-flowplayer").click(function() { _ovaActivateFlowplayer() });
+    $("#ova-tab-jw5").click(function() { _ovaActivateJW5() });
+
+    // Setup the clean example page click handler
+    $("#ova-clean-example-link").click(function() { alert("Not implemented"); });
+
+    // Now insert the default example content
+   	if($("#ova-flowplayer-config").attr("active") == "true") {
+   	   _ovaActivateFlowplayer();
+   	}
+   	else _ovaActivateJW5();
+}
+
+_ovaInsertExampleConfig();
+});
Index: /tags/assets/v1.0/js/ova-includes.js
===================================================================
--- /tags/assets/v1.0/js/ova-includes.js	(revision 688)
+++ /tags/assets/v1.0/js/ova-includes.js	(revision 688)
@@ -0,0 +1,14 @@
+$.getScript('http://www.longtailvideo.com/content/ova/flowplayer/flowplayer-3.2.6.min.js', function(data, textStatus, jqxhr) {
+    $.getScript('http://player.longtailvideo.com/jwplayer-5.9.js', function(data, textStatus, jqxhr) {
+        $.getScript('http://www.longtailvideo.com/content/ova/js/json2.js', function(data, textStatus, jqxhr) {
+            $.getScript('http://www.longtailvideo.com/content/ova/js/ova-jquery.js', function(data, textStatus, jqxhr) {
+                $.getScript('http://www.longtailvideo.com/content/ova/js/ova-examplifier.js', function(data, textStatus, jqxhr) {
+                     $.getScript('http://www.longtailvideo.com/content/ova/js/prettify.js', function(data, textStatus, jqxhr) {
+                        $(document).ready(function(){prettyPrint();});
+                     });
+                });
+            });
+        });
+    });
+});
+
Index: /tags/assets/v1.0/js/json2.js
===================================================================
--- /tags/assets/v1.0/js/json2.js	(revision 688)
+++ /tags/assets/v1.0/js/json2.js	(revision 688)
@@ -0,0 +1,487 @@
+/*
+    http://www.JSON.org/json2.js
+    2011-10-19
+
+    Public Domain.
+
+    NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
+
+    See http://www.JSON.org/js.html
+
+
+    This code should be minified before deployment.
+    See http://javascript.crockford.com/jsmin.html
+
+    USE YOUR OWN COPY. IT IS EXTREMELY UNWISE TO LOAD CODE FROM SERVERS YOU DO
+    NOT CONTROL.
+
+
+    This file creates a global JSON object containing two methods: stringify
+    and parse.
+
+        JSON.stringify(value, replacer, space)
+            value       any JavaScript value, usually an object or array.
+
+            replacer    an optional parameter that determines how object
+                        values are stringified for objects. It can be a
+                        function or an array of strings.
+
+            space       an optional parameter that specifies the indentation
+                        of nested structures. If it is omitted, the text will
+                        be packed without extra whitespace. If it is a number,
+                        it will specify the number of spaces to indent at each
+                        level. If it is a string (such as '\t' or '&nbsp;'),
+                        it contains the characters used to indent at each level.
+
+            This method produces a JSON text from a JavaScript value.
+
+            When an object value is found, if the object contains a toJSON
+            method, its toJSON method will be called and the result will be
+            stringified. A toJSON method does not serialize: it returns the
+            value represented by the name/value pair that should be serialized,
+            or undefined if nothing should be serialized. The toJSON method
+            will be passed the key associated with the value, and this will be
+            bound to the value
+
+            For example, this would serialize Dates as ISO strings.
+
+                Date.prototype.toJSON = function (key) {
+                    function f(n) {
+                        // Format integers to have at least two digits.
+                        return n < 10 ? '0' + n : n;
+                    }
+
+                    return this.getUTCFullYear()   + '-' +
+                         f(this.getUTCMonth() + 1) + '-' +
+                         f(this.getUTCDate())      + 'T' +
+                         f(this.getUTCHours())     + ':' +
+                         f(this.getUTCMinutes())   + ':' +
+                         f(this.getUTCSeconds())   + 'Z';
+                };
+
+            You can provide an optional replacer method. It will be passed the
+            key and value of each member, with this bound to the containing
+            object. The value that is returned from your method will be
+            serialized. If your method returns undefined, then the member will
+            be excluded from the serialization.
+
+            If the replacer parameter is an array of strings, then it will be
+            used to select the members to be serialized. It filters the results
+            such that only members with keys listed in the replacer array are
+            stringified.
+
+            Values that do not have JSON representations, such as undefined or
+            functions, will not be serialized. Such values in objects will be
+            dropped; in arrays they will be replaced with null. You can use
+            a replacer function to replace those with JSON values.
+            JSON.stringify(undefined) returns undefined.
+
+            The optional space parameter produces a stringification of the
+            value that is filled with line breaks and indentation to make it
+            easier to read.
+
+            If the space parameter is a non-empty string, then that string will
+            be used for indentation. If the space parameter is a number, then
+            the indentation will be that many spaces.
+
+            Example:
+
+            text = JSON.stringify(['e', {pluribus: 'unum'}]);
+            // text is '["e",{"pluribus":"unum"}]'
+
+
+            text = JSON.stringify(['e', {pluribus: 'unum'}], null, '\t');
+            // text is '[\n\t"e",\n\t{\n\t\t"pluribus": "unum"\n\t}\n]'
+
+            text = JSON.stringify([new Date()], function (key, value) {
+                return this[key] instanceof Date ?
+                    'Date(' + this[key] + ')' : value;
+            });
+            // text is '["Date(---current time---)"]'
+
+
+        JSON.parse(text, reviver)
+            This method parses a JSON text to produce an object or array.
+            It can throw a SyntaxError exception.
+
+            The optional reviver parameter is a function that can filter and
+            transform the results. It receives each of the keys and values,
+            and its return value is used instead of the original value.
+            If it returns what it received, then the structure is not modified.
+            If it returns undefined then the member is deleted.
+
+            Example:
+
+            // Parse the text. Values that look like ISO date strings will
+            // be converted to Date objects.
+
+            myData = JSON.parse(text, function (key, value) {
+                var a;
+                if (typeof value === 'string') {
+                    a =
+/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}(?:\.\d*)?)Z$/.exec(value);
+                    if (a) {
+                        return new Date(Date.UTC(+a[1], +a[2] - 1, +a[3], +a[4],
+                            +a[5], +a[6]));
+                    }
+                }
+                return value;
+            });
+
+            myData = JSON.parse('["Date(09/09/2001)"]', function (key, value) {
+                var d;
+                if (typeof value === 'string' &&
+                        value.slice(0, 5) === 'Date(' &&
+                        value.slice(-1) === ')') {
+                    d = new Date(value.slice(5, -1));
+                    if (d) {
+                        return d;
+                    }
+                }
+                return value;
+            });
+
+
+    This is a reference implementation. You are free to copy, modify, or
+    redistribute.
+*/
+
+/*jslint evil: true, regexp: true */
+
+/*members "", "\b", "\t", "\n", "\f", "\r", "\"", JSON, "\\", apply,
+    call, charCodeAt, getUTCDate, getUTCFullYear, getUTCHours,
+    getUTCMinutes, getUTCMonth, getUTCSeconds, hasOwnProperty, join,
+    lastIndex, length, parse, prototype, push, replace, slice, stringify,
+    test, toJSON, toString, valueOf
+*/
+
+
+// Create a JSON object only if one does not already exist. We create the
+// methods in a closure to avoid creating global variables.
+
+var JSON;
+if (!JSON) {
+    JSON = {};
+}
+
+(function () {
+    'use strict';
+
+    function f(n) {
+        // Format integers to have at least two digits.
+        return n < 10 ? '0' + n : n;
+    }
+
+    if (typeof Date.prototype.toJSON !== 'function') {
+
+        Date.prototype.toJSON = function (key) {
+
+            return isFinite(this.valueOf())
+                ? this.getUTCFullYear()     + '-' +
+                    f(this.getUTCMonth() + 1) + '-' +
+                    f(this.getUTCDate())      + 'T' +
+                    f(this.getUTCHours())     + ':' +
+                    f(this.getUTCMinutes())   + ':' +
+                    f(this.getUTCSeconds())   + 'Z'
+                : null;
+        };
+
+        String.prototype.toJSON      =
+            Number.prototype.toJSON  =
+            Boolean.prototype.toJSON = function (key) {
+                return this.valueOf();
+            };
+    }
+
+    var cx = /[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
+        escapable = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
+        gap,
+        indent,
+        meta = {    // table of character substitutions
+            '\b': '\\b',
+            '\t': '\\t',
+            '\n': '\\n',
+            '\f': '\\f',
+            '\r': '\\r',
+            '"' : '\\"',
+            '\\': '\\\\'
+        },
+        rep;
+
+
+    function quote(string) {
+
+// If the string contains no control characters, no quote characters, and no
+// backslash characters, then we can safely slap some quotes around it.
+// Otherwise we must also replace the offending characters with safe escape
+// sequences.
+
+        escapable.lastIndex = 0;
+        return escapable.test(string) ? '"' + string.replace(escapable, function (a) {
+            var c = meta[a];
+            return typeof c === 'string'
+                ? c
+                : '\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4);
+        }) + '"' : '"' + string + '"';
+    }
+
+
+    function str(key, holder) {
+
+// Produce a string from holder[key].
+
+        var i,          // The loop counter.
+            k,          // The member key.
+            v,          // The member value.
+            length,
+            mind = gap,
+            partial,
+            value = holder[key];
+
+// If the value has a toJSON method, call it to obtain a replacement value.
+
+        if (value && typeof value === 'object' &&
+                typeof value.toJSON === 'function') {
+            value = value.toJSON(key);
+        }
+
+// If we were called with a replacer function, then call the replacer to
+// obtain a replacement value.
+
+        if (typeof rep === 'function') {
+            value = rep.call(holder, key, value);
+        }
+
+// What happens next depends on the value's type.
+
+        switch (typeof value) {
+        case 'string':
+            return quote(value);
+
+        case 'number':
+
+// JSON numbers must be finite. Encode non-finite numbers as null.
+
+            return isFinite(value) ? String(value) : 'null';
+
+        case 'boolean':
+        case 'null':
+
+// If the value is a boolean or null, convert it to a string. Note:
+// typeof null does not produce 'null'. The case is included here in
+// the remote chance that this gets fixed someday.
+
+            return String(value);
+
+// If the type is 'object', we might be dealing with an object or an array or
+// null.
+
+        case 'object':
+
+// Due to a specification blunder in ECMAScript, typeof null is 'object',
+// so watch out for that case.
+
+            if (!value) {
+                return 'null';
+            }
+
+// Make an array to hold the partial results of stringifying this object value.
+
+            gap += indent;
+            partial = [];
+
+// Is the value an array?
+
+            if (Object.prototype.toString.apply(value) === '[object Array]') {
+
+// The value is an array. Stringify every element. Use null as a placeholder
+// for non-JSON values.
+
+                length = value.length;
+                for (i = 0; i < length; i += 1) {
+                    partial[i] = str(i, value) || 'null';
+                }
+
+// Join all of the elements together, separated with commas, and wrap them in
+// brackets.
+
+                v = partial.length === 0
+                    ? '[]'
+                    : gap
+                    ? '[\n' + gap + partial.join(',\n' + gap) + '\n' + mind + ']'
+                    : '[' + partial.join(',') + ']';
+                gap = mind;
+                return v;
+            }
+
+// If the replacer is an array, use it to select the members to be stringified.
+
+            if (rep && typeof rep === 'object') {
+                length = rep.length;
+                for (i = 0; i < length; i += 1) {
+                    if (typeof rep[i] === 'string') {
+                        k = rep[i];
+                        v = str(k, value);
+                        if (v) {
+                            partial.push(quote(k) + (gap ? ': ' : ':') + v);
+                        }
+                    }
+                }
+            } else {
+
+// Otherwise, iterate through all of the keys in the object.
+
+                for (k in value) {
+                    if (Object.prototype.hasOwnProperty.call(value, k)) {
+                        v = str(k, value);
+                        if (v) {
+                            partial.push(quote(k) + (gap ? ': ' : ':') + v);
+                        }
+                    }
+                }
+            }
+
+// Join all of the member texts together, separated with commas,
+// and wrap them in braces.
+
+            v = partial.length === 0
+                ? '{}'
+                : gap
+                ? '{\n' + gap + partial.join(',\n' + gap) + '\n' + mind + '}'
+                : '{' + partial.join(',') + '}';
+            gap = mind;
+            return v;
+        }
+    }
+
+// If the JSON object does not yet have a stringify method, give it one.
+
+    if (typeof JSON.stringify !== 'function') {
+        JSON.stringify = function (value, replacer, space) {
+
+// The stringify method takes a value and an optional replacer, and an optional
+// space parameter, and returns a JSON text. The replacer can be a function
+// that can replace values, or an array of strings that will select the keys.
+// A default replacer method can be provided. Use of the space parameter can
+// produce text that is more easily readable.
+
+            var i;
+            gap = '';
+            indent = '';
+
+// If the space parameter is a number, make an indent string containing that
+// many spaces.
+
+            if (typeof space === 'number') {
+                for (i = 0; i < space; i += 1) {
+                    indent += ' ';
+                }
+
+// If the space parameter is a string, it will be used as the indent string.
+
+            } else if (typeof space === 'string') {
+                indent = space;
+            }
+
+// If there is a replacer, it must be a function or an array.
+// Otherwise, throw an error.
+
+            rep = replacer;
+            if (replacer && typeof replacer !== 'function' &&
+                    (typeof replacer !== 'object' ||
+                    typeof replacer.length !== 'number')) {
+                throw new Error('JSON.stringify');
+            }
+
+// Make a fake root object containing our value under the key of ''.
+// Return the result of stringifying the value.
+
+            return str('', {'': value});
+        };
+    }
+
+
+// If the JSON object does not yet have a parse method, give it one.
+
+    if (typeof JSON.parse !== 'function') {
+        JSON.parse = function (text, reviver) {
+
+// The parse method takes a text and an optional reviver function, and returns
+// a JavaScript value if the text is a valid JSON text.
+
+            var j;
+
+            function walk(holder, key) {
+
+// The walk method is used to recursively walk the resulting structure so
+// that modifications can be made.
+
+                var k, v, value = holder[key];
+                if (value && typeof value === 'object') {
+                    for (k in value) {
+                        if (Object.prototype.hasOwnProperty.call(value, k)) {
+                            v = walk(value, k);
+                            if (v !== undefined) {
+                                value[k] = v;
+                            } else {
+                                delete value[k];
+                            }
+                        }
+                    }
+                }
+                return reviver.call(holder, key, value);
+            }
+
+
+// Parsing happens in four stages. In the first stage, we replace certain
+// Unicode characters with escape sequences. JavaScript handles many characters
+// incorrectly, either silently deleting them, or treating them as line endings.
+
+            text = String(text);
+            cx.lastIndex = 0;
+            if (cx.test(text)) {
+                text = text.replace(cx, function (a) {
+                    return '\\u' +
+                        ('0000' + a.charCodeAt(0).toString(16)).slice(-4);
+                });
+            }
+
+// In the second stage, we run the text against regular expressions that look
+// for non-JSON patterns. We are especially concerned with '()' and 'new'
+// because they can cause invocation, and '=' because it can cause mutation.
+// But just to be safe, we want to reject all unexpected forms.
+
+// We split the second stage into 4 regexp operations in order to work around
+// crippling inefficiencies in IE's and Safari's regexp engines. First we
+// replace the JSON backslash pairs with '@' (a non-JSON character). Second, we
+// replace all simple value tokens with ']' characters. Third, we delete all
+// open brackets that follow a colon or comma or that begin the text. Finally,
+// we look to see that the remaining characters are only whitespace or ']' or
+// ',' or ':' or '{' or '}'. If that is so, then the text is safe for eval.
+
+            if (/^[\],:{}\s]*$/
+                    .test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, '@')
+                        .replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, ']')
+                        .replace(/(?:^|:|,)(?:\s*\[)+/g, ''))) {
+
+// In the third stage we use the eval function to compile the text into a
+// JavaScript structure. The '{' operator is subject to a syntactic ambiguity
+// in JavaScript: it can begin a block or an object literal. We wrap the text
+// in parens to eliminate the ambiguity.
+
+                j = eval('(' + text + ')');
+
+// In the optional fourth stage, we recursively walk the new structure, passing
+// each name/value pair to a reviver function for possible transformation.
+
+                return typeof reviver === 'function'
+                    ? walk({'': j}, '')
+                    : j;
+            }
+
+// If the text is not JSON parseable, then a SyntaxError is thrown.
+
+            throw new SyntaxError('JSON.parse');
+        };
+    }
+}());
Index: /tags/assets/v1.0/js/ova-jquery.js
===================================================================
--- /tags/assets/v1.0/js/ova-jquery.js	(revision 688)
+++ /tags/assets/v1.0/js/ova-jquery.js	(revision 688)
@@ -0,0 +1,219 @@
+/**
+ * Advanced companion & overlay processing scripts - supports insertion of javascript based
+ * companion ad types.
+ *
+ * These methods rely on the prior inclusion of JQuery into the page.
+ *
+ *     Version: 1.0.0
+ *     Dated: March 15, 2001
+ *     Author: Paul Schulz
+ *
+ */
+
+var ova = new function() {
+  // Lower level content insertion and div manipulation functions
+
+  var debugging = true;
+  var previousNonLinearContent = new Array();
+
+  // PUBLIC API
+
+  this.readHTML = function(elementID) {
+    return jQuery('#' + elementID).html();
+  }
+
+  this.writeHTML = function(elementID, src) {
+    jQuery('#' + elementID).html(src);
+  }
+
+  this.writeElement = function(elementID, src) {
+    jQuery('#' + elementID).writeElement(src);
+  }
+
+  /**
+   * Display a non-linear ad
+   */
+  this.displayNonLinearAd = function(ad) {
+	  _debug(ad);
+      if(ad != null) {
+          if(ad.region != null) {
+          		if(ad.content.type != null) {
+			          var elementID = _verifyRegionID(ad.region.region[ad.content.type.toLowerCase()]);
+			          if(elementID != null) {
+				          previousNonLinearContent[elementID] = this.readHTML(elementID);
+					      if(ad.content.type == 'IMAGE' || ad.content.type == 'TEXT' || ad.content.type == 'HTML') {
+					          _debug("Displaying a non-linear ad of type " + ad.content.type + " in a DIV region with ID '" + elementID + "'");
+                              this.writeHTML(elementID, "<div id='ova-click-" + ad.nonLinearVideoAd.uid + "'>" + ad.content.formed + "</div>");
+					          if(ad.clickThroughURL != null) {
+					              jQuery('#ova-click-' + ad.nonLinearVideoAd.uid).click(
+					              	  function() {
+					              	     _processClickThrough(ad.clickThroughURL, ad.content.trackingEvents);
+					              	  }
+					              );
+					          }
+					          _fireImpressions(ad.impressions);
+							  if(ad.region.overlay) _showOverlayContent(elementID, ad);
+					      }
+					      else if(ad.content.type == 'SWF' || ad.content.type == 'IFRAME' || ad.content.type == 'SCRIPT') {
+					          _debug("Displaying a non-linear ad of type " + ad.content.type + " in a DIV region with ID '" + elementID + "'");
+					          this.writeElement(elementID, ad.content.formed);
+					          _fireImpressions(ad.impressions);
+							  if(ad.region.overlay) _showOverlayContent(elementID, ad);
+					      }
+					      else if(ad.content.type == 'VPAID') {
+					          _debug("Cannot play non-linear VPAID ads via HTML5 - ignoring");
+					      }
+					      else _debug("Display non-linear ad - unknown content type '" + ad.content.type + "'");
+			          }
+			          else _debug("Cannot display the non-linear ad via HTML5 - the region (DIV) ID is null");
+          		}
+          }
+          else _debug("Cannot display non-linear ad via HTML5 - no region provided with the ad object");
+      }
+      else _debug("Cannot display non-linear ad via HTML5 - no ad object provided");
+  }
+
+  /**
+   *  Hide a non-linear ad
+   */
+  this.hideNonLinearAd = function(ad) {
+      _debug(ad);
+      if(ad != null) {
+          if(ad.region != null) {
+          	  if(ad.content.type != null) {
+		          var elementID = _verifyRegionID(ad.region.region[ad.content.type.toLowerCase()]);
+		          if(elementID != null) {
+					  if(ad.region.overlay) {
+					  	  _debug("Non-linear ad is an overlay - setting region '" + elementID + "' visibility to false");
+					  	  _hideElement(elementID);
+					  	  if(ad.closeButton != null) {
+					  	      if(ad.closeButton.enabled) {
+ 					  	          _hideElement(ad.closeButton.region);
+					  	      }
+					  	  }
+					  }
+					  else {
+					  	  _debug("Non-linear ad is a non-overlay - restoring the original contents of region '" + elementID + "'");
+					  	  if(previousNonLinearContent[elementID] != null) {
+					  	      this.writeHTML(elementID, previousNonLinearContent[elementID]);
+					  	      previousNonLinearContent[elementID] = null;
+					  	  }
+					  }
+				  }
+				  else _debug("Cannot hide the non-linear ad - no element ID found to identify the region");
+			  }
+			  else _debug("Cannot hide the non-linear ad - no content type specified to identify the region");
+		  }
+		  else _debug("Cannot hide the non-linear ad - no region declared for the ad");
+	  }
+  }
+
+  //=== PRIVATE METHODS
+
+  function _debug(content) {
+     try {
+     	if(debugging) {
+     	    if(typeof(content) == "string") {
+     	       console.log(new Date() + " OVA-JS: " + content);
+     	    }
+ 	        else console.log(content);
+ 	    }
+     }
+     catch(error) {
+     }
+  }
+
+  function _showElement(elementID) {
+  	jQuery('#' + elementID).css("visibility", "visible");
+  }
+
+  function _hideElement(elementID) {
+  	jQuery('#' + elementID).css("visibility", "hidden");
+  }
+
+  function _showOverlayContent(elementID, ad) {
+	 _showElement(elementID);
+     if(ad.closeButton != null) {
+        if(ad.closeButton.enabled) {
+            if(ad.closeButton.program) {
+                jQuery("#" + ad.closeButton.region).click(
+                    function() {
+                    	_hideElement(ad.closeButton.region);
+                      	_hideElement(elementID);
+                        _fireTrackingEvents(["close"], ad.trackingEvents);
+                    }
+                );
+            }
+            _showElement(ad.closeButton.region);
+        }
+     }
+  }
+
+  /**
+   * Fire impressions
+   */
+  function _fireImpressions(impressions) {
+  	// not implemented at present - impressions are fired by SWF before calling Javascript
+  }
+
+  /**
+   * Fire tracking events
+   */
+  function _fireTrackingEvents(names, events) {
+	if(names != null && events != null) {
+		if(names.length > 0 && events.length > 0) {
+		   for(name in names) {
+		      for(event in events) {
+		         if(events[event].type == names[name]) {
+		         	if(events[event].urls != null && (events[event].urls instanceof Array)) {
+		                for(url in events[event].urls) {
+		                   _debug("Tracking '" + events[event].type + "' to " + events[event].urls[url]);
+							jQuery.get(events[event].urls[url]);
+		                }
+		         	}
+		         }
+		      }
+		   }
+		}
+	}
+  }
+
+  /**
+   * Process a click through
+   */
+  function _processClickThrough(clickThroughURL, events) {
+	if(clickThroughURL != null) {
+		window.open(clickThroughURL, "_blank");
+		fireTrackingEvents(["acceptInvitation"], events);
+	}
+  }
+
+  /**
+   * Checks that the region name is not an "auto:" based ID - if so, strip out the "auto:" - the "auto" sizing
+   * option is currently unsupported in HTML5 mode
+   */
+  function _verifyRegionID(regionID) {
+  	if(regionID != null) {
+  	   if(regionID.indexOf("auto:") > -1) {
+			return regionID.replace("auto:", "");
+  	   }
+  	   return regionID;
+  	}
+  	return "bottom";
+  }
+}
+
+//======================================================================================================================
+
+jQuery.fn.writeElement = function(src) {
+  // Store jQuery(this) in a variable otherwise it will be out of scope in document.write
+  var element = jQuery(this);
+  var tmpDocWrite = document.write;
+  var tmpDocWriteln = document.writeln;
+  document.write = function(arg){ jQuery(element).append(arg); };
+  document.writeln = function(arg){ jQuery(element).append(arg) + '\n'; };
+
+  // Function to retrieve a new advert from the server.
+  jQuery(element).html(jQuery(src));
+};
+
Index: /tags/assets/v1.0/tags/vast1-linear-with-click-tracking.xml
===================================================================
--- /tags/assets/v1.0/tags/vast1-linear-with-click-tracking.xml	(revision 688)
+++ /tags/assets/v1.0/tags/vast1-linear-with-click-tracking.xml	(revision 688)
@@ -0,0 +1,135 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<VideoAdServingTemplate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vast.xsd">
+<Ad id="pre-roll:0.0-0">
+    <InLine>
+        <AdSystem>OpenX</AdSystem>
+        <AdTitle>
+            <![CDATA[Country Life Linear with 80x300 companion]]>
+        </AdTitle>
+        <Description>
+            <![CDATA[Inline Video Ad]]>
+
+        </Description>
+        <Impression>
+            <URL id="primaryAdServer">
+                <![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/lg.php?bannerid=85&campaignid=12&zoneid=50&loc=1&cb=cc944f7ecd]]>
+            </URL>
+        </Impression>
+        <CompanionAds>
+            <Companion id="companion" width="80" height="300" resourceType="HTML">
+                <Code>
+
+                    <![CDATA[<a href='http://openx.openvideoads.org/openx-2.8.2/www/delivery/ck.php?oaparams=2__bannerid=83__zoneid=0__cb=6824e9ab3f__oadest=http%3A%2F%2Fwww.openvideoads.org' target='_blank'>
+                    <img src='http://openx.openvideoads.org/openx-2.8.2/www/images/9ca5d435f0ec37230d2beb388d2f376f.jpg' width='80' height='300' alt='' title='' border='0' />
+                </a>
+                <div id='beacon_6824e9ab3f' style='position: absolute; left: 0px; top: 0px; visibility: hidden;'>
+                    <img src='http://openx.openvideoads.org/openx-2.8.2/www/delivery/lg.php?bannerid=83&amp;campaignid=12&amp;zoneid=0&amp;loc=1&amp;cb=6824e9ab3f' width='0' height='0' alt='' style='width: 0px; height: 0px;' />
+                </div>]]>
+            </Code>
+            <CompanionClickThrough>
+                <URL>
+                    <![CDATA[http://www.openvideoads.org]]>
+                </URL>
+            </CompanionClickThrough>
+        </Companion>
+    </CompanionAds>
+
+    <Video>
+        <Duration>00:00:30</Duration>
+        <AdID>
+            <![CDATA[85]]>
+        </AdID>
+        <VideoClicks>
+            <ClickThrough>
+                <URL id="destination">
+
+                    <![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/ck.php?oaparams=2__bannerid=85__zoneid=50__cb=cc944f7ecd__oadest=http%3A%2F%2Fwww.enjoycountrylife.co.uk]]>
+                </URL>
+            </ClickThrough>
+            <ClickTracking>
+                <URL id="destination">
+                    <![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/fc.php?script=deliveryLog:oxLogVast:logImpressionVast&banner_id=85&zone_id=50&source=&vast_event=click-tracking]]>
+                </URL>
+            </ClickTracking>
+        </VideoClicks>
+
+        <MediaFiles>
+            <MediaFile delivery="progressive" bitrate="400" width="640" height="480" type="video/x-mp4">
+            <URL>
+                <![CDATA[http://streaming.openvideoads.org/ads/30secs/country_life_butter.mp4]]>
+            </URL>
+        </MediaFile>
+    </MediaFiles>
+</Video>
+<TrackingEvents>
+    <Tracking event="start">
+
+        <URL id="primaryAdServer">
+            <![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/fc.php?script=deliveryLog:oxLogVast:logImpressionVast&banner_id=85&zone_id=50&source=&vast_event=start]]>
+        </URL>
+    </Tracking>
+    <Tracking event="midpoint">
+        <URL id="primaryAdServer">
+            <![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/fc.php?script=deliveryLog:oxLogVast:logImpressionVast&banner_id=85&zone_id=50&source=&vast_event=midpoint]]>
+        </URL>
+    </Tracking>
+
+    <Tracking event="firstQuartile">
+        <URL id="primaryAdServer">
+            <![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/fc.php?script=deliveryLog:oxLogVast:logImpressionVast&banner_id=85&zone_id=50&source=&vast_event=firstquartile]]>
+        </URL>
+    </Tracking>
+    <Tracking event="thirdQuartile">
+        <URL id="primaryAdServer">
+            <![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/fc.php?script=deliveryLog:oxLogVast:logImpressionVast&banner_id=85&zone_id=50&source=&vast_event=thirdquartile]]>
+        </URL>
+
+    </Tracking>
+    <Tracking event="complete">
+        <URL id="primaryAdServer">
+            <![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/fc.php?script=deliveryLog:oxLogVast:logImpressionVast&banner_id=85&zone_id=50&source=&vast_event=complete]]>
+        </URL>
+    </Tracking>
+    <Tracking event="mute">
+        <URL id="primaryAdServer">
+            <![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/fc.php?script=deliveryLog:oxLogVast:logImpressionVast&banner_id=85&zone_id=50&source=&vast_event=mute]]>
+
+        </URL>
+    </Tracking>
+    <Tracking event="pause">
+        <URL id="primaryAdServer">
+            <![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/fc.php?script=deliveryLog:oxLogVast:logImpressionVast&banner_id=85&zone_id=50&source=&vast_event=pause]]>
+        </URL>
+    </Tracking>
+    <Tracking event="replay">
+        <URL id="primaryAdServer">
+
+            <![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/fc.php?script=deliveryLog:oxLogVast:logImpressionVast&banner_id=85&zone_id=50&source=&vast_event=replay]]>
+        </URL>
+    </Tracking>
+    <Tracking event="fullscreen">
+        <URL id="primaryAdServer">
+            <![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/fc.php?script=deliveryLog:oxLogVast:logImpressionVast&banner_id=85&zone_id=50&source=&vast_event=fullscreen]]>
+        </URL>
+    </Tracking>
+    <Tracking event="stop">
+
+        <URL id="primaryAdServer">
+            <![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/fc.php?script=deliveryLog:oxLogVast:logImpressionVast&banner_id=85&zone_id=50&source=&vast_event=stop]]>
+        </URL>
+    </Tracking>
+    <Tracking event="unmute">
+        <URL id="primaryAdServer">
+            <![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/fc.php?script=deliveryLog:oxLogVast:logImpressionVast&banner_id=85&zone_id=50&source=&vast_event=unmute]]>
+        </URL>
+    </Tracking>
+
+    <Tracking event="resume">
+        <URL id="primaryAdServer">
+            <![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/fc.php?script=deliveryLog:oxLogVast:logImpressionVast&banner_id=85&zone_id=50&source=&vast_event=resume]]>
+        </URL>
+    </Tracking>
+</TrackingEvents>
+</InLine>
+</Ad>
+</VideoAdServingTemplate>
Index: /tags/assets/v1.0/tags/vast1-mp3-linear.xml
===================================================================
--- /tags/assets/v1.0/tags/vast1-mp3-linear.xml	(revision 688)
+++ /tags/assets/v1.0/tags/vast1-mp3-linear.xml	(revision 688)
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<VideoAdServingTemplate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vast.xsd">
+    <Ad id="pre-roll0-0" >
+        <InLine>
+            <AdSystem>OpenX</AdSystem>
+            <AdTitle><![CDATA[Audio MP3 Ad]]></AdTitle>
+            <Description><![CDATA[Inline MP3 Linear Ad]]></Description>
+            <Impression>
+               <URL id="primaryAdServer"><![CDATA[http://my-server/impression1]]></URL>
+
+            </Impression>
+               <Video>
+                    <Duration>00:01:00</Duration>
+                    <AdID><![CDATA[16]]></AdID>
+                    <MediaFiles>
+                        <MediaFile delivery="progressive" bitrate="400" width="640" height="480" type="audio/x-mpeg-3">
+                            <URL><![CDATA[http://streaming.openvideoads.org/ads/audio/polyspot-60-secs.mp3]]></URL>
+                        </MediaFile>
+
+                    </MediaFiles>
+                </Video>
+                <TrackingEvents>
+                    <Tracking event="start">
+                        <URL id="primaryAdServer"><![CDATA[http://my-server/tracking?vast_event=start]]></URL>
+                    </Tracking>
+                    <Tracking event="midpoint">
+                        <URL id="primaryAdServer"><![CDATA[http://my-server/tracking?vast_event=midpoint]]></URL>
+                    </Tracking>
+
+                    <Tracking event="firstQuartile">
+                        <URL id="primaryAdServer"><![CDATA[http://my-server/tracking?vast_event=firstquartile]]></URL>
+                    </Tracking>
+                    <Tracking event="thirdQuartile">
+                        <URL id="primaryAdServer"><![CDATA[http://my-server/tracking?vast_event=thirdquartile]]></URL>
+                    </Tracking>
+                    <Tracking event="complete">
+                        <URL id="primaryAdServer"><![CDATA[http://my-server/tracking?vast_event=complete]]></URL>
+
+                    </Tracking>
+                    <Tracking event="mute">
+                        <URL id="primaryAdServer"><![CDATA[http://my-server/tracking?vast_event=mute]]></URL>
+                    </Tracking>
+                    <Tracking event="pause">
+                        <URL id="primaryAdServer"><![CDATA[http://my-server/tracking?vast_event=pause]]></URL>
+                    </Tracking>
+                    <Tracking event="replay">
+                        <URL id="primaryAdServer"><![CDATA[http://my-server/tracking?vast_event=replay]]></URL>
+
+                    </Tracking>
+
+                    <Tracking event="fullscreen">
+                        <URL id="primaryAdServer"><![CDATA[http://my-server/tracking?vast_event=fullscreen]]></URL>
+                    </Tracking>
+                    <Tracking event="stop">
+                        <URL id="primaryAdServer"><![CDATA[http://my-server/tracking?vast_event=stop]]></URL>
+                    </Tracking>
+                    <Tracking event="unmute">
+
+                        <URL id="primaryAdServer"><![CDATA[http://my-server/tracking?vast_event=unmute]]></URL>
+                    </Tracking>
+                   <Tracking event="resume">
+                        <URL id="primaryAdServer"><![CDATA[http://my-server/tracking?vast_event=resume]]></URL>
+                    </Tracking>
+                </TrackingEvents>
+           </InLine>
+    </Ad>
+</VideoAdServingTemplate>
Index: /tags/assets/v1.0/tags/vast2-image-scalable.xml
===================================================================
--- /tags/assets/v1.0/tags/vast2-image-scalable.xml	(revision 688)
+++ /tags/assets/v1.0/tags/vast2-image-scalable.xml	(revision 688)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<VAST version="2.0">
+    <Ad id="127">
+        <InLine>
+            <AdSystem version="1.0">OpenX Enterprise</AdSystem>
+            <AdTitle>NonLinear Ad 12</AdTitle>
+            <Impression>http://localhost/non-linear/iframe/impression1</Impression>
+            <Impression>http://localhost/non-linear/iframe/impression2</Impression>
+
+            <Creatives>
+                <Creative id="12" sequence="">
+                    <NonLinearAds>
+                        <TrackingEvents>
+                            <Tracking event="creativeView">http://localhost/non-linear/iframe/creativeView</Tracking>
+                            <Tracking event="fullscreen">http://localhost/non-linear/iframe/fullscreen</Tracking>
+                            <Tracking event="expand">http://localhost/non-linear/iframe/expand</Tracking>
+
+                            <Tracking event="collapse">http://localhost/non-linear/iframe/collapse</Tracking>
+                            <Tracking event="acceptInvitation">http://localhost/non-linear/iframe/acceptInvitation</Tracking>
+                            <Tracking event="close">http://localhost/non-linear/iframe/close</Tracking>
+                        </TrackingEvents>
+                        <NonLinear id="12" width="728" height="90" scalable="true" minSuggestedDuration="00:00:20">
+                            <StaticResource creativeType="image/gif">
+                            	http://static.openvideoads.org/ads/overlays/yu-gi-oh-728x90.gif
+                        	</StaticResource>
+
+                        	<NonLinearClickThrough>http://www.openvideoads.org</NonLinearClickThrough>
+                    	</NonLinear>
+               	  </NonLinearAds>
+            	</Creative>
+        </Creatives>
+    </InLine>
+</Ad>
+</VAST>
Index: /tags/assets/v1.0/tags/vast1-mp4-no-markers.xml
===================================================================
--- /tags/assets/v1.0/tags/vast1-mp4-no-markers.xml	(revision 688)
+++ /tags/assets/v1.0/tags/vast1-mp4-no-markers.xml	(revision 688)
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<VideoAdServingTemplate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vast.xsd">
+    <Ad id="pre-roll0-0" >
+        <InLine>
+            <AdSystem>OpenX</AdSystem>
+            <AdTitle><![CDATA[RTMP - demographic specific ad - 1]]></AdTitle>
+            <Description><![CDATA[Inline Video Ad]]></Description>
+            <Impression>
+               <URL id="primaryAdServer"><![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/lg.php?bannerid=16&campaignid=2&zoneid=1&loc=1&cb=fe0083f395]]></URL>
+
+            </Impression>
+               <Video>
+                    <Duration>00:00:30</Duration>
+                    <AdID><![CDATA[16]]></AdID>
+
+                    <VideoClicks>
+                        <ClickThrough>
+                            <URL id="destination"><![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/ck.php?oaparams=2__bannerid=16__zoneid=1__cb=fe0083f395__oadest=http%3A%2F%2Fwww.countrylifebutter.co.uk]]></URL>
+                        </ClickThrough>
+
+                    </VideoClicks>
+                    <MediaFiles>
+                        <MediaFile delivery="streaming" bitrate="400" width="640" height="480" type="video/x-mp4">
+                            <URL><![CDATA[rtmp://ne7c0nwbit.rtmphost.com/videoplayer/ads/30secs/country_life_butter.mp4]]></URL>
+                        </MediaFile>
+                    </MediaFiles>
+                </Video>
+
+                <TrackingEvents>
+
+                    <Tracking event="start">
+                        <URL id="primaryAdServer"><![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/fc.php?script=deliveryLog:oxLogVast:logImpressionVast&banner_id=16&zone_id=1&source=&vast_event=start]]></URL>
+                    </Tracking>
+                    <Tracking event="midpoint">
+                        <URL id="primaryAdServer"><![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/fc.php?script=deliveryLog:oxLogVast:logImpressionVast&banner_id=16&zone_id=1&source=&vast_event=midpoint]]></URL>
+                    </Tracking>
+
+                    <Tracking event="firstQuartile">
+                        <URL id="primaryAdServer"><![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/fc.php?script=deliveryLog:oxLogVast:logImpressionVast&banner_id=16&zone_id=1&source=&vast_event=firstquartile]]></URL>
+
+                    </Tracking>
+                    <Tracking event="thirdQuartile">
+                        <URL id="primaryAdServer"><![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/fc.php?script=deliveryLog:oxLogVast:logImpressionVast&banner_id=16&zone_id=1&source=&vast_event=thirdquartile]]></URL>
+                    </Tracking>
+                    <Tracking event="complete">
+                        <URL id="primaryAdServer"><![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/fc.php?script=deliveryLog:oxLogVast:logImpressionVast&banner_id=16&zone_id=1&source=&vast_event=complete]]></URL>
+                    </Tracking>
+
+                    <Tracking event="mute">
+
+                        <URL id="primaryAdServer"><![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/fc.php?script=deliveryLog:oxLogVast:logImpressionVast&banner_id=16&zone_id=1&source=&vast_event=mute]]></URL>
+                    </Tracking>
+                    <Tracking event="pause">
+                        <URL id="primaryAdServer"><![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/fc.php?script=deliveryLog:oxLogVast:logImpressionVast&banner_id=16&zone_id=1&source=&vast_event=pause]]></URL>
+                    </Tracking>
+                    <Tracking event="replay">
+                        <URL id="primaryAdServer"><![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/fc.php?script=deliveryLog:oxLogVast:logImpressionVast&banner_id=16&zone_id=1&source=&vast_event=replay]]></URL>
+                    </Tracking>
+
+                    <Tracking event="fullscreen">
+                        <URL id="primaryAdServer"><![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/fc.php?script=deliveryLog:oxLogVast:logImpressionVast&banner_id=16&zone_id=1&source=&vast_event=fullscreen]]></URL>
+                    </Tracking>
+                    <Tracking event="stop">
+                        <URL id="primaryAdServer"><![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/fc.php?script=deliveryLog:oxLogVast:logImpressionVast&banner_id=16&zone_id=1&source=&vast_event=stop]]></URL>
+                    </Tracking>
+                    <Tracking event="unmute">
+                        <URL id="primaryAdServer"><![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/fc.php?script=deliveryLog:oxLogVast:logImpressionVast&banner_id=16&zone_id=1&source=&vast_event=unmute]]></URL>
+                    </Tracking>
+
+                   <Tracking event="resume">
+                        <URL id="primaryAdServer"><![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/fc.php?script=deliveryLog:oxLogVast:logImpressionVast&banner_id=16&zone_id=1&source=&vast_event=resume]]></URL>
+                    </Tracking>
+                </TrackingEvents>
+           </InLine>
+    </Ad>
+
+</VideoAdServingTemplate>
Index: /tags/assets/v1.0/tags/vast2-multi-types.xml
===================================================================
--- /tags/assets/v1.0/tags/vast2-multi-types.xml	(revision 688)
+++ /tags/assets/v1.0/tags/vast2-multi-types.xml	(revision 688)
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<VAST version="2.0">
+    <Ad id="127">
+        <InLine>
+            <AdSystem version="1.0">OpenX Enterprise</AdSystem>
+            <AdTitle>NonLinear Ad 12</AdTitle>
+            <Impression>http://localhost/non-linear/iframe/impression1</Impression>
+            <Impression>http://localhost/non-linear/iframe/impression2</Impression>
+
+            <Creatives>
+                <Creative id="12" sequence="">
+                    <NonLinearAds>
+                        <TrackingEvents>
+                            <Tracking event="creativeView">http://localhost/non-linear/iframe/creativeView</Tracking>
+                            <Tracking event="collapse">http://localhost/non-linear/iframe/collapse</Tracking>
+                            <Tracking event="acceptInvitation">http://localhost/non-linear/iframe/acceptInvitation</Tracking>
+
+                            <Tracking event="close">http://localhost/non-linear/iframe/close</Tracking>
+                        </TrackingEvents>
+                        <NonLinear id="12" width="450" height="50" minSuggestedDuration="00:00:20">
+                            <IFrameResource>
+                            	http://static.openvideoads.org/tests/non-linear/iframe-450x50.html
+                        	</IFrameResource>
+                        	<NonLinearClickThrough>http://www.openx.org</NonLinearClickThrough>
+                    	</NonLinear>
+
+                        <NonLinear id="12" width="450" height="50" minSuggestedDuration="00:00:20">
+                            <StaticResource creativeType="image/gif">
+                            	http://openx.openvideoads.org/openx-2.8.2/www/images/8e19787394a3c7870acc4c4c16fe2172.gif
+                        	</StaticResource>
+                        	<NonLinearClickThrough>http://www.openx.org</NonLinearClickThrough>
+                    	</NonLinear>
+                        <NonLinear id="12" width="450" height="50" minSuggestedDuration="00:00:20">
+                            <ScriptResource>
+                                <![CDATA[document.write('<a href="http://www.apple.com"><img src="http://cdn.liverail.com/adasset/229/331/300x250.jpg"></a>');]]>
+
+                        	</ScriptResource>
+                    	</NonLinear>
+                        <NonLinear id="12" width="300" height="250" minSuggestedDuration="00:00:20">
+                            <StaticResource creativeType="image/gif">
+                            	http://static.openvideoads.org/ads/companions/iphone-300x250.jpg
+                        	</StaticResource>
+                        	<NonLinearClickThrough>http://www.openx.org</NonLinearClickThrough>
+                    	</NonLinear>
+               	  </NonLinearAds>
+
+            	</Creative>
+	            <Creative id="7" sequence="">
+	                <CompanionAds>
+	                    <Companion id="7" width="300" height="250">
+	                        <TrackingEvents>
+	                            <Tracking event="creativeView">http://localhost/companion/creativeView</Tracking>
+	                        </TrackingEvents>
+	                        <StaticResource creativeType="image/png">http://localhost/test/ads/468x60-centos.png</StaticResource>
+
+	                        <CompanionClickThrough>http://www.openx.org</CompanionClickThrough>
+	                    </Companion>
+	                </CompanionAds>
+	            </Creative>
+        </Creatives>
+    </InLine>
+</Ad>
+</VAST>
Index: /tags/assets/v1.0/tags/akamai-vast-response.xml
===================================================================
--- /tags/assets/v1.0/tags/akamai-vast-response.xml	(revision 688)
+++ /tags/assets/v1.0/tags/akamai-vast-response.xml	(revision 688)
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<VAST version="2.0">
+    <Ad id="238882162">
+        <InLine>
+            <AdSystem>DART</AdSystem>
+            <AdTitle>Advertisement: Center for Laser Spine Surgery</AdTitle>
+            <Impression>
+                <![CDATA[http://ad.doubleclick.net/ad/ibs.hou.interactive/local;kw=impression+238882162;sz=2x2;ord=2620880?]]>
+
+            </Impression>
+            <Creatives>
+                <Creative sequence="1">
+                    <Linear>
+                        <Duration>00:00:14</Duration>
+                        <VideoClicks>
+                            <ClickThrough>
+                                <![CDATA[http://ad.doubleclick.net/click%3Bh%3Dv8/3ae7/3/0/%2a/c%3B238883507%3B0-0%3B0%3B12661250%3B926-2/1%3B40004771/40022558/1%3B%3B%7Eokv%3D%3Bkw%3Dnews+19032176+300k+clienttrack+playerpage+preroll%3Bdcmt%3Dtext/xml%3Bsz%3D2x1%3Bpool%3Dhou%3B%7Eaopt%3D2/0/1175/0%3B%7Esscs%3D%3fhttp://www.goodwillhouston.org/]]>
+
+                            </ClickThrough>
+                            </VideoClicks>
+                        <MediaFiles>
+                            <MediaFile bitrate="300" delivery="streaming" height="240" type="video/x-flv" width="320">
+                                <![CDATA[rtmp://cp12962.edgefcs.net/ondemand/flv/ads/local/HOU/GWSHIRTINSERTION15_H264.300k.flv]]>
+                            </MediaFile>
+                        </MediaFiles>
+                    </Linear>
+                </Creative>
+
+                <Creative sequence="1">
+					<CompanionAds>
+						<Companion id="leaderboard" width="728" height="90">
+							<IFrameResource>
+								http://ad.doubleclick.net/adi/ibs.hou.interactive/local;kw=companion+238883507;sz=728x90;ord=2689286?
+							</IFrameResource>
+						</Companion>
+						<Companion id="rectangle" width="300" height="250">
+							<IFrameResource>
+
+								http://ad.doubleclick.net/adi/ibs.hou.interactive/local;kw=companion+238883507;sz=300x250;ord=2689286?
+							</IFrameResource>
+						</Companion>
+					</CompanionAds>
+				</Creative>
+            </Creatives>
+        </InLine>
+    </Ad>
+</VAST>
Index: /tags/assets/v1.0/tags/pre-roll.xml
===================================================================
--- /tags/assets/v1.0/tags/pre-roll.xml	(revision 688)
+++ /tags/assets/v1.0/tags/pre-roll.xml	(revision 688)
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<VAST version="2.0">
+  <Ad id="longtail-ova">
+  <Wrapper>
+    <AdSystem>Static Wrapper for OnRamp Hosted OVA Pre-Roll Ad Tag</AdSystem>
+    <VASTAdTagURI>http://d1.openx.org/fc.php?script=bannerTypeHtml:vastInlineBannerTypeHtml:vastInlineHtml&zones=pre-roll:0.0-0%3D256355&nz=1&source=&r=R0.5911759017035365&block=1&format=vast&charset=UTF-8</VASTAdTagURI>
+    <Impression></Impression>
+	<Creatives>
+		<Creative AdID="602833">
+			<Linear>
+				<TrackingEvents>
+				</TrackingEvents>
+			</Linear>
+		</Creative>
+	</Creatives>
+  </Wrapper>
+  </Ad>
+</VAST>
Index: /tags/assets/v1.0/tags/openx-bitrates-vast.xml
===================================================================
--- /tags/assets/v1.0/tags/openx-bitrates-vast.xml	(revision 688)
+++ /tags/assets/v1.0/tags/openx-bitrates-vast.xml	(revision 688)
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<VideoAdServingTemplate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vast.xsd">
+    <Ad id="pre-roll:0.0-0" >        <InLine>            <AdSystem>OpenX</AdSystem>                <AdTitle><![CDATA[HTTP - demographic specific ad - 1]]></AdTitle>                    <Description><![CDATA[Inline Video Ad]]></Description>                    <Impression>                        <URL id="primaryAdServer"><![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/lg.php?bannerid=23&campaignid=4&zoneid=5&loc=1&cb=720a2e4f93]]></URL>                    </Impression>			    <Video>
+                    <Duration>00:00:30</Duration>
+                    <AdID><![CDATA[23]]></AdID>
+
+                    <VideoClicks>
+                        <ClickThrough>
+                            <URL id="destination"><![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/ck.php?oaparams=2__bannerid=23__zoneid=5__cb=720a2e4f93__oadest=http%3A%2F%2Fwww.countrylifebutter.co.uk]]></URL>
+                        </ClickThrough>
+                    </VideoClicks>
+                    <MediaFiles>
+                        <MediaFile delivery="progressive" bitrate="1200" width="640" height="480" type="video/x-mp4">
+                            <URL><![CDATA[http://static.bouncingminds.com/ads/30secs/country_life_butter_1200.mp4]]></URL>
+
+                        </MediaFile>
+                        <MediaFile delivery="progressive" bitrate="400" width="640" height="480" type="video/x-mp4">
+                            <URL><![CDATA[http://static.bouncingminds.com/ads/30secs/country_life_butter_400.mp4]]></URL>
+                        </MediaFile>
+                        <MediaFile delivery="progressive" bitrate="200" width="640" height="480" type="video/x-mp4">
+                            <URL><![CDATA[http://static.bouncingminds.com/ads/30secs/country_life_butter_200.mp4]]></URL>
+                        </MediaFile>
+                        <MediaFile delivery="progressive" bitrate="600" width="640" height="480" type="video/x-mp4">
+                            <URL><![CDATA[http://static.bouncingminds.com/ads/30secs/country_life_butter_600.mp4]]></URL>
+
+                        </MediaFile>
+                    </MediaFiles>
+                </Video>
+
+                <TrackingEvents>
+                    <Tracking event="start">
+                        <URL id="primaryAdServer"><![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/fc.php?script=deliveryLog:oxLogVast:logImpressionVast&banner_id=23&zone_id=5&source=&vast_event=start]]></URL>
+                    </Tracking>
+                    <Tracking event="midpoint">
+
+                        <URL id="primaryAdServer"><![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/fc.php?script=deliveryLog:oxLogVast:logImpressionVast&banner_id=23&zone_id=5&source=&vast_event=midpoint]]></URL>
+                    </Tracking>
+
+                    <Tracking event="firstQuartile">
+                        <URL id="primaryAdServer"><![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/fc.php?script=deliveryLog:oxLogVast:logImpressionVast&banner_id=23&zone_id=5&source=&vast_event=firstquartile]]></URL>
+                    </Tracking>
+                    <Tracking event="thirdQuartile">
+                        <URL id="primaryAdServer"><![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/fc.php?script=deliveryLog:oxLogVast:logImpressionVast&banner_id=23&zone_id=5&source=&vast_event=thirdquartile]]></URL>
+                    </Tracking>
+
+                    <Tracking event="complete">
+                        <URL id="primaryAdServer"><![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/fc.php?script=deliveryLog:oxLogVast:logImpressionVast&banner_id=23&zone_id=5&source=&vast_event=complete]]></URL>
+                    </Tracking>
+
+                    <Tracking event="mute">
+                        <URL id="primaryAdServer"><![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/fc.php?script=deliveryLog:oxLogVast:logImpressionVast&banner_id=23&zone_id=5&source=&vast_event=mute]]></URL>
+                    </Tracking>
+                    <Tracking event="pause">
+                        <URL id="primaryAdServer"><![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/fc.php?script=deliveryLog:oxLogVast:logImpressionVast&banner_id=23&zone_id=5&source=&vast_event=pause]]></URL>
+
+                    </Tracking>
+                    <Tracking event="replay">
+                        <URL id="primaryAdServer"><![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/fc.php?script=deliveryLog:oxLogVast:logImpressionVast&banner_id=23&zone_id=5&source=&vast_event=replay]]></URL>
+                    </Tracking>
+
+                    <Tracking event="fullscreen">
+                        <URL id="primaryAdServer"><![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/fc.php?script=deliveryLog:oxLogVast:logImpressionVast&banner_id=23&zone_id=5&source=&vast_event=fullscreen]]></URL>
+                    </Tracking>
+                    <Tracking event="stop">
+
+                        <URL id="primaryAdServer"><![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/fc.php?script=deliveryLog:oxLogVast:logImpressionVast&banner_id=23&zone_id=5&source=&vast_event=stop]]></URL>
+                    </Tracking>
+                    <Tracking event="unmute">
+                        <URL id="primaryAdServer"><![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/fc.php?script=deliveryLog:oxLogVast:logImpressionVast&banner_id=23&zone_id=5&source=&vast_event=unmute]]></URL>
+                    </Tracking>
+                   <Tracking event="resume">
+
+                        <URL id="primaryAdServer"><![CDATA[http://openx.openvideoads.org/openx-2.8.2/www/delivery/fc.php?script=deliveryLog:oxLogVast:logImpressionVast&banner_id=23&zone_id=5&source=&vast_event=resume]]></URL>
+                    </Tracking>
+
+                </TrackingEvents>
+           </InLine>
+    </Ad>
+
+</VideoAdServingTemplate>
Index: /tags/assets/v1.0/try/jwplayer.html
===================================================================
--- /tags/assets/v1.0/try/jwplayer.html	(revision 688)
+++ /tags/assets/v1.0/try/jwplayer.html	(revision 688)
@@ -0,0 +1,50 @@
+<html>
+<head>
+<style type="text/css">
+body { padding: 0 50px; font: 13px/20px Arial; background: #EEE; }
+#ova-container { width: 710px; }
+#player-wrapper { width: 400px; height: 250px; float:left; }
+#player-container { box-shadow: 0 0 5px #999; background: #000; float:left; height:100%; width: 100%; }
+#companion-300x250 { box-shadow: 0 0 5px #999; background: #FFF; height: 250px; width: 300px; margin-top:00px; float:right; }
+#default-companion { height:100%; width:100%; padding-top:100px; padding-left:35px; padding-right:35px; }
+</style>
+</head>
+<body>
+
+<!-- Container for the player and the 300x250 companion -->
+
+<div id="ova-container">
+    <div id="player-wrapper">
+  	   <div id="player-container">Loading the player ...</div>
+  	</div>
+	<div id="companion-300x250">
+	    <div id="default-companion">A 250x300 companion will appear here</div>
+	</div>
+</div>
+
+<script type="text/javascript" src="http://player.longtailvideo.com/jwplayer-5.9.js"></script>
+<div style="width:744px;height:250px;">
+	<div id="container-holder" style="width:400px;float:left;">
+		<div id="container">Loading the player ...</div>
+	</div>
+	<div id="companion" style="width:300px;height:250px;background:#CCDDDD;float:left;"></div>
+</div>
+<script type="text/javascript">jwplayer("container").setup({
+'flashplayer': "http://player.longtailvideo.com/player.swf",
+'width': 400,
+'height': 250,
+'skin': 'http://d1rhaz9gq9lm5b.cloudfront.net/vKoK2exG.zip',
+'controlbar.position': 'bottom',
+'file': 'http://content.bitsontherun.com/videos/wDqjiZXZ-m0JsjUy0.mp4',
+'image': 'http://d3el35u4qe4frz.cloudfront.net/w7njcizq-720.jpg',
+'stretching': 'uniform',
+'duration': 60,
+'plugins': {
+    'ova-jw': { 
+        "tag": "http://www.longtailvideo.com/content/ova/tags/pre-roll.xml"
+    }
+}
+});
+</script>
+</body>
+</html>
Index: /tags/assets/v1.0/try/demo.html
===================================================================
--- /tags/assets/v1.0/try/demo.html	(revision 688)
+++ /tags/assets/v1.0/try/demo.html	(revision 688)
@@ -0,0 +1,71 @@
+<html>
+<body>
+<script type="text/javascript" src="http://player.longtailvideo.com/jwplayer-5.9.js"></script>
+<div style="width:744px;height:250px;">
+	<div id="container-holder" style="width:400px;float:left;">
+		<div id="container">Loading the player ...</div>
+	</div>
+	<div id="companion" style="width:300px;height:250px;background:#CCDDDD;float:left;"></div>
+</div>
+<script type="text/javascript">jwplayer("container").setup({
+'flashplayer': "http://player.longtailvideo.com/player.swf",
+'width': 400,
+'height': 250,
+'skin': 'http://d1rhaz9gq9lm5b.cloudfront.net/vKoK2exG.zip',
+'controlbar.position': 'bottom',
+'file': 'http://content.bitsontherun.com/videos/wDqjiZXZ-m0JsjUy0.mp4',
+'image': 'http://d3el35u4qe4frz.cloudfront.net/w7njcizq-720.jpg',
+'stretching': 'uniform',
+'duration': 60,
+'plugins': {
+    'ova-jw': { 
+        "debug": { "levels": "fatal, config, vast_template, http_calls" },
+        "player": {
+            "modes": {
+                "linear": {
+                    "controls": { "visible": false }
+                }
+            }
+        },
+        "regions": {
+           "declarations": [
+             {
+               "id": "bottom-ad-notice",
+               "verticalAlign": "bottom:23",
+               "horizontalAlign": "right",
+               "backgroundColor": "#EEEEEE",
+               "padding": "1 1 1 1",
+               "opacity": 0.2,
+               "width": 450,
+               "height": 23
+             }
+           ]
+        },
+        "ads": { 
+            "companions": {
+               "restore": false,
+               "regions": [
+                  {
+                     "id": "companion",
+                     "width": 300,
+                     "height": 250
+                  }
+               ]
+            },
+            "schedule": [
+               {
+                  "position": "pre-roll",
+                  "tag": "http://www.longtailvideo.com/content/ova/tags/pre-roll.xml",
+                  "notice": {
+                     "region": "bottom-ad-notice",
+                     "type": "countdown"
+                  }                  
+               }
+            ]
+        }
+    }
+}
+});
+</script>
+</body>
+</html>
Index: /tags/assets/v1.0/try/flowplayer.html
===================================================================
--- /tags/assets/v1.0/try/flowplayer.html	(revision 688)
+++ /tags/assets/v1.0/try/flowplayer.html	(revision 688)
@@ -0,0 +1,49 @@
+<html>
+<head>
+<meta charset="UTF-8">
+<script type="text/javascript" src="http://static.openvideoads.org/qa/latest/ova.flowplayer/dist/js/flowplayer-3.2.6.min.js"></script>
+<style type="text/css">
+body { padding: 0 50px; font: 13px/20px Arial; background: #EEE; }
+#ova-container { width: 770px; }
+#player-wrapper { width: 460px; height: 270px; float:left; }
+#player-container { box-shadow: 0 0 5px #999; background: #000; float:left; height:100%; width: 100%;  background-image:url(http://content.bitsontherun.com/thumbs/nPripu9l-480.jpg); }
+#splash-image { margin-top: 95px; margin-left: 185px; }
+#companion { box-shadow: 0 0 5px #999; background: #FFF; height: 250px; width: 300px; margin-top:10px; float:right; }
+#default-companion { height:100%; width:100%; padding-top:100px; padding-left:35px; padding-right:35px; }
+</style>
+</head>
+<body>
+
+<!-- Container for the player and the 300x250 companion -->
+
+<div id="ova-container">
+    <div id="player-wrapper">
+  	   <a id="player-container">
+  	       <img id="splash-image" src="http://static.openvideoads.org/images/play_large.png"/>
+  	   </a>
+  	</div>
+	<div id="companion">
+	    <div id="default-companion">A 250x300 companion will appear here</div>
+	</div>
+</div>
+
+<!-- Setup an instance of Flowplayer with OVA to play a pre-roll with companion and a show clip -->
+
+<script type="text/javascript">
+	flowplayer("player-container", {src: 'http://static.openvideoads.org/qa/latest/ova.flowplayer/dist/swf/flowplayer-3.2.7.swf'}, {		
+	    playlist: [
+	        {
+	            url: "http://content.bitsontherun.com/videos/wDqjiZXZ-m0JsjUy0.mp4",
+	            image: "http://d3el35u4qe4frz.cloudfront.net/w7njcizq-720.jpg"
+	        }
+	    ],
+		plugins:  { 
+			ova: {
+                "url": "http://static.openvideoads.org/qa/latest/ova.flowplayer/dist/swf/ova.swf", 
+			    "tag": "http://www.longtailvideo.com/content/ova/tags/pre-roll.xml"
+	        }
+	    }
+	});
+</script>
+</body>
+</html>
