		
		function setVid(flvname, imgname, header, text, date)
		{
			SH('Vidthumbs','none');
			SH('OtherVideos','block');
     		var html = '';
           	html += '<object bgcolor="#000000;" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="630" height="430">';
          	html += '<param name="movie" bgcolor="#000000;" value="videos/player_video.swf?f=flv/'+flvname+'.flv&prev=images/'+imgname+'.jpg">';
			html +=	'<param name="allowFullScreen" value="true"></param>'
			html +=	'<param name="allowscriptaccess" value="always"></param>'
			html +=	'<object type="application/x-shockwave-flash" data="videos/player_video.swf?f=flv/'+flvname+'.flv&prev=images/'+imgname+'.jpg" width="630" height="430" bgcolor="#000000;">'
			html +=	'<div><p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" border="0" /></a></p></div>'
			html +=	'</object>'
			html +=	'</object>'
			
			html +=	'</div>'
            html +=	'<div class="Videotext">'
			
			html +=	'<div class="Videoheader">'+header+'</div><div style="float:right;padding-top: 25px;">'+date+'</div>'
            html +=	'<br clear="all" />'
            html +=	'<div align="left">'+text+'</div>'		
			
      		document.getElementById('Videos').innerHTML = html;

		}


		var content = '';

		function InnerClose(){
  			content = document.getElementById('Video').innerHTML; 
  			document.getElementById('Video').innerHTML = content;
			
			content = document.getElementById('Videos').innerHTML; 
  			document.getElementById('Videos').innerHTML = content;
  		}
  
  		function InnerShow(){
       		content = obj.innerHTML;
       		obj.innerHTML = '';
       		obj.innerHTML = content;  
  		}
		
		function hide_video(){
		SH('Video', 'none');
		SH('OtherVideos', 'none');
		SH('Vidthumbs', 'block');
		}

		
		function SH(id, block) 
		{	 
    	obj = document.getElementsByTagName("div"); 
    	obj[id].style.display = block;
		}		

		var lastactive = null;

		function seton(img)
			{ img.src = img.src.replace(/\.gif/, "_over.gif"); }
		
		function setoff(img)
			{ img.src = img.src.replace(/\_over.gif/, ".gif"); }
			
		function setactive(img)
			{ 	
				img.src = img.src.replace(/\_over.gif/, "_clicked.gif");
				lastactive = img;				
			}			
			
		function setactive_off(img)
		{ 
			img = lastactive;
		
			if (img != null)
			{
			if(img.src.indexOf("over") > 0)
			{
			img.src = img.src.replace(/\_over.gif/, ".gif"); 
			} else if(img.src.indexOf("clicked") > 0)
			{
			img.src = img.src.replace(/\_clicked.gif/, ".gif"); 
			}
			} 
		}
