Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Handle case where multiple wmode tags are present, and some of them a…

…re incorrect. Add more tests.
  • Loading branch information...
commit 5ccaf8b3e08036e50e448accee85b9a64b72aa30 1 parent 3f53747
James Yu authored jamesyu committed
Showing with 132 additions and 26 deletions.
  1. +10 −11 flash_heed.js
  2. +34 −15 test.html
  3. +88 −0 test2.html
View
21 flash_heed.js
@@ -18,13 +18,13 @@ var FlashHeed = (function(window) {
};
var heed = function(el) {
- if(el === undefined) var el = document;
+ if(el === undefined || el === null) var el = document;
var objects = el.getElementsByTagName('object');
var len = objects.length;
var i;
-
+
for(i = 0; i < len; i++) {
var o = objects[i];
var params = o.getElementsByTagName('param');
@@ -44,30 +44,29 @@ var FlashHeed = (function(window) {
}
// Handle param tags (for IE)
- var found = false;
var correct_wmode_found = false;
+ var incorrect_wmode_found = false;
for(var j = 0; j < params_length; j++) {
if(params[j].name === 'wmode') {
if(/transparent/i.test(params[j].value) || /opaque/i.test(params[j].value)) {
// an existing wmode with "transparent" or "opaque" is found
- // don't need to alter this object tag
correct_wmode_found = true;
+ } else {
+ incorrect_wmode_found = true;
}
}
}
- if(!correct_wmode_found) {
+ if(!correct_wmode_found || incorrect_wmode_found) {
var html = o.outerHTML;
var nx = o.nextSibling, pn = o.parentNode;
- if(!found) {
- // Do a string replacement for a window param that IE injects be default to the innerhtml
- html = gsub(html, /<param name="wmode" value="window">/i, '');
+ // Do a string replacement for a window param that IE injects be default to the innerhtml
+ html = gsub(html, /<param name="wmode".*?>/i, '');
- // Add the correct transparent wmode param
- html = gsub(html, /<\/object>/i, '<PARAM NAME="WMode" VALUE="Transparent"></object>');
- }
+ // Add the correct transparent wmode param
+ html = gsub(html, /<\/object>/i, '<PARAM NAME="WMode" VALUE="Transparent"></object>');
// Totally remove the object tag from the dom
pn.removeChild(o);
View
49 test.html
@@ -40,31 +40,50 @@
<body>
<div class="overlay"><h1>This element should be on top of the ads.</h1></div>
- <div class="flash" id="flash">
- <!-- Example Ad with missing wmode param -->
+ <div class="flash" id="flash1">
<div>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="300" height="250">
- <param name="movie" value="http://pagead2.googlesyndication.com/pagead/imgad?id=CP_z1_zK-sXbyAEQrAIY-gEyCP5jsJ3U6g-L&amp;clickTAG=http://googleads.g.doubleclick.net/aclk%3Fsa%3Dl%26ai%3DBT4H28ozUTKK9IYHsjQSO2pTfCPum0tAB26PWqxnj9_OsQ5CEbBABGAEg0KSCCjgAUJPYpY0GYMn2-IbIo6AZsgEOd3d3LnNjcmliZC5jb226AQozMDB4MjUwX2pzyAEE2gEtaHR0cDovL3d3dy5zY3JpYmQuY29tL2RvYy8yMjU5OTAzNC9BbnQtQ29sb255uAIYwAIByAKbnaUWqAMB6APuCegDrgHoA0P1AwAAAAQ%26num%3D1%26sig%3DAGiWqtzHtvQArIfwQ9_zWtLL8kT2K92meA%26client%3Dca-pub-7291399211842501%26adurl%3Dhttp://www.parentdish.com/%253Fncid%253Dbannadusbbab00000007">
- <param name="quality" value="high">
- <param name="AllowScriptAccess" value="never">
- <embed src="http://pagead2.googlesyndication.com/pagead/imgad?id=CP_z1_zK-sXbyAEQrAIY-gEyCP5jsJ3U6g-L&amp;clickTAG=http://googleads.g.doubleclick.net/aclk%3Fsa%3Dl%26ai%3DBT4H28ozUTKK9IYHsjQSO2pTfCPum0tAB26PWqxnj9_OsQ5CEbBABGAEg0KSCCjgAUJPYpY0GYMn2-IbIo6AZsgEOd3d3LnNjcmliZC5jb226AQozMDB4MjUwX2pzyAEE2gEtaHR0cDovL3d3dy5zY3JpYmQuY29tL2RvYy8yMjU5OTAzNC9BbnQtQ29sb255uAIYwAIByAKbnaUWqAMB6APuCegDrgHoA0P1AwAAAAQ%26num%3D1%26sig%3DAGiWqtzHtvQArIfwQ9_zWtLL8kT2K92meA%26client%3Dca-pub-7291399211842501%26adurl%3Dhttp://www.parentdish.com/%253Fncid%253Dbannadusbbab00000007" width="300" height="250" type="application/x-shockwave-flash" allowscriptaccess="never" pluginspage="http://www.macromedia.com/go/getflashplayer">
+ <param name="movie" value="http://pagead2.googlesyndication.com/pagead/imgad?id=CP_z1_zK-sXbyAEQrAIY-gEyCP5jsJ3U6g-L&amp;clickTAG=http://googleads.g.doubleclick.net/aclk%3Fsa%3Dl%26ai%3DBT4H28ozUTKK9IYHsjQSO2pTfCPum0tAB26PWqxnj9_OsQ5CEbBABGAEg0KSCCjgAUJPYpY0GYMn2-IbIo6AZsgEOd3d3LnNjcmliZC5jb226AQozMDB4MjUwX2pzyAEE2gEtaHR0cDovL3d3dy5zY3JpYmQuY29tL2RvYy8yMjU5OTAzNC9BbnQtQ29sb255uAIYwAIByAKbnaUWqAMB6APuCegDrgHoA0P1AwAAAAQ%26num%3D1%26sig%3DAGiWqtzHtvQArIfwQ9_zWtLL8kT2K92meA%26client%3Dca-pub-7291399211842501%26adurl%3Dhttp://www.parentdish.com/%253Fncid%253Dbannadusbbab00000007">
+ <param name="quality" value="high">
+ <param name="AllowScriptAccess" value="never">
+ <embed src="http://pagead2.googlesyndication.com/pagead/imgad?id=CP_z1_zK-sXbyAEQrAIY-gEyCP5jsJ3U6g-L&amp;clickTAG=http://googleads.g.doubleclick.net/aclk%3Fsa%3Dl%26ai%3DBT4H28ozUTKK9IYHsjQSO2pTfCPum0tAB26PWqxnj9_OsQ5CEbBABGAEg0KSCCjgAUJPYpY0GYMn2-IbIo6AZsgEOd3d3LnNjcmliZC5jb226AQozMDB4MjUwX2pzyAEE2gEtaHR0cDovL3d3dy5zY3JpYmQuY29tL2RvYy8yMjU5OTAzNC9BbnQtQ29sb255uAIYwAIByAKbnaUWqAMB6APuCegDrgHoA0P1AwAAAAQ%26num%3D1%26sig%3DAGiWqtzHtvQArIfwQ9_zWtLL8kT2K92meA%26client%3Dca-pub-7291399211842501%26adurl%3Dhttp://www.parentdish.com/%253Fncid%253Dbannadusbbab00000007" width="300" height="250" type="application/x-shockwave-flash" allowscriptaccess="never" pluginspage="http://www.macromedia.com/go/getflashplayer">
</object>
- </div>
-
- <!-- Example Ad with explicit wmode param set to window -->
+ </div>
+ </div>
+
+ <div class="flash" id="flash">
<div>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="300" height="250">
- <param name="movie" value="http://pagead2.googlesyndication.com/pagead/imgad?id=CP_z1_zK-sXbyAEQrAIY-gEyCP5jsJ3U6g-L&amp;clickTAG=http://googleads.g.doubleclick.net/aclk%3Fsa%3Dl%26ai%3DBT4H28ozUTKK9IYHsjQSO2pTfCPum0tAB26PWqxnj9_OsQ5CEbBABGAEg0KSCCjgAUJPYpY0GYMn2-IbIo6AZsgEOd3d3LnNjcmliZC5jb226AQozMDB4MjUwX2pzyAEE2gEtaHR0cDovL3d3dy5zY3JpYmQuY29tL2RvYy8yMjU5OTAzNC9BbnQtQ29sb255uAIYwAIByAKbnaUWqAMB6APuCegDrgHoA0P1AwAAAAQ%26num%3D1%26sig%3DAGiWqtzHtvQArIfwQ9_zWtLL8kT2K92meA%26client%3Dca-pub-7291399211842501%26adurl%3Dhttp://www.parentdish.com/%253Fncid%253Dbannadusbbab00000007">
- <param name="quality" value="high">
- <param name="AllowScriptAccess" value="never">
- <param name="wmode" value="window">
- <embed src="http://pagead2.googlesyndication.com/pagead/imgad?id=CP_z1_zK-sXbyAEQrAIY-gEyCP5jsJ3U6g-L&amp;clickTAG=http://googleads.g.doubleclick.net/aclk%3Fsa%3Dl%26ai%3DBT4H28ozUTKK9IYHsjQSO2pTfCPum0tAB26PWqxnj9_OsQ5CEbBABGAEg0KSCCjgAUJPYpY0GYMn2-IbIo6AZsgEOd3d3LnNjcmliZC5jb226AQozMDB4MjUwX2pzyAEE2gEtaHR0cDovL3d3dy5zY3JpYmQuY29tL2RvYy8yMjU5OTAzNC9BbnQtQ29sb255uAIYwAIByAKbnaUWqAMB6APuCegDrgHoA0P1AwAAAAQ%26num%3D1%26sig%3DAGiWqtzHtvQArIfwQ9_zWtLL8kT2K92meA%26client%3Dca-pub-7291399211842501%26adurl%3Dhttp://www.parentdish.com/%253Fncid%253Dbannadusbbab00000007" width="300" height="250" type="application/x-shockwave-flash" allowscriptaccess="never" pluginspage="http://www.macromedia.com/go/getflashplayer">
+ <param name="movie" value="http://pagead2.googlesyndication.com/pagead/imgad?id=CP_z1_zK-sXbyAEQrAIY-gEyCP5jsJ3U6g-L&amp;clickTAG=http://googleads.g.doubleclick.net/aclk%3Fsa%3Dl%26ai%3DBT4H28ozUTKK9IYHsjQSO2pTfCPum0tAB26PWqxnj9_OsQ5CEbBABGAEg0KSCCjgAUJPYpY0GYMn2-IbIo6AZsgEOd3d3LnNjcmliZC5jb226AQozMDB4MjUwX2pzyAEE2gEtaHR0cDovL3d3dy5zY3JpYmQuY29tL2RvYy8yMjU5OTAzNC9BbnQtQ29sb255uAIYwAIByAKbnaUWqAMB6APuCegDrgHoA0P1AwAAAAQ%26num%3D1%26sig%3DAGiWqtzHtvQArIfwQ9_zWtLL8kT2K92meA%26client%3Dca-pub-7291399211842501%26adurl%3Dhttp://www.parentdish.com/%253Fncid%253Dbannadusbbab00000007">
+ <param name="quality" value="high">
+ <param name="AllowScriptAccess" value="never">
+ <embed src="http://pagead2.googlesyndication.com/pagead/imgad?id=CP_z1_zK-sXbyAEQrAIY-gEyCP5jsJ3U6g-L&amp;clickTAG=http://googleads.g.doubleclick.net/aclk%3Fsa%3Dl%26ai%3DBT4H28ozUTKK9IYHsjQSO2pTfCPum0tAB26PWqxnj9_OsQ5CEbBABGAEg0KSCCjgAUJPYpY0GYMn2-IbIo6AZsgEOd3d3LnNjcmliZC5jb226AQozMDB4MjUwX2pzyAEE2gEtaHR0cDovL3d3dy5zY3JpYmQuY29tL2RvYy8yMjU5OTAzNC9BbnQtQ29sb255uAIYwAIByAKbnaUWqAMB6APuCegDrgHoA0P1AwAAAAQ%26num%3D1%26sig%3DAGiWqtzHtvQArIfwQ9_zWtLL8kT2K92meA%26client%3Dca-pub-7291399211842501%26adurl%3Dhttp://www.parentdish.com/%253Fncid%253Dbannadusbbab00000007" width="300" height="250" type="application/x-shockwave-flash" allowscriptaccess="never" pluginspage="http://www.macromedia.com/go/getflashplayer">
+ </object>
+ </div>
+
+ <div>
+ <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="300" height="250">
+ <param name="movie" value="http://pagead2.googlesyndication.com/pagead/imgad?id=CP_z1_zK-sXbyAEQrAIY-gEyCP5jsJ3U6g-L&amp;clickTAG=http://googleads.g.doubleclick.net/aclk%3Fsa%3Dl%26ai%3DBT4H28ozUTKK9IYHsjQSO2pTfCPum0tAB26PWqxnj9_OsQ5CEbBABGAEg0KSCCjgAUJPYpY0GYMn2-IbIo6AZsgEOd3d3LnNjcmliZC5jb226AQozMDB4MjUwX2pzyAEE2gEtaHR0cDovL3d3dy5zY3JpYmQuY29tL2RvYy8yMjU5OTAzNC9BbnQtQ29sb255uAIYwAIByAKbnaUWqAMB6APuCegDrgHoA0P1AwAAAAQ%26num%3D1%26sig%3DAGiWqtzHtvQArIfwQ9_zWtLL8kT2K92meA%26client%3Dca-pub-7291399211842501%26adurl%3Dhttp://www.parentdish.com/%253Fncid%253Dbannadusbbab00000007">
+ <param name="quality" value="high">
+ <param name="AllowScriptAccess" value="never">
+ <embed src="http://pagead2.googlesyndication.com/pagead/imgad?id=CP_z1_zK-sXbyAEQrAIY-gEyCP5jsJ3U6g-L&amp;clickTAG=http://googleads.g.doubleclick.net/aclk%3Fsa%3Dl%26ai%3DBT4H28ozUTKK9IYHsjQSO2pTfCPum0tAB26PWqxnj9_OsQ5CEbBABGAEg0KSCCjgAUJPYpY0GYMn2-IbIo6AZsgEOd3d3LnNjcmliZC5jb226AQozMDB4MjUwX2pzyAEE2gEtaHR0cDovL3d3dy5zY3JpYmQuY29tL2RvYy8yMjU5OTAzNC9BbnQtQ29sb255uAIYwAIByAKbnaUWqAMB6APuCegDrgHoA0P1AwAAAAQ%26num%3D1%26sig%3DAGiWqtzHtvQArIfwQ9_zWtLL8kT2K92meA%26client%3Dca-pub-7291399211842501%26adurl%3Dhttp://www.parentdish.com/%253Fncid%253Dbannadusbbab00000007" width="300" height="250" type="application/x-shockwave-flash" allowscriptaccess="never" pluginspage="http://www.macromedia.com/go/getflashplayer">
+ </object>
+ </div>
+
+ <div>
+ <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="300" height="250">
+ <param name="movie" value="http://pagead2.googlesyndication.com/pagead/imgad?id=CP_z1_zK-sXbyAEQrAIY-gEyCP5jsJ3U6g-L&amp;clickTAG=http://googleads.g.doubleclick.net/aclk%3Fsa%3Dl%26ai%3DBT4H28ozUTKK9IYHsjQSO2pTfCPum0tAB26PWqxnj9_OsQ5CEbBABGAEg0KSCCjgAUJPYpY0GYMn2-IbIo6AZsgEOd3d3LnNjcmliZC5jb226AQozMDB4MjUwX2pzyAEE2gEtaHR0cDovL3d3dy5zY3JpYmQuY29tL2RvYy8yMjU5OTAzNC9BbnQtQ29sb255uAIYwAIByAKbnaUWqAMB6APuCegDrgHoA0P1AwAAAAQ%26num%3D1%26sig%3DAGiWqtzHtvQArIfwQ9_zWtLL8kT2K92meA%26client%3Dca-pub-7291399211842501%26adurl%3Dhttp://www.parentdish.com/%253Fncid%253Dbannadusbbab00000007">
+ <param name="quality" value="high">
+ <param name="wmode" value="window">
+ <param name="AllowScriptAccess" value="never">
+ <embed src="http://pagead2.googlesyndication.com/pagead/imgad?id=CP_z1_zK-sXbyAEQrAIY-gEyCP5jsJ3U6g-L&amp;clickTAG=http://googleads.g.doubleclick.net/aclk%3Fsa%3Dl%26ai%3DBT4H28ozUTKK9IYHsjQSO2pTfCPum0tAB26PWqxnj9_OsQ5CEbBABGAEg0KSCCjgAUJPYpY0GYMn2-IbIo6AZsgEOd3d3LnNjcmliZC5jb226AQozMDB4MjUwX2pzyAEE2gEtaHR0cDovL3d3dy5zY3JpYmQuY29tL2RvYy8yMjU5OTAzNC9BbnQtQ29sb255uAIYwAIByAKbnaUWqAMB6APuCegDrgHoA0P1AwAAAAQ%26num%3D1%26sig%3DAGiWqtzHtvQArIfwQ9_zWtLL8kT2K92meA%26client%3Dca-pub-7291399211842501%26adurl%3Dhttp://www.parentdish.com/%253Fncid%253Dbannadusbbab00000007" width="300" height="250" type="application/x-shockwave-flash" allowscriptaccess="never" pluginspage="http://www.macromedia.com/go/getflashplayer">
</object>
</div>
</div>
<script>
- FlashHeed.heed();
+ FlashHeed.heed(document.getElementById('flash1'));
+ FlashHeed.heed(document.getElementById('flash'));
</script>
</body>
</html>
View
88 test2.html
@@ -0,0 +1,88 @@
+<html>
+ <head>
+ <style>
+ .container {
+ height: 1000px;
+ }
+
+ .overlay {
+ position: absolute;
+ top: 90px;
+ left: 50px;
+ width: 700px;
+ height: 800px;
+ background: #ddd;
+ z-index: 10000;
+ border: 1px solid #888;
+ padding: 25px;
+ font-family: Helvetica;
+ }
+
+ .overlay h1 {
+ padding: 0;
+ margin :0;
+ }
+
+ .flash {
+ z-index: 1;
+ position: relative;
+ left: 600px;
+ }
+
+ .flash div {
+ margin-bottom: 15px;
+ }
+ </style>
+
+ <script src="flash_heed.js" type="text/javascript"></script>
+ </head>
+
+ <body>
+ <div class="overlay"><h1>This element should be on top of the ads.</h1></div>
+
+ <div class="flash" id="flash1">
+ <div>
+ <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="300" height="250">
+ <param name="movie" value="http://pagead2.googlesyndication.com/pagead/imgad?id=CP_z1_zK-sXbyAEQrAIY-gEyCP5jsJ3U6g-L&amp;clickTAG=http://googleads.g.doubleclick.net/aclk%3Fsa%3Dl%26ai%3DBT4H28ozUTKK9IYHsjQSO2pTfCPum0tAB26PWqxnj9_OsQ5CEbBABGAEg0KSCCjgAUJPYpY0GYMn2-IbIo6AZsgEOd3d3LnNjcmliZC5jb226AQozMDB4MjUwX2pzyAEE2gEtaHR0cDovL3d3dy5zY3JpYmQuY29tL2RvYy8yMjU5OTAzNC9BbnQtQ29sb255uAIYwAIByAKbnaUWqAMB6APuCegDrgHoA0P1AwAAAAQ%26num%3D1%26sig%3DAGiWqtzHtvQArIfwQ9_zWtLL8kT2K92meA%26client%3Dca-pub-7291399211842501%26adurl%3Dhttp://www.parentdish.com/%253Fncid%253Dbannadusbbab00000007">
+ <param name="quality" value="high">
+ <param name="AllowScriptAccess" value="never">
+ <embed src="http://pagead2.googlesyndication.com/pagead/imgad?id=CP_z1_zK-sXbyAEQrAIY-gEyCP5jsJ3U6g-L&amp;clickTAG=http://googleads.g.doubleclick.net/aclk%3Fsa%3Dl%26ai%3DBT4H28ozUTKK9IYHsjQSO2pTfCPum0tAB26PWqxnj9_OsQ5CEbBABGAEg0KSCCjgAUJPYpY0GYMn2-IbIo6AZsgEOd3d3LnNjcmliZC5jb226AQozMDB4MjUwX2pzyAEE2gEtaHR0cDovL3d3dy5zY3JpYmQuY29tL2RvYy8yMjU5OTAzNC9BbnQtQ29sb255uAIYwAIByAKbnaUWqAMB6APuCegDrgHoA0P1AwAAAAQ%26num%3D1%26sig%3DAGiWqtzHtvQArIfwQ9_zWtLL8kT2K92meA%26client%3Dca-pub-7291399211842501%26adurl%3Dhttp://www.parentdish.com/%253Fncid%253Dbannadusbbab00000007" width="300" height="250" type="application/x-shockwave-flash" allowscriptaccess="never" pluginspage="http://www.macromedia.com/go/getflashplayer">
+ </object>
+ </div>
+ </div>
+
+ <div class="flash" id="flash">
+ <div>
+ <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="300" height="250">
+ <param name="movie" value="http://pagead2.googlesyndication.com/pagead/imgad?id=CP_z1_zK-sXbyAEQrAIY-gEyCP5jsJ3U6g-L&amp;clickTAG=http://googleads.g.doubleclick.net/aclk%3Fsa%3Dl%26ai%3DBT4H28ozUTKK9IYHsjQSO2pTfCPum0tAB26PWqxnj9_OsQ5CEbBABGAEg0KSCCjgAUJPYpY0GYMn2-IbIo6AZsgEOd3d3LnNjcmliZC5jb226AQozMDB4MjUwX2pzyAEE2gEtaHR0cDovL3d3dy5zY3JpYmQuY29tL2RvYy8yMjU5OTAzNC9BbnQtQ29sb255uAIYwAIByAKbnaUWqAMB6APuCegDrgHoA0P1AwAAAAQ%26num%3D1%26sig%3DAGiWqtzHtvQArIfwQ9_zWtLL8kT2K92meA%26client%3Dca-pub-7291399211842501%26adurl%3Dhttp://www.parentdish.com/%253Fncid%253Dbannadusbbab00000007">
+ <param name="quality" value="high">
+ <param name="AllowScriptAccess" value="never">
+ <embed src="http://pagead2.googlesyndication.com/pagead/imgad?id=CP_z1_zK-sXbyAEQrAIY-gEyCP5jsJ3U6g-L&amp;clickTAG=http://googleads.g.doubleclick.net/aclk%3Fsa%3Dl%26ai%3DBT4H28ozUTKK9IYHsjQSO2pTfCPum0tAB26PWqxnj9_OsQ5CEbBABGAEg0KSCCjgAUJPYpY0GYMn2-IbIo6AZsgEOd3d3LnNjcmliZC5jb226AQozMDB4MjUwX2pzyAEE2gEtaHR0cDovL3d3dy5zY3JpYmQuY29tL2RvYy8yMjU5OTAzNC9BbnQtQ29sb255uAIYwAIByAKbnaUWqAMB6APuCegDrgHoA0P1AwAAAAQ%26num%3D1%26sig%3DAGiWqtzHtvQArIfwQ9_zWtLL8kT2K92meA%26client%3Dca-pub-7291399211842501%26adurl%3Dhttp://www.parentdish.com/%253Fncid%253Dbannadusbbab00000007" width="300" height="250" type="application/x-shockwave-flash" allowscriptaccess="never" pluginspage="http://www.macromedia.com/go/getflashplayer">
+ </object>
+ </div>
+
+ <div>
+ <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="300" height="250">
+ <param name="movie" value="http://pagead2.googlesyndication.com/pagead/imgad?id=CP_z1_zK-sXbyAEQrAIY-gEyCP5jsJ3U6g-L&amp;clickTAG=http://googleads.g.doubleclick.net/aclk%3Fsa%3Dl%26ai%3DBT4H28ozUTKK9IYHsjQSO2pTfCPum0tAB26PWqxnj9_OsQ5CEbBABGAEg0KSCCjgAUJPYpY0GYMn2-IbIo6AZsgEOd3d3LnNjcmliZC5jb226AQozMDB4MjUwX2pzyAEE2gEtaHR0cDovL3d3dy5zY3JpYmQuY29tL2RvYy8yMjU5OTAzNC9BbnQtQ29sb255uAIYwAIByAKbnaUWqAMB6APuCegDrgHoA0P1AwAAAAQ%26num%3D1%26sig%3DAGiWqtzHtvQArIfwQ9_zWtLL8kT2K92meA%26client%3Dca-pub-7291399211842501%26adurl%3Dhttp://www.parentdish.com/%253Fncid%253Dbannadusbbab00000007">
+ <param name="quality" value="high">
+ <param name="AllowScriptAccess" value="never">
+ <embed src="http://pagead2.googlesyndication.com/pagead/imgad?id=CP_z1_zK-sXbyAEQrAIY-gEyCP5jsJ3U6g-L&amp;clickTAG=http://googleads.g.doubleclick.net/aclk%3Fsa%3Dl%26ai%3DBT4H28ozUTKK9IYHsjQSO2pTfCPum0tAB26PWqxnj9_OsQ5CEbBABGAEg0KSCCjgAUJPYpY0GYMn2-IbIo6AZsgEOd3d3LnNjcmliZC5jb226AQozMDB4MjUwX2pzyAEE2gEtaHR0cDovL3d3dy5zY3JpYmQuY29tL2RvYy8yMjU5OTAzNC9BbnQtQ29sb255uAIYwAIByAKbnaUWqAMB6APuCegDrgHoA0P1AwAAAAQ%26num%3D1%26sig%3DAGiWqtzHtvQArIfwQ9_zWtLL8kT2K92meA%26client%3Dca-pub-7291399211842501%26adurl%3Dhttp://www.parentdish.com/%253Fncid%253Dbannadusbbab00000007" width="300" height="250" type="application/x-shockwave-flash" allowscriptaccess="never" pluginspage="http://www.macromedia.com/go/getflashplayer">
+ </object>
+ </div>
+
+ <div>
+ <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="300" height="250">
+ <param name="movie" value="http://pagead2.googlesyndication.com/pagead/imgad?id=CP_z1_zK-sXbyAEQrAIY-gEyCP5jsJ3U6g-L&amp;clickTAG=http://googleads.g.doubleclick.net/aclk%3Fsa%3Dl%26ai%3DBT4H28ozUTKK9IYHsjQSO2pTfCPum0tAB26PWqxnj9_OsQ5CEbBABGAEg0KSCCjgAUJPYpY0GYMn2-IbIo6AZsgEOd3d3LnNjcmliZC5jb226AQozMDB4MjUwX2pzyAEE2gEtaHR0cDovL3d3dy5zY3JpYmQuY29tL2RvYy8yMjU5OTAzNC9BbnQtQ29sb255uAIYwAIByAKbnaUWqAMB6APuCegDrgHoA0P1AwAAAAQ%26num%3D1%26sig%3DAGiWqtzHtvQArIfwQ9_zWtLL8kT2K92meA%26client%3Dca-pub-7291399211842501%26adurl%3Dhttp://www.parentdish.com/%253Fncid%253Dbannadusbbab00000007">
+ <param name="quality" value="high">
+ <param name="wmode" value="window">
+ <param name="AllowScriptAccess" value="never">
+ <embed src="http://pagead2.googlesyndication.com/pagead/imgad?id=CP_z1_zK-sXbyAEQrAIY-gEyCP5jsJ3U6g-L&amp;clickTAG=http://googleads.g.doubleclick.net/aclk%3Fsa%3Dl%26ai%3DBT4H28ozUTKK9IYHsjQSO2pTfCPum0tAB26PWqxnj9_OsQ5CEbBABGAEg0KSCCjgAUJPYpY0GYMn2-IbIo6AZsgEOd3d3LnNjcmliZC5jb226AQozMDB4MjUwX2pzyAEE2gEtaHR0cDovL3d3dy5zY3JpYmQuY29tL2RvYy8yMjU5OTAzNC9BbnQtQ29sb255uAIYwAIByAKbnaUWqAMB6APuCegDrgHoA0P1AwAAAAQ%26num%3D1%26sig%3DAGiWqtzHtvQArIfwQ9_zWtLL8kT2K92meA%26client%3Dca-pub-7291399211842501%26adurl%3Dhttp://www.parentdish.com/%253Fncid%253Dbannadusbbab00000007" width="300" height="250" type="application/x-shockwave-flash" allowscriptaccess="never" pluginspage="http://www.macromedia.com/go/getflashplayer">
+ </object>
+ </div>
+ </div>
+
+ <script>
+ FlashHeed.heed();
+ </script>
+ </body>
+</html>
Please sign in to comment.
Something went wrong with that request. Please try again.