Index: /trunk/ova.jwplayer.4x/scripts/publish/create-local-examples.sh
===================================================================
--- /trunk/ova.jwplayer.4x/scripts/publish/create-local-examples.sh	(revision 53)
+++ /trunk/ova.jwplayer.4x/scripts/publish/create-local-examples.sh	(revision 55)
@@ -59,7 +59,7 @@
 cp -R templates published-local
 
-echo "Making sure there are no .DS_Store files in the copied version"
-find published-local -name ".DS_Store" -print0 | xargs -t0 rm
-#rm -rf `find published-local -type d -name .svn`
+echo "Making sure there are no .DS_Store or .svn files in the copied version"
+find published-local -name ".DS_Store" | xargs -t0 rm
+rm -rf `find published-local -type d -name .svn`
 
 #########################################################################################################
@@ -182,8 +182,8 @@
 echo "Translations complete - moving new examples to permanent home in /examples..."
 
-find ../../examples/config -name '*.xml*' | xargs rm
-find ../../examples/pages -name '*.html*' | xargs rm
+find ../../examples/config -name '.xml' | xargs rm
+find ../../examples/pages -name '.html' | xargs rm
 cp -Rf published-local/* ../../examples
-rm -rf published-local
+#rm -rf published-local
 
 echo "Done. Local examples published to /examples"
Index: /trunk/ova.jwplayer.4x/examples/pages/ad-notice/index.html
===================================================================
--- /trunk/ova.jwplayer.4x/examples/pages/ad-notice/index.html	(revision 52)
+++ /trunk/ova.jwplayer.4x/examples/pages/ad-notice/index.html	(revision 55)
@@ -14,5 +14,5 @@
 <li><a href="example03.html">Turning off the Ad Notice</a></li>
 <li><a href="example04.html">Modifying the Linear Ad Clickthrough Message</a></li>
-<li>Test reposition of ad notice on hide of controls (not available for JW)</li>
+<li>Test reposition of ad notice on hide of controls (not available for JW 4.x)</li>
 <li><a href="example06.html">Test disable/enable of the control bar during ad playback</a></li>
 <li><a href="example07.html">Using small text on the ad notice</a></li>
Index: /trunk/ova.jwplayer.4x/examples/pages/javascript/example01.html
===================================================================
--- /trunk/ova.jwplayer.4x/examples/pages/javascript/example01.html	(revision 7)
+++ /trunk/ova.jwplayer.4x/examples/pages/javascript/example01.html	(revision 55)
@@ -101,4 +101,39 @@
     document.getElementById('region-click').style.backgroundColor = "#00CC00";	
 }
+
+function onStopAd() {
+	console.log("OAS EVENT: Ad stop");
+    document.getElementById("ad-stop").style.backgroundColor = "#00CC00";	
+}
+
+function onPauseAd() {
+	console.log("OAS EVENT: Ad pause");
+    document.getElementById("ad-pause").style.backgroundColor = "#00CC00";	
+}
+
+function onResumeAd() {
+	console.log("OAS EVENT: Ad resume");
+    document.getElementById("ad-resume").style.backgroundColor = "#00CC00";	
+}
+
+function onMuteAd() {
+	console.log("OAS EVENT: Ad mute");
+    document.getElementById("ad-mute").style.backgroundColor = "#00CC00";	
+}
+
+function onUnmuteAd() {
+	console.log("OAS EVENT: Ad unmute");
+    document.getElementById("ad-unmute").style.backgroundColor = "#00CC00";	
+}
+
+function onFullscreenAd() {
+	console.log("OAS EVENT: Ad fullscreen");
+    document.getElementById("ad-fullscreen").style.backgroundColor = "#00CC00";	
+}
+
+function onFullscreenExitAd() {
+	console.log("OAS EVENT: Ad fullscreen exit");
+    document.getElementById("ad-fullscreen-exit").style.backgroundColor = "#00CC00";	
+}
 </script>
 <div id="container">
@@ -165,4 +200,39 @@
         </div>
      </div>
+</div>
+<div id="event-container-614x160">
+    <div id="event-container-150x140">
+        <div class="event-container-148x68" id="ad-stop">
+           <br/>Ad Stop
+        </div>
+        <div class="event-container-148x68" id="ad-pause">
+           <br/>Ad Pause
+        </div>
+    </div>
+    <div id="event-container-150x140">
+        <div class="event-container-148x68" id="ad-resume">
+           <br/>Ad Resume
+        </div>
+        <div class="event-container-148x68" id="ad-replay">
+           <br/>Ad Replay
+        </div>
+    </div>
+    <div id="event-container-150x140">
+        <div class="event-container-148x68" id="ad-mute">
+           <br/>Ad Mute
+        </div>
+        <div class="event-container-148x68" id="ad-unmute">
+           <br/>Ad Unmute
+        </div>
+    </div>
+    <div id="event-container-150x140">
+        <div class="event-container-148x68" id="ad-fullscreen">
+           <br/>Ad Fullscreen Entry
+        </div>
+        <div class="event-container-148x68" id="ad-fullscreen-exit">
+           <br/>Ad Fullscreen Exit
+        </div>
+    </div>        
+</div>
 </div>
 <br/>
Index: /trunk/ova.jwplayer.4x/examples/pages/ad-servers/generic/example02.html
===================================================================
--- /trunk/ova.jwplayer.4x/examples/pages/ad-servers/generic/example02.html	(revision 7)
+++ /trunk/ova.jwplayer.4x/examples/pages/ad-servers/generic/example02.html	(revision 55)
@@ -35,5 +35,5 @@
 <pre>
 <code>
-<script type="text/javascript">document.write(writePlayerEmbedCode(OVA_CONFIG, 3, 427, 254));</script>
+<script type="text/javascript">document.write(htmlEncode(writePlayerEmbedCode(OVA_CONFIG, 3, 427, 254)));</script>
 </code>
 </pre>
Index: /trunk/ova.jwplayer.4x/examples/config/ad-formats/http/ova05.xml
===================================================================
--- /trunk/ova.jwplayer.4x/examples/config/ad-formats/http/ova05.xml	(revision 7)
+++ /trunk/ova.jwplayer.4x/examples/config/ad-formats/http/ova05.xml	(revision 55)
@@ -6,5 +6,5 @@
        {
             "shows": {
-                "baseURL": "http://streaming.openvideoads.org/shows",
+                "baseURL": "http://streaming.openvideoads.org:81/shows",
                 "streams": [
                     { "file":"the-black-hole.mp4", "duration":"00:01:00" }
