var isAdult=0;
var quicktime=0;
var URLArray = new Array(80);
var DetailsArray = new Array(80);
var NameArray = new Array(80);
var WebsiteArray = new Array(80);

URLArray[0] = "mms://rx-wes-sea112.rbn.com/farm/pull/tx-rbn-sea39:1259/wmtencoder/cspan/cspan/wmlive/cspan1v.asf";

URLArray[1] = "http://worldtvpc.com/t1/7860.asx";
URLArray[2] = "http://www.rootv.com/g6publish/common/playlist/asxgeneratorportal.aspx?siteId=e256f482-95b0-490e-9b24-1fd64e416c56&clipId=&channel=Music%20News&Bitrate=300";

URLArray[3] = "http://worldtvpc.com/t1/2077.asx";
//http://www.cctv-9.com/2005/asx/_300.asx
URLArray[4] = "http://worldtvpc.com/t1/b3307.asx";
URLArray[5] = "http://today.reuters.com/tv/videoChannel.aspx?storyId=df1dbd137126669bef74a39708578a6e688a6794";
URLArray[6] = "http://player.narrowstep.tv/nsp.aspx?player=realestate_tv";
URLArray[7] = "http://nyvidsrch.bloomberg.com/vss-bin/vss_SR/smedia_v2/search?clipSource=http://www.bloomberg.com/streams/video;template=m_viewer_frameset2.tmpl;autostart=true;clipTitle=livebtv;snapshot=true";//pop up
URLArray[8] = "http://www.mysteryfree.tv/unicast_mov/AFTVMysteryH264250.mov";
URLArray[9] = "http://www.crimefree.tv/unicast_mov/AFTVCrimeH264500.mov";
URLArray[10] = "mms://wmt.streaming.telstra.com/ucs-wh_chiefe0live10";
URLArray[11] = "http://www.comedycentral.com/sitewide/media_player/browse.jhtml";
URLArray[12] = "http://player.narrowstep.tv/nsp.aspx?player=xl";
URLArray[13] = "mms://channel125.com/channel125";
URLArray[14] = "http://player.narrowstep.tv/nsp.aspx?player=Cellcasttv_gamenetwork";
URLArray[15] = "http://www.eonline.com/thevine/player.jsp";
URLArray[16] = "mms://85.236.101.101/netgamingtv";
URLArray[17] = "http://www.cartoonsfree.tv/unicast_mov/AFTVCartoonsH264500.mov";
URLArray[18] = "http://www.adventurefree.tv/unicast_mov/AFTVAdventureH264500.mov";//pop-up
URLArray[19] = "http://www.horrorfree.tv/unicast_mov/AFTVHorrorH264250.mov";//pop-up
URLArray[20] = "http://www.comedyfree.tv/unicast_mov/AFTVComedyH264250.mov";
URLArray[21] = "http://www.scififree.tv/unicast_mov/AFTVSciFiH264500.mov";//pop-up
URLArray[22] = "http://www.rathergood.co.uk/tv/rathergoodtv.asx";
URLArray[23] = "http://www.classicsfree.tv/unicast_mov/AFTVClassicsH264500.mov";//pop-up
URLArray[24] = "mms://media.ftv.com/channel/channel.wmv?b331fa4f4ff902ebc217992695915c7d";
URLArray[25] = "http://www.maniatv.com/maniatv/video/default-500.asx";
URLArray[26] = "mms://a420.l2147244871.c21472.e.lm.akamaistream.net/D/420/21472/v0001/reflector:44871?videoid=18532";
URLArray[27] = "http://www.researchchannel.org/webcast/asx/rtv-high.asx";
URLArray[28] = "mms://a407.l954634696.c9546.g.lm.akamaistream.net/D/407/9546/v0001/reflector:34696";
URLArray[29] = "http://broadcast.global-mix.net/?m=itb&.wvx= ";
URLArray[30] = "http://www.tv1.de/tv1/cms/_vm300/57882/asx.asx";
URLArray[31] = "http://broadcast.global-mix.net/?m=e-music&.wvx= ";
URLArray[32] = "http://live.mediaserver.kataweb.it/deejaytv";
URLArray[33] = "http://www.ontoptv.com/asx/ontoptv.asx";
URLArray[34] = "http://www.tunespoon.de/playlist/tunespoon_hi.asx";
URLArray[35] = "mms://65.36.251.44/skreemtv/playlist.wsx";
URLArray[36] = "http://www.clipland.com/cliplandtv.asx";
URLArray[37] = "http://musicplustv.com/stream/mplus.asx";
URLArray[38] = "http://www.impek.tv/go/jb/wm";
URLArray[39] = "http://www.mtv.com/overdrive/player.jhtml";
URLArray[40] = "http://www.airsidetv.com/main/play.asp";
URLArray[41] = "http://www.emsbroadcasting.com/affil/asx/tv-police.asx";
URLArray[42] = "http://www.emsbroadcasting.com/affil/asx/tv-fire.asx";
URLArray[43] = "http://www.nasa.gov/55644main_NASATV_Windows.asx";
URLArray[44] = "http://www.shopathometv.com/broadcast/live300K.asx";
URLArray[45] = "http://mfile.akamai.com/8178/live/reflector:42352.asx";
URLArray[46] = "http://www.relaxingtv.com/video/beachestv/caribbeanperfection300.asx";
URLArray[47] = "http://player.narrowstep.tv/nsp.aspx?player=bounty";
URLArray[48] = "http://player.narrowstep.tv/nsp.aspx?player=Player2";
URLArray[49] = "http://player.narrowstep.tv/nsp.aspx?player=MartialArtsTV";//pop-up
URLArray[50] = "http://broadcast.global-mix.net/?m=itb&.wvx= ";//pop-up
URLArray[51] = "http://player.narrowstep.tv/nsp.aspx?player=golfbugtv";//pop-up0
URLArray[52] = "http://www.raceworld.tv/video/playlist.asp";
URLArray[53] = "http://www.garnierstreamingmedia.com/asx/Wheelz.asp";
URLArray[54] = "mms://218.69.107.45/ESPN/live";
URLArray[55] = "http://player.narrowstep.tv/nsp.aspx?player=cycling";//pop-up
URLArray[56] = "http://player.narrowstep.tv/nsp.aspx?player=sailtv";
URLArray[57] = "mms://asf.narrowstep.tv/hightv256";
URLArray[58] = "http://www.pokerupdates.com/pokerupdates1.asx";
URLArray[59] = "http://player.narrowstep.tv/nsp.aspx?player=stargames";
URLArray[60] = "mms://bady3rsbvideo.playboy.co.uk/playboytv_ch1_500";
URLArray[61] = "mms://bady3rsbvideo.playboy.co.uk/spiceextreme_ch1_150";
URLArray[62] = "mms://movie.libosan.ch:81/tv";
URLArray[63] = "http://sextv1.tv/player1.php?sec= ";//pop-up
URLArray[64] = "http://freexxxvideoclip.aebn.net/index.cfm/fa/ClipViewerGraphics/tid/36264/console_id/2/genrestub/amateur/color/5/genre_id/1/refid/AEBN-028961/.cfm";
URLArray[65] = "http://freexxxvideoclip.aebn.net/index.cfm/fa/ClipViewerGraphics/tid/36264/console_id/2/genrestub/anal/color/5/genre_id/9/refid/AEBN-028961/.cfm";//pop-up
URLArray[66] = "http://freexxxvideoclip.aebn.net/index.cfm/fa/ClipViewerGraphics/tid/36264/console_id/2/genrestub/lesbian/color/5/genre_id/8/refid/AEBN-028961/.cfm";//pop-up
URLArray[67] = "http://freexxxvideoclip.aebn.net/index.cfm/fa/ClipViewerGraphics/tid/36264/console_id/2/genrestub/hardcore/color/5/genre_id/202/refid/AEBN-028961/.cfm";//pop-up
URLArray[68] = "mms://80.77.113.61/Hardyka2";
URLArray[69] = "mms://80.77.113.61/Softyka2";

URLArray[70] = "http://dsc.discovery.com/beyond/player.html?bctab=on%20tv";
URLArray[71] = "http://animal.discovery.com/beyond/player.html?bctab=on%20tv";
URLArray[72] = "http://tlc.discovery.com/beyond/player.html?bctab=on%20tv";
URLArray[73] = "http://travel.discovery.com/beyond/player.html?bctab=on%20tv";
URLArray[74] = "http://health.discovery.com/beyond/player.html?bctab=on%20tv";
URLArray[75] = "http://videos.bbcamerica.com/player/player.jsp";
URLArray[76] = "http://stream.hdtv1.cz";
URLArray[77] = "http://server3.streaming.cesnet.cz/hdtv1";
URLArray[78] = "http://www.streamick.com/asx2/hollywoodtv.asx";
URLArray[79] = "http://asx.abacast.com/blackbelttv-blackbelt1-500.asx";
URLArray[80] = "";


NameArray[0] = "C-Span"; WebsiteArray[0]= "www.cspan.org";
NameArray[1] = "Pentagon Channel";WebsiteArray[1]= "www.pentagonchannel.com";
NameArray[2] = "Roo TV"; WebsiteArray[2]= "www.rootv.com";
NameArray[3] = "CCTV-9";WebsiteArray[3]= "www.cctv-9.org";
NameArray[4] = "BBC News";WebsiteArray[4]= "www.bbc.co.uk";
NameArray[5] = "Reuters News";WebsiteArray[5]= "today.reuters.com";
NameArray[6] = "Real Estate TV"; WebsiteArray[6]= "www.realestatetv.tv";
NameArray[7] = "Bloomberg TV"; WebsiteArray[7]= "www.bloomberg.com";
NameArray[8] = "Mystery Free"; WebsiteArray[8]= "www.mysteryfree.tv";
NameArray[9] = "Crime Free TV"; WebsiteArray[9]= "www.crimefree.tv";
NameArray[10] = "Bigpond TV"; WebsiteArray[10]= "www.bigpondtv.com";
NameArray[11] = "Comedy Central"; WebsiteArray[11]= "www.comedycentral.com";
NameArray[12] = "Channel XL"; WebsiteArray[12]= "www.channelxl.tv";
NameArray[13] = "Channel 125"; WebsiteArray[13]= "www.channel125.com";
NameArray[14] = "Game Network"; WebsiteArray[14]= "player.narrowstep.tv/nsp.aspx?player=Cellcasttv_gamenetwork";
NameArray[15] = "E! Entertainment"; WebsiteArray[15]= "www.eonline.com";
NameArray[16] = "Net Gaming"; WebsiteArray[16]= "www.netgaming.tv";
NameArray[17] = "TV Cartoons"; WebsiteArray[17]= "www.cartoonsfree.tv";
NameArray[18] = "Adventure Channel"; WebsiteArray[18]= "www.adventurefree.tv";
NameArray[19] = "Horror Channel"; WebsiteArray[19]= "www.horrorfree.tv";
NameArray[20] = "Comedy Channel"; WebsiteArray[20]= "www.comedyfree.tv";
NameArray[21] = "Sci-Fi Channel"; WebsiteArray[21]= "www.scififree.tv";
NameArray[22] = "Rather Good TV"; WebsiteArray[22]= "www.rathergood.co.uk";
NameArray[23] = "Movies Channel"; WebsiteArray[23]= "ww.classicsfree.tv/";
NameArray[24] = "Fashion Party"; WebsiteArray[24]= "www.ftv.com";
NameArray[25] = "Mania TV"; WebsiteArray[25]= "www.maniatv.com";
NameArray[26] = "FTV"; WebsiteArray[26]= "www.ftv.com";
NameArray[27] = "Research Channel"; WebsiteArray[27]= "www.researchchannel.org";
NameArray[28] = "Ministry of Sound"; WebsiteArray[28]= "www.ministryofsound.com";
NameArray[29] = "Deluxe Music"; WebsiteArray[29]= "www.deluxemusic.de";
NameArray[30] = "TMF"; WebsiteArray[30]= "www.tmf.nl";
NameArray[31] = "E Music"; WebsiteArray[31]= "www.e-musictelevision.com";
NameArray[32] = "Deejay TV"; WebsiteArray[32]= "www.deejay.it";
NameArray[33] = "On Top TV"; WebsiteArray[33]= "www.ontoptv.vom";
NameArray[34] = "Tunespoon"; WebsiteArray[34]= "www.tunespoon.de";
NameArray[35] = "Skreem TV"; WebsiteArray[35]= "www.skreem.tv";
NameArray[36] = "Clipland TV"; WebsiteArray[36]= "www.clipland.com";
NameArray[37] = "Music Plus TV"; WebsiteArray[37]= "www.musicplustv.com";
NameArray[38] = "Club TV"; WebsiteArray[38]= "www.leclubb.com";
NameArray[39] = "MTV Overdrive"; WebsiteArray[39]= "www.mtv.com";
NameArray[40] = "Airside TV"; WebsiteArray[40]= "www.airsidetv.com";
NameArray[41] = "Police Channel"; WebsiteArray[41]= "www.emsbroadcasting.com";
NameArray[42] = "EMS and Fire Channel"; WebsiteArray[42]= "www.911-tv.com";
NameArray[43] = "NASA Tv"; WebsiteArray[43]= "www.nasa.gov";
NameArray[44] = "Shop at Home"; WebsiteArray[44]= "www.shopathometv.com";
NameArray[45] = "WeatherPlus"; WebsiteArray[45]= "www.nbc4.tv";
NameArray[46] = "Relaxing TV"; WebsiteArray[46]= "www.RelaxingTV.com";
NameArray[47] = "Baby Channel"; WebsiteArray[47]= "www.bounty.com";
NameArray[48] = "Holiday TV"; WebsiteArray[48]= "www.holiday-tv.com";
NameArray[49] = "Martial Arts TV"; WebsiteArray[49]= "www.martialartstv.com";
NameArray[50] = "Sportal TV"; WebsiteArray[50]= "www.sportal.com";
NameArray[51] = "Golf TV"; WebsiteArray[51]= "www.golfbug.tv";
NameArray[52] = "Race World TV"; WebsiteArray[52]= "www.raceworld.tv";
NameArray[53] = "Wheelz TV"; WebsiteArray[53]= "www.wheelztv.nl";
NameArray[54] = "ESPN"; WebsiteArray[54]= "www.espnstar.com";
NameArray[55] = "Cycling TV"; WebsiteArray[55]= "www.cycling.tv";
NameArray[56] = "Sail TV"; WebsiteArray[56]= "www.sail.tv";
NameArray[57] = "High TV"; WebsiteArray[57]= "www.high.tv";
NameArray[58] = "Poker TV"; WebsiteArray[58]= "www.pokertvnetwork.com";
NameArray[59] = "Star Games"; WebsiteArray[59]= "www.stargames.com";
NameArray[60] = "Spice Extreme 1"; WebsiteArray[60]= "www.live-online-tv.com/tv/adultpornmoviesvideos7.html";
NameArray[61] = "Spice Extreme 2"; WebsiteArray[61]= "www.live-online-tv.com/tv/adultpornmoviesvideos7.html";
NameArray[62] = "Adult TV Channel 1"; WebsiteArray[62]= "www.libosan.ch/home.php";
NameArray[63] = "Adult TV Channel 2"; WebsiteArray[63]= "sextv1.tv";
NameArray[64] = "Adult TV Channel 3"; WebsiteArray[64]= "freexxxvideoclip.aebn.net";
NameArray[65] = "Adult TV Channel 4"; WebsiteArray[65]= "freexxxvideoclip.aebn.net	";
NameArray[66] = "Adult TV Channel 5"; WebsiteArray[66]= "freexxxvideoclip.aebn.net/";
NameArray[67] = "Adult TV Channel 6"; WebsiteArray[67]= "freexxxvideoclip.aebn.net";
NameArray[68] = "Adult TV Channel 7"; WebsiteArray[68]= "tv.extra.hu";
NameArray[69] = "Adult TV Channel 8"; WebsiteArray[69]= "tv.extra.hu";

