function SetNewColor(source)
{
    source.className = 'menu_mo';
}


function SetOldColor(source)
{
    source.className = 'menu';
}

function SetNewColorVid(source)
{
    source.className = 'menu_smo';
}


function SetOldColorVid(source)
{
    source.className = 'menu_sm';
}


function showhide(id) { 
    if (document.getElementById) { 
        obj = document.getElementById(id); 
        if (obj.style.display == "none"){ 
            obj.style.display = ""; 
        } else { 
            obj.style.display = "none"; 
        } 
    } 
}
function hideID(id) { 
    if (document.getElementById) { 
        obj = document.getElementById(id); 
        obj.style.display = "none"; 
    } 
} 
function createMediaPlayer(id, url) {
    // If you put the embed tag inside a .JS file and call it, it over-rides the "Click here to activate this control" nuissance this way...
    document.write('<embed type="application/x-mplayer2" src="'+url+'" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" name="'+id+'" id="'+id+'" width="320" height="240" autostart="0" showcontrols="0" volume="-300">')
}
function mediaClick(strObjName) {
    createMediaPlayer(strObjName, '')
    //http://www.newportknightswrestling.com/Profiles/Scott_Cairns/scott(kingco2006)champ.wmv
}
function ab() {
    //removeElement('MediaPlayer1', 'objMediaPlayer1');
    //mediaClick('objMediaPlayer1');
    play('http://www.newportknightswrestling.com/Profiles/Scott_Cairns/scott(kingco2006)champ.wmv');
}
function play(media) { 
    document.getElementById('MediaPlayer1').innerHTML = '<object classid="clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95"' + ' type="application/x-oleobject" width="298" height="240">' + '<param name="showControls" value="true">' + '<param name="fileName" value="' + media + '">' + '<embed type="application/x-mplayer2" width="298" height="248"' + 'showcontrols="false" src="' + media + '"><\/embed><\/object>'
}
function stop() {
    document.getElementById('MediaPlayer1').innerHTML = '<img src="Images/hee2.jpg" border="0" alt="" />'
}
function fullScreen() 
{
   var player=document.getElementById("MediaPlayer1"); //don't forget the var. It will come and bite you.
   if (player.DisplaySize=3)  //you were missing the (. 3 you should probably check for playState, where 3 means 'playing'
  {
     player.fullScreen=true;
   }
}

function expand(postid) {

                  whichpost = document.getElementById(postid); 

                  whichpost.className="postshown"; 

            }

            function collapse(postid) {

                  whichpost = document.getElementById(postid); 

                  whichpost.className="posthidden";

            }

            function expandcollapse (postid) { 

 

                  whichpost = document.getElementById(postid); 

               

                  if (whichpost.className=="postshown") { 

                        whichpost.className="posthidden"; 

                  } 

                  else { 

                        whichpost.className="postshown"; 

                  } 

            } 
            

 
 

