function refreshVideo(videoId, videoName, imageName) {
    videoTitle=''// video Title shown in Omniture Video name
    videoDuration=0// video duraction in seconds
    videoHeight="426px";
    videoWidth="552px";
        //Pod cast
        if (videoId == 'pod1') { 
            document.getElementById('videoText').innerHTML = '<b>Paula Dombek</b><br>Podcast Length: 4:51<br><br>Marketing manager Paula Dombek gives us an overview of Armstrong\'s new high performance ceiling panels.<br>';
        videoTitle='Paula Dombek'
        videoDuration=291
        videoHeight="20";
        videoWidth="320";
        }
        if (videoId == 'pod2') { 
            document.getElementById('videoText').innerHTML = '<b>Dr. Kenneth Roy</b><br>Podcast Length: 5:24 minutes<br><br>Senior Principal Scientist Dr. Kenneth Roy gives us the "science behind the silence" of Armstrong\'s new high NRC, high CAC ceiling panels.<br>';
        videoTitle='Dr. Kenneth Roy'
        videoDuration=324
        videoHeight="20";
        videoWidth="320";
        }
        if (videoId == 'pod3') { 
            document.getElementById('videoText').innerHTML = '<b>Ed Anderson</b><br>Podcast Length: 5:04 minutes<br><br>Ed Anderson is a project Executive with the design firm of Marshall Erdman in Madison Wisconsin, and talks about his experience with Armstrong\'s new high performance ceiling panels.<br>';
        videoTitle='Ed Anderson'
        videoDuration=304
        videoHeight="20";
        videoWidth="320";
        }   
        if (videoId == 'pod4') { 
            document.getElementById('videoText').innerHTML = '<b>LEED EB Platinum Roundtable</b><br>Podcast Length: 42:00 minutes<br><br>How a LEED-EB Platinum rating was achieved for the Armstrong World Industries Corporate Headquarters Building. Opening remarks by Rick Fedrizzi, President, USGBC.<br>';
        videoTitle='LEED EB Platinum Roundtable'
        videoDuration=2520
        videoHeight="20";
        videoWidth="320";
        }   
        // Video Case studies
        if (videoId == 'capz1') { 
            document.getElementById('videoText').innerHTML = '<b>Optima<sup>&reg;</sup> Capz&trade; - Arium Inc. Case Study Video</b><br>Video Length: 3:17 minutes<br><br>';
            videoTitle='Optima Capz - Arium Inc. Case Study Video'// video Title shown in Omniture Video name
            videoDuration=197// video duraction in seconds
        }
        if (videoId == 'capz2') { 
            document.getElementById('videoText').innerHTML = '<b>St. Michael\'s Country Day School </b><br>Video Length: 3:03 minutes<br><br>St. Michael\'s Country Day School, Multi-purpose cafeteria. Newport, RI. Installation: Optima<sup>&reg;</sup> Capz&trade; Ceiling System.<br>';
        videoTitle="St. Michaels Country Day School"
        videoDuration=183
        }
        if (videoId == 'mCasino') { 
            document.getElementById('videoText').innerHTML = '<b>Marongo Casino Cabazon, CA</b><br>Video Length: 3:23 minutes<br><br><br>';
        videoTitle='Marongo Casino Cabazon, CA'
        videoDuration=203
        }
        if (videoId == 'sanJose') { 
            document.getElementById('videoText').innerHTML = '<b>San Jose State University San Jose, CA</b><br>Video Length: 2:41 minutes<br><br><br>';
        videoTitle='San Jose State University San Jose, CA'
        videoDuration=161
        }
        if (videoId == 'wMarket') { 
            document.getElementById('videoText').innerHTML = '<b>World Market Place Las Vegas, NV</b><br>Video Length: 2:08 minutes<br><br>';
        videoTitle='World Market Place Las Vegas, NV'
        videoDuration=188
        }
        if (videoId == 'oHotel') { 
            document.getElementById('videoText').innerHTML = '<b>Opryland Hotel Dallas, TX</b><br>Video Length: 2:50 minutes<br><br><br>';
        videoTitle='Opryland Hotel Dallas, TX'
        videoDuration=230
        }
        if (videoId == 'antChurch') { 
            document.getElementById('videoText').innerHTML = '<b>St. Anthony\'s Church Ambler, PA</b><br>Video Length: 1:15 minutes<br><br>';
        videoTitle='St. Anthonys Church Ambler, PA'
        videoDuration=75
        }
        if (videoId == 'santeFe') { 
            document.getElementById('videoText').innerHTML = '<b>Sante Fe Towers San Diego, CA</b><br>Video Length: 2:09 minutes<br><br>';
        videoTitle='Sante Fe Towers San Diego, CA'
        videoDuration=129
        }   
        if (videoId == 'lambertonSchool') { 
            document.getElementById('videoText').innerHTML = '<b>Robert E. Lamberton School</b><br>Video Length: 7:30 minutes<br><br>Case Study - Video.<br>';
        videoTitle='Robert E. Lamberton School'
        videoDuration=450
        } 
        if (videoId == 'mwTin') { 
            document.getElementById('videoText').innerHTML = '<b>MetalWorks Tin - Lancaster Dispensing Company</b><br>Video Length: 2:45 minutes<br><br>Acoustical case study on exclusive MetalWorks&trade; Tin extra microperforated panels.<br>';
        videoTitle='MetalWorks Tin - Lancaster Dispensing Company'
        videoDuration=165
        } 
        if (videoId == 'PAmusic') { 
            document.getElementById('videoText').innerHTML = '<b>Soundsoak<sup>&reg;</sup> and Sound Diffusers - Pennsylvania Academy of Music</b><br>Video Length: 3:04 minutes<br><br>Acoustical case study on Soundsoak<sup>&reg;</sup> and Sound Diffuser wall panels.<br>';
        videoTitle='Soundsoak and Sound Diffusers - Pennsylvania Academy of Music'
        videoDuration=184
        } 
//Vido library - Sustainability        
        if (videoId == 'leedExtend') { 
            document.getElementById('videoText').innerHTML = '<b>LEED-EB Platinum - Extended Version</b><br/>Video Length: 16:38 minutes<br/><br/>An introduction to LEED-EB Platinum rating design considerations.<br/>';
            videoTitle="LEED-EB Platinum - Extended Version";
            videoDuration=998;
        }
        if (videoId == 'leedShort') { 
            document.getElementById('videoText').innerHTML = '<b>Armstrong LEEB EB Platinum - Short Version</b><br/>Video Length: 4:25 minutes<br/><br/>Overview of how the Armstrong Corporate Headquarters earned LEED-EB Platinum Certification.<br/>';
            videoTitle="Armstrong LEEB EB Platinum - Short Version";
            videoDuration=265;
        }
        if (videoId == 'chapter1') { 
            document.getElementById('videoText').innerHTML = '<b>Chapter 1 - LEED-EB Platinum - Opening</b><br/>Video Length: 2:28 minutes<br/><br/>An introduction to LEED-EB Platinum rating design considerations.<br/>';
            videoTitle="Chapter 1 - LEED-EB Platinum - Opening";
            videoDuration=148;
        }
        if (videoId == 'chapter2') { 
            document.getElementById('videoText').innerHTML = '<b>Chapter 2 - Building 701 - Armstrong Corporate Headquarters</b><br/>Video Length: 2:26 minutes<br/><br/>A more detailed review of the Armstrong Headquarter\'s sustainable design.<br/>';
            videoTitle="Chapter 2 - Building 701 - Armstrong Corporate Headquarters";
            videoDuration=146;

        }
        if (videoId == 'chapter3') { 
            document.getElementById('videoText').innerHTML = '<b>Chapter 3 - Leadership in Energy &amp; Environmental Design</b><br/>Video Length: 1:19 minutes<br/><br/>By taking on the LEED initiative Armstrong brings an example of our leadership to our corporate campus.<br/>';
            videoTitle="Chapter 3 - Leadership in Energy &amp; Environmental Design";
            videoDuration=79;

        }
        if (videoId == 'chapter4') { 
            document.getElementById('videoText').innerHTML = '<b>Chapter 4 - Sustainable Sites</b><br/>Video Length: 1:15 minutes<br/><br/>Green Building initiatives include landscape and water management design as well as employee incentives to reduce emissions.<br/>';
            videoTitle="Chapter 4 - Sustainable Sites";
            videoDuration=75;

        }
        if (videoId == 'chapter5') { 
            document.getElementById('videoText').innerHTML = '<b>Chapter 5 - Water Efficiencies</b><br/>Video Length: 1:43 minutes<br/><br/>Reducing water consumption.<br/>';
            videoTitle="Chapter 5 - Water Efficiencies";
            videoDuration=103;

        }
        if (videoId == 'chapter6') { 
            document.getElementById('videoText').innerHTML = '<b>Chapter 6 - Energy &amp; Atmosphere</b><br/>Video Length: 1:57 minutes<br/><br/>Utilizing Renewable Energy.<br/>';
            videoTitle="Chapter 6 - Energy &amp; Atmosphere";
            videoDuration=117;

        }
        if (videoId == 'chapter7') { 
            document.getElementById('videoText').innerHTML = '<b>Chapter 7 - Materials &amp; Resources</b><br/>Video Length: 2:15 minutes<br/><br/>Initiatives for products.<br/>';
            videoTitle="Chapter 7 - Materials &amp; Resources";
            videoDuration=135;

        }
        if (videoId == 'chapter8') { 
            document.getElementById('videoText').innerHTML = '<b>Chapter 8 - Indoor Environmental Quality</b><br/>Video Length: 2:01 minutes<br/><br/>Smart design for lighting &amp; acoustics.<br/>';
            videoTitle="Chapter 8 - Indoor Environmental Quality";
            videoDuration=121;

        }
        if (videoId == 'chapter9') { 
            document.getElementById('videoText').innerHTML = '<b>Chapter 9 - LEED-EB Platinum Award</b><br/>Video Length: 2:05 minutes<br/><br/>Mike Lockhart, Armstrong CEO accepts award from Rick Fedrizzi, President, CEO, and founding Chairman of the U.S. Green Building Council.<br/>';
            videoTitle="Chapter 9 - LEED-EB Platinum Award";
            videoDuration=125;

        }
        if (videoId == 'recycle') { 
            document.getElementById('videoText').innerHTML = '<b>Talking Green:  Ceiling Recycling</b><br/>Video Length: 5:00 minutes<br/><br/>Mineral fiber ceilings from renovation projects can be reclaimed and reused through the Armstrong Ceiling Recycling Program - a first-of-its-kind program that reduces solid waste in landfills.<br/>';
            videoTitle="Talking Green:  Ceiling Recycling";
            videoDuration=300;

        }        
        if (videoId == 'roundtable') { 
            document.getElementById('videoText').innerHTML = '<b>LEED EB Platinum Roundtable</b><br/>Video Length: 42:00 minutes<br/><br/>How a LEED-EB Platinum rating was achieved for the Armstrong World Industries Corporate Headquarters Building. Moderated by Anita Snader, Armstrong Ceilings Sustainability Manager with opening remarks by Rick Fedrizzi, President, USGBC.<br/>';
            videoTitle="LEED EB Platinum Roundtable";
            videoDuration=2520;

        }                    
		 if (videoId == 'greenbuild') { 
		            document.getElementById('videoText').innerHTML = '<b>Ceiling Recycling - Short Version</b><br/>Video Length: 4:34 minutes<br/><br/>Since 1999, and together with our customers, more than 35,000 tons of construction waste has been diverted from landfills.  Hear from architects, owners and contractors on how together we can all make a difference.<br/>';
		            videoTitle="Ceiling Recycling - Short Version";
		            videoDuration=274;
		
		        }
		 if (videoId == 'greenbuild2') { 
		            document.getElementById('videoText').innerHTML = '<b>Ceiling Recycling</b><br/>Video Length: 7:45 minutes<br/><br/>Since 1999, and together with our customers, more than 35,000 tons of construction waste has been diverted from landfills.  Hear from architects, owners and contractors on how together we can all make a difference.<br/>';
		            videoTitle="Ceiling Recycling";
		            videoDuration=465;
	        }
// Video Library - Acoustics
        //change the text
        if (videoId == 'acousticalTerms') { 
            document.getElementById('videoText').innerHTML = '<b>Acoustics Terms<\/b><br>Video Length: 3:11 minutes<br><br>Dr. Ken Roy explains Acoustics Terms.<br>';
        }
        if (videoId == 'acousticalDesign') { 
            document.getElementById('videoText').innerHTML = '<b> Acoustical Design for Privacy<\/b><br>Video Length: 3:38 minutes<br><br>Dr. Ken Roy explains Acoustical Design.<br>';
        }
        if (videoId == 'staightTalk') { 
            document.getElementById('videoText').innerHTML = '<b>Straight Talk<\/b><br>Video Length: 17:00 minutes<br><br>Understanding ANSI Standard S12.60 and Classroom Acoustics.<br>';
        }        
      if (videoId == 'lambertonSchool') { 
            document.getElementById('videoText').innerHTML = '<b>Lamberton School<\/b><br>Video Length: 3:04 minutes<br><br>Case Study - Video.<br>';
        }   
        if (videoId == 'mwTin') { 
            document.getElementById('videoText').innerHTML = '<b>MetalWorks Tin - Lancaster Dispensing Company<\/b><br>Video Length: 2:45 minutes<br><br>Acoustical Case Study on exclusive MetalWorks&trade; Tin extra microperforated panels.<br>';
        } 
        if (videoId == 'PAmusic') { 
            document.getElementById('videoText').innerHTML = '<b>Soundsoak<sup>&reg;<\/sup> and Sound Diffusers - Pennsylvania Academy of Music<\/b><br>Video Length: 3:04 minutes<br><br>Acoustical case study on Soundsoak<sup>&reg;<\/sup> and Sound Diffuser wall panels.<br>';
        }   
// Video Libabary Installation
        if (videoId == 'ultimaPlank') { 
            document.getElementById('videoText').innerHTML = '<b>Ultima Plank Installation<\/b><br>Video Length: 4:09 minutes<br><br>Ultima combines the exceptionally impact and scratch-resistant DuraBrite surface and excellent sound absorption in a smooth, nondirectional visual that fits a wide variety of grid options.<br>';
            videoTitle="Ultima Plank Installation";
            videoDuration=243;
        }  
        if (videoId == 'sSapes') { 
            document.getElementById('videoText').innerHTML = '<b>SoundScapes<sup>&reg;</sup> Shapes Installation<\/b><br>Video Length: 5:50 minutes<br><br>With SoundScapes<sup>&reg;</sup> Shapes Acoustical Clouds, the sky is the limit! SoundScapes Shapes Acoustical Clouds come in a wide variety of sizes, shapes and colors.<br>';
            videoTitle="SoundScapes Shapes Installation";
            videoDuration=350;
        }
        if (videoId == 'capz') { 
            document.getElementById('videoText').innerHTML = '<b>Optima<sup>&reg;</sup> Capz&trade; Installation<\/b><br>Video Length: 4:38 minutes<br><br>The sleek Optima<sup>&reg;</sup> Capz&trade; system pairs Capz accent hardware with the exceptional acoustical benefits of fine-textured Optima ceiling panels.<br>';
            videoTitle="Optima Capz Installation";
            videoDuration=278;
        }
        if (videoId == 'waves') { 
            document.getElementById('videoText').innerHTML = '<b>Serpentina<sup>&reg;</sup> Waves&trade; Installation <\/b><br>Video Length: 5:57 minutes<br><br>Big waves attract attention and create awe. The bigger, the better. Now you can create and harness that visual power with our pre-engineered Serpentina<sup>&reg;</sup> Waves.&trade;<br>';
            videoTitle="Serpentina Waves Installation ";
            videoDuration=357;
        }
        if (videoId == 'mworks') { 
            document.getElementById('videoText').innerHTML = '<b>MetalWorks&trade; Linear Installation <\/b><br>Video Length: 5:51 minutes<br><br>MetalWorks&trade; Linear Ceiling Systems provide durability with post-production, powder-coated steel panels and flexibility with standard size, acoustical and interior / exterior application options. Custom capabilities are also available.<br>';
            videoTitle="MetalWorks Linear Installation";
            videoDuration=351;
        }
        if (videoId == 'gridSystems') { 
            document.getElementById('videoText').innerHTML = '<b>Drywall Grid System vs. Traditional Installation Comparison<\/b><br>Video Length: 6:05 minutes<br><br>The time saving potential of DGS becomes clear in this side-by-side comparison of the installation of a typical drywall ceiling. Professional contractors install both track and channel, and DGS, as they would on a job site.<br>';
            videoTitle="Drywall Grid System vs. Traditional Installation Comparison";
            videoDuration=365;
        }        
        if (videoId == 'mwLinear') { 
            document.getElementById('videoText').innerHTML = '<b>WoodWorks&reg; Linear Installation<\/b><br>Video Length: 3:47 minutes<br><br>Video on linear wood suspension system and plank design improved for 30-50% faster installation.<br>';
            videoTitle="WoodWorks Linear Installation";
            videoDuration=227;
        }
	if (videoId == 'wwConcealed') { 
	    document.getElementById('videoText').innerHTML = '<b>WoodWorks&reg; Concealed Installation<\/b><br>Video Length: 2:50 minutes<br><br>Video on installation of new WoodWorks Concealed.<br>';
	    videoTitle="WoodWorks Concealed Installation";
	    videoDuration=170;
        }
        
   
   
        if (videoId == 'mwWings') { 
            document.getElementById('videoText').innerHTML = '<b>MetalWorks Wings Installation Video<\/b><br>Video Length: 5:10 minutes<br><br>Video on installation of new 3-D MetalWorks Wings accent and acoustical clouds.<br>';
            videoTitle="MetalWorks Wings Installation Video";
            videoDuration=310;
        }    
        if (videoId == 'wwChanneled') { 
            document.getElementById('videoText').innerHTML = '<b>WoodWorks Channeled Installation Video<\/b><br>Video Length: 3:24 minutes<br><br>Video on installation of new WoodWorks Channeled.<br>';
            videoTitle="WoodWorks Channeled Installation Video";
            videoDuration=204;
        }
        if (videoId == 'wwGrille') { 
            document.getElementById('videoText').innerHTML = '<b>WoodWorks Grille Installation Video<\/b><br>Video Length: 3:58 minutes<br><br>Video on installation of new WoodWorks Grille.<br>';
            videoTitle="WoodWorks Grille Installation Video";
            videoDuration=238;
        }
        if (videoId == 'seismic') { 
            document.getElementById('videoText').innerHTML = '<b>SUNY Buffalo Seismic Testing Overview Video<\/b><br>Video Length: 1:10 minutes<br><br>Video about seismic testing at SUNY Buffalo facility.<br>';
            videoTitle="SUNY Buffalo Seismic Testing Overview Video";
            videoDuration=70;
        } 
	if (videoId == 'metalworks') { 
	    document.getElementById('videoText').innerHTML = '<b>Metalworks SecureLock<\/b><br>Video Length: 2:00 minutes<br>';
	    videoTitle="Metalworks SecureLock Video";
	    videoDuration=120;
        }  
	if (videoId == 'yoke') { 
	    document.getElementById('videoText').innerHTML = '<b>Yoke Installation Video<\/b><br>Video Length: 2:42 minutes<br>';
	    videoTitle="Metalworks SecureLock Video";
	    videoDuration=162;
        }  	
	if (videoId == 'mworks1') { 
	    document.getElementById('videoText').innerHTML = '<b>MetalWorks Vector Installation<\/b><br>Video Length: :57 minutes<br>';
	    videoTitle="MetalWorks Vector Installation";
	    videoDuration=57;
        }  
	if (videoId == 'ult-opt') { 
	    document.getElementById('videoText').innerHTML = '<b>Optima &#38; Ultima Vector Installation<\/b><br>Video Length: :57 minutes<br>';
	    videoTitle="Optima &#38; Ultima Vector Installation";
	    videoDuration=57;
        }  
	if (videoId == 'vinstall') { 
	    document.getElementById('videoText').innerHTML = '<b>Vector Ceilings Installation<\/b><br>Video Length: 2:42 minutes<br>';
	    videoTitle="Vector Ceilings Installation";
	    videoDuration=162;
        }  	
	if (videoId == 'woodwks') { 
	    document.getElementById('videoText').innerHTML = '<b>WoodWorks Vector Installation<\/b><br>Video Length: 3:42 minutes<br>';
	    videoTitle="WoodWorks Vector Installation";
	    videoDuration=222;
        }  	
	if (videoId == 'chilledbeam') { 
	    document.getElementById('videoText').innerHTML = '<b>TechZone Chilled Beam Installation<\/b><br>Video Length: 1:59 minutes<br><br>Video on installation of TechZone Chilled Beams.<br>';
	    videoTitle="TechZone Chilled Beam Installation";
	    videoDuration=240;
        }  
		
	if (videoId == 'ceiling-cloud') { 
	    document.getElementById('videoText').innerHTML = '<b>Ceiling Cloud installation with Axiom Classic and Corner Post<\/b><br>Video Length: 6:58 minutes<br><br>See how to install a floating cloud with 4" Axiom Classic with corner post.<br>';
	    videoTitle="Ceiling Cloud installation with Axiom Classic and Corner Post";
	    videoDuration=418;
        }  
	if (videoId == 'curved-grid') { 
	    document.getElementById('videoText').innerHTML = '<b>Curved Drywall Ceiling Grid Installation<\/b><br>Video Length: 5:48 minutes<br><br>See how easy it is to install a curved drywall ceiling using our Faceted Drywall Grid.<br>';
	    videoTitle="Curved Drywall Ceiling Grid Installation";
	    videoDuration=348;
        }  
	if (videoId == 'quikstix-soffit') { 
	    document.getElementById('videoText').innerHTML = '<b>QuikStix Soffits<\/b><br>Video Length: 4:57 minutes<br><br>Save time and money suspending soffits to deck using QuikStix Soffits and StrongBack instead of steel studs.<br>';
	    videoTitle="QuikStix Soffits";
	    videoDuration=297;
        }  
	if (videoId == 'soffit-grid') { 
	    document.getElementById('videoText').innerHTML = '<b>QuikStix Soffit Attached to Acoustical Grid<\/b><br>Video Length: 5:38 minutes<br><br>See how to frame a QuikStix Soffit directly off suspended acoustical grid.<br>';
	    videoTitle="QuikStix Soffit Attached to Acoustical Grid";
	    videoDuration=338;
        }  
	if (videoId == 'locking-pocket') { 
	    document.getElementById('videoText').innerHTML = '<b>QuikStix Locking Pocket Main Installation<\/b><br>Video Length: 4:38 minutes<br><br><br>QuikStix Locking Pocket Mains and ShortSpan provide an easy solution for direct to deck drywall installations.<br>';
	    videoTitle="QuikStix Locking Pocket Main Installation";
	    videoDuration=278;
        }  
	if (videoId == 'shortspan') { 
	    document.getElementById('videoText').innerHTML = '<b>ShortSpan<\/b><br>Video Length: 3:50 minutes<br><br>See how fast an easy ShortSpan is to install versus track and hat channel. <br>';
	    videoTitle="ShortSpan";
	    videoDuration=230;
        }  
	if (videoId == 'cross-tee') { 
	    document.getElementById('videoText').innerHTML = '<b>6 ft Drywall Cross Tees (XL8965)<\/b><br>Video Length: 5:21 minutes<br><br>Save time, material, and labor installing Armstrong 6 ft DGS tees.<br>';
	    videoTitle="6 ft Drywall Cross Tees (XL8965)";
	    videoDuration=321;
        }  
	if (videoId == 'transition-molding') { 
	    document.getElementById('videoText').innerHTML = '<b>Acoustical to Drywall Transition Molding<\/b><br>Video Length: 4:04 minutes<br><br>Armstrong Transition Molding eliminates the need for a vertical drywall return at the transition, return framing to support drywall return, and corner bead and vertical taping.<br>';
	    videoTitle="Acoustical to Drywall Transition Molding";
	    videoDuration=244;
        }  
		
	if (videoId == 'gms_recycle') { 
	    document.getElementById('videoText').innerHTML = '<b>GMS Recycling<\/b><br>Video Length: 58:39 minutes<br><br><br>';
	    videoTitle="GMS Recycling";
	    videoDuration=3519;
        }  
		
	if (videoId == 'malshuster') { 
	    document.getElementById('videoText').innerHTML = '<b>Ceiling Recycling: Project Engineer Perspective<\/b><br>Video Length: 0:30 minutes<br><br>It\'s the right thing to do<br>';
	    videoTitle="Ceiling Recycling: Project Engineer Perspective";
	    videoDuration=30;
        } 
	if (videoId == 'jerrymilton') { 
	    document.getElementById('videoText').innerHTML = '<b>Ceiling Recycling: Southeastern Interiors Perspective<\/b><br>Video Length: 0:53 minutes<br><br>Education is key to participation<br>';
	    videoTitle="Ceiling Recycling: Southeastern Interiors Perspective";
	    videoDuration=53;
        } 
	if (videoId == 'mikeeason') { 
	    document.getElementById('videoText').innerHTML = '<b>Ceiling Recycling: Construction Manager Perspective<\/b><br>Video Length: 0:48 minutes<br><br>Test in 2002 leads to full steam ahead requirement<br>';
	    videoTitle="Ceiling Recycling: Construction Manager Perspective";
	    videoDuration=48;
        } 
	if (videoId == 'anthonybrower') { 
	    document.getElementById('videoText').innerHTML = '<b>Ceiling Recycling: Architect Perspective<\/b><br>Video Length: 0:30 minutes<br><br>Ceiling recycling is part of every project<br>';
	    videoTitle="Ceiling Recycling: Architect Perspective";
	    videoDuration=30;
        } 
	if (videoId == 'danielharazim') { 
	    document.getElementById('videoText').innerHTML = '<b>Ceiling Recycling: The S/L/A/M Collaborative Perspective<\/b><br>Video Length: 0:41 minutes<br><br>Ceiling recycling has become an everyday activity<br>';
	    videoTitle="Ceiling Recycling: The S/L/A/M Collaborative Perspective";
	    videoDuration=41;
        } 
	if (videoId == 'markchesko') { 
	    document.getElementById('videoText').innerHTML = '<b>Ceiling Recycling: Armstrong Plant Manager Perspective<\/b><br>Video Length: 0:49 minutes<br><br>Eliminate need to ever take ceiling tiles to the landfill<br>';
	    videoTitle="Ceiling Recycling: Armstrong Plant Manager Perspective";
	    videoDuration=49;
        } 
	if (videoId == 'jimpetsche') { 
	    document.getElementById('videoText').innerHTML = '<b>Ceiling Recycling: Corporate Facilities Director Perspective<\/b><br>Video Length: 0:40 minutes<br><br>Winning Partnership<br>';
	    videoTitle="Ceiling Recycling: Corporate Facilities Director Perspective";
	    videoDuration=40;
        } 
	if (videoId == 'serpentina-wood-vault') { 
	    document.getElementById('videoText').innerHTML = '<b>Serpentina<sup>&reg;</sup> Vault<sup>&trade;</sup><\/b><br>Video Length: 4:04 minutes<br><br>Serpentina Vault offers a worry free approach to highlighting a signature area.<br>';
	    videoTitle="Serpentina Vault";
	    videoDuration=244;
        } 
	if (videoId == 'gcwa-clip') { 
	    document.getElementById('videoText').innerHTML = '<b>Grip Clip for Wall Attachments<\/b><br>Video Length: 1:21 minutes<br><br>Fast and easy solution to eliminating exposed pop rivets during grid installations.<br>';
	    videoTitle="Grip Clip for Wall Attachments";
	    videoDuration=181;
        }
	if (videoId == 'gc3w') { 
	    document.getElementById('videoText').innerHTML = '<b>3 Way Grip Clip<\/b><br>Video Length: 1:34 minutes<br><br>The GC3W is the perfect solution to off module grid framing created by odd size light fixtures and air diffusers<br>';
	    videoTitle="3 Way Grip Clip";
	    videoDuration=94;
        } 
	if (videoId == 'axbps-short-video') { 
	    document.getElementById('videoText').innerHTML = '<b>Axiom? Building Perimeter System<\/b><br>Video Length: 4:50 minutes<br><br>Pre-engineered solution that integrates multiple functions such as drapery pockets, air distribution, and changes in ceiling elevation.p<br>';
	    videoTitle="Axiom? Building Perimeter System";
	    videoDuration=290;
        } 
	if (videoId == 'linearmetalinstallation') { 
	    document.getElementById('videoText').innerHTML = '<b>MetalWorks Linear Installation Video<\/b><br>Video Length: 6:00 minutes<br><br> <br>';
	    videoTitle="MetalWorks Linear Installation Video";
	    videoDuration=360;
        } 	
	if (videoId == 'dc-flexzone-demo-partner-power') { 
	    document.getElementById('videoText').innerHTML = '<b>DC FlexZone Power, Nextek Power Systems<\/b><br>Video Length: 0:53 minutes<br><br>Power Supplies with AC-DC Conversion for Ceiling Grid<br>';
	    videoTitle="DC FlexZone Power, Nextek Power Systems";
	    videoDuration=53;
        } 
	if (videoId == 'dc-flexzone-demo-grid') { 
	    document.getElementById('videoText').innerHTML = '<b>DC FlexZone Grid<\/b><br>Video Length: 3:11 minutes<br><br>DC-Powered Ceiling Grid, Flexible Plug & Play for lights, controls and more<br>';
	    videoTitle="DC FlexZone Grid";
	    videoDuration=191;
        } 
	if (videoId == 'dc-flexzone-demo-partner-cables') { 
	    document.getElementById('videoText').innerHTML = '<b>DC FlexZone TE Connectivity<\/b><br>Video Length: 1:43 minutes<br><br>Low Voltage DC Cable Assemblies for Installs with DC FlexZone Grid<br>';
	    videoTitle="DC FlexZone TE Connectivity";
	    videoDuration=103;
        } 
	if (videoId == 'dc-flexzone-demo-partner-controls') { 
	    document.getElementById('videoText').innerHTML = '<b>DC FlexZone Sensors & Controls<\/b><br>Video Length: 2:38 minutes<br><br>Sensors and ZigBee Wireless Controls for DC FlexZone Grid<br>';
	    videoTitle="DC FlexZone Sensors & Controls";
	    videoDuration=158;
        } 
	if (videoId == 'dc-flexzone-demo-Partner-Lighting') { 
	    document.getElementById('videoText').innerHTML = '<b>DC FlexZone Peripherals and Lighting<\/b><br>Video Length: 3:03 minutes<br><br>LED and Fluorescent Light Fixtures compatible with DC FlexZone Grid<br>';
	    videoTitle="DC FlexZone Peripherals and Lighting";
	    videoDuration=183;
        } 	
		
	if (videoId == 'singlespan') { 
	    document.getElementById('videoText').innerHTML = '<b>SingleSpan<sup>&trade;</sup> Corridor Solutions<\/b><br>Video Length: 4:57 minutes<br><br>Learn how you can span an 8\'4" congested corridor with only one hanger wire on your acoustical main runner<br>';
	    videoTitle="SingleSpan Corridor Solutions";
	    videoDuration=297;
        } 		
		
		if (videoId == 'seismic-comp') { 
	    document.getElementById('videoText').innerHTML = '<b>Seismic Test Comparison<\/b><br>Video Length: 3:20 minutes<br><br><br>';
	    videoTitle="Seismic Test Comparison";
	    videoDuration=200;
        } 	
		
		if (videoId == 'alumsubinstall') { 
	    document.getElementById('videoText').innerHTML = '<b>WoodWorks Aluminum Substrate Trim Installation<\/b><br>Video Length: 4:41 minutes<br>Video on installation of WoodWorks Aluminum Substrate Trim<br>';
	    videoTitle="WoodWorks Aluminum Substrate Trim Installation";
	    videoDuration=281;
        } 	
		
		if (videoId == 'concealedinstall') { 
	    document.getElementById('videoText').innerHTML = '<b>WoodWorks Concealed Wall-to-wall and Floating Installations<\/b><br>Video Length: 3:46 minutes<br>Video on installation of new WoodWorks Concealed Wall-to-wall and Floating Ceilings<br>';
	    videoTitle="WoodWorks Concealed Wall-to-wall and Floating Installations";
	    videoDuration=226;
        } 	
		
		if (videoId == 'solidwoodinstall') { 
	    document.getElementById('videoText').innerHTML = '<b>WoodWorks Solid Wood Trim Installation<\/b><br>Video Length: 3:38 minutes<br>Video on installation of WoodWorks Solid Wood Trim<br>';
	    videoTitle="WoodWorks Solid Wood Trim Installation";
	    videoDuration=218;
        } 	
		
		
		
    var requiredVersion = 8;      // Flash version the user needs
    var pathToFlashFile = '/includes/videoplayer/flvplayer2.swf'
    var flashVideo = '&height='+videoHeight+'&width='+videoWidth+'&bufferlength=5&file='+videoName+'&image='+imageName+'&usefullscreen=false&title='+videoTitle+'&duration='+videoDuration;
    swfobject.embedSWF(pathToFlashFile, "videoContent", videoWidth, videoHeight, "8", false, {flashvars:flashVideo},{allowfullscreen:'true',allowscriptaccess:'always', wmode: "opaque"},{id:'videoContent',name:'videoContent'});
   
}


