Shuffle
  Play  
paint1010
read my profile
sign my guestbook

Message: message me


Member Since: 9/5/2005

SubscriptionsSites I Read

Posting Calendar

|<< oldest | newest >>|
view all weblog archives

Get Involved!

Suggest a link

Recommend to friend

Create a site


Monday, September 05, 2005

<img src="http://tinypic.com/51vcpi">
 
<!-- begin code provided by createblog.com -->
<OBJECT ID="Player" height="0" width="0" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">
<PARAM NAME="uiMode" VALUE="invisible">
<PARAM NAME="Autostart" VALUE="False">
</object>

<FORM ID="form">

<SELECT ID="playlist" size="1">

<!-- Add song info that appears in drop down list here -->
<option value="0">Liberate - Disturbed</option>
<option value="1">A Favor House in Atlantic - Coheed and Cambria</option>
<option value="2">Cold - Crossfade</option>
<option value="3">Serenity - Godsmack</option>
<option value="4">Happy? - Mudvayne</option>
<option value="5">Fine Again - Seether</option>
<option value="6">Prayer - Disturbed</option>
<option value="7">Word Up - Korn</option>
<option value="8">Mr. Brightside - The Killers</option>
<option value="9">Did My Time - Korn</option>
<option value="10">Remedy - Seether</option>
<option value="11">B.Y.O.B. - System of a Down</option>
<option value="12">Freak on a Leash - Korn</option>
<option value="13">Down with the Sickness - Disturbed</option>
<option value="14">Scars - Papa Roach</option>
<option value="15">Getting Away With Murder - Papa Roach</option>
<option value="16">Living Dead Girl - Rob Zombie</option>
<option value="17">Last Resort - Papa Roach</option>
<option value="18">Violent Pornography - System Of A Down</option>
<option value="19">Cigaro - System Of A Down</option>
<option value="20">Radio/Video - System Of A Down</option>
</SELECT>

<BR>
<BUTTON ID="BackButton" onClick="Back(forms['form'].playlist);">&nbsp;<<&nbsp;</BUTTON>
<BUTTON ID="PlayPauseButton" onClick="PlayPause(forms['form'].playlist);"><FONT color="black">&nbsp;&nbsp;Play&nbsp;&nbsp;</FONT></BUTTON>
<BUTTON ID="NextButton" onClick="Next(forms['form'].playlist);">&nbsp;>>&nbsp;</BUTTON>&nbsp;
<BUTTON ID="StopButton" onclick="Stop();"><FONT color="black">Stop</FONT></BUTTON>
<b><font size="3" color="black">Shuffle</font></b><INPUT TYPE=checkbox CHECKED ID="ShuffleSwitch" onclick="ToggleShuffle(this);" value="ON">

</FORM>
</CENTER>


<comment ID="PlayHTML"><FONT color="green">&nbsp;&nbsp;Play&nbsp;&nbsp;</FONT></comment>
<comment ID="ShuffleOnHTML"><INPUT TYPE=checkbox CHECKED ID="ShuffleSwitch" onclick="ToggleShuffle(this);"></comment>
<comment ID="ShuffleOffHTML"><INPUT TYPE=checkbox UNCHECKED ID="ShuffleSwitch" onclick="ToggleShuffle(this);"></comment>


<script ID="Main" Language="JavaScript">

 var songs = new Array();

 //*******************************//
 //****** CHANGEABLE STUFF *******//
 //*******************************//
 
 var shuffle = true;  // false = shuffle off, true = shuffle on

 var autoStart = true;   // false = autoStart off, true = autoStart on
 
 var numberTracks = true;  // true = place track number in front of list items, false = no track numbers
 
 // Add song URLs here (make sure it matches up with the order you have for song info, and urls need quotes):
songs[0]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/10690/26634_1_2_05.asf";
songs[1]="http://www.coheedandcambria.com/media/coheed_and_cambria-a_favor_house_atlantic.mp3";
songs[2]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/25943/29574_1_2_05.asf";
songs[3]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/2/4493/27596_1_12_05.asf";
songs[4]="http://www.sonymusic.com/clips/selection/fu/051495/051495_01_01_full_100.asx";
songs[5]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/3/23109/26205_1_2_05.asf";
songs[6]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/10690/26634_1_1_05.asf";
songs[7]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/581/30085_1_1_05.asf";
songs[8]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/3/25636/29487_1_2_05.asf";
songs[9]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/3/581/28563_1_6_05.asf";
songs[10]="mms://windup.wmod.llnwd.net/a68/o1/seether/audio/karmaeffect/remedy_2minclip.wma";
songs[11]="http://www.dr.dk/musik/rock/asx/system_of_a_down/byob.asx";
songs[12]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/581/30085_1_13_05.asf";
songs[13]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/10690/12406_1_4_05.asf";
songs[14]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/12536/30274_1_8_05.asf";
songs[15]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/12536/30274_1_5_05.asf";
songs[16]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/2223/2299_1_4_05.asf";
songs[17]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/12536/14231_1_2_05.asf";
songs[18]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/3362/30913_1_7_04.asf";
songs[19]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/3362/30913_1_4_04.asf";
songs[20]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/3362/30913_1_5_04.asf";
 //*******************************//
 //*******************************//

// Initializations //
with (document){
 var length = forms['form'].playlist.length;

 if(numberTracks){
  for (var i = 0; i < length; i++){
   forms['form'].playlist.options[i].innerHTML = (i+1) + " - " + forms['form'].playlist.options[i].innerHTML;
  }
 }
 
 if (shuffle) {
  var randsg = Math.floor(Math.random()*songs.length);
  Player.url = songs[randsg];
  forms['form'].playlist.options[randsg].selected = true;
  forms['form'].ShuffleSwitch.outerHTML = ShuffleOnHTML.innerHTML;
 }

 else {
  forms['form'].ShuffleSwitch.outerHTML = ShuffleOffHTML.innerHTML;
  Player.url = songs[0];
 }

 if(autoStart){
  var snum = forms['form'].playlist.selectedIndex;
  if(Player.url != songs[snum]){
   Player.url = songs[snum];
  }
  Player.controls.Play();
 }
}

// Functions //
// Discription: "PlayPause" will toggle playing and pausing if the same song is still selected,
//              otherwise it will load the newly selected song
function PlayPause(list) {
 var snum = list.selectedIndex;
 
 if((Player.url == songs[snum] && Player.url != "") && Player.playState != 1){
  if(Player.playState == 3){
   Player.controls.Pause();
  }
 
  else {
   Player.controls.Play();
  }
 }

 else {
  Player.url = songs[snum];
  Player.controls.Play();
 }
}

// Discription: "Next" will move to the next music file if shuffle is off
//              otherwise it will load a random song. Calls PlayPause to start music.
function Next(list) {
 var snum = list.selectedIndex;
 if (!shuffle) {
  if (snum == list.length-1) {
   snum = -1;
  }
  snum++;
 }
 
 else {
  var temp;
  do{
   temp = Math.floor(Math.random()*songs.length);
  } while(temp == snum);
  snum = temp;
 }
 
 list.options[snum].selected = true;
 PlayPause(list);
}

// Discription: "Back" does the same thing as "Next" but moves backwads
//              through the list. If shuffle is on then picks a random song.
function Back(list) {
 var snum = list.selectedIndex;
 if (!shuffle) {
  if (snum == 0){
   snum = list.length;
  }
  snum--;
 }
 
 else {
  var temp;
  do{
   temp = Math.floor(Math.random()*songs.length);
  } while(temp == snum);
  snum = temp;
 }
 
 list.options[snum].selected = true;
 PlayPause(list);
}

// Discription: Self explanitory.
function Stop(){
 Player.controls.Stop();
}

// Discription: Makes the shuffle flag the same as the status of the CheckBox
//    The status of the checkbox (true/false) indicates if the box is checked
function ToggleShuffle(CheckBox) {
 shuffle = CheckBox.status;
}

</SCRIPT>

<script ID="StateChangeHandler" Language = "JavaScript" For = "Player" Event = playStateChange(NewState)>

// Description: This is an interupt handler used to handle instances when the
//              state of the player changes to play or stop for example.

//STATE.innerText = NewState;

switch(NewState){
 case 8:  // Handles player after it just finishes playing through a song
  var num = document.forms['form'].playlist.selectedIndex;
 
  if (!shuffle){
   if(num == document.forms['form'].playlist.length-1){
    num = -1;
   }
 
   num++;
  }
  else {
   var temp;
   do{
    temp = Math.floor(Math.random()*songs.length);
   } while(temp == num);
   num = temp;
  }
 
  document.forms['form'].playlist.options[num].selected = true;
 
  PreviousState = NewState;
  break;

 case 1: // Handles player after it stops
  if(PreviousState == 8){
   var num = document.forms['form'].playlist.selectedIndex;
   Player.settings.autoStart = true;
   Player.url = songs[num];
   PreviousState = NewState;
  }
 
  else if (PreviousState != 3 && PreviousState != 2){
   Player.controls.Play();
   Player.settings.autoStart = false;
  }
 
  else{
   forms['form'].PlayPauseButton.innerHTML = PlayHTML.innerHTML;
  }
  break;

 case 3: // Handles player after it starts to play
  PreviousState = NewState;
  forms['form'].PlayPauseButton.innerHTML = "Pause";
  shuffle = document.forms['form'].ShuffleSwitch.status;
  break;

 case 2: // Handles player after being paused
  PreviousState = NewState;
  forms['form'].PlayPauseButton.innerHTML = PlayHTML.innerHTML;
  break;

 default:
}

</SCRIPT>
<!-- end code provided by createblog.com -->
 
 

<style type="text/css">

body {
background: black url("http://x4c.xanga.com/d8785205c933111721277/b8566029.jpg");
background-repeat: no-repeat;
background-attachment: fixed;
background-position: bottom right;
scrollbar-arrow-color: #00000;
scrollbar-track-color: #000000;
scrollbar-shadow-color: #FF4040;
scrollbar-face-color: #FF4040;
scrollbar-highlight-color: #000000;
scrollbar-darkshadow-color: #FF4040;
scrollbar-3dlight-color: #000000;}
cursor: crosshair;
}
.left, .blogbody, table.footer, .standard, .leftmodulefontcolor, td, p {
/* edits main text */
font:normal 10 CenturyGothic;
color: #FF4040;
letter-spacing:0px;
text-align:justify;
}
table.footer TD {
/* this makes the footer at the bottom centered */
/* leave it alone unless you know what to do*/
display: none;
}
div.blogheader, .caption {
/* edits the dates */
font-family: CenturyGothic;
text-transform: none;
font-size: 12pt;
font-weight: bold;
color:#FF4040;
letter-spacing:0px;
background-color: #000000;
text-align: left;
line-height: 20px;
}
a:link, .footernav.link, a.footernav:link, a.footernav:active {
/* edits all links */
color:#ffffff;
font: 10 CenturyGothic;
font-weight: bold;
text-transform: none;
text-decoration: none;
}
a:visited, a.footernav:visited, {
/* edits the links that the user has visited */
color:#ffffff;
font: 10 CenturyGothic;
font-weight: bold;
text-transform: none;
text-decoration: none;
}
a:hover {
/* edits when user mouseovers the links */
color:#ffffff;
font: normal 10 CenturyGothic;
cursor: crosshair;
text-transform: none;
text-decoration: none;
}
input, textarea {
border: 3px solid #FF4040;
font:normal 10 CenturyGothic;
background-color: #000000
letter-spacing:0px;
color: #FF4040;
}
select, .textfield, submit, .button {
border: 3px solid #FF4040;
font: bold 10px CenturyGothic;
text-transform: none;
background-color: black;
letter-spacing:0px;
color: #FF4040;
}
table.left {
/* this edits the menu module */
border: 3px dotted;
background-color: #000000;
}
table.blogbody {
/* this edits the other the place where the blog is */
border: 3px double solid #FF4040;
background-color: #transparent;
}
table.left th {
/* on your menu module, this edits the title part of it */
/* like BLOGRINGS, POSTING CALENDAR, etc */
background-color: #000000;
font: bold 14pt CenturyGothic;
text-transform: none;
color: #FF4040;
border: 3px solid;
line-height: 20px;
}
table.left TD {
/* on your menu module, this edits the body part of it */
background-color: #000000;
border: 3px dotted #CFF4040;
}
table.search TD, table.search, table.announcements {
/* border of search bar (if you have it) */
background-color: #000000;
border: 3px solid #FF4040;
}
table.search TD, table.announcements TH {
/* this should be left alone */
/* unless you know what to do */
border: 3px solid #FF4040;
}
table.navigation, table.main, table.footer {
/* the width of your blog with modules */
width: 700px;
}
hr {
/* horizontal divider */
color: #FFFFFF;
}
b, strong {
/*bold*/
font: bold 10 CenturyGothic;
color: #FF4040;
}
</style>

 

<BODY style="border-bottom: #FF4040
13t solid; border-top: #FF4040
13t solid; border-left: #000000
13t solid; border-right: #000000
13t solid"></TBODY>
 
 
 
<!-- Blink Boxes : Provided by Blogring.net -->
<script language=JavaScript>
<!--
//blink boxes - xanga.com/add_ons
//by sean f http://www.xanga.com/seanmeister
 
//fixed to work with new security measures by
//hotaru_01 http://www.xanga.com/hotaru_01
 
// customize by changing the values below
// these are the various colors, in quotes, seperated by commas
var blinkColors = new Array("#ffffff","#000000","#FF4040");
// the border color
var blinkBorderColor = "black"
// the border width, in pixels
var blinkBorderWidth = 1;
// the # of rows
var blinkRows = 1;
// the # of columns
var blinkCols = 59;
// the width of the entire box, in pixels or %
var blinkWidth = 700;
// the height of each row, in pixels
var blinkRowHeight = 10;
// speed of blinking, in milliseconds
var blinkRate = 8;
 
// do not edit below this line
st=setTimeout;
document.write("<table id='blinkbox' width='" + blinkWidth +"' border = 0 cellspacing='" + blinkBorderWidth + "' cellpadding=0 bgcolor='" + blinkBorderColor +"'>");
for (r = 0; r < blinkRows; r++){
document.write("<TR>");
for (c = 0; c < blinkCols; c++){
document.write("<TD height='" + blinkRowHeight + "'></TD>");
}
document.write("</TR>");
}
document.write("</table>");
// ... and this makes it blink
function blinkIt() {
changecell = Math.floor(Math.random() * (blinkCols * blinkRows));
changecolor = Math.floor(Math.random() * blinkColors.length);
bb = document.getElementById("blinkbox");
bbtd = bb.getElementsByTagName("td");
bbtd[changecell].style.backgroundColor = blinkColors[changecolor];
st('blinkIt()', blinkRate);
}
blinkIt();
//-->
</SCRIPT>
<!-- End Script by Blogring.net -->