<?xml version="1.0" encoding="UTF-8" ?>
<Module>
	<ModulePrefs 
							width="284" 
							height="280" 
	 						title="TV Toolbar: 3000 Stations" 
							title_url="http://www.onlinetvtoolbar.com" 
							description="Watch live TV channels. There are over 268 (english) channels to choose from, including: news channels, music channels, entertainment channels, sport channels and many more.... Download desktop application at http://www.onlinetvtoolbar.com to enjoy 11258 live tv station worldwide" 
							author="onlinetvtoolbar.com" 
							author_email="support (at) onlinetvtoolbar.com" 
							thumbnail="http://www.onlinetvtoolbar.com/images/tvgadget_tn.jpg"
							screenshot="http://www.onlinetvtoolbar.com/images/tv.jpg" 
							author_location="Texas, USA">
<Require feature="analytics" />
</ModulePrefs>
<UserPref name="kanaal" display_name="Default channel:" default_value="Sky News" datatype="enum">
<EnumValue value="*Personal*"/>
<EnumValue value="7-news Miami"/>
<EnumValue value="ABC12 Michigan"/>
<EnumValue value="Baseball channel"/>
<EnumValue value="BBC News 24"/>
<EnumValue value="BBC Newsnight"/>
<EnumValue value="BBC Panorama"/>
<EnumValue value="BBC Question time"/>
<EnumValue value="BBC World"/>
<EnumValue value="BigPond Football"/>
<EnumValue value="BigPond Sport"/>
<EnumValue value="Bloomberg"/>
<EnumValue value="BME Music"/>
<EnumValue value="BME Sport"/>
<EnumValue value="BME Cartoons"/>
<EnumValue value="BME TV"/>
<EnumValue value="Caught On Video"/>
<EnumValue value="CBC News"/>
<EnumValue value="CBC Sport"/>
<EnumValue value="Channel 125"/>
<EnumValue value="CHSTV"/>
<EnumValue value="City TV 24 (San Diego)"/>
<EnumValue value="Classic Cartoons"/>
<EnumValue value="CNBC India"/>
<EnumValue value="Cyber Comic"/>
<EnumValue value="Discovery Channel"/>
<EnumValue value="E-music"/>
<EnumValue value="Eurosport News UK"/>
<EnumValue value="Fashion TV"/>
<EnumValue value="FOX 5"/>
<EnumValue value="FOX 8 New Orleans"/>
<EnumValue value="FOX 11 LA"/>
<EnumValue value="FOX 30 Colorado"/>
<EnumValue value="Foot School TV"/>
<EnumValue value="France 24"/>
<EnumValue value="Holiday TV"/>
<EnumValue value="Indie FilmMakers"/>
<EnumValue value="Invincible TV"/>
<EnumValue value="Krib TV"/>
<EnumValue value="KTBS 3 Louisiana (ABC)"/>
<EnumValue value="KWQC-TV 6 Iowa"/>
<EnumValue value="Madface TV"/>
<EnumValue value="Mania TV"/>
<EnumValue value="Market News First"/>
<EnumValue value="Martial Arts TV"/>
<EnumValue value="Maxx-xs Movie Trailers"/>
<EnumValue value="Mezz TV"/>
<EnumValue value="Ministry of Sound"/>
<EnumValue value="Movies4Men"/>
<EnumValue value="MTV Brand New"/>
<EnumValue value="MyNetwork TV 13"/>
<EnumValue value="MyPHL17"/>
<EnumValue value="NASA TV"/>
<EnumValue value="National Geographic"/>
<EnumValue value="NBC 30 Connecticut"/>
<EnumValue value="NBC 23 Washington"/>
<EnumValue value="NBC 4"/>
<EnumValue value="NBC KXAN Austin"/>
<EnumValue value="NBC News"/>
<EnumValue value="NBC Weather"/>
<EnumValue value="NHK Japan World"/>
<EnumValue value="NuSports NBA"/>
<EnumValue value="Offroad channel"/>
<EnumValue value="Old Cartoon TV"/>
<EnumValue value="Only Motors TV"/>
<EnumValue value="Outdoor channel"/>
<EnumValue value="Planet X"/>
<EnumValue value="Press TV"/>
<EnumValue value="Race Online"/>
<EnumValue value="Rapture TV"/>
<EnumValue value="Rathergood TV"/>
<EnumValue value="RTV"/>
<EnumValue value="Russia today"/>
<EnumValue value="Sci-Fi TV"/>
<EnumValue value="Setanta Sports News"/>
<EnumValue value="Sky News"/>
<EnumValue value="Sportal TV"/>
<EnumValue value="Thriller Movies"/>
<EnumValue value="TMF Pure"/>
<EnumValue value="Toon TV"/>
<EnumValue value="WABC New York"/>
<EnumValue value="Western TV"/>
<EnumValue value="Wildlife Channel"/>
<EnumValue value="WSTV"/>
</UserPref>


<UserPref name="autoplay" display_name="Autoplay?:" default_value="Yes" datatype="enum">
<EnumValue value="Yes"/>
<EnumValue value="No"/>
</UserPref>
<UserPref name="none" display_name="*Personal*-channel settings:" default_value="- Fill in below -" >
</UserPref>	 
<UserPref name="statn" display_name="Station name:" default_value="" datatype="string">
</UserPref>
<UserPref name="urls" display_name="URL stream:" default_value="" datatype="string">
</UserPref>
<UserPref name="urlw" display_name="URL website:" default_value="http://" datatype="string">
</UserPref> 
 
 <Content type="html">
     <![CDATA[
 
 <STYLE type=text/css>
input {width: 8em;font-size: 9px}

a.rstyle { 
color:#ffcc66;
font-size: 9px;
font-family: verdana, sans-serif;
}
a.rstyle:link        {color: #ffcc66;font-size: 9px;}
a.rstyle:visited     {color: #ffcc66;font-size: 9px;}


a.tstyle { 
color:#89a4ff;
font-size: 9px;
font-family: arial;
text-decoration:none;
font-weight: bold;
}
a.tstyle:link        {color: #89a4ff;font-size: 9px;}
a.tstyle:visited     {color: #89a4ff;font-size: 9px;}

select { 
 background-color: #000000; 
 color: #89a4ff;
 font-size: 7pt;
 font-family: verdana, sans-serif;
}

#submitbutton1 { height: 24px;width: 21px }
#submitbutton2 { height: 24px;width: 41px }

</STYLE>

<script>
   // Track this gadget using Google Analytics.
   _IG_Analytics("UA-1098462-52", "/test_analyticslib");
</script>

<script language="javascript">

var chanch=0;
var iNews=0;
var ftxt = "";
var urls = "";
var prefs = new _IG_Prefs(__MODULE_ID__);
var kanPref = prefs.getString("kanaal");
var autoPref = prefs.getString("autoplay");
var statPref = prefs.getString("statn");
var streamPref = prefs.getString("urls");
var sitePref = prefs.getString("urlw");

var cat = [];
cat[0] = "News"
cat[1] = "Entertainment"
cat[3] = "Movies"
cat[4] = "Educational"
cat[5] = "Sport"
cat[6] = "Music"
cat[7] = "Local USA"
cat[8] = "Personal"

var chn = [];
chn[0] = "Sportal TV";
chn[1] = "CBC News";
chn[2] = "Holiday TV";
chn[3] = "Baseball channel";
chn[4] = "Channel 125";
chn[5] = "CHSTV";
chn[6] = "Indie FilmMakers";
chn[7] = "Martial Arts TV";
chn[8] = "Rapture TV";
chn[9] = "Bloomberg";
chn[10] = "Sci-Fi TV";
chn[11] = "Planet X";
chn[12] = "Madface TV";
chn[13] = "E-music";
chn[14] = "BME Music";
chn[15] = "Movies4Men";
chn[16] = "Sky News";
chn[17] = "Rathergood TV";
chn[18] = "Mania TV";
chn[19] = "RTV";
chn[20] = "Discovery Channel";
chn[21] = "Bigpond Football";
chn[22] = "BBC Newsnight";
chn[23] = "BBC Panorama";
chn[24] = "BBC Question time";
chn[25] = "Mezz TV";
chn[26] = "BME Sport";
chn[27] = "NASA TV";
chn[28] = "BME Cartoons";
chn[29] = "BME TV";
chn[30] = "Race Online";
chn[31] = "Only Motors TV";
chn[32] = "Toon TV";
chn[33] = "Cyber Comic";
chn[34] = "CBC Sport";
chn[35] = "Krib TV";
chn[36] = "";
chn[37] = "WSTV";
chn[38] = "BigPond Sport";
chn[39] = "Invincible TV";
chn[40] = "ABC News Now";
chn[41] = "";
chn[42] = "Maxx-xs Movie Trailers";
chn[43] = "";
chn[44] = "Outdoor channel";
chn[45] = "NuSports NBA";
chn[46] = "MTV Brand New";
chn[47] = "NBC 23 Washington";
chn[48] = "France 24";
chn[49] = "";
chn[50] = "Russia today";
chn[51] = "Ministry of Sound";
chn[53] = "Classic Cartoons";
chn[54] = "BBC News 24";
chn[55] = "NBC KXAN Austin";
chn[56] = "Offroad channel";
chn[57] = "NBC News";
chn[58] = "NBC Weather";
chn[59] = "";
chn[60] = "NBC 4";
chn[61] = "Caught On Video";
chn[62] = "Press TV";
chn[63] = "";
chn[64] = "CNBC India";
chn[65] = "Eurosport News UK";
chn[66] = "";
chn[67] = "Fashion TV";
chn[68] = "7-news Miami";
chn[69] = "ABC12 Michigan";
chn[70] = "City TV 24 (San Diego)";
chn[71] = "FOX 8 New Orleans";
chn[72] = "WABC New York";
chn[73] = "BBC World";
chn[74] = "FOX 11 LA";
chn[75] = "NBC 30 Connecticut";
chn[76] = "FOX 30 Colorado";
chn[77] = "KWQC-TV 6 Iowa";
chn[78] = "KTBS 3 Louisiana (ABC)";
chn[79] = "Wildlife Channel";
chn[80] = "Western TV";
chn[81] = "";
chn[82] = "TMF Pure";
chn[83] = "Old Cartoon TV";
chn[84] = "MyPHL17";
chn[85] = "Setanta Sports News";
chn[86] = "Thriller Movies";
chn[87] = "";
chn[88] = "MyNetwork TV 13";


var chs = [];
chs[0] = "http://s-lon-01.global-mix.net/365m-sportal-tv?request=s-lon-01-1200227994";
chs[1] = "http://www.cbc.ca/mrl3/8752/hourly/cbcnews.wmv";
chs[2] = "mms://server3.i2ic.com/iv?channel=16";
chs[3] = "mms://a1503.l1086932070.c10869.g.lm.akamaistream.net/D/1503/10869/v0001/reflector:32070?ct2=9802512181156463434671&ct3=-1&ct4=-1&media_type=wms&av_type=video&event_pk=";
chs[4] = "mms://channel125.com/channel125";
chs[5] = "http://boss.streamos.com/wmedia-live/entriq/10277/300_entriq-chstv_060113.asx";
chs[6] = "mms://207.36.233.159/ifilm";
chs[7] = "http://asf.narrowstep.tv/mcp?psid=9536347&ref=0&chid=380&pid=903&vid=8603000&br=500&tid=2&brid=424";
chs[8] = "http://www.rapturetv.com/live/rapture.asx";
chs[9] = "http://www.bloomberg.com/streams/video/LiveBTV200.asxx";
chs[10] = "mms://85.214.87.175/science-fiction-tv/";
chs[11] = "mms://ir2-c100.narrowstep.tv/mcp?psid=18368190&ref=0&chid=523&pid=1304&vid=13910092&br=500&tid=2&brid=592";
chs[12] = "mms://72.29.72.109/madfacetv";
chs[13] = "http://broadcast.global-mix.net/?m=e-music&.wvx=";
chs[14] = "http://www.bmetv.net/1024/play.asp?ident=music";
chs[15] = "http://stream01.prostream.co.uk/MoviesforMen1";
chs[16] = "mms://live1.wm.skynews.servecast.net/skynews_wmlz_live300k";
chs[17] = "mms://stream00.prostream.co.uk/rathergoodtv";
chs[18] = "http://maniatv.com/live.asx";
chs[19] = "mms://www.rtvchannel.tv:8080";
chs[20] = "mms://tv1.lzu.edu.cn/discovery";
chs[21] = "mms://61.9.191.56/wm9.streaming.telstra.com/ucs-wh_BigPondTV2live1";
chs[22] = "http://www.bbc.co.uk/newsa/n5ctrl/tvseq/od/bbc2/nb/wm/video/newsnight_nb.asx";
chs[23] = "http://www.bbc.co.uk/newsa/n5ctrl/tvseq/od/bbc1/nb/wm/video/pan_od_nb.asx";
chs[24] = "http://www.bbc.co.uk/newsa/n5ctrl/tvseq/od/bbc1/nb/wm/video/question_od_nb.asx";
chs[25] = "mms://live.primestream.com/mezztv";
chs[26] = "mms://streaming.i2i-technology.com/sportBB";
chs[27] = "http://www.nasa.gov/55644main_NASATV_Windows.asx";
chs[28] = "mms://streaming.i2i-technology.com/classiccartoonsBB";
chs[29] = "http://www.bmetv.net/1024/play.asp?ident=entertainment";
chs[30] = "mms://207.36.233.159/raceonline";
chs[31] = "http://www.viewtv.co.uk/410/asx/410.asx";
chs[32] = "mms://85.214.87.175/toon-tv/";
chs[33] = "mms://207.36.233.159/comedyspot";
chs[34] = "rtsp://a1254.l3501823170.c35018.g.lm.akamaistream.net/D/1254/35018/v0001/reflector:41711";
chs[35] = "mms://live.primestream.com/KribTVLive";
chs[36] = "mms://a1729.l2168647534.c21686.g.lm.akamaistream.net/D/1729/21687/v0001/reflector:50505";
chs[37] = "http://205.237.197.31/wsm/wsm";
chs[38] = "http://bigpondsport.com/desktopmodules/categorymanager/windowsmedia.aspx?play=live";
chs[39] = "http://astream.net/live/intv/intv.asx";
chs[40] = "http://a1729.l2168647534.c21686.g.lm.akamaistream.net/D/1729/21686/v0001/reflector:36819";
chs[41] = "";
chs[42] = "http://62.204.69.104/home_channel/stream=6?MSWMExt=.asf";
chs[43] = "http://85.8.187.106:8081";
chs[44] = "rtsp://ir2-c100.narrowstep.tv/mcp?psid=54575240&ref=0&chid=735&pid=2075&vid=44966734&br=400&tid=2&brid=859&fab=0";
chs[45] = "mms://liveshow.chinavnet.com/nuvod/24hrlive2";
chs[46] = "mms://81.173.117.20/mtv_low_005";
chs[47] = "mms://a1729.l2168647534.c21686.g.lm.akamaistream.net/D/1729/21686/v0001/reflector:38701";
chs[48] = "mms://live.france24.com/france24_en.wsx";
chs[49] = "";
chs[50] = "http://wms.visionip.tv/RT";
chs[51] = "mms://a745.l2645830502.c26458.g.lm.akamaistream.net/D/745/26458/v0001/reflector:30502";
chs[53] = "rtsp://streaming.i2i-technology.com/classiccartoonsBB";
chs[54] = "mms://wmlive.bbc.net.uk/wms/news/now1_bb_s1";
chs[55] = "mms://a1729.l2168647534.c21686.g.lm.akamaistream.net/D/1729/21686/v0001/reflector:52989";
chs[56] = "http://216.170.125.101/offroadchannel?WMContentBitrate=512000";
chs[57] = "mms://msnbc.wmod.llnwd.net/a275/e1/video/100/vh.asf";
chs[58] = "http://mfile.akamai.com/21529/live/reflector:22961.asx";
chs[59] = "";
chs[60] = "mms://a1729.l2168647534.c21686.g.lm.akamaistream.net/D/1729/21687/v0001/reflector:30763";
chs[61] = "http://radio.ivnet.tv/ivnet/cov?MSWMExt=.asf";
chs[62] = "mms://217.218.67.244/presslive";
chs[63] = "mms://a457.l3387222947.c33872.g.lm.akamaistream.net/D/457/33872/v0001/reflector:22947";
chs[64] = "mms://a1873.l2639649579.c26396.g.lm.akamaistream.net/D/1873/26396/v0001/reflector:49579";
chs[65] = "http://player.eurosport.fr/playlist.aspx";
chs[66] = "mms://203.113.9.83/Encoder11";
chs[67] = "mms://203.113.9.83/Encoder2";
chs[68] = "http://216.242.118.140/windowsmedia/asx/wsvn_broadband.asx";
chs[69] = "http://a1729.l2168647534.c21686.g.lm.akamaistream.net/D/1729/21686/v0001/reflector:52304;stream.nsv?MSWMExt=.asf";
chs[70] = "mms://207.7.154.95/sandiego_encoder1";
chs[71] = "mms://a1090.l1814050135.c18140.g.lm.akamaistream.net/D/1090/18140/v0001/reflector:50135";
chs[72] = "mms://a151.l1058843249.c10588.n.lm.akamaistream.net/D/151/10588/v0001/reflector:43249";
chs[73] = "http://news.bbc.co.uk/newsa/n5ctrl/summaries/world/bb/video/world_bb.asx";
chs[74] = "http://mfile.akamai.com/23073/live/reflector:34194.asx";
chs[75] = "http://mfile.akamai.com/12896/live/reflector:24950.asx";
chs[76] = "mms://a208.l2524322207.c25243.n.lm.akamaistream.net/D/208/25243/v0001/reflector:22207";
chs[77] = "mms://a75.l2238248284.c22382.n.lm.akamaistream.net/D/75/22382/v0001/reflector:48284";
chs[78] = "mms://a1729.l2168647534.c21686.g.lm.akamaistream.net/D/1729/21686/v0001/reflector:52009";
chs[79] = "http://www.wildlifechannel.tv/playfirst.asp";
chs[80] = "mms://85.214.87.175/western-tv/";
chs[81] = "mms://85.214.87.175/thriller-tv";
chs[82] = "mms://81.173.117.20/mtv_low_007";
chs[83] = "mms://us.impek.com/oldcartoontv";
chs[84] = "mms://a1729.l2168647534.c21686.g.lm.akamaistream.net/D/1729/21687/v0001/reflector:46172";
chs[85] = "http://play.www.setanta.servecast.net/setanta/uk/asx/SetantaSportsNews.asx";
chs[86] = "rtsp://85.214.87.175/thriller-tv/video";
chs[87] = "mms://win92va.audiovideoweb.com/va92win15062_1";
chs[88] = "http://mfile.akamai.com/23073/live/reflector:34194.asx";

var chw = [];
chw[0] = "http://www.sportal.com/";
chw[1] = "http://www.cbc.ca/video/";
chw[2] = "http://www.holiday-tv.com/";
chw[3] = "http://www.mlb.com/NASApp/mlb/scripts/mediaplayer/mp_tpl.jsp?w_id=521453&w=reflector:32070&vid=7759&pid=gen_video&fid=gen_video350&v=2&mType=w&urlstr=&murl=";
chw[4] = "http://www.channel125.com/";
chw[5] = "http://www.chstv.com/";
chw[6] = "http://www.tvshowcaster.com/images/internet_tv_indie.htm";
chw[7] = "http://www.martialartstv.com/";
chw[8] = "http://www.rapturetv.com/";
chw[9] = "http://www.bloomberg.com/tvradio/tv/";
chw[10] = "http://www.science-fiction-tv.de/";
chw[11] = "http://www.planetx.tv/";
chw[12] = "http://www.madfacetv.com/";
chw[13] = "http://www.e-musictelevision.com/";
chw[14] = "http://www.bmetv.net/1024/home.asp";
chw[15] = "http://www.movies4men.co.uk";
chw[16] = "http://news.sky.com/skynews/home";
chw[17] = "http://www.rathergood.co.uk/";
chw[18] = "http://maniatv.com/";
chw[19] = "http://www.rtvchannel.tv/";
chw[20] = "http://www.30minutelunchbreak.com/yttv.html";
chw[21] = "http://bigpondsport.com/";
chw[22] = "http://news.bbc.co.uk/2/hi/programmes/newsnight/default.stm";
chw[23] = "http://news.bbc.co.uk/2/hi/programmes/panorama/default.stm";
chw[24] = "http://news.bbc.co.uk/2/hi/programmes/question_time/default.stm";
chw[25] = "http://www.thewomb.com/mezztv.htm";
chw[26] = "http://www.bmetv.net/1024/home.asp";
chw[27] = "http://science.ksc.nasa.gov/shuttle/countdown/video/video.html";
chw[28] = "http://www.bmetv.net/1024/home.asp";
chw[29] = "http://www.bmetv.net/1024/home.asp";
chw[30] = "http://www.tvshowcaster.com/";
chw[31] = "http://www.onlymotors.tv";
chw[32] = "http://www.toon-tv.de/";
chw[33] = "http://www.tvshowcaster.com/";
chw[34] = "http://www.cbc.ca/sports/";
chw[35] = "http://www.thewomb.com/kribtv.htm";
chw[36] = "http://www.mtvu.com/";
chw[37] = "http://www.whitesprings.tv/";
chw[38] = "http://bigpondsport.com/";
chw[39] = "http://invinciblemag.com/radio_tv/tv.php";
chw[40] = "http://abcnews.go.com/";
chw[41] = "http://www.cbsnews.com/sections/i_video/main500251.shtml";
chw[42] = "http://www.maxx-xs.nl/";
chw[43] = "http://english.aljazeera.net";
chw[44] = "http://www.outdoorchannel.com/";
chw[45] = "http://www.nusports.cn";
chw[46] = "http://www.mtv.nl/brandnew";
chw[47] = "http://www.kndo.com/";
chw[48] = "http://www.france24.com/france24Public/en/news/world.html";
chw[49] = "http://www.30minutelunchbreak.com/hot100.html";
chw[50] = "http://www.russiatoday.ru/";
chw[51] = "http://www.ministryofsound.com/home/";
chw[52] = sitePref;
chw[53] = "http://30minutelunchbreak.com/";
chw[54] = "http://news.bbc.co.uk/";
chw[55] = "http://www.kxan.com/";
chw[56] = "";
chw[57] = "http://www.nbc.com/";
chw[58] = "http://www.nbcweatherplus.com/";
chw[59] = "http://www.cnn.com/video/live/live.html?stream=stream1";
chw[60] = "http://www.knbc.com/";
chw[61] = "http://www.caught-on-video.com/";
chw[62] = "http://www.presstv.ir/";
chw[63] = "http://www.mn1.com/";
chw[64] = "http://moneycentral.msn.com/video/default.aspx";
chw[65] = "http://www.eurosport.com/";
chw[66] = "http://www.nhk.or.jp/englishtop/";
chw[67] = "http://www.ftv.com/";
chw[68] = "http://www.wsvn.com/";
chw[69] = "http://abclocal.go.com/wjrt/";
chw[70] = "http://www.sandiego.gov/citytv/webstreaming/index.shtml";
chw[71] = "http://www.fox8live.com/";
chw[72] = "http://abclocal.go.com/wabc";
chw[73] = "http://www.bbcworld.com/";
chw[74] = "http://www.myfoxla.com/myfox/";
chw[75] = "http://www.nbc30.com/index.html";
chw[76] = "http://www.myfoxcolorado.com/myfox/";
chw[77] = "http://www.kwqc.com/";
chw[78] = "http://www.ktbs.com/";
chw[79] = "http://www.wildlifechannel.tv/";
chw[80] = "http://www.western-tv.de/";
chw[81] = "http://www.thriller-tv.de/";
chw[82] = "http://www.tmf.nl/";
chw[83] = "http://www.oldcartoontv.com/";
chw[84] = "http://www.myphl17.com/";
chw[85] = "http://www.setanta.com/en/UK/";
chw[86] = "http://www.30minutelunchbreak.com/";
chw[87] = "http://www.horrorchannel.com/";
chw[88] = "http://www.my13palmsprings.com/";


_IG_RegisterOnloadHandler(startTV);


function loadChan(channel) {
 document.getElementById("TV2tje").innerHTML = "<OBJECT ID='MediaPlayer6' WIDTH=270 HEIGHT=200 CLASSID='CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95' STANDBY='Loading Windows Media Player components...' TYPE='application/x-oleobject' CODEBASE='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112' <PARAM name='AutoStart' value='True'> <PARAM name='FileName' value='" + channel +"'><PARAM NAME='ShowControls' VALUE='0'><PARAM NAME='ShowDisplay' VALUE='0'><PARAM NAME='ShowStatusBar' VALUE='1'><PARAM NAME='AutoSize' VALUE='1'><Embed type='application/x-mplayer2' pluginspage='http://www.microsoft.com/windows/windowsmedia/download/AllDownloads.aspx/' filename='" + channel +"' src='" + channel +"' Name='MediaPlayer6' ShowControls=0 ShowDisplay=0 ShowStatusBar=1 width=270 height=200></embed>";
 }

function fillCategory(){ 
     // this function is used to fill the category list on load
    addOption(document.drop_list.Category, cat[0], cat[0], "");
    addOption(document.drop_list.Category, cat[1], cat[1], "");
    addOption(document.drop_list.Category, cat[7], cat[7], "");
    addOption(document.drop_list.Category, cat[3], cat[3], "");
    addOption(document.drop_list.Category, cat[4], cat[4], "");
    addOption(document.drop_list.Category, cat[5], cat[5], "");
    addOption(document.drop_list.Category, cat[6], cat[6], "");
		addOption(document.drop_list.Category, cat[8], cat[8], "");
}

function SelectSubCat(){
    // ON selection of category this function will work
    
    removeAllOptions(document.drop_list.SubCat);
		addOption(document.drop_list.SubCat, "#", "Channel:");
		
		if(document.drop_list.Category.value == cat[0]){
    addOption(document.drop_list.SubCat,"javascript:switchChannel(54)",chn[54]);
    addOption(document.drop_list.SubCat,"javascript:switchChannel(22)",chn[22]);
    addOption(document.drop_list.SubCat,"javascript:switchChannel(73)",chn[73]);
    addOption(document.drop_list.SubCat,"javascript:switchChannel(9)",chn[9]);
    addOption(document.drop_list.SubCat,"javascript:switchChannel(1)",chn[1]);
    addOption(document.drop_list.SubCat,"javascript:switchChannel(64)",chn[64]);		
    addOption(document.drop_list.SubCat,"javascript:switchChannel(48)",chn[48]);
    addOption(document.drop_list.SubCat,"javascript:switchChannel(57)",chn[57]);
    addOption(document.drop_list.SubCat,"javascript:switchChannel(58)",chn[58]);
    addOption(document.drop_list.SubCat,"javascript:switchChannel(62)",chn[62]);
    addOption(document.drop_list.SubCat,"javascript:switchChannel(16)",chn[16]);
    addOption(document.drop_list.SubCat,"javascript:switchChannel(50)",chn[50]);

    }
		
	  if(document.drop_list.Category.value == cat[1]){
    addOption(document.drop_list.SubCat,"javascript:switchChannel(28)",chn[28]);
    addOption(document.drop_list.SubCat,"javascript:switchChannel(29)",chn[29]);
    addOption(document.drop_list.SubCat,"javascript:switchChannel(53)",chn[53]);		
    addOption(document.drop_list.SubCat,"javascript:switchChannel(33)",chn[33]);
    addOption(document.drop_list.SubCat,"javascript:switchChannel(67)",chn[67]);		
    addOption(document.drop_list.SubCat,"javascript:switchChannel(71)",chn[71]);
    addOption(document.drop_list.SubCat,"javascript:switchChannel(74)",chn[74]);
    addOption(document.drop_list.SubCat,"javascript:switchChannel(2)",chn[2]);
    addOption(document.drop_list.SubCat,"javascript:switchChannel(39)",chn[39]);
    addOption(document.drop_list.SubCat,"javascript:switchChannel(18)",chn[18]);
    addOption(document.drop_list.SubCat,"javascript:switchChannel(84)",chn[84]);
    addOption(document.drop_list.SubCat,"javascript:switchChannel(60)",chn[60]);
    addOption(document.drop_list.SubCat,"javascript:switchChannel(47)",chn[47]);		
    addOption(document.drop_list.SubCat,"javascript:switchChannel(83)",chn[83]);
    addOption(document.drop_list.SubCat,"javascript:switchChannel(17)",chn[17]);
    addOption(document.drop_list.SubCat,"javascript:switchChannel(32)",chn[32]);		
    addOption(document.drop_list.SubCat,"javascript:openWeb(20)",chn[20]);
    }
    
    if(document.drop_list.Category.value == cat[3]){

    addOption(document.drop_list.SubCat,"javascript:switchChannel(6)",chn[6]);
    addOption(document.drop_list.SubCat,"javascript:switchChannel(15)",chn[15]);
    addOption(document.drop_list.SubCat,"javascript:switchChannel(42)",chn[42]);
    addOption(document.drop_list.SubCat,"javascript:switchChannel(10)",chn[10]);
    addOption(document.drop_list.SubCat,"javascript:switchChannel(86)",chn[86]);
    addOption(document.drop_list.SubCat,"javascript:switchChannel(80)",chn[80]);				
    addOption(document.drop_list.SubCat,"javascript:switchChannel(37)",chn[37]);
		}

    if(document.drop_list.Category.value == cat[4]){
		
    addOption(document.drop_list.SubCat,"javascript:switchChannel(23)",chn[23]);
    addOption(document.drop_list.SubCat,"javascript:switchChannel(24)",chn[24]);		
    addOption(document.drop_list.SubCat,"javascript:switchChannel(20)",chn[20]);
    addOption(document.drop_list.SubCat,"javascript:switchChannel(27)",chn[27]);
    addOption(document.drop_list.SubCat,"javascript:switchChannel(79)",chn[79]);
    }

    if(document.drop_list.Category.value == cat[5]){
    
		addOption(document.drop_list.SubCat,"javascript:switchChannel(3)",chn[3]);
		addOption(document.drop_list.SubCat,"javascript:switchChannel(26)",chn[26]);
		addOption(document.drop_list.SubCat,"javascript:switchChannel(21)",chn[21]);
		addOption(document.drop_list.SubCat,"javascript:switchChannel(38)",chn[38]);
		addOption(document.drop_list.SubCat,"javascript:switchChannel(34)",chn[34]);
		addOption(document.drop_list.SubCat,"javascript:switchChannel(65)",chn[65]);
  	addOption(document.drop_list.SubCat,"javascript:switchChannel(7)",chn[7]);
  	addOption(document.drop_list.SubCat,"javascript:switchChannel(45)",chn[45]);
  	addOption(document.drop_list.SubCat,"javascript:switchChannel(31)",chn[31]);
  	addOption(document.drop_list.SubCat,"javascript:switchChannel(11)",chn[11]);
		addOption(document.drop_list.SubCat,"javascript:switchChannel(44)",chn[44]);
		addOption(document.drop_list.SubCat,"javascript:switchChannel(56)",chn[56]);
		addOption(document.drop_list.SubCat,"javascript:switchChannel(30)",chn[30]);
		addOption(document.drop_list.SubCat,"javascript:switchChannel(85)",chn[85]);
		addOption(document.drop_list.SubCat,"javascript:switchChannel(0)",chn[0]);
    }
		
    if(document.drop_list.Category.value == cat[6]){
 		addOption(document.drop_list.SubCat,"javascript:switchChannel(14)",chn[14]);
		addOption(document.drop_list.SubCat,"javascript:switchChannel(4)",chn[4]);
		addOption(document.drop_list.SubCat,"javascript:switchChannel(13)",chn[13]);
    addOption(document.drop_list.SubCat,"javascript:openWeb(49)",chn[49]);
		addOption(document.drop_list.SubCat,"javascript:switchChannel(35)",chn[35]);
		addOption(document.drop_list.SubCat,"javascript:switchChannel(12)",chn[12]);
		addOption(document.drop_list.SubCat,"javascript:switchChannel(25)",chn[25]);
		addOption(document.drop_list.SubCat,"javascript:switchChannel(51)",chn[51]);
		addOption(document.drop_list.SubCat,"javascript:switchChannel(46)",chn[46]);
    addOption(document.drop_list.SubCat,"javascript:switchChannel(8)",chn[8]);
		addOption(document.drop_list.SubCat,"javascript:switchChannel(19)",chn[19]);
		addOption(document.drop_list.SubCat,"javascript:switchChannel(82)",chn[82]);

    }

    if(document.drop_list.Category.value == cat[7]){
 		addOption(document.drop_list.SubCat,"javascript:switchChannel(68)",chn[68]);
		addOption(document.drop_list.SubCat,"javascript:switchChannel(69)",chn[69]);
		addOption(document.drop_list.SubCat,"javascript:switchChannel(70)",chn[70]);
		addOption(document.drop_list.SubCat,"javascript:switchChannel(71)",chn[71]);
		addOption(document.drop_list.SubCat,"javascript:switchChannel(74)",chn[74]);		
		addOption(document.drop_list.SubCat,"javascript:switchChannel(76)",chn[76]);
		addOption(document.drop_list.SubCat,"javascript:switchChannel(88)",chn[88]);
		addOption(document.drop_list.SubCat,"javascript:switchChannel(84)",chn[84]);
		addOption(document.drop_list.SubCat,"javascript:switchChannel(47)",chn[47]);
		addOption(document.drop_list.SubCat,"javascript:switchChannel(75)",chn[75]);		
    addOption(document.drop_list.SubCat,"javascript:switchChannel(55)",chn[55]);		
		addOption(document.drop_list.SubCat,"javascript:switchChannel(78)",chn[78]);
		addOption(document.drop_list.SubCat,"javascript:switchChannel(77)",chn[77]);		
		addOption(document.drop_list.SubCat,"javascript:switchChannel(72)",chn[72]);
    }

		
		
		

    if(document.drop_list.Category.value == cat[8]){
    
		addOption(document.drop_list.SubCat,"javascript:switchChannel(52)",chn[52]);
    }
		
}


function removeAllOptions(selectbox)
{
	var i;
	for(i=selectbox.options.length-1;i>=0;i--)
	{
		//selectbox.options.remove(i);
		selectbox.remove(i);
	}
}

function addOption(selectbox, value, text )
{
	var optn = document.createElement("OPTION");
	optn.text = text;
	optn.value = value;

	selectbox.options.add(optn);
}

function switchChannel(chnr)
{
    loadChan(chs[chnr]);
		chanch=chnr;
  	GetMessage();
}

function openWeb(chnr)
{
		stopPlayer();
    window.open(chw[chnr],'mywindow','toolbar=yes,location=yes,resizable=yes,status=yes,menubar=yes,scrollbars=yes,width=1024,height=768');
}


function startTV()
{
 _gel("submitbutton1").src = _IG_GetImageUrl("http://www.onlinetvtoolbar.com/images/stopwm.bmp");
 _gel("submitbutton2").src = _IG_GetImageUrl("http://www.onlinetvtoolbar.com/images/startwm.bmp");
 
   for (var i=0; i<89; i++)
  	{
   		if (kanPref == chn[i]){
   			 chanch = i;
				 if (i == 0)
				 		   	 chanch = 20;
  		}
			if (kanPref == "*Personal*")
  			 chanch = 52;
  }
 fillCategory();
 GetMessage();
 if (autoPref=="Yes")
 		 loadChan(chs[chanch]);
 else
			stopPlayer();	 
_IG_FetchXmlContent('http://goonlinetv.com/blog/?feed=rss2', function(rss)
 {
 ftxt = rss.documentElement.getElementsByTagName("title");
 urls = rss.documentElement.getElementsByTagName("link");
  GetNewsSource();
 });
}

function GetNewsSource()
{
    var iMax = ftxt.length;
    
    if(document.all){
         document.getElementById('myTicker').innerText = ftxt[iNews].childNodes[0].nodeValue;
    } else{
        document.getElementById('myTicker').textContent = ftxt[iNews].childNodes[0].nodeValue;
    
    }
    document.getElementById('myTicker').href = urls[iNews].childNodes[0].nodeValue;
    iNews+=1;
    if(iNews==iMax){
    iNews=0;
    }
    window.setTimeout("GetNewsSource()", (4000));
}

function GetMessage()
{
 document.getElementById('myMsg').innerHTML = "<a class='rstyle' href='" + chw[chanch] + "' target='blank_'>"+ chn[chanch]+ "</a>  (double-click for full-screen)";
 }
 
function stopPlayer()
{

  var str="";
 str+= "<div style=' width:270px; height:200px;overflow:hidden; '>";
 str+= "<table width='270px' border='0' cellpadding='0' cellspacing='0'>";
			      str+= "<tr><td valign='top' align='center'>";
	
						str+='<iframe id="urlad" frameborder="0" height="175" name="frame1" src="http://www.onlinetvtoolbar.com/gad2.html" scrolling="no"  width="270"><\/iframe>';
	
	
						str+= "</td></tr>";
						str+= "<tr><td valign='top' align='center'>";
						str+= "<img id='imstat' border=0 >";
						str+= "</td></tr>";
  str+= "</table>";
  str+= "</div>";
 _gel('TV2tje').innerHTML = str;
 _gel("imstat").src = _IG_GetImageUrl("http://www.onlinetvtoolbar.com/images/statusempty.jpg"); 
} 
 
</script>

<table width="270" border="0" cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td align="center">
<div id="myMsg"  style="width:270;background-color:#2b2b2b;color:#ffcc66;font-size: 9px;font-family: verdana, sans-serif;"></div>
<div id="TV2tje"></div>
</td>
</tr>

<table width="270" border="0" cellpadding="2" cellspacing="0" align="center">
<tr>

<td  width="100" bgcolor=#212121 align="left" valign="top">
	  <input type="image" id="submitbutton1"   onClick="stopPlayer()" title="Stop playing">
	  <input type="image" id="submitbutton2"   onClick="loadChan(chs[chanch])" title="Start playing"><br>
		<a class="tstyle" id="myTicker" href="" target="_blank"></a>
</td>
<td align="right" bgcolor=#212121>   
<FORM name="drop_list">
  <SELECT id="MainCat" NAME="Category" onChange="SelectSubCat()" size="1">
  <Option value="">Category:</option>
  </SELECT><br>
  <SELECT id="SubCat" NAME="Plaats" OnChange="location.href=this.options[this.selectedIndex].value" size="1">
  <Option value="">--</option>
  </SELECT>
</FORM></td>
</tr>
</table>

]]> </Content>
</Module>  