function showMovie( stream ) {
   document.write('<object width="524" height="425">\n');
   document.write('<param name="movie" value="/swfs/player.swf?file=' + stream + '&trkurl=/video' + stream + '"></param>\n');
   document.write('<embed src="/swfs/player.swf?file=' + stream + '&trkurl=/video' + stream + '" type="application/x-shockwave-flash" width="524" height="425"></embed>\n');
   document.write('</object>\n');
}

function showQTMovie( qtfile, width, height, sponsored ) {
   height += 15;
document.write('<img src="/images/vidplayer/videotop.png">');
document.write('<div id="movieplayer">');
   document.write('<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="' + width +'" height="' + height + '">');
   document.write('<param name="src" value="' + qtfile + '" />');
   document.write('<param name="controller" value="true" />');
   document.write('<param name="autoplay" value="false" />');
   document.write('<object type="video/quicktime" data="' + qtfile + '" width="' + width + '" height="' + height + '">');
   document.write('<param name="controller" value="true" />');
   document.write('<param name="autoplay" value="false" />');
   document.write('</object>');
   document.write('</object>');
document.write('<div id="vidmeta">');
//document.write('<div id="prodinfo">');
//document.write('<h2>&nbsp;</h2>');
//document.write('<h2>Ice Exclusives</h2>');
//document.write('<p>DG Productions</p>');
//document.write('</div>');
if( sponsored == 'tv' ) {
   document.write('<br>');
//   document.write('<a href="http://www.thenorthface.com/na/expeditions-feature.html?CID=alp_0013"><img src="/images/vidplayer/movie_sponsor.png" id="vidsponsor" /></a> ');
//   document.write ('<iframe s' + 'rc="http://view.atdmt.com/CHO/iview/lpnsttnf0100000003cho/direct/01?click=" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" allowtransparency="true" width="77" height="77"> <sc' + 'ript language="JavaScript" type="text/javascript"> document.write(\'<a href="http://clk.atdmt.com/CHO/go/lpnsttnf0100000003cho/direct/01/" target="_blank"><img src="http://view.atdmt.com/CHO/view/lpnsttnf0100000003cho/direct/01/"/></a>\'); </sc' + 'ript><noscript><a href="http://clk.atdmt.com/CHO/go/lpnsttnf0100000003cho/direct/01/" target="_blank"><img border="0" src="http://view.atdmt.com/CHO/view/lpnsttnf0100000003cho/direct/01/" /></a></no' + 'script></iframe>');
}
//document.write('<div id="watchinfo">');
//document.write('<p>4 minutes, USA</p>');
//document.write('<p><img src="/images/vidplayer/tempstar.jpg" /></p>');
//document.write('</div>');
document.write('<div class="hack"> </div>');
document.write('</div> ');
document.write('</div><!-- closes "movieplayer" -->');
document.write('<img src="/images/vidplayer/videobottom.png">');
}


