document.getElementById('progBox').innerHTML = pb;
$('#progBox').html(pb);
parent.main4.$('#progBox').html(pb);
parent.main4.document.getElementById('progBox').innerHTML = pb;
<table border="0" width="100%"> <tbody> <tr> <td><img src="http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/Nax2.gif"></td> <td>Naxxramas II</td> <td>(6/15)</td> </tr> <tr> <td><img src="http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/VoA.gif"></td> <td>Vault of Archavon</td> <td>(1/2)</td> </tr> <tr> <td><img src="http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/OS.gif"></td> <td>Chamber of Aspects</td> <td>(1/4)</td> </tr> <tr> <td><img src="http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/EoE.gif"></td> <td>The Eye of Eternity</td> <td>(0/1)</td> </tr> <tr> <td><img src="http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/Uld.gif"></td> <td>Ulduar</td> <td>(0/14)</td> </tr> </tbody></table>
<style type="text/css">/* Progression box */#progBox { font-size:90%; color:#ffffff; text-align:center; padding:4px; margin: 0 auto; }/* Instance name text */.instance { color:#cccccc; font-size: 10pt; }/* Instance image and image cell */.instanceImgCell { width:30px; }.instance img { vertical-align: middle; border:0px; }/* bosses killed "(5/6)" in the progression box */.bossCount { color:#cccccc; vertical-align:middle; }/* Tooltip styles */#dhtmltooltip table { color:#ffffff; }.tooltipHeader { color:#0080ff; font-weight:bold; vertical-align:top; }.killedBoss { color:#888888; text-decoration:line-through; }.toKillBoss { color:#dddddd; text-decoration:none; }.killedText { color:#ff0000; }.attemptedBoss { color: #00ff00; }.hide { display: none; }.show { display: inline; }</style><div id="progBox" align="center"></div><script type="text/javascript">var wowWotLK = new Array();// Tooltip width and progression icon sizevar tooltipWidth = 300;var tooltipBossWidth = 250;var tooltipKilledWidth = 80;var iconHeight = 50;var iconWidth = 100;// Text in progression box and tooltip, see CSS for colorvar raidingKeyWord = "No|closed";var bossKilledKeyWord = "Killed";var bossAttemptedKeyWord = "Attempted|%";// The displayed count will default to 10 man bosses until the instance is 100% completed,// it will then switch to the 25 man boss count. If the variable below is true, the count// will start and display only the 25 man progression.var ignore10manCount = false;// Setting this to true will show ALL rows, even if you have never been there// setting it to false will hide rows that match the "raidingKeyWord" abovevar showAllRows = true;// Default displayed progressionvar defaultWoW = wowWotLK;/* Boss Information ********************************************- Each progression variable is set up as follows: progress.push ([ ["Thumbnail Image URL"] ,["Instance Name", "Instance Status"] ,["Instance Boss #1", "Boss #1 Status"] ,["Instance Boss #2", "Boss #2 Status"] , ... ,["Last Instance Boss", "Last Boss Status"] ]); ******************************************** *//* ******************************************** Wrath of the Lich King ******************************************** */// NAXXRAMAS IIwowWotLK.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/Nax2.gif"],["Naxxramas II", "(10 man)", "(25 man)"],["AW:Patchwerk", "", ""],["AW:Grobbulus", "", ""],["AW:Gluth", "", ""],["AW:Thaddius", "", ""],["PW:Noth the Plaguebringer", "", ""],["PW:Heigan the Unclean", "", ""],["PW:Loatheb", "", ""],["SW:Anub'Rekhan", "", ""],["SW:Grand Widow Faerlina", "", ""],["SW:Maexxna", "", ""],["DW:Instructor Razuvious", "", ""],["DW:Gothik the Harvester", "", ""],["DW:The Four Horsemen", "", ""],["FL:Sapphiron", "", ""],["KC:Kel'Thuzad", "", ""]]);// VAULT OF ARCHAVONwowWotLK.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/VoA.gif"],["Vault of Archavon", "(10 man)", "(25 man)"],["Archavon the Stone Watcher", "", ""]]);// CHAMBER OF ASPECTS - OBSIDIAN SANCTUMwowWotLK.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/OS.gif"],["Chamber of Aspects", "(10 man)", "(25 man)"],["Sartharion the Onyx Guardian", "", ""],["Sartharion + 1 Drake", "", ""],["Sartharion + 2 Drakes", "", ""],["Sartharion + 3 Drakes", "", ""]]);// THE EYE OF ETERNITYwowWotLK.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/EoE.gif"],["The Eye of Eternity", "(10 man)", "(25 man)"],["Malygos", "", ""]]);// ULDUARwowWotLK.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/Uld.gif"],["Ulduar", "(10 man)", "(25 man)"],["Flame Leviathan", "", ""],["Ignis the Furnace Master", "", ""],["Razorscale", "", ""],["XT-002 Deconstructor", "", ""],["The Iron Council", "", ""],["Kologarn", "", ""],["Auriya", "", ""],["Mimiron", "", ""],["Watcher Freya", "", ""],["Watcher Thorim", "", ""],["Watcher Hodir", "", ""],["General Vezax", "", ""],["Yogg-Saron", "", ""],["Algalon the Observer", "", ""]]);// AZJOL-NERUB RAIDwowWotLK.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/Unk-10.gif"],["Azjol-Nerub Raid", "(10 man)<br>-closed-", "(25 man)<br>-closed-"],["-unknown-", "", ""]]);// ICECROWN CITADELwowWotLK.push ([ ["http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/Unk-10.gif"],["Icecrown Citadel", "(10 man)<br>-closed-", "(25 man)<br>-closed-"],["-unknown-", "", ""],["The Lich King", "", ""]]);// ******************************************************// Don't change anything below this line// ******************************************************pickExp(defaultWoW);function pickExp(ex) { if (String(top.name).substring(0,4) == "Edit") { return; } var sQ = "\'"; var pb = "<center><table class=progBox border=0 width='100%'><tbody>"; for (var inst=0; inst < ex.length; inst++) { var killed10 = 0; var killed25 = 0; pb += "<tr =\"hideddrivetip()\""; if (!showAllRows&&(ex[inst][1][1].match(raidingKeyWord)||(ex[inst][1][1].replace(/\(10 man\)/,'')==""&&ex[inst][2][1]==""))) pb += " class=hide"; pb += " =\"ddrivetip('<table><tr><td class=tooltipHeader width=" + tooltipBossWidth + "px>" + ex[inst][1][0].replace(/\'/g,sQ); pb += "</td><td align=center valign=top nowrap width=" + tooltipKilledWidth + "px>" + ex[inst][1][1].replace(/\'/g,sQ); pb += "</td><td align=center valign=top nowrap width=" + tooltipKilledWidth + "px>" + ex[inst][1][2].replace(/\'/g,sQ); pb += "</td></tr>"; for (var boss=2; boss<(ex[inst].length); boss++) { pb += "<tr><td"; var boss10 = (ex[inst][boss][1].match(bossKilledKeyWord)) ? true : false; var boss25 = (ex[inst][boss][2].match(bossKilledKeyWord)) ? true : false; pb += (boss10 && boss25) ? " class=killedBoss>" : ">"; pb += ex[inst][boss][0].replace(/\'/g,sQ) + "</td><td align=center"; pb += (boss10) ? " class=killedText" : ""; pb += (ex[inst][boss][1].match(bossAttemptedKeyWord)) ? " class=attemptedBoss" : ""; if (boss10) killed10++; pb += ">" + ex[inst][boss][1] + "</td>"; pb += "<td align=center"; pb += (boss25) ? " class=killedText" : ""; pb += (ex[inst][boss][2].match(bossAttemptedKeyWord)) ? " class=attemptedBoss" : ""; if (boss25) killed25++; pb += ">" + ex[inst][boss][2] +"</td>"; pb += "</tr>"; } pb += "</table>', '', '" + (tooltipBossWidth + tooltipKilledWidth) + "');\" >" pb += "<td><img src=\"" + ex[inst][0] + "\" height=\"" + iconHeight + "\" width=\"" + iconWidth; pb += "\"></td><td class=\"instance\">" + ex[inst][1][0] + "</td><td class=bossCount>("; pb += (!ignore10manCount && killed10 < ex[inst].length-2) ? killed10 : killed25; pb += "/" + (ex[inst].length-2) + ")</td></tr>"; } pb += "</table>"; $('#progBox').html(pb);}</script>