var pL = ""; var hL = "n0"; var oL = ""; var bJ = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); var prepNav = 'sn'; mX = new Array(1, 1); mL = new Array(false, false); mLT = -1; mZ = new Array(10, 1); var ready = false; pgP = "1"; pgT = 0; pgX = 0; pgA = "1"; pgK = false; pgF = false; pgG = ''; aX = 0; aY = false; qN = 0; qM = 100; vT = new Array(); vE = new Array(); cE = new Array(); hM = '_home'; gK = new Array(true, true, true, true); ccD = 1000; ccH = 1000; ccM = 1000; ccS = 1000; var csR = 0; var cpL = ""; cpD = ccD; cpH = ccH; cpM = ccM; cpS = ccS; if (document.images) { images_on = new Array(); images_off = new Array(); images_clock = new Array(); } function swapon (image, source) { if ((document.images) && (ready)) { image.src = images_on[source].src; } return false; } function swapoff (image, source) { if ((document.images) && (ready)) { image.src = images_off[source].src; } return false; } function swapclock (image, source) { //if ((document.images) && (ready)) { Layer(image).src = images_clock[source].src; //} return false; } function navon (nV) { if (ready) { LyH('nv' + nV); LyS('nv' + nV + 'o'); } } function navoff (nV) { if (ready) { LyH('nv' + nV + 'o'); LyS('nv' + nV); } } function navtail (nV) { if (ready) { for (nVI=22; nVI<=30; nVI++) { if (nVI == nV) { LyH('nv' + nVI); LyS('nv' + nVI + 'o'); } else { LyH('nv' + nVI + 'o'); LyS('nv' + nVI); } } } } function Layer (nM) { if (document.getElementById) { return document.getElementById(nM); } if (document.all) { return document.all[nM]; } if (document.layers) { if (document.layers[nM]) { return document.layers[nM]; } if (document[nM]) { return document[nM]; } } return false; } function LayerHide (nM) { LyH(nM); } function LyH (nM) { wH = Layer(nM); if (wH) { wH.style.visibility = 'hidden'; wH.style.display = 'none'; } } function LayerShow (nM) { LyS(nM); } function LyS (nM) { wH = Layer(nM); if (wH) { wH.style.visibility = 'visible'; wH.style.display = 'block'; } } function prep(sX, sY, sZ, sGT) { csR = sGT; if (sX == 'home') { hM = '_home'; } else { hM = ''; } if (document.images) { //preload_a = new Array('h2', 'team', 'news', 'history', 'fan_zone', 'multimedia', 'gameday', 'community', 'tickets', 'lambeau_field', 'pro_shop', 'packers_sites'); //preload_b = new Array('h2', 'schedule', 'standings', 'latest_headlines', 'recent_news', 'community_corner', 'audio', 'video', 'photos', 'podcast', 'wallpaper', '', '', '', ''); //preload_c = new Array('h2', '', '', '', '', 'search', 'site_map', 'about', 'contact_us', 'terms_conditions', 'privacy_policy', 'faq', 'sn'); preload_a = new Array('h2', '', '', '', '', '', '', '', '', '', '', ''); preload_b = new Array('h2', '', '', '', '', '', '', '', '', '', '', '', '', '', ''); preload_c = new Array('h2', '', '', '', '', '', '', '', '', '', '', '', prepNav); pT = 3; if (sX == 'gameday') { if (sY > 2005) { preload_c[12] = 'gr'; } else { if (sY == 'schedule') { preload_c[12] = 'se'; } else { preload_c[12] = 'gm'; } } preload_d = new Array('g', 'gd1', 'gd2', 'gd3', 'gd4', 'gd5'); pT = 4; } else if (sX == 'fan_zone') { if (sY == 'kids_zone') { preload_d = new Array('kids', '2coloring_book', '2games', '2kids_club', '2youth_football_camps', 'gtv', 'gtv'); pT = 4; } } else if (sY == 'transcripts') { if (sX == 'news') { preload_c[12] = 'yr'; } } k = 0; for (var j=0; j 0) { if (j == 3) { if (sX == 'gameday') { of = 'ver'; ex = 'gif'; } else if (sY == 'kids_zone') { of = 'n'; ex = 'gif'; } else { of = 'n'; ex = 'jpg'; } } else { of = 'n'; ex = 'gif'; } images_on[k].src = 'http://nfl.packers.com/i/' + pR[0] + '/' + pR[i] + '_o' + of + '.' + ex; ff = 'ff'; if (j == 0) { if (oL == pR[i]) { ff = 'n'; } } images_off[k].src = 'http://nfl.packers.com/i/' + pR[0] + '/' + pR[i] + '_o' + ff + '.' + ex; if (j == 3) { } } else { images_on[k].src = 'http://nfl.packers.com/i/s.gif'; images_off[k].src = 'http://nfl.packers.com/i/s.gif'; } } } images_clock[0] = new Image(7,11); images_clock[0].src = 'http://nfl.packers.com/i/d2/0.jpg'; images_clock[1] = new Image(7,11); images_clock[1].src = 'http://nfl.packers.com/i/d2/1.jpg'; images_clock[2] = new Image(7,11); images_clock[2].src = 'http://nfl.packers.com/i/d2/2.jpg'; images_clock[3] = new Image(7,11); images_clock[3].src = 'http://nfl.packers.com/i/d2/3.jpg'; images_clock[4] = new Image(7,11); images_clock[4].src = 'http://nfl.packers.com/i/d2/4.jpg'; images_clock[5] = new Image(7,11); images_clock[5].src = 'http://nfl.packers.com/i/d2/5.jpg'; images_clock[6] = new Image(7,11); images_clock[6].src = 'http://nfl.packers.com/i/d2/6.jpg'; images_clock[7] = new Image(7,11); images_clock[7].src = 'http://nfl.packers.com/i/d2/7.jpg'; images_clock[8] = new Image(7,11); images_clock[8].src = 'http://nfl.packers.com/i/d2/8.jpg'; images_clock[9] = new Image(7,11); images_clock[9].src = 'http://nfl.packers.com/i/d2/9.jpg'; images_clock[10] = new Image(7,11); images_clock[10].src = 'http://nfl.packers.com/i/s.gif'; pauseload(sX, sZ); } } function nV (nL, nW) { if (nW) { LyH("u" + nL + "f"); LyS("u" + nL + "n"); } else { LyH("u" + nL + "n"); LyS("u" + nL + "f"); } } function subNav () { sA = new Array (); sNA = 0; sA[1] = new Array( 'team', 'players', 'Players', 'coaches', 'Coaches', 'staff', 'Staff', 'executive_committee', 'Executive Committee', 'depth_chart', 'Depth Chart', 'how_built', 'How Built', 'injury_list', 'Injury List', 'stats', 'Stats', 'photo_galleries', 'Photo Galleries', 'player_development', 'Player Development' ); sA[2] = new Array( 'news', 'stories', 'Stories', 'releases', 'Press Releases', 'blogs', 'Blogs', 'transcripts', 'Transcripts', 'transactions', 'Transactions', 'media_guide', 'Media Guide' ); sA[3] = new Array( 'history', 'birth_of_a_team_and_a_legend', 'Birth of a Team & a Legend', 'all_time_roster', 'All-Time Roster', 'ask_lee_remmel', 'Ask Lee Remmel Archives', 'chronology', 'Chronology', 'fast_facts', 'Fast Facts', 'hall_of_famers', 'Hall Of Famers', 'record_book', 'Record Book', 'super_bowls_and_championships', 'Super Bowls & Championships' ); sA[4] = new Array( 'fan_zone', 'contests', 'Contests', 'email_newsletter', 'Email Newsletter', 'events', 'Events', 'fan_clubs', 'Fan Clubs', 'fan_hall_of_fame', 'FAN Hall Of Fame', 'fan_memories', 'Fan Memories', 'faq', 'FAQ', 'Gforce', 'G-Force', 'kids_zone', 'Kids\' Zone', 'miller_lite_end_zone', 'Miller Lite End Zone', 'free_email', 'Packers Email Address', 'mobile', 'Packers Mobile', 'facebook', 'Packers on Facebook', 'twitter', 'Packers on Twitter', 'packers_partners', 'Packers Partners', 'polls', 'Polls', 'search_toolbar', 'Search Toolbar', 'sponsors', 'Sponsors', 'where_to_watch_listing', 'Where To Watch Listing' ); sA[5] = new Array( 'multimedia', 'packers_on_air_schedule', 'Online On-Air Schedule', 'audio', 'Audio Clips', 'videos', 'Video Clips', 'podcasts', 'Podcasts', 'tv_shows', 'TV Shows', 'radio_shows', 'Radio Shows', 'photo_galleries', 'Photo Galleries', 'wallpaper', 'Wallpaper', '360_degree_photos', '360° Photos', 'live_cams', 'Live Cams', 'internet_tools', 'Internet Tools' ); sA[6] = new Array( 'gameday', 'fan_conduct', 'Fan Code of Conduct', 'gameday_information', 'Gameday Information', 'gameday_promotions', 'Gameday Promotions', 'lambeau_field_a_to_z_guide', 'Lambeau Field A-Z Guide', 'nfl_standings', 'NFL Standings', 'packers_radio_network', 'Packers Radio Network', 'parking', 'Parking', 'schedule', 'Schedule', 'tundra_tailgate_zone', 'Tundra Tailgate Zone', 'television_game_broadcasts', 'TV Game Broadcasts' ); sA[7] = new Array( 'community', 'player_and_coach_appearances', 'Player/Coach Appearances', 'city_of_green_bay', 'City of Green Bay', 'community_involvement', 'Community Involvement', 'community_programs', 'Community Programs', 'contact_us', 'Contact Us', 'donations', 'Donations', 'news', 'News', 'packers_foundation', 'Packers Foundation', 'player_foundations', 'Player Foundations', 'green_team', 'Packers Green Team', 'shareholders', 'Shareholders', 'youth_football', 'Youth Football', 'womens_association', 'Packers Women\'s Association' ); sA[8] = new Array( 'tickets', 'my_packers_account', 'My Packers Account', 'ticket_exchange', 'Buy and Sell Tickets', 'guests_with_disabilities', 'Guests With Disabilities', 'group_tickets', 'Group Tickets', 'season_tickets', 'Season Tickets', 'seating_diagram', 'Seating Diagram', 'single_game_tickets', 'Single Game Tickets', 'suites_and_club_seats', 'Suites/Club Seats', 'packer_fan_tours', 'Packer Fan Tours' ); sA[9] = new Array( 'lambeau_field', 'events_and_info', 'Events/Info', 'book_your_event', 'Book Your Event', 'stadium_info', 'Stadium Info', 'dining', 'Dining', 'packers_hall_of_fame', 'Packers Hall of Fame', 'pro_shop', 'Pro Shop', 'stadium_tours', 'Stadium Tours' ); sA[10] = new Array( 'pro_shop' ); sA[11] = new Array( 'site', 'packers.com', 'Packers.com', 'lambeaufield.com', 'Lambeau Field', 'packersproshop.com', 'Packers Pro Shop', 'packerstrainingcamp.com', 'Training Camp' ); sA[12] = new Array( 'site', 'nfl.com', 'NFL.com', 'playfootball.com', 'NFL Kids', 'nfllabor.com', 'NFL Labor', 'nflatino.com/inicio', 'NFL Latino', 'nflshop.com', 'NFL Shop', 'profootballhof.com', 'Hall of Fame', 'superbowl.com', 'Super Bowl', 'nfluth.com', 'Under the Helmet', 'nfl.com/', ' ' ); sA[13] = new Array( 'site', '1', 'NFC East', 'dallascowboys.com', 'Cowboys', 'philadelphiaeagles.com', 'Eagles', 'giants.com', 'Giants', 'redskins.com', 'Redskins', '2', 'NFC North', 'chicagobears.com', 'Bears', 'packers.com', 'Packers', 'detroitlions.com', 'Lions', 'vikings.com', 'Vikings', '3', 'NFC South', 'buccaneers.com', 'Buccaneers', 'atlantafalcons.com', 'Falcons', 'panthers.com', 'Panthers', 'neworleanssaints.com', 'Saints', '4', 'NFC West', 'sf49ers.com', '49ers', 'azcardinals.com', 'Cardinals', 'stlouisrams.com', 'Rams', 'seahawks.com', 'Seahawks' ); sA[14] = new Array( 'site', '1', 'AFC East', 'buffalobills.com', 'Bills', 'miamidolphins.com', 'Dolphins', 'newyorkjets.com', 'Jets', 'patriots.com', 'Patriots', '2', 'AFC North', 'bengals.com', 'Bengals', 'clevelandbrowns.com', 'Browns', 'baltimoreravens.com', 'Ravens', 'steelers.com', 'Steelers', '3', 'AFC South', 'colts.com', 'Colts', 'jaguars.com', 'Jaguars', 'houstontexans.com', 'Texans', 'titansonline.com', 'Titans', '4', 'AFC West', 'denverbroncos.com', 'Broncos', 'chargers.com', 'Chargers', 'kcchiefs.com', 'Chiefs', 'raiders.com', 'Raiders' ); for (sB=1; sB 1) { sW = Layer('d' + sB); if (sW) { if ((sB == 11) || (sB == 12) || (sB == 13) || (sB == 14)) { if (sB == 11) { sD = 113; } else { sD = 143; } sT = ' target="_blank"'; if (sB > 11) { sNA = 2; } sCF = '2e5013'; sCO = '1d3d0a'; sCN = '1'; } else { sD = 174; sT = ''; sCF = 'bababa'; sCO = 'a0959e'; sCN = '2'; } if (sNA == 2) { if (sB == 12) { sNH = (sA[sB].length-1)/4; sNH = 4; //alert(sB + ' - ' + sNH); } else { sNH = (sA[sB].length-1)/8; } sH = '
'; sD = 1; } else if (sNA == 1) { sNH = (sA[sB].length-1)/4; sH = '
'; sD = 1; } else { sNH = sA[sB].length; sH = '
'; } sNI = 0; sCL = true; sCR = true; sCC = 3; sCI = 0; if (sNA == 2) { sCR = false; sCH = 16; } else { sCH = 19; } for (sI=1; sI= sNH) { sNI = 0; sH = sH + ''; sH = sH + '
'; sCI++; if (sCI == 1) { if (sB == 12) { sCR = true; sCL = false; } else { sCL = false; sCR = false; } } else if (sCI == 2) { if (sB == 12) { sCR = true; sCL = false; } else { sCL = false; sCR = false; } } else if (sCI == 3) { sCR = true; } } sNI++; sG = ''; sP = 'L'; if (sA[sB][0] == "site") { sG = ' target="_blank"'; sP = 'M'; } else if (sA[sB][0] == "lambeau_field") { sG = ' target="_blank"'; sP = 'M'; } else if (sA[sB][sI] == "packers_extra_points") { sG = ' target="_blank"'; sP = 'M'; } else if (sA[sB][sI] == "facebook") { sG = ' target="_blank"'; sP = 'M'; } else if (sA[sB][sI] == "twitter") { sG = ' target="_blank"'; sP = 'M'; } else if (sA[sB][sI] == "nfl_standings") { sG = ' target="_blank"'; sP = 'M'; } else if (sA[sB][sI] == "my_packers_account") { sG = ' target="_blank"'; sP = 'M'; } else if (sA[sB][sI] == "ticket_exchange") { sG = ' target="_blank"'; sP = 'M'; sA[sB][sI] = sA[sB][sI] + '/4'; } if (sI > 1) { if (sNI > 1) { sH = sH + ''; sH = sH + ''; sH = sH + ''; sH = sH + ''; sH = sH + ''; } } if (sA[sB][sI].length == 1) { sNO = false; } else { sNO = true; } if (sNO) { sH = sH + ''; } else { sH = sH + ''; } if (sCL) { sH = sH + ''; } else { sH = sH + ''; } sH = sH + ''; if (sCR) { sH = sH + ''; } else { sH = sH + ''; } sH = sH + ''; if (sB == 12) { if (sI >= 15) { break; } } } if ((sNA == 1) || (sNA == 2)) { if (sNI < sNH) { sNL = Math.ceil(sNH) - sNI; sH = sH + ''; sH = sH + ''; sH = sH + ''; sH = sH + ''; sH = sH + ''; sH = sH + ''; sH = sH + ''; sH = sH + ''; sH = sH + ''; sH = sH + ''; } } sH = sH + ''; sH = sH + '
'; sH = sH + '
'; if (sA[sB][sI].length == 1) { sH = sH + '' + sA[sB][sI+1] + ''; } else { sH = sH + '' + sA[sB][sI+1] + ''; } sH = sH + '
'; if (sNA == 1) { sH = sH + '
'; } sW.innerHTML = sH; } } } } function pauseload (sX, sZ) { var count = 0; var total = 0; for (var i=1; i= total) { if (!ready) { if (sX == 'home') { subNav(); mZ = new Array(10, 1); mR = Layer('ae'); if (mR) { mZ[1] = mR.value; } if (sZ == 'r') { mX = new Array(1, 1); mL = new Array(true, true); mG(0); } else { mX = new Array(sZ, 1); mL = new Array(false, true); } mG(1); bT(7, ''); bT(8, ''); bT(9, ''); bT(10, ''); bT(11, ''); qU(); if (Layer('cd0')) { countDown(); } } else { subNav(); mR = Layer('ae'); if (mR) { mZ[1] = mR.value; } mG(1); bT(7, ''); bT(8, ''); bT(13, ''); qU(); if (Layer('cd0')) { countDown(); } } } ready = true; } else { setTimeout('pauseload(\'' + sX + '\', \'' + sZ + '\');', 500); } } function countDown () { if (csR > 1) { csR = parseInt(csR) - 1; ccN = csR; if (ccN > 86399) { ctD = parseInt(Math.floor(ccN/86400)); ccN = ccN - (ctD * 86400); } else { ctD = 0; } if (ccN > 3599) { ctH = parseInt(Math.floor(ccN/3600)); ccN = ccN - (ctH * 3600); } else { ctH = 0; } if (ccN > 59) { ctM = parseInt(Math.floor(ccN/60)); ccN = ccN - (ctM * 60); } else { ctM = 0; } ctS = ccN; if (cpD != ctD) { if (ctD > 99) { //swapclock("cd3", parseInt(Math.floor(ctD/100))); swapclock("cd0", 1); swapclock("cd1", parseInt(Math.floor((ctD-100)/10))); swapclock("cd2", (ctD-100) - (parseInt(Math.floor((ctD-100)/10))*10)); } else if (ctD > 9) { //swapclock("cd3", 0); swapclock("cd0", "0"); swapclock("cd1", parseInt(Math.floor(ctD/10))); swapclock("cd2", ctD - (parseInt(Math.floor(ctD/10))*10)); } else { //swapclock("cd3", 0); swapclock("cd0", "0"); swapclock("cd1", 0); swapclock("cd2", ctD); } } if (cpH != ctH) { if (ctH > 9) { swapclock("ch1", parseInt(Math.floor(ctH/10))); swapclock("ch2", ctH - (parseInt(Math.floor(ctH/10))*10)); } else { swapclock("ch1", 0); swapclock("ch2", ctH); } } if (cpM != ctM) { if (ctM > 9) { swapclock("cm1", parseInt(Math.floor(ctM/10))); swapclock("cm2", ctM - (parseInt(Math.floor(ctM/10))*10)); } else { swapclock("cm1", 0); swapclock("cm2", ctM); } } if (ctS > 9) { swapclock("cs1", parseInt(Math.floor(ctS/10))); swapclock("cs2", ctS - (parseInt(Math.floor(ctS/10))*10)); } else { swapclock("cs1", 0); swapclock("cs2", ctS); } cpD = ctD; cpH = ctH; cpM = ctM; cpS = ctS; setTimeout('countDown();', 1000); } else { //swapclock("cd3", 0); swapclock("cd1", 0); swapclock("cd2", 0); swapclock("ch1", 0); swapclock("ch2", 0); swapclock("cm1", 0); swapclock("cm2", 0); swapclock("cs1", 0); swapclock("cs2", 0); } } function getCoordinates (nM) { x = new Array(); i = Layer(nM); if (i) { h = 25; o = 10; if (nM == 'n1') { j = -1; } else if ((nM == 'n11') || (nM == 'n12')) { j = 13; h = 25; } else if ((nM == 'n13') || (nM == 'n14')) { j = 13; h = 25; if (nM == 'n13') { j -= 167; } else { j -= 168; } } else if (nM == 'n98') { j = -1; h = 16; } else if (nM == 'n99') { j = -1; h = 16; } else { j = -1; } if (i.y) { x[0] = i.y + h; x[1] = i.x + j; } else { x[0] = i.offsetTop + h; x[1] = i.offsetLeft + j; if (!window.attachEvent) { x[1] += o; } i = i.parentElement; while(i != null){ x[0] += i.offsetTop; x[1] += i.offsetLeft; i=i.offsetParent; } } } else { x[0] = 0; x[1] = 0; } if (nM == 'n98') { if (x[1] < 100) { x[1] += 97; } } return x; } function sL (nM) { if (pL != 'd' + nM) { cL(); lL = Layer('d' + nM); if (lL) { pL = 'd' + nM; iL = getCoordinates('n' + nM); if (nM == '99') { qL = getCoordinates('gd'); if (qL[0] < 100) { iL[0] = iL[0] + 199; iL[1] = iL[1] + 176; } } if (iL[0] > 0) { if (iL[1] > 0) { lL.style.top = iL[0]; lL.style.left = iL[1]+ 1; lL.style.visibility = 'visible'; lL.style.display = 'block'; } } } } } function cL () { if (pL.length > 0) { l = Layer(pL); if (l) { q = pL.substr(1, pL.length - 1); if (q < 98) { w = Layer('n' + q); if (w) { //swapoff(w, q); navoff(q); } } else if (q == 98) { w = Layer('n' + q); if (w) { swapoff(w, 37); navoff(q); } } l.style.visibility = 'hidden'; l.style.display = 'none'; pL = ""; } } } pX.prototype.rQ = undefined; function pX () { } pX.prototype.load = function (gW, gP, gR, gQ) { this.rQ = false; if (window.XMLHttpRequest) { this.rQ = new XMLHttpRequest(); } else if (window.ActiveXObject) { try { this.rQ = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { this.rQ = new ActiveXObject("Microsoft.XMLHTTP"); } catch (e) { } } } if (this.rQ) { var _this = this; this.gA = gW; this.gB = gR; this.gC = gP; this.gE = gQ; this.rQ.onreadystatechange = function () {_this._onData();}; gP = gP + '?n=' + jT(); if (gQ.length > 0) { this.rQ.open('POST', gP, true); } else { this.rQ.open('GET', gP, true); } this.rQ.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); if (gQ.length > 0) { this.rQ.setRequestHeader("Content-Length", gQ.length); } this.rQ.setRequestHeader("Connection", "close"); this.rQ.send(gQ); } } pX.prototype._onData = function() { if (this.rQ.readyState == 4) { if (this.rQ.status == 200) { if (this.gA == null) { } else { this.gX = Layer(this.gA.id); if (!this.gX) { } else if (this.rQ.responseText == 'HIDE') { this.gA.style.visibility = 'hidden'; this.gA.style.display = 'none'; } else { if (this.rQ.responseText.length > 0) { this.gA.style.visibility = 'visible'; this.gA.style.display = 'block'; if (this.gC.indexOf('main_') > -1) { this.gE = this.gC.substr(11, this.gC.length - 12); mE(this.gE, this.gA, this.rQ.responseText); if (this.gB.length > 0) { fC(this.gB, jT(), this.rQ.responseText); } } else if (this.gC.indexOf('alert') > -1) { this.gD = this.rQ.responseText.split(''); this.gA.innerHTML = this.gD[1]; aN (this.gD[0]); } else if (this.gC.indexOf('photos/category_') > -1) { if (this.gC.indexOf('photo_') > -1) { this.gA.innerHTML = this.rQ.responseText; pg2(); } else if (this.gC.indexOf('/list') > -1) { this.gA.innerHTML = this.rQ.responseText; pgU('', false, this.gC); } else { this.gD = this.rQ.responseText.split(''); this.gA.innerHTML = this.gD[1]; pgU(this.gD[0], true, this.gC); } } else if (this.gC.indexOf('banner_') > -1) { if (this.rQ.responseText.indexOf('') > -1) { } else { this.gA.innerHTML = this.rQ.responseText; this.gD = this.gC.split('banner_'); this.gE = this.gD[1].split('/'); if (this.rQ.responseText.indexOf(''); bT (this.gE[0], this.gG[0]); } else { bT (this.gE[0], ''); } } } else if (this.gC.indexOf('pollresults') > -1) { this.gD = this.rQ.responseText.split(''); this.gA.innerHTML = this.gD[1]; if (this.gD[0].length > 0) { vtC(this.gD[0]); } } else if (this.gC.indexOf('video') > -1) { if ((this.gC.indexOf('/playlist/') > -1) || (this.gC.indexOf('/videolist/') > -1)) { aMB(this.gC, this.rQ.responseText); } else if (this.rQ.responseText.indexOf('') > -1) { this.gD = this.rQ.responseText.split(''); if (this.gD[1].indexOf('') > -1) { this.gE = this.gD[1].split(''); rH(this.gD[0], this.gE[1], this.gE[0]); } else { rH(this.gD[0], this.gD[1], ''); } } else { this.gA.innerHTML = this.rQ.responseText; if (this.gB.length > 0) { fC(this.gB, jT(), this.rQ.responseText); } } } else { this.gA.innerHTML = this.rQ.responseText; if (this.gB.length > 0) { fC(this.gB, jT(), this.rQ.responseText); } } } } } } } } function fC (fA, fT, fQ) { cE[fA] = new Array (fT, fQ); } function mE (mF, mA, mY) { if (mF.length < 5) { mF = 'main_' + mF; } if (mF.indexOf('main_') > -1) { mF = mF.substr(5, mF.length-5); mX[0] = mF; //mF = mF.replace('main_', ''); } mD = mY.split(''); Layer('m' + mF + 'o').style.backgroundImage = 'url(http://nfl.packers.com/i/s.gif)'; Layer('m' + mF + 'f').style.backgroundImage = 'url(http://nfl.packers.com/i/s.gif)'; Layer('mi').style.backgroundImage = 'url(http://nfl.packers.com/i/s.gif)'; Layer('m' + mF + 'o').style.backgroundImage = 'url(' + mD[0] + ')'; Layer('m' + mF + 'f').style.backgroundImage = 'url(' + mD[0] + ')'; Layer('mi').style.backgroundImage = 'url(' + mD[1] + ')'; mA.innerHTML = mD[2]; Layer('headlinelive').innerHTML = ''; Layer('headlinevideo').innerHTML = ''; if (iVL[mF][0] == 'L') { if (iVD == '0') { iVL[mF][0] = 'I'; } } if (iVL[mF][0] == 'L') { LyH('headlineimage'); LyH('headlinevideo'); LyS('headlinelive'); Layer('headlinelive').innerHTML = '
'; } else if (iVL[mF][0] == 'V') { iVV = iVL[mF][1]; iVB = mD[1]; Layer('headlinevideo').innerHTML = '
'; LyH('headlineimage'); LyS('headlinevideo'); LyH('headlinelive'); } else { LyS('headlineimage'); LyH('headlinevideo'); LyH('headlinelive'); } mG(0); } function aN (aY) { mX[1] = 1; mL[1] = true; mZ[1] = aY; mG(1); } function qU () { setTimeout('qL();', 10000); } function qL () { qY = Math.floor(Math.random()*4+1); if (qY == qN) { qY = qN + 1; if (qY > 2) { qY = 1; } } if (Layer('q1')) { Layer('q1').style.backgroundImage = 'url(http://nfl.packers.com/i/x/9h' + qY + '.jpg)'; qN = qY; qM = 100; qR(); } } function qR () { qTwo = Layer('q2'); if (qTwo) { qM = qM - 1; if (qM > 0) { if (qM < 10) { qV = '0' + qM; } else { qV = qM; } qTwo.style.opacity = '.' + qV; qTwo.style.filter = 'alpha(opacity=' + qN + ')'; setTimeout('qR();', 1); } else { qTwo.src = 'http://nfl.packers.com/i/x/9h' + qN + '.jpg'; qTwo.style.opacity = '1.00'; qTwo.style.filter = 'alpha(opacity=100)'; qU(); } } } function mTT (mPA, mPB) { mLA = Layer('at' + mPA); mLB = Layer('at' + mPB); //mLA.style.top = mLC[0]; //mLB.style.top = mLC[1]; //mLA.style.position = 'relative'; //mLB.style.position = 'relative'; mLC[0]++; mLC[1]--; mLA.style.opacity = '.' + mC[1]; mLA.style.filter = 'alpha(opacity=' + mC[1] + ')'; mLB.style.opacity = '.' + mC[0]; mLB.style.filter = 'alpha(opacity=' + mC[0] + ')'; if (mLC[1] > 0) { setTimeout('mTT(\'' + mPA + '\', \'' + mPB + '\');', 50); } else { LyH('at' + mPA); mG(1); } } function mS (mP, mW, mJ) { if (ready) { if (mW) { mX[mJ] = mP; mU(false, mJ); } else { mX[mJ] = mP; } if (mJ == 0) { for (mI=1; mI<=mZ[mJ]; mI++) { if (mI == mP) { LyH('m' + mI + 'f'); LyS('m' + mI + 'o'); } else { LyH('m' + mI + 'o'); LyS('m' + mI + 'f'); } } mC = Layer('z4'); if (mC) { cU = true; cP = 'main_' + mP; if (cE[cP] != undefined) { cT = jT(); cD = (cT - cE[cP][0])/1000; if (cD < 900) { if (cE[cP][1].length > 0) { mE('main_' + mP, mC, cE[cP][1]) cU = false; } } } if (cU) { var gN = new pX(); gN.load(mC, '/tabs' + hM + '/main_' + mP + '/', 'main_' + mP, ''); } } } else { if (1 == 2) { mPA = mP - 1; if (mPA < 1) { mPA = mZ[mJ]; } mPB = mPA + 1; if (mPB > mZ[mJ]) { mPB = 0; } LyS('at' + mPA); LyS('at' + mPB); mLC = new Array(0, 100); mTT (mPA, mPB); } else if (mZ[mJ] > 0) { if (mZ[mJ] == 1) { LyS('at1'); } else { for (mI=1; mI<=mZ[mJ]; mI++) { if (mI == mP) { LyS('at' + mI); } else { LyH('at' + mI); } } mG (1); } } } } return false; } function mT (mD, mJ) { mN(mD, false, mJ); } function mG (mJ) { if (mL[mJ]) { if (mJ == 0) { if (mLT > 0) { clearTimeout(mLT); } mLT = setTimeout('mT(1, ' + mJ + ');', 12000); } else { setTimeout('mT(1, ' + mJ + ');', 10000); } } } function mN (mD, mQ, mJ) { if (ready) { if ((mL[mJ]) || (mQ)) { if (mQ) { mU(false, mJ); } mX[mJ] = parseInt(parseInt(mX[mJ]) + parseInt(mD)); if (mX[mJ] > mZ[mJ]) { mX[mJ] = 1; } else if (mX[mJ] <= 0) { mX[mJ] = mZ[mJ]; } mS(mX[mJ], false, mJ); } } } function mU (mV, mJ) { if (mJ == 0) { mK = 'ck'; } else { mK = 'at'; } if (mV) { if (mL[mJ]) { mL[mJ] = false; LyH(mK + 'o'); LyS(mK + 'f'); } else { mL[mJ] = true; LyH(mK + 'f'); LyS(mK + 'o'); if (mJ == 0) { if (mLT > 0) { clearTimeout(mLT); } mLT = setTimeout('mT(1, ' + mJ + ');', 12000); } else { setTimeout('mT(1, ' + mJ + ');', 10000); } } } else { mL[mJ] = false; LyH(mK + 'o'); LyS(mK + 'f'); } } function gO (gE) { gL ('/tabs/main_' + mX[0] + '/link/', gE); } function bC (bL, bH) { if (ready) { bL.style.backgroundColor = '#' + bH; } } function bG (bL, bH, bI, bV) { if (ready) { bL.style.backgroundColor = '#' + bH; LyH('u' + bI); LyS('u' + bV); } } function bD (bA, bB) { for (bN=1; bN<=bB; bN++) { if (bA == bN) { LyH('w' + bN + 'f'); LyS('w' + bN + 'o'); } else { LyH('v' + bN); LyH('w' + bN + 'o'); LyS('w' + bN + 'f'); } } LyS('v' + bA); } function bS (bA) { bJ[bA]++; var gN = new pX(); if (bA == 7) { bAA = 'ny'; } else if (bA == 8) { bAA = 'nx'; } else if (bA == 9) { bAA = 'nx'; } else if (bA == 10) { bAA = 'nz'; } else if (bA == 11) { bAA = 'nq'; } else if (bA == 12) { bAA = 'hy'; } else if (bA == 13) { bAA = 'nv'; } else if (bA == 15) { bAA = 'nu'; } else { bAA = bA; } gN.load(Layer('b' + bA), '/tabs' + hM + '/banner_' + bAA + '/' + bJ[bA] + '/', '', ''); } function qF (qO) { var qG = new Object; qG.x = 0; qG.y = 0; if (qO) { qG.x = qO.offsetLeft; qG.y = qO.offsetTop; if (qO.offsetParent) { var qE = qF(qO.offsetParent); qG.x += qE.x; qG.y += qE.y; } } qG.cx = qO.offsetWidth; qG.cy = qO.offsetHeight; return qG; } function bP (bO, bU) { return false; cL(); bC = qF(bU); bW = Layer('bz'); bW.innerHTML = '
' + bO + '
'; bW.style.top = bC.y + 14; bW.style.left = bC.x; LyS('bz'); } function bQ () { return false; LyH('bz'); } function rZ (rY, rM) { if (rM == 'audio') { aL = Layer('ra'); aM = Layer('ad1'); if (aM) { aM.DoStop(); } } else { aM = Layer('vd1'); if (aM) { aM.DoStop(); } LyH('vm'); LyS('vq'); aL = Layer('rp'); rI(); } if (aL) { if (rM == 'audio') { LyS('ag'); aL.innerHTML = cG (2, 'ffffff'); } else { LyS('vg'); aL.innerHTML = ''; } var gN = new pX(); gN.load(aL, '/tabs' + hM + '/' + rM + '/' + rY + '/', '', ''); } return false; } function rW (rM) { aV = ''; if (rM == 'audio') { if (Layer('aw1').checked) { aV = 'real'; } else if (Layer('aw2').checked) { aV = 'windows'; } } else { if (Layer('vw1').checked) { aV = 'real'; } else if (Layer('vw2').checked) { aV = 'windows'; } } if (aV.length > 0) { if (rM == 'audio') { LyS('ag'); } else { LyS('vg'); } if (rM == 'audio') { aL = Layer('ra'); } else { aL = Layer('rp'); rI(); } if (aL) { if (rM == 'audio') { aL.innerHTML = cG (2, 'ffffff'); } else { aL.innerHTML = ''; } var gN = new pX(); gN.load(aL, '/tabs' + hM + '/' + rM + '/settings/' + aV + '/', '', ''); } } return false; } function sV (sU) { aL = Layer('nve'); if (aL) { aL.innerHTML = cG (2, 'ffffff'); var gN = new pX(); gN.load(aL, sU, '', ''); } } function rG (rM) { if (rM == 'audio') { aL = Layer('ra'); } else { aL = Layer('rp'); rI(); } if (aL) { if (rM == 'audio') { aL.innerHTML = cG (2, 'ffffff'); } else { aL.innerHTML = ''; } var gN = new pX(); gN.load(aL, '/tabs' + hM + '/' + rM + '/settings/', '', ''); } return false; } function rH (rT, rR, rRF) { LyH('vq'); LyS('vm'); LyH('rf'); rL = Layer('rx'); if (rL) { LyS('rx'); rL.innerHTML = rT; } rL = Layer('rp'); if (rL) { LyH('rp'); LyS('rp'); rL.innerHTML = rR; LyS('rp'); rL.focus(); LyS('rp'); if (rRF.length > 0) { rP = rRF.split('|'); aPK(rP[0], rP[1], rP[2], rP[3], rP[4], rP[5]); } } } function rI () { LyH('rx'); LyS('rf'); } function bT (bA, bK) { if (bA == 'ny') { bAA = 7; } else if (bA == 'nx') { bAA = 8; } else if (bA == 'nx') { bAA = 9; } else if (bA == 'nz') { bAA = 10; } else if (bA == 'nq') { bAA = 11; } else if (bA == 'nv') { bAA = 13; } else if (bA == 'nu') { bAA = 14; } else { bAA = bA; } if (bK.length > 0) { bJ[bAA] = parseInt(bK); } setTimeout('bS(' + bAA + ');', 15000); } function rS (rA, rD) { if (rA.selectedIndex > 0) { var site = window.open('http://www.packers.com/site/www.' + rA.options[rA.selectedIndex].value + '/', 'site'); } rA.selectedIndex = 0; } function pC (pIJ) { pFJ = Layer('pw' + pIJ); if (pFJ) { pFJ.checked = true; } return false; } function pV (pM) { pFV = Layer('pf'); if (pFV) { pZ = false; for (pIV=0; pIV 0) { for (cI=0; cI 0) { if (cE[cP] != undefined) { cT = jT(); cD = (cT - cE[cP][0])/1000; if (cD < 900) { if (cE[cP][1].length > 0) { cC.innerHTML = cE[cP][1]; cU = false; } } } } if (cU) { cJ = cP; if (cP.indexOf('_noload') > -1) { cP = cP.replace('_noload', ''); } else { if ((cN == 2) || (cN == 3)) { cZ = 'ffffff'; } else { cZ = '000000'; } if ((cN == 0) || (cN == 3) || (cN == 5)) { cC.innerHTML = Layer('z' + cN + 'd').innerHTML; } else { cC.innerHTML = cG(cN, cZ); } } var gN = new pX(); gN.load(cC, '/tabs' + hM + '/' + cJ + '/', cP, ''); } } return false; } function cG (cN, cZ) { return '
loading
'; } function jT () { jN = new Date(); return jN.getTime(); } function rC (rO, rB) { rO.style.backgroundColor = '#' + rB; } function rD (rO, rB, rC, rU) { rO.style.backgroundColor = '#' + rB; if (rU == 1) { Layer(rC).style.textDecoration = 'underline'; Layer(rC).style.color = '#007000'; } else { Layer(rC).style.textDecoration = 'none'; Layer(rC).style.color = '#000000'; } } function gL (gH, gE) { gY = false; gN = true; if (navigator.appName == "Netscape") { if (gE.modifiers != undefined) { gN = false; gS = (gE.modifiers+32).toString(2).substring(3,6); if (gS.charAt(0) == "1") { gY = true; } else if (gS.charAt(2) == "1") { gY = true; } } } if (gN) { if (gE.altKey) { gY = true; } else if (gE.shiftKey) { gY = true; } else if (gE.metaKey) { gY = true; } } if (gY) { return gM(gH); } else { location.href = gH; return false; } } function gM (gH, gE) { var gV = window.open(gH); return false; } function wG (wI, wF) { if (wF) { wgL = Layer('z2'); } else { wgL = Layer('gd'); } if (wgL) { wgL.innerHTML = cG (2, 'ffffff'); var gN = new pX(); if (!wF) { if (wI.length == 0) { wC = Layer('gs'); gN.load(wgL, '/tabs' + hM + '/photos/' + wC.options[wC.selectedIndex].value + '/', '', ''); } else { gN.load(wgL, '/tabs' + hM + '/photos/' + wI + '/', '', ''); } } else if (wI.length == 0) { gN.load(wgL, '/tabs' + hM + '/photos/list/', '', ''); } else { gN.load(wgL, '/tabs' + hM + '/photos/' + wI + '/', '', ''); } } } function wS (wI, wF) { if (wF) { wpL = Layer('wm'); } else { wpL = Layer('wp'); } if (wpL) { pg9(); wpL.innerHTML = cG (2, 'ffffff'); var gN = new pX(); if (!wF) { if (wI.length == 0) { wC = Layer('wc'); gN.load(wpL, '/tabs' + hM + '/wallpaper/' + wC.options[wC.selectedIndex].value + '/', '', ''); } else { gN.load(wpL, '/tabs' + hM + '/wallpaper/' + wI + '/', '', ''); } } else if (wI.length == 0) { gN.load(wpL, '/tabs' + hM + '/wallpaper/list/', '', ''); } else { gN.load(wpL, '/tabs' + hM + '/wallpaper/' + wI + '/', '', ''); } } return false; } function pg9 () { pgP = "1"; pgT = 0; pgX = 0; pgA = "1"; pgK = false; pgF = false; pgG = ''; } function pgU (pgI, pgO, pgE) { if (!pgO) { pgP = "1"; pgT = 0; pgX = 0; pgA = "1"; pgK = false; pgF = false; pgG = ''; } else { pgP = "1"; pgT = pgI; if (hM == '') { pgX = Math.round((pgT/16)+.49); } else { pgX = Math.round((pgT/11)+.49); } pgA = "1"; pgK = true; pgF = false; pgG = pgE; pgL = Layer('pg'); if (pgL) { var gN = new pX(); gN.load(pgL, pgG + 'photo_1/', '', ''); } } } function pgZ (pgE, pgM) { if (pgF) { if (pgA > 0) { LyH('pg' + pgA); } LyS('pg' + pgE); pgA = pgE; if (pgM) { pgB = (parseInt(pgE) * 10) - 9; pgS("" + pgB); } } return false; } function pgR (pgH) { pgF = pgH; if ((pgK) && (pgF)) { if (pgT > 1) { setTimeout('pgJ(1, \'' + pgG + '\');', 5000); } } } function pg2 () { pgL = Layer('ph'); if (pgL) { pgThree = new Image(100,47); pgThree.src = pgL.src; pgC(0); } } function pgC (pgOne) { if (pgF) { } else if (pgThree.complete) { pgR(true); } else { pgL = Layer('ph'); if (pgL) { if (pgL.complete) { pgR(true); } else if (pgOne >= 30) { pgR(true); } else { pgOne++; setTimeout('pgC(' + pgOne + ');', 500); } } else { pgR(true); } } } function pgJ (pgD, pgEight) { if ((pgK) && (pgF)) { if (pgG == pgEight) { if (pgT > 1) { pgV(pgD); } } } } function pgQ (pgM) { if (pgF) { if (pgM) { if (pgK) { pgK = false; LyH('pgo'); LyS('pgf'); } else { pgK = true; LyH('pgf'); LyS('pgo'); if (pgT > 1) { setTimeout('pgJ(1, \'' + pgG + '\');', 5000); } } } else { pgK = false; LyH('pgo'); LyS('pgf'); } } } function pgV (pgD) { if (pgF) { pgN = parseInt(pgP) + parseInt(pgD); pgT = parseInt(pgT); if (pgT > 1) { if (pgN < 1) { pgN = pgT; } else if (pgN > pgT) { pgN = 1; } if (hM == '') { pgZ(Math.round((pgN/16)+.49), false); } else { pgZ(Math.round((pgN/11)+.49), false); } return pgS("" + pgN); } else { return false; } } else { return false; } } function pgS (pgW) { if (pgF) { if (pgP.length > 0) { pgL = Layer('p' + pgP); if (pgL) { pgL.style.opacity = '.51'; pgL.style.filter = 'alpha(opacity=51)'; pgL.style.border = '1px solid #000000'; LyH('pc' + pgP); } } pgY = Layer('p' + pgW); if (pgY) { pgY.style.opacity = '1.00'; pgY.style.filter = 'alpha(opacity=100)'; pgY.style.border = '1px solid #ffde08'; pgL = Layer('pg'); if (pgL) { pgR (false); pgL.innerHTML = cG(2, 'ffffff'); var gN = new pX(); gN.load(pgL, pgG + 'photo_' + pgW + '/', '', ''); } pgP = pgY.id.replace('p', ''); } } return false; } function vtX () { vD = true; if (vT.length > 0) { for (vtI=0; vtI 0) { for (vtI=0; vtI 0) { u = true; if (event.srcElement) { q = true; i = event.srcElement; } else { q = false; i = event.target; } r = ''; while ((i != null) && (u)) { if (i.tagName != null) { r = r + '\n' + i.tagName + ' -> ' + i.id; if (i.tagName == 'DIV') { u = false; if (i.id.substr(0, 1) == 'd') { u = false; } else if (i.id.substr(0, 2) == 'nv') { u = false; } else { cL(); } } else if (i.id != null) { if ((i.id == 'content') || (i.id == 'body') || (i.id == 'head') || (i.id == 'tail') || (i.id == 'q2')) { u = false; cL(); } else if (i.id.length > 0) { u = false; } } } if (i.parentElement != null) { i = i.parentElement; } else if (i.parentNode != null) { i = i.parentNode; } else { i = null; } } if (u) { cL(); } } }