function EmbedMP3(URL,autostart){
   if(autostart != true && autostart != "true" && autostart != "1" && autostart != 1){
      autostart = 0; //Replace with default. Default = 0 (false).
      }else{
      autostart = 1; //Replace with 1, being zero.
   }//See if we can continue.
   if(URL == null || URL == "illegal"){
      //Nope, we can't.
      document.writeln("&nbsp;error: illegal use of mp3 tag!&nbsp;");
   }else{
      //Add the code to the document.
      document.writeln('<object type="application/x-shockwave-flash" data="player.swf" id="audioplayer1" height="24" width="290"> ');
      document.writeln('<param name="movie" value="player.swf"> />');
      document.writeln('<param name="FlashVars" value="playerID=1&amp;bg=0x808080&amp;leftbg=0xC0C0C0&amp;lefticon=0x666666&amp;rightbg=0xcccccc&amp;rightbghover=0x999999&amp;righticon=0x666666&amp;righticonhover=0xffffff&amp;text=0xFFFFFF&amp;slider=0x808080&amp;track=0xFFFFFF&amp;border=0x666666&amp;loader=0xDCDCDC&amp;loop=no&amp;autostart=no&amp;soundFile=' + URL + '"> />');
      document.writeln('<param name="quality" value="high"> />');
      document.writeln('<param name="menu" value="false"> />');
      document.writeln('<param name="wmode" value="transparent">');
      document.writeln('</object>');
   }
}

function EmbedMP32(URL,autostart){
   if(autostart != true && autostart != "true" && autostart != "1" && autostart != 1){
      autostart = 0; //Replace with default. Default = 0 (false).
      }else{
      autostart = 1; //Replace with 1, being zero.
   }//See if we can continue.
   if(URL == null || URL == "illegal"){
      //Nope, we can't.
      document.writeln("&nbsp;error: illegal use of mp3 tag!&nbsp;");
   }else{
      //Add the code to the document.
      document.writeln('<object type="application/x-shockwave-flash" data="player.swf" id="audioplayer1" height="24" width="290"> ');
      document.writeln('<param name="movie" value="player.swf"> />');
      document.writeln('<param name="FlashVars" value="playerID=1&amp;bg=0x808080&amp;leftbg=0xC0C0C0&amp;lefticon=0x666666&amp;rightbg=0xcccccc&amp;rightbghover=0x999999&amp;righticon=0x666666&amp;righticonhover=0xffffff&amp;text=0xFFFFFF&amp;slider=0x808080&amp;track=0xFFFFFF&amp;border=0x666666&amp;loader=0xDCDCDC&amp;loop=no&amp;autostart=no&amp;soundFile=' + URL + '"> />');
      document.writeln('<param name="quality" value="high"> />');
      document.writeln('<param name="menu" value="false"> />');
      document.writeln('<param name="wmode" value="transparent">');
      document.writeln('</object>');
   }
}

function EmbedMP33(URL,autostart){
   if(autostart != true && autostart != "true" && autostart != "1" && autostart != 1){
      autostart = 0; //Replace with default. Default = 0 (false).
      }else{
      autostart = 1; //Replace with 1, being zero.
   }//See if we can continue.
   if(URL == null || URL == "illegal"){
      //Nope, we can't.
      document.writeln("&nbsp;error: illegal use of mp3 tag!&nbsp;");
   }else{
      //Add the code to the document.
      document.writeln('<object type="application/x-shockwave-flash" data="player.swf" id="audioplayer1" height="24" width="290"> ');
      document.writeln('<param name="movie" value="player.swf"> />');
      document.writeln('<param name="FlashVars" value="playerID=1&amp;bg=0x808080&amp;leftbg=0xC0C0C0&amp;lefticon=0x666666&amp;rightbg=0xcccccc&amp;rightbghover=0x999999&amp;righticon=0x666666&amp;righticonhover=0xffffff&amp;text=0xFFFFFF&amp;slider=0x808080&amp;track=0xFFFFFF&amp;border=0x666666&amp;loader=0xDCDCDC&amp;loop=no&amp;autostart=no&amp;soundFile=' + URL + '"> />');
      document.writeln('<param name="quality" value="high"> />');
      document.writeln('<param name="menu" value="false"> />');
      document.writeln('<param name="wmode" value="transparent">');
      document.writeln('</object>');
   }
}

function EmbedMP3JW(URL,autostart){
   if(autostart != true && autostart != "true" && autostart != "1" && autostart != 1){
      autostart = 0; //Replace with default. Default = 0 (false).
      }else{
      autostart = 1; //Replace with 1, being zero.
   }//See if we can continue.
   if(URL == null || URL == "illegal"){
      //Nope, we can't.
      document.writeln("&nbsp;error: illegal use of mp3jw tag!&nbsp;");
   }else{
      //Add the code to the document
      document.writeln('<span style="width:288px;height:100px;" id="flashholder1">');
      document.writeln('<object type="application/x-shockwave-flash" style="width:288px;height:100px;" data="player2.swf" id="myplayer1" />');
      document.writeln('<param name="movie" value="player2.swf" />');
      document.writeln('<param name="allowfullscreen" value="true" />');
      document.writeln('<param name="allowscriptaccess" value="always" />');
      document.writeln('<param name="plugins" value="spectrumvisualizer-1" />');
      document.writeln('<param name="flashvars" value="file=' + URL + '&skin=./playerskins/snel.swf&image=mmlogomp3jw.gif&icons=false&plugins=spectrumvisualizer-1" />');
      document.writeln('</object>');
      document.writeln('</span>');
   }
}

function EmbedXML(URL,autostart){
   if(autostart != true && autostart != "true" && autostart != "1" && autostart != 1){
      autostart = 0; //Replace with default. Default = 0 (false).
      }else{
      autostart = 1; //Replace with 1, being zero.
   }//See if we can continue.
   if(URL == null || URL == "illegal"){
      //Nope, we can't.
      document.writeln("&nbsp;error: illegal use of xml tag!&nbsp;");
   }else{
      //Add the code to the document
      document.writeln('<span style="width:450px;height:400px;" id="flashholder2">');
      document.writeln('<object type="application/x-shockwave-flash" style="width:450px;height:400px;" data="player2.swf" id="myplayer2" />');
      document.writeln('<param name="movie" value="player2.swf" />');
      document.writeln('<param name="allowfullscreen" value="true" />');
      document.writeln('<param name="allowscriptaccess" value="always" />');
      document.writeln('<param name="flashvars" value="file=' + URL + '&skin=./playerskins/nacht.swf&icons=false&playlist=bottom&repeat=list" />');
      document.writeln('</object>');
      document.writeln('</span>');
   }
}

function EmbedFLV(URL,autostart){
   if(autostart != true && autostart != "true" && autostart != "1" && autostart != 1){
      autostart = 0; //Replace with default. Default = 0 (false).
      }else{
      autostart = 1; //Replace with 1, being zero.
   }//See if we can continue.
   if(URL == null || URL == "illegal"){
      //Nope, we can't.
      document.writeln("&nbsp;error: illegal use of flv tag!&nbsp;");
   }else{
      //Add the code to the document
      document.writeln('<span style="width:450px;height:300px;" id="flashholder3">');
      document.writeln('<object type="application/x-shockwave-flash" style="width:450px;height:300px;" data="player2.swf" id="myplayer3" />');
      document.writeln('<param name="movie" value="player2.swf" />');
      document.writeln('<param name="allowfullscreen" value="true" />');
      document.writeln('<param name="allowscriptaccess" value="always" />');
      document.writeln('<param name="flashvars" value="file=' + URL + '&skin=./playerskins/snel.swf&quality=true&icons=false&image=mmlogo.gif" />');
      document.writeln('</object>');
      document.writeln('</span>');
   }
}

function EmbedYTPLAYLIST(URL,autostart){
   if(autostart != true && autostart != "true" && autostart != "1" && autostart != 1){
      autostart = 0; //Replace with default. Default = 0 (false).
      }else{
      autostart = 1; //Replace with 1, being zero.
   }//See if we can continue.
   if(URL == null || URL == "illegal"){
      //Nope, we can't.
      document.writeln("&nbsp;error: illegal use of flv tag!&nbsp;");
   }else{
      //Add the code to the document
      document.writeln('<span style="width:500px;height:500px;" id="flashholder4">');
      document.writeln('<object type="application/x-shockwave-flash" style="width:500px;height:500px;" data="player2.swf" id="myplayer4" />');
      document.writeln('<param name="movie" value="player2.swf" />');
      document.writeln('<param name="allowfullscreen" value="true" />');
      document.writeln('<param name="allowscriptaccess" value="always" />');
      document.writeln('<param name="flashvars" value="file=http://gdata.youtube.com/feeds/api/playlists/' + URL + '&skin=./playerskins/modieus.swf&repeat=list&playlistsize=200&playlist=bottom" />');
      document.writeln('</object>');
      document.writeln('</span>');
   }
}

function EmbedPDF(URL,autostart){
   if(autostart != true && autostart != "true" && autostart != "1" && autostart != 1){
      autostart = 0; //Replace with default. Default = 0 (false).
      }else{
      autostart = 1; //Replace with 1, being zero.
   }//See if we can continue.
   if(URL == null || URL == "illegal"){
      //Nope, we can't.
      document.writeln("&nbsp;error: illegal use of pdf tag!&nbsp;");
   }else{
      //Add the code to the document.
      document.writeln('<embed src=' + URL + ' width="625" height="475" />');
   }
}

function EmbedPDF2(URL,autostart){
   if(autostart != true && autostart != "true" && autostart != "1" && autostart != 1){
      autostart = 0; //Replace with default. Default = 0 (false).
      }else{
      autostart = 1; //Replace with 1, being zero.
   }//See if we can continue.
   if(URL == null || URL == "illegal"){
      //Nope, we can't.
      document.writeln("&nbsp;error: illegal use of pdf tag!&nbsp;");
   }else{
      //Add the code to the document.
      document.writeln('<script type="text/javascript" src="http://pdfmenot.com/embed/?url=' + URL + '&width=625&height=475" />');
      document.writeln('</script>');
   }
}

function EmbedGDOC(URL,autostart){
   if(autostart != true && autostart != "true" && autostart != "1" && autostart != 1){
      autostart = 0; //Replace with default. Default = 0 (false).
      }else{
      autostart = 1; //Replace with 1, being zero.
   }//See if we can continue.
   if(URL == null || URL == "illegal"){
      //Nope, we can't.
      document.writeln(" error: illegal use of gdoc tag! ");
   }else{
      //Add the code to the document.
      document.writeln('<iframe src="http://docs.google.com/viewer?url=' + URL + '&embedded=true" width="625" height="475" style="border: none;">');
      document.writeln('</iframe>');
   }
}