NameArray[70] = "Discovery Channel"; WebsiteArray[70]= "dsc.discovery.com";
NameArray[71] = "Discovery Animal Planet"; WebsiteArray[71]= "animal.discovery.com";
NameArray[72] = "Discovery TLC"; WebsiteArray[72]= "tlc.discovery.com";
NameArray[73] = "Discovery Travel"; WebsiteArray[73]= "travel.discovery.com";
NameArray[74] = "Discovery Health"; WebsiteArray[74]= "health.discovery.com";
NameArray[75] = "BBC America"; WebsiteArray[75]= "bbcamerica.com";
NameArray[76] = "HDTV Movie Trailers"; WebsiteArray[76]= "hdtv1.cz";
NameArray[77] = "HDTV Channel"; WebsiteArray[77]= "";
NameArray[78] = "Hollywood TV"; WebsiteArray[78]= "";

NameArray[79] = "BLACK BELT TV"; WebsiteArray[80]= "";
NameArray[80] = "This is Free TV Online"; WebsiteArray[79]= "";


DetailsArray[0] = "C-SPAN provides coverage of a variety of public affairs events. ";
DetailsArray[1] = "The Pentagon Channel broadcasts military news and information.";
DetailsArray[2] = "Roo is a online broadcast network and a leading global provider of digital media. ";
DetailsArray[3] = "CCTV-9 International is an English-language Internet TV channel of China Central Television. ";
DetailsArray[4] = "BBC News Headlines. ";
DetailsArray[5] = "The latest breaking news.";
DetailsArray[6] = "Real Estate TV is a compelling mix of high quality, entertaining property programmes from the UK and around the world as well as own unique commissioned series. ";
DetailsArray[7] = "24-hour business & financial news delivering power tools for power players & serious investors. ";
DetailsArray[8] = "Experience the best in Mystery and Suspense from yesterday and today. ";
DetailsArray[9] = "Experience the best in Crime and Suspense from yesterday and today. ";
DetailsArray[10] = "Watch clips of sports highlights, music, movie and game news and trailers. ";
DetailsArray[11] = "Here you can watch videos, sketches, jokes, news from Comedy Central. ";
DetailsArray[12] = "Channel XL is a free to air internet tv station and shows music interviews and general entertainment.";
DetailsArray[13] = "A streaming media channel dedicated to providing quality entertainment programming from independent producers. ";
DetailsArray[14] = "The Game Network features games, reviews, and chat. ";
DetailsArray[15] = "E! presents up-to-the-minute entertainment news, red carpet, original features, gossip, music and movie reviews. ";
DetailsArray[16] = "Trailers and video's from the newest and hottest games. ";
DetailsArray[17] = "Experience the best cartoons from yesterday and today. ";
DetailsArray[18] = "Action ! Adventure ! Thrills ! Chills ! ";
DetailsArray[19] = "Experience the best in Classic Horror Movies from yesterday and today. ";

DetailsArray[20] = "Experience the best comedy from yesterday and today.";
DetailsArray[21] = "Experience the best Science Fiction from yesterday and today. ";
DetailsArray[22] = "The best funny, amazing, outrageous, remarkable videos found on internet. ";
DetailsArray[23] = "Experience the best in Classic Movies from yesterday and today. ";
DetailsArray[24] = "The wildest fashion parties. ";
DetailsArray[25] = "ManiaTV! delivers Internet addicts the best mix of music, short films, action sports, video games, cartoons and news with a twist. ";
DetailsArray[26] = "Shows, news and info about the hottest fashion. ";
DetailsArray[27] = "ResearchChannel is a consortium of research universities and corporate research divisions dedicated to broadening the access to and appreciation of our individual and collective activities, ideas, and opportunities in basic and applied research. ";
DetailsArray[28] = "Music Channel with the best dance-videos. ";
DetailsArray[29] = "Easy Listening and Relaxing music";
DetailsArray[30] = "Non-stop Music channel from Holland";
DetailsArray[31] = "E-MUSIC is the worlds first and only truly interactive music television channel on the worldwide web where viewers from around the world influence the programme line-up. ";
DetailsArray[32] = "The best music-channel from Italy with international topmusic. ";
DetailsArray[33] = "Hip Hop and R&B for the World. Bringing you the non-stop videos 24/7. ";
DetailsArray[34] = "Music-channel from Germany with alternative music. ";
DetailsArray[35] = "24/7 The best r&b and rap videos. ";
DetailsArray[36] = "The best and newest musicvideos around. ";
DetailsArray[37] = "Live Internet Television focusing on the independent music scene. ";
DetailsArray[38] = "Go clubbing and watch housemusic. ";

DetailsArray[39] = "MTV Overdrive is a free Broadband Video Channel brought to you by MTV.com. ";
DetailsArray[40] = "Internet's 1st all-aviation, online video channel. ";
DetailsArray[41] = "Police reality-TV. ";
DetailsArray[42] = "Emergency videos at its finest. ";
DetailsArray[43] = "Channel with live events, news and special event programs from NASA. ";
DetailsArray[44] = "Shop at Home TV is a 24-hour, seven day per week TV-shop.";
DetailsArray[45] = "Weather Plus digital weather network is the first of its kind to offer instant local and national weather 24 hours a day. ";
DetailsArray[46] = "How about relaxing in Caribbean Perfection on the small Buck Island.";
DetailsArray[47] = "Baby and child information for young families. ";
DetailsArray[48] = "A web tv channel specializing in travel and all aspects of holidays, showing destinations and hotels. ";
DetailsArray[49] = "Channel with an explosive mix of programs about martial arts. ";
DetailsArray[50] = "Sportal.com is bringing you all the latest video and audio from the world of sport. ";
DetailsArray[51] = "The worlds first internet golf channel. ";
DetailsArray[52] = "Race fans can watch,feel and discover what topline motorsport is all about. ";
DetailsArray[53] = "Reports and news about carracing. ";
DetailsArray[54] = "Most major sports including football, basketball, baseball and college sports can be seen on ESPN networks. ";
DetailsArray[55] = "The TV Channel for all the best cycling action from around the world. ";
DetailsArray[56] = "Sail.tv is a new internet-based TV station and the first 24-hour channel available globally that is devoted to sailing and watersports. ";
DetailsArray[57] = "High.tv is a broadband extreme sports channel. ";

DetailsArray[58] = "Poker TV Network is bringing poker home to you in a way never before thought possible. Broadcasts during weekends. ";
DetailsArray[59] = "A online sports channel that brings you a variety of events and performances featuring past and present champions and honored athletes. ";
DetailsArray[60] = "The Hottest Video's on Spice's Extreme.";
DetailsArray[61] = "The Hottest Video's on Spice's Extreme.";
DetailsArray[62] = "Libosan TV. The hottest movies available";
DetailsArray[63] = "Sex TV: Enjoy the best XXX-videos ever seen.";
DetailsArray[64] = "The hottest amateur videos. Daily new videos!";
DetailsArray[65] = "Quality action with the best girls in town. Daily new videos!";
DetailsArray[66] = "Watch girl 2 girl action. Daily new videos! ";
DetailsArray[67] = "Watch hardcore videos with the best action. Daily new videos!";
DetailsArray[68] = "The best and hottest hardcore videos.";
DetailsArray[69] = "The best and hottest softcore videos.";

DetailsArray[70] = "Discovery Channel.";
DetailsArray[71] = "Discovery Animal Planet.";
DetailsArray[72] = "Discovery TLC.";
DetailsArray[73] = "Discovery Travel.";
DetailsArray[74] = "Discovery Health.";
DetailsArray[75] = "BBC America.";
DetailsArray[76] = "HDTV Movie Trailers, 2 Mbps stream in 720p resolution (1280 x 720).";
DetailsArray[77] = "HDTV Channel, 2 Mbps stream in 720p resolution (1280 x 720).";
DetailsArray[78] = "Hollywood TV.";

DetailsArray[79] = "BLACK BELT TV / The Martial Arts Network is the only 24Hours a day, 7Days a week Martial Arts oriented Television Network that provides Martial Arts programming consisting of Movies,Sports,Woman and Children shows,Martial Arts News and much more...";
DetailsArray[80] = "Choose a Channel of your choice and get started.";


function Desc(var1){
	var nameString= NameArray[var1-1];
	var WebsiteString= WebsiteArray[var1-1];
	
	var titleDiv=document.getElementById("titleNameDiv");
	titleDiv.innerHTML= "<p><a href='http://"+WebsiteString+"' class='leftlink2' target='_blank' >"+ nameString+"</a></p>";
}


function Play(var1,var2,var3,var4,var5){
	  var URLtoPlay= URLArray[var1-1]; 
	playerDiv.innerHTML= "<object classid='CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6' type='application/x-mplayer2' id='MyMediaPlayer' standby='Loading content...' onDblClick='javascript:DoubleScreen(1)'  codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701' height='300' width='470' >  <param name='autoStart' value='true'/> <param name='balance' value='0'/> <param name='currentPosition' value='0'/> <param name='enableContextMenu' value='false'/> <param name='enabled' value='true'/> <param name='fullScreen' value='false'/> <param name='mute' value='false'/>  <param name='playCount' value='1'/> <param name='rate' value='1.0'/> <param name='uiMode' value='mini'/> <param name='url' value='"+URLtoPlay+"'/> <param name='volume' value='70'/> <embed type='application/x-mplayer2' name='MyMediaPlayer' onDblClick='javascript:DoubleScreen(1)' src='"+URLtoPlay+"' width='470' height='300' autostart='True' sendplaystatechangeevents='True' uimode='mini' playcount='9999' stretchtofit='True' enablecontextmenu='True' 	bufferTime=10 autoPlay=true autoRewind=false swLiveConnect='true' >  </embed> </OBJECT>";
	  var playerName;
  
   //var URLtoPlay= URLArray[var1-1]; 
  if(var3!=0){
    showAdult(var1, var2, var3,var4,var5);
    return;
   } 
  else {
  	 adultCheckNo();
  	Play2(var1,var2,var3,var4,var5);
  	return;
  	}
 } 

function Play2(var1,var2,var3,var4,var5){
	  var playerName;
	  var playDiv=document.getElementById("playerDiv");
	   Desc(var1);
	  var URLtoPlay= URLArray[var1-1]; 
	  
  Desc(var1);
  	if (navigator.appName.indexOf ("Microsoft") !=-1) {
		
			  playerName= window.document.MyMediaPlayer;
			  if(var4!==0){
		  		  playDiv.innerHTML= "<object classid='CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6' type='application/x-mplayer2' id='MyMediaPlayer' standby='Loading content...' onDblClick='javascript:DoubleScreen(1)'  codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701' height='300' width='470' >  <param name='autoStart' value='true'/> <param name='balance' value='0'/> <param name='currentPosition' value='0'/> <param name='enableContextMenu' value='false'/> <param name='enabled' value='true'/> <param name='fullScreen' value='false'/> <param name='mute' value='false'/>  <param name='playCount' value='1'/> <param name='rate' value='1.0'/> <param name='uiMode' value='mini'/> <param name='url' value='"+URLtoPlay+"'/> <param name='volume' value='70'/> <embed type='application/x-mplayer2' name='MyMediaPlayer' onDblClick='javascript:DoubleScreen(1)' src='"+URLtoPlay+"' width='470' height='300' autostart='True' sendplaystatechangeevents='True' uimode='mini' playcount='9999' stretchtofit='True' enablecontextmenu='True' 	bufferTime=10 autoPlay=true autoRewind=false swLiveConnect='true' >  </embed> </OBJECT>";
		Desc(71);  		  				window.open(URLtoPlay,"popup","resizable=yes,scrollbars=yes,statusbar=0,menubar=no,toolbar=no,status=no,location=no, width=700,height=500");
		  	  }
		  	  
			 else
		  		 { 
		  		 	if(URLtoPlay.indexOf(".mov")>1) {
			    	//alert("It's MOV");
			    	quicktime=1;
			    	playDiv.innerHTML= "<object classid='clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B' codebase='http://www.apple.com/qtactivex/qtplugin.cab' width='470' height='300'> <param name='src' value='"+URLtoPlay+"'/> <param name='autoplay' value='true'><param name='CONTROLLER' VALUE='true'> <param name='SCALE' VALUE='tofit'> <param name='pluginspage' value='http://www.apple.com/QuickTime/download/' /> <embed src='"+URLtoPlay+"' width='470' height='300' autoplay='true' scale='tofit' controller='true' pluginspage='http://www.apple.com/quicktime/download/'> </embed> </object>"; 
			    	//alert("Changed to Quicktime");	
	        }
	        else {
	        	   if(quicktime==1){
	        	   	quicktime=0;
	        	   	playDiv.innerHTML= "<object classid='CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6' type='application/x-mplayer2' id='MyMediaPlayer' standby='Loading content...' onDblClick='javascript:DoubleScreen(1)'  codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701' height='300' width='470' >  <param name='autoStart' value='true'/> <param name='balance' value='0'/> <param name='currentPosition' value='0'/> <param name='enableContextMenu' value='false'/> <param name='enabled' value='true'/> <param name='fullScreen' value='false'/> <param name='mute' value='false'/>  <param name='playCount' value='1'/> <param name='rate' value='1.0'/> <param name='uiMode' value='mini'/> <param name='url' value='"+URLtoPlay+"'/> <param name='volume' value='70'/> <embed type='application/x-mplayer2' name='MyMediaPlayer' onDblClick='javascript:DoubleScreen(1)' src='"+URLtoPlay+"' width='470' height='300' autostart='True' sendplaystatechangeevents='True' uimode='mini' playcount='9999' stretchtofit='True' enablecontextmenu='True' 	bufferTime=10 autoPlay=true autoRewind=false swLiveConnect='true' >  </embed> </OBJECT>";
	        	  }
	        	  else {
		  					playerName.URL=URLtoPlay;
		  				}	
		  	    }
		  	 }   	  
    } 
  else {
			//Browser is not IE 
			
			if(var4!==0){
	  		   playDiv.innerHTML= "<object classid='CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6' type='application/x-mplayer2' id='MyMediaPlayer' standby='Loading content...' onDblClick='javascript:DoubleScreen(1)'  codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701' height='300' width='470' >  <param name='autoStart' value='true'/> <param name='balance' value='0'/> <param name='currentPosition' value='0'/> <param name='enableContextMenu' value='false'/> <param name='enabled' value='true'/> <param name='fullScreen' value='false'/> <param name='mute' value='false'/>  <param name='playCount' value='1'/> <param name='rate' value='1.0'/> <param name='uiMode' value='mini'/> <param name='url' value='"+URLtoPlay+"'/> <param name='volume' value='70'/> <embed type='application/x-mplayer2' name='MyMediaPlayer' onDblClick='javascript:DoubleScreen(1)' src='"+URLtoPlay+"' width='470' height='300' autostart='True' sendplaystatechangeevents='True' uimode='mini' playcount='9999' stretchtofit='True' enablecontextmenu='True' 	bufferTime=10 autoPlay=true autoRewind=false swLiveConnect='true' >  </embed> </OBJECT>";
	  		   	Desc(71);  		  						window.open(URLtoPlay,"popup","resizable=yes,scrollbars=yes,statusbar=0,menubar=no,toolbar=no,status=no,location=no,width=700,height=500");
	  	  }
	 else
  		{ 
  			
	    playerName= document.MyMediaPlayer;
	    //alert(" Mozilla --" + document.MyMediaPlayer);
	    playerName.src=URLtoPlay;
	    //alert("url== "+playerName.url);
	    //alert("src== "+playerName.src);
	    if(URLtoPlay.indexOf(".mov")>1) {
	    	//alert("It's MOV");
	    	quicktime=1;
	    	playDiv.innerHTML= "<object classid='clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B' codebase='http://www.apple.com/qtactivex/qtplugin.cab' width='470' height='300' > <param name='src' value='"+URLtoPlay+"'/> <param name='autoplay' value='true'> <param name='CONTROLLER' VALUE='true'> <param name='SCALE' VALUE='tofit'> <param name='pluginspage' value='http://www.apple.com/QuickTime/download/' /> <embed src='"+URLtoPlay+"' width='470' height='300' autoplay='true' scale='tofit' controller='true' pluginspage='http://www.apple.com/quicktime/download/'> </embed> </object>"; 
	    	 	//alert("Changed to Quicktime");	
	    }
	    
			else {
					//alert("Changing inner HTML of "+playDiv);
					quicktime=0;
				playDiv.innerHTML= "<object classid='CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6' type='application/x-mplayer2' id='MyMediaPlayer' standby='Loading content...' onDblClick='javascript:DoubleScreen(1)'  codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701' height='300' width='470' >  <param name='autoStart' value='true'/> <param name='balance' value='0'/> <param name='currentPosition' value='0'/> <param name='enableContextMenu' value='false'/> <param name='enabled' value='true'/> <param name='fullScreen' value='false'/> <param name='mute' value='false'/>  <param name='playCount' value='1'/> <param name='rate' value='1.0'/> <param name='uiMode' value='mini'/> <param name='url' value='"+URLtoPlay+"'/> <param name='volume' value='70'/> <embed type='application/x-mplayer2' name='MyMediaPlayer' onDblClick='javascript:DoubleScreen(1)' src='"+URLtoPlay+"' width='470' height='300' autostart='True' sendplaystatechangeevents='True' uimode='mini' playcount='9999' stretchtofit='True' enablecontextmenu='True' 	bufferTime=10 autoPlay=true autoRewind=false swLiveConnect='true' >  </embed> </OBJECT>"; 
						//alert("Changed to WMP");
		  } // End of ELSE 
			
	   }
	   
	 }
}
  

function DoubleScreen(var1) {
	alert("Double Called");
	//window.document.MyMediaPlayer.fullScreen='true';
	}

function adultCheck(var1,var2,var3,var4,var5) {
	var adultDiv=document.getElementById("adult");
	adultDiv.innerHTML= " ";
  Play2(var1,var2,var3,var4,var5);
	}
	
function adultCheckNo() {
	var adultDiv=document.getElementById("adult");
	adultDiv.innerHTML= " ";  
	}
	
function showAdult(var1,var2,var3,var4,var5){	
		var adultDiv=document.getElementById("adult");
		
		adultDiv.innerHTML= "<div id='yes-adult' > <p>&nbsp;</p> <p><a href='javascript:adultCheck("+var1+","+var2+","+var3+","+var4+","+var5+")'><strong><font color='#009900'>Yes, i am 18 Years or older</font></strong></a></p> </div> <div id='no-adult'> <br> <a href='javascript:adultCheckNo()'><font color='#FF0000'><strong>No, I am not an adult</strong></font></a></div>"
    //document.getElementById("no-adult").style.display='inline-block';
}  

function changeDescription(var1)  {
	var descString = DetailsArray[var1-1];
	var descDiv = document.getElementById("descriptionDiv");
	descDiv.innerHTML= "<strong><u>"+descString+". </u></strong>."
}