Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'tw_10000'@'localhost' (using password: YES) in /home/tw10000/public_html/youtube/ytplayerlist.php on line 4

Warning: mysql_query() [function.mysql-query]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/tw10000/public_html/youtube/ytplayerlist.php on line 5

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/tw10000/public_html/youtube/ytplayerlist.php on line 5

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/tw10000/public_html/youtube/ytplayerlist.php on line 6

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/tw10000/public_html/youtube/ytplayerlist.php on line 10

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/tw10000/public_html/youtube/ytplayerlist.php on line 11

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/tw10000/public_html/youtube/ytplayerlist.php on line 14

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/tw10000/public_html/youtube/ytplayerlist.php on line 23

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/tw10000/public_html/youtube/ytplayerlist.php on line 24

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/tw10000/public_html/youtube/ytplayerlist.php on line 27

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/tw10000/public_html/youtube/ytplayerlist.php on line 36

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/tw10000/public_html/youtube/ytplayerlist.php on line 37

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/tw10000/public_html/youtube/ytplayerlist.php on line 40

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/tw10000/public_html/youtube/ytplayerlist.php on line 49

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/tw10000/public_html/youtube/ytplayerlist.php on line 50

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/tw10000/public_html/youtube/ytplayerlist.php on line 53

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/tw10000/public_html/youtube/ytplayerlist.php on line 62

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/tw10000/public_html/youtube/ytplayerlist.php on line 63

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/tw10000/public_html/youtube/ytplayerlist.php on line 66

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/tw10000/public_html/youtube/ytplayerlist.php on line 75

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/tw10000/public_html/youtube/ytplayerlist.php on line 76

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/tw10000/public_html/youtube/ytplayerlist.php on line 79

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/tw10000/public_html/youtube/ytplayerlist.php on line 88

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/tw10000/public_html/youtube/ytplayerlist.php on line 89

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/tw10000/public_html/youtube/ytplayerlist.php on line 92

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/tw10000/public_html/youtube/ytplayerlist.php on line 101

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/tw10000/public_html/youtube/ytplayerlist.php on line 102

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/tw10000/public_html/youtube/ytplayerlist.php on line 105

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/tw10000/public_html/youtube/ytplayerlist.php on line 114

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/tw10000/public_html/youtube/ytplayerlist.php on line 115

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/tw10000/public_html/youtube/ytplayerlist.php on line 118

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/tw10000/public_html/youtube/ytplayerlist.php on line 127

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/tw10000/public_html/youtube/ytplayerlist.php on line 128

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/tw10000/public_html/youtube/ytplayerlist.php on line 131

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/tw10000/public_html/youtube/ytplayerlist.php on line 140

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/tw10000/public_html/youtube/ytplayerlist.php on line 141

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/tw10000/public_html/youtube/ytplayerlist.php on line 144

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/tw10000/public_html/youtube/ytplayerlist.php on line 153

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/tw10000/public_html/youtube/ytplayerlist.php on line 154

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/tw10000/public_html/youtube/ytplayerlist.php on line 157

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/tw10000/public_html/youtube/ytplayerlist.php on line 164

Warning: mysql_close(): no MySQL-Link resource supplied in /home/tw10000/public_html/youtube/ytplayerlist.php on line 165
var i = 1; var i1 = 1; var i2 = 1; var i3 = 1; var i4 = 1; var i5 = 1; var i6 = 1; var i7 = 1; var i8 = 1; var i9 = 1; var i10 = 1; var i11 = 1; var params = { allowScriptAccess: "always" }; var yt = []; var category1 = []; var category2 = []; var category3 = []; var category4 = []; var category5 = []; var category6 = []; var category7 = []; var category8 = []; var category9 = []; var category10 = []; var category11 = []; function onYouTubePlayerReady(playerId) { if(playerId == "ytplayer1"){ ytplayer1 = document.getElementById("twytplayer1"); ytplayer1.addEventListener("onStateChange", "onytplayerStateChange1"); //ytplayer1.playVideo(); } if(playerId == "caplayer1"){ ca1 = document.getElementById("twcaplayer1"); ca1.addEventListener("onStateChange", "onytplayerStateChange_ca1"); //ca1.playVideo(); } if(playerId == "caplayer2"){ ca2 = document.getElementById("twcaplayer2"); ca2.addEventListener("onStateChange", "onytplayerStateChange_ca2"); //ca2.playVideo(); } if(playerId == "caplayer3"){ ca3 = document.getElementById("twcaplayer3"); ca3.addEventListener("onStateChange", "onytplayerStateChange_ca3"); //ca3.playVideo(); } if(playerId == "caplayer4"){ ca4 = document.getElementById("twcaplayer4"); ca4.addEventListener("onStateChange", "onytplayerStateChange_ca4"); //ca4.playVideo(); } if(playerId == "caplayer5"){ ca5 = document.getElementById("twcaplayer5"); ca5.addEventListener("onStateChange", "onytplayerStateChange_ca5"); ca5.playVideo(); } if(playerId == "caplayer6"){ ca6 = document.getElementById("twcaplayer6"); ca6.addEventListener("onStateChange", "onytplayerStateChange_ca6"); //ca6.playVideo(); } if(playerId == "caplayer7"){ ca7 = document.getElementById("twcaplayer7"); ca7.addEventListener("onStateChange", "onytplayerStateChange_ca7"); //ca7.playVideo(); } if(playerId == "caplayer8"){ ca8 = document.getElementById("twcaplayer8"); ca8.addEventListener("onStateChange", "onytplayerStateChange_ca8"); //ca8.playVideo(); } if(playerId == "caplayer9"){ ca9 = document.getElementById("twcaplayer9"); ca9.addEventListener("onStateChange", "onytplayerStateChange_ca9"); //ca9.playVideo(); } if(playerId == "caplayer10"){ ca10 = document.getElementById("twcaplayer10"); ca10.addEventListener("onStateChange", "onytplayerStateChange_ca10"); //ca10.playVideo(); } if(playerId == "caplayer11"){ ca11 = document.getElementById("twcaplayer11"); ca11.addEventListener("onStateChange", "onytplayerStateChange_ca11"); //ca11.playVideo(); } } function onytplayerStateChange1(newState) { if(newState == 0){ play(); } } function onytplayerStateChange_ca1(newState) { if(newState == 0){ ca1_play(); } } function onytplayerStateChange_ca2(newState) { if(newState == 0){ ca2_play(); } } function onytplayerStateChange_ca3(newState) { if(newState == 0){ ca3_play(); } } function onytplayerStateChange_ca4(newState) { if(newState == 0){ ca4_play(); } } function onytplayerStateChange_ca5(newState) { if(newState == 0){ ca5_play(); } } function onytplayerStateChange_ca6(newState) { if(newState == 0){ ca6_play(); } } function onytplayerStateChange_ca7(newState) { if(newState == 0){ ca7_play(); } } function onytplayerStateChange_ca8(newState) { if(newState == 0){ ca8_play(); } } function onytplayerStateChange_ca9(newState) { if(newState == 0){ ca9_play(); } } function onytplayerStateChange_ca10(newState) { if(newState == 0){ ca10_play(); } } function onytplayerStateChange_ca11(newState) { if(newState == 0){ ca11_play(); } } function play() { if (ytplayer1) { ytplayer1.loadVideoById(yt[i], 0, null); i = i + 1; if(i >= yt.length) i = 0; } } function ca1_play() { if (ca1) { ca1.loadVideoById(category1[i1], 0, null); i1 = i1 + 1; if(i1 >= category1.length) i1 = 0; } } function ca2_play() { if (ca2) { ca2.loadVideoById(category2[i2], 0, null); i2 = i2 + 1; if(i2 >= category2.length) i2 = 0; } } function ca3_play() { if (ca3) { ca3.loadVideoById(category3[i3], 0, null); i3 = i3 + 1; if(i3 >= category3.length) i3 = 0; } } function ca4_play() { if (ca4) { ca4.loadVideoById(category4[i4], 0, null); i4 = i4 + 1; if(i4 >= category4.length) i4 = 0; } } function ca5_play() { if (ca5) { ca5.loadVideoById(category5[i5], 0, null); i5 = i5 + 1; if(i5 >= category5.length) i5 = 0; } } function ca6_play() { if (ca6) { ca6.loadVideoById(category6[i6], 0, null); i6 = i6 + 1; if(i6 >= category6.length) i6 = 0; } } function ca7_play() { if (ca7) { ca7.loadVideoById(category7[i7], 0, null); i7 = i7 + 1; if(i7 >= category7.length) i7 = 0; } } function ca8_play() { if (ca8) { ca8.loadVideoById(category8[i8], 0, null); i8 = i8 + 1; if(i8 >= category8.length) i8 = 0; } } function ca9_play() { if (ca9) { ca9.loadVideoById(category9[i9], 0, null); i9 = i9 + 1; if(i9 >= category9.length) i9 = 0; } } function ca10_play() { if (ca10) { ca10.loadVideoById(category10[i10], 0, null); i10 = i10 + 1; if(i10 >= category10.length) i10 = 0; } } function ca11_play() { if (ca11) { ca11.loadVideoById(category11[i11], 0, null); i11 = i11 + 1; if(i11 >= category11.length) i11 = 0; } }