/**
 * SWFObject v1.5: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
 *
 * SWFObject is (c) 2007 Geoff Stearns and is released under the MIT License:
 * http://www.opensource.org/licenses/mit-license.php
 *
 */
if (typeof deconcept == "undefined") { var deconcept = new Object(); } if (typeof deconcept.util == "undefined") { deconcept.util = new Object(); } if (typeof deconcept.SWFObjectUtil == "undefined") { deconcept.SWFObjectUtil = new Object(); } deconcept.SWFObject = function(_1, id, w, h, _5, c, _7, _8, _9, _a) { if (!document.getElementById) { return; } this.DETECT_KEY = _a ? _a : "detectflash"; this.skipDetect = deconcept.util.getRequestParameter(this.DETECT_KEY); this.params = new Object(); this.variables = new Object(); this.attributes = new Array(); if (_1) { this.setAttribute("swf", _1); } if (id) { this.setAttribute("id", id); } if (w) { this.setAttribute("width", w); } if (h) { this.setAttribute("height", h); } if (_5) { this.setAttribute("version", new deconcept.PlayerVersion(_5.toString().split("."))); } this.installedVer = deconcept.SWFObjectUtil.getPlayerVersion(); if (!window.opera && document.all && this.installedVer.major > 7) { deconcept.SWFObject.doPrepUnload = true; } if (c) { this.addParam("bgcolor", c); } var q = _7 ? _7 : "high"; this.addParam("quality", q); this.setAttribute("useExpressInstall", false); this.setAttribute("doExpressInstall", false); var _c = (_8) ? _8 : window.location; this.setAttribute("xiRedirectUrl", _c); this.setAttribute("redirectUrl", ""); if (_9) { this.setAttribute("redirectUrl", _9); } }; deconcept.SWFObject.prototype = { useExpressInstall: function(_d) { this.xiSWFPath = !_d ? "expressinstall.swf" : _d; this.setAttribute("useExpressInstall", true); }, setAttribute: function(_e, _f) { this.attributes[_e] = _f; }, getAttribute: function(_10) { return this.attributes[_10]; }, addParam: function(_11, _12) { this.params[_11] = _12; }, getParams: function() { return this.params; }, addVariable: function(_13, _14) { this.variables[_13] = _14; }, getVariable: function(_15) { return this.variables[_15]; }, getVariables: function() { return this.variables; }, getVariablePairs: function() { var _16 = new Array(); var key; var _18 = this.getVariables(); for (key in _18) { _16[_16.length] = key + "=" + _18[key]; } return _16; }, getSWFHTML: function() { var _19 = ""; if (navigator.plugins && navigator.mimeTypes && navigator.mimeTypes.length) { if (this.getAttribute("doExpressInstall")) { this.addVariable("MMplayerType", "PlugIn"); this.setAttribute("swf", this.xiSWFPath); } _19 = "<embed type=\"application/x-shockwave-flash\" src=\"" + this.getAttribute("swf") + "\" width=\"" + this.getAttribute("width") + "\" height=\"" + this.getAttribute("height") + "\" style=\"" + this.getAttribute("style") + "\""; _19 += " id=\"" + this.getAttribute("id") + "\" name=\"" + this.getAttribute("id") + "\" "; var _1a = this.getParams(); for (var key in _1a) { _19 += [key] + "=\"" + _1a[key] + "\" "; } var _1c = this.getVariablePairs().join("&"); if (_1c.length > 0) { _19 += "flashvars=\"" + _1c + "\""; } _19 += "/>"; } else { if (this.getAttribute("doExpressInstall")) { this.addVariable("MMplayerType", "ActiveX"); this.setAttribute("swf", this.xiSWFPath); } _19 = "<object id=\"" + this.getAttribute("id") + "\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\"" + this.getAttribute("width") + "\" height=\"" + this.getAttribute("height") + "\" style=\"" + this.getAttribute("style") + "\">"; _19 += "<param name=\"movie\" value=\"" + this.getAttribute("swf") + "\" />"; var _1d = this.getParams(); for (var key in _1d) { _19 += "<param name=\"" + key + "\" value=\"" + _1d[key] + "\" />"; } var _1f = this.getVariablePairs().join("&"); if (_1f.length > 0) { _19 += "<param name=\"flashvars\" value=\"" + _1f + "\" />"; } _19 += "</object>"; } return _19; }, write: function(_20) { if (this.getAttribute("useExpressInstall")) { var _21 = new deconcept.PlayerVersion([6, 0, 65]); if (this.installedVer.versionIsValid(_21) && !this.installedVer.versionIsValid(this.getAttribute("version"))) { this.setAttribute("doExpressInstall", true); this.addVariable("MMredirectURL", escape(this.getAttribute("xiRedirectUrl"))); document.title = document.title.slice(0, 47) + " - Flash Player Installation"; this.addVariable("MMdoctitle", document.title); } } if (this.skipDetect || this.getAttribute("doExpressInstall") || this.installedVer.versionIsValid(this.getAttribute("version"))) { var n = (typeof _20 == "string") ? document.getElementById(_20) : _20; n.innerHTML = this.getSWFHTML(); return true; } else { if (this.getAttribute("redirectUrl") != "") { document.location.replace(this.getAttribute("redirectUrl")); } } return false; } }; deconcept.SWFObjectUtil.getPlayerVersion = function() { var _23 = new deconcept.PlayerVersion([0, 0, 0]); if (navigator.plugins && navigator.mimeTypes.length) { var x = navigator.plugins["Shockwave Flash"]; if (x && x.description) { _23 = new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/, "").replace(/(\s+r|\s+b[0-9]+)/, ".").split(".")); } } else { if (navigator.userAgent && navigator.userAgent.indexOf("Windows CE") >= 0) { var axo = 1; var _26 = 3; while (axo) { try { _26++; axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash." + _26); _23 = new deconcept.PlayerVersion([_26, 0, 0]); } catch (e) { axo = null; } } } else { try { var axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"); } catch (e) { try { var axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"); _23 = new deconcept.PlayerVersion([6, 0, 21]); axo.AllowScriptAccess = "always"; } catch (e) { if (_23.major == 6) { return _23; } } try { axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash"); } catch (e) { } } if (axo != null) { _23 = new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(",")); } } } return _23; }; deconcept.PlayerVersion = function(_29) { this.major = _29[0] != null ? parseInt(_29[0]) : 0; this.minor = _29[1] != null ? parseInt(_29[1]) : 0; this.rev = _29[2] != null ? parseInt(_29[2]) : 0; }; deconcept.PlayerVersion.prototype.versionIsValid = function(fv) { if (this.major < fv.major) { return false; } if (this.major > fv.major) { return true; } if (this.minor < fv.minor) { return false; } if (this.minor > fv.minor) { return true; } if (this.rev < fv.rev) { return false; } return true; }; deconcept.util = { getRequestParameter: function(_2b) { var q = document.location.search || document.location.hash; if (_2b == null) { return q; } if (q) { var _2d = q.substring(1).split("&"); for (var i = 0; i < _2d.length; i++) { if (_2d[i].substring(0, _2d[i].indexOf("=")) == _2b) { return _2d[i].substring((_2d[i].indexOf("=") + 1)); } } } return ""; } }; deconcept.SWFObjectUtil.cleanupSWFs = function() { var _2f = document.getElementsByTagName("OBJECT"); for (var i = _2f.length - 1; i >= 0; i--) { _2f[i].style.display = "none"; for (var x in _2f[i]) { if (typeof _2f[i][x] == "function") { _2f[i][x] = function() { }; } } } }; if (deconcept.SWFObject.doPrepUnload) { if (!deconcept.unloadSet) { deconcept.SWFObjectUtil.prepUnload = function() { __flash_unloadHandler = function() { }; __flash_savedUnloadHandler = function() { }; window.attachEvent("onunload", deconcept.SWFObjectUtil.cleanupSWFs); }; window.attachEvent("onbeforeunload", deconcept.SWFObjectUtil.prepUnload); deconcept.unloadSet = true; } } if (!document.getElementById && document.all) { document.getElementById = function(id) { return document.all[id]; }; } var getQueryParamValue = deconcept.util.getRequestParameter; var FlashObject = deconcept.SWFObject; var SWFObject = deconcept.SWFObject;
var Broadcast_OS_Type; var Broadcast_Browser_Name; var Broadcast_Browser_Version; function DetectOsAndBrowser() { try { var BrowserDetect = { init: function() { this.browser = this.searchString(this.dataBrowser) || "An unknown browser"; this.version = this.searchVersion(navigator.userAgent) || this.searchVersion(navigator.appVersion) || "an unknown version"; this.OS = this.searchString(this.dataOS) || "an unknown OS"; }, searchString: function(data) { for (var i = 0; i < data.length; i++) { var dataString = data[i].string; var dataProp = data[i].prop; this.versionSearchString = data[i].versionSearch || data[i].identity; if (dataString) { if (dataString.indexOf(data[i].subString) != -1) return data[i].identity; } else if (dataProp) return data[i].identity; } }, searchVersion: function(dataString) { var index = dataString.indexOf(this.versionSearchString); if (index == -1) return; return parseFloat(dataString.substring(index + this.versionSearchString.length + 1)); }, dataBrowser: [{ string: navigator.userAgent, subString: "OmniWeb", versionSearch: "OmniWeb/", identity: "OmniWeb" }, { string: navigator.vendor, subString: "Apple", identity: "Safari" }, { prop: window.opera, identity: "Opera" }, { string: navigator.vendor, subString: "iCab", identity: "iCab" }, { string: navigator.vendor, subString: "KDE", identity: "Konqueror" }, { string: navigator.userAgent, subString: "Firefox", identity: "Firefox" }, { string: navigator.vendor, subString: "Camino", identity: "Camino" }, { string: navigator.userAgent, subString: "Netscape", identity: "Netscape" }, { string: navigator.userAgent, subString: "MSIE", identity: "Explorer", versionSearch: "MSIE" }, { string: navigator.userAgent, subString: "Gecko", identity: "Mozilla", versionSearch: "rv" }, { string: navigator.userAgent, subString: "Mozilla", identity: "Netscape", versionSearch: "Mozilla"}], dataOS: [{ string: navigator.platform, subString: "Win", identity: "Windows" }, { string: navigator.platform, subString: "Mac", identity: "Mac" }, { string: navigator.platform, subString: "Linux", identity: "Linux"}] }; } catch (e) { alert("Error Detected = " + e.message); alert("It Seems that you are not using a General Configuration for browsing internet or our detection system is outdated which shouldn't be the case !!\n\nSolution:\nPlease Try to Watch the Broadcast Under Windows Xp with Firefox 3 installed\n\nIf still having doubts then please visit http://forum.ignouonline.ac.in/"); } BrowserDetect.init(); Broadcast_OS_Type = BrowserDetect.OS; Broadcast_Browser_Name = BrowserDetect.browser; Broadcast_Browser_Version = BrowserDetect.version; } var urlgyanvani = "mms://124.124.36.51:80/"; var ProtocolForFlashWebcast = "rtmpt://"; var UrlFlash256Gyandarshan1Streamer = "124.124.36.23/live"; var UrlFlash256Gyandarshan2Streamer = "124.124.36.23/live"; var GD1Line2MenuFlash256 = '<br><a href="javascript:void(0)" onclick="MediaWrapperGyandarshan1Wmv128()" onmouseover="OnMouseOverGD1WMV128()" onmouseout="OnMouseOut()"><img src="../Broadcast/image/wmv128off.jpg" /></a><a href="javascript:void(0)" onclick="MediaWrapperGyandarshan1Wmv160_helix()" onmouseover="OnMouseOverGD1WMV256()" onmouseout="OnMouseOut()"><img src="../Broadcast/image/wmv160off.jpg" /></a><a href="javascript:void(0)" onmouseover="OnMouseOverGD1WMV256()" onmouseout="OnMouseOut()" onclick="MediaWrapperGyandarshan1Wmv256()"><img src="../Broadcast/image/wmv256off.jpg" /></a><a href="javascript:AlreadyLoaded()" onmouseover="OnMouseOverGD1Flash256()" onmouseout="OnMouseOut()"><img src="../Broadcast/image/flash256on.jpg" /></a>'; var GD2Line2MenuFlash256 = '<br><a href="javascript:void(0)" onclick="MediaWrapperGyandarshan2Wmv128()" onmouseover="OnMouseOverGD2WMV128()" onmouseout="OnMouseOut()"><img src="../Broadcast/image/wmv128off.jpg" /></a><a href="javascript:void(0)" onclick="MediaWrapperGyandarshan2Wmv160_helix()" onmouseover="OnMouseOverGD2WMV160()" onmouseout="OnMouseOut()"><img src="../Broadcast/image/wmv160off.jpg" /></a><a href="javascript:void(0)" onmouseover="OnMouseOverGD2WMV256()" onmouseout="OnMouseOut()" onclick="MediaWrapperGyandarshan2Wmv256()"><img src="../Broadcast/image/wmv256off.jpg" /></a><a href="javascript:AlreadyLoaded()" onmouseover="OnMouseOverGD2Flash256()" onmouseout="OnMouseOut()"><img src="../Broadcast/image/flash256on.jpg" /></a>'; var GyanvaaniPlayer56 = '<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/" width="325" height="65" src="' + urlgyanvani + '" autostart="True" showcontrols="True" ShowStatusBar="True" showdisplay="False" autorewind="False" stretchtofit="True"></embed>'; var GD1Line1PlayerWmv160 = '<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/" width="325" height="300" src="mms://live.ignouonline.ac.in/wmtencoder/gd1" autostart="True" showcontrols="True" ShowStatusBar="True" showdisplay="False" autorewind="False" stretchtofit="True"></embed>'; var GD1Line1PlayerWmv128 = '<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/" width="325" height="300" src="mms://124.124.36.38/gd1" autostart="True" autosize="False" showcontrols="True" ShowStatusBar="True" showdisplay="False" autorewind="True" stretchtofit="False"></embed>'; var GD2Line1PlayerWmv160 = '<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/" width="325" height="300" src="mms://live.ignouonline.ac.in/wmtencoder/gd2" autostart="True" showcontrols="True" ShowStatusBar="True" showdisplay="False" autorewind="False" stretchtofit="True"></embed>'; var GD2Line1PlayerWmv128 = '<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/" width="325" height="300" src="mms://124.124.36.38/gd2" autostart="True" autosize="False" showcontrols="True" ShowStatusBar="True" showdisplay="False" autorewind="True" stretchtofit="False"></embed>'; var GD1Line2MenuWmv160 = '<br><a href="javascript:void(0)" onclick="MediaWrapperGyandarshan1Wmv128()" onmouseover="OnMouseOverGD1WMV128()" onmouseout="OnMouseOut()"><img src="../Broadcast/image/wmv128off.jpg" /></a><a href="javascript:AlreadyLoaded()" onmouseover="OnMouseOverGD1WMV256()" onmouseout="OnMouseOut()"><img src="../Broadcast/image/wmv160on.jpg" /></a><a href="javascript:void(0)" onmouseover="OnMouseOverGD1WMV256()" onmouseout="OnMouseOut()" onclick="MediaWrapperGyandarshan1Wmv256()"><img src="../Broadcast/image/wmv256off.jpg" /></a><a href="javascript:void(0)" onclick="MediaWrapperGyandarshan1Flash256Kbps()" onmouseover="OnMouseOverGD1Flash256()" onmouseout="OnMouseOut()"><img src="../Broadcast/image/flash256off.jpg" /></a>'; var GD1Line2MenuWmv128 = '<br><a href="javascript:AlreadyLoaded()" onmouseover="OnMouseOverGD1WMV128()" onmouseout="OnMouseOut()"><img src="../Broadcast/image/wmv128on.jpg" /></a><a href="javascript:void(0)" onclick="MediaWrapperGyandarshan1Wmv160_helix()" onmouseover="OnMouseOverGD1WMV256()" onmouseout="OnMouseOut()"><img src="../Broadcast/image/wmv160off.jpg" /></a><a href="javascript:void(0)" onclick="MediaWrapperGyandarshan1Wmv256()" onmouseover="OnMouseOverGD1WMV256()" onmouseout="OnMouseOut()"><img src="../Broadcast/image/wmv256off.jpg" /></a><a href="javascript:void(0)" onclick="MediaWrapperGyandarshan1Flash256Kbps()" onmouseover="OnMouseOverGD1Flash256()" onmouseout="OnMouseOut()"><img src="../Broadcast/image/flash256off.jpg" /></a>'; var GD2Line2MenuWmv160 = '<br><a href="javascript:void(0)" onclick="MediaWrapperGyandarshan2Wmv128()" onmouseover="OnMouseOverGD2WMV128()" onmouseout="OnMouseOut()"><img src="../Broadcast/image/wmv128off.jpg" /></a><a href="javascript:AlreadyLoaded()" onmouseover="OnMouseOverGD2WMV160()" onmouseout="OnMouseOut()"><img src="../Broadcast/image/wmv160on.jpg" /></a><a href="javascript:void(0)" onmouseover="OnMouseOverGD2WMV256()" onmouseout="OnMouseOut()" onclick="MediaWrapperGyandarshan2Wmv256()"><img src="../Broadcast/image/wmv256off.jpg" /></a><a href="javascript:void(0)" onclick="MediaWrapperGyandarshan2Flash256Kbps()" onmouseover="OnMouseOverGD2Flash256()" onmouseout="OnMouseOut()"><img src="../Broadcast/image/flash256off.jpg" /></a>'; var GD2Line2MenuWmv128 = '<br><a href="javascript:AlreadyLoaded()" onmouseover="OnMouseOverGD2WMV128()" onmouseout="OnMouseOut()"><img src="../Broadcast/image/wmv128on.jpg" /></a><a href="javascript:void(0)" onclick="MediaWrapperGyandarshan2Wmv160_helix()" onmouseover="OnMouseOverGD2WMV160()" onmouseout="OnMouseOut()"><img src="../Broadcast/image/wmv160off.jpg" /></a><a href="javascript:void(0)" onclick="MediaWrapperGyandarshan2Wmv256()" onmouseover="OnMouseOverGD2WMV256()" onmouseout="OnMouseOut()"><img src="../Broadcast/image/wmv256off.jpg" /></a><a href="javascript:void(0)" onclick="MediaWrapperGyandarshan2Flash256Kbps()" onmouseover="OnMouseOverGD2Flash256()" onmouseout="OnMouseOut()"><img src="../Broadcast/image/flash256off.jpg" /></a>'; var adobeInstallMessage = '<br /><br /><br /><span style="color:red;font-size:medium;font-weight:bold">Adobe Flash Player 10 Required!</span><br /><br /><a href="http://www.adobe.com/go/getflashplayer" style="color:yellow;font-weight:bold;text-decoration:underline;">Click Here to Download and Install</a><br /><br />Please do not forget to restart your browser after installation.<br/><br />If still not satisfied then view our <a href="http://forum.ignouonline.ac.in/forum/" style="color:white;text-decoration:underline;" target="_blank">Discussion Forum</a><br /><br /><br /> <br />'; var randomnumber = 4; var BroadcastScheduleTextGD1 = '<span style="font-size:smaller;">Broadcast Schedule for <a href="http://www.ignou.ac.in/gyandarshan/gyanprogram.html" target="_blank" style="color: black; text-decoration: underline;font-weight:bold;">Gyandarshan I</a></span><br /><br />'; var BroadcastScheduleTextGyanvani = '<span style="font-size:smaller;">Broadcast Schedule for <a href="http://www.ignou.ac.in/gyandarshan/" target="_blank" style="color: black; text-decoration: underline;font-weight:bold;">Gyanvani</a></span><br /><br />'; var histatsload = '<a href="http://www.histats.com" alt="free site statistics"><embed src="http://s10.histats.com/600.swf"  flashvars="jver=1&acsid=351085&domi=4&cpagid=0"  quality="high"  width="110" height="30" name="600.swf"  align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" /></a>'; var addthistoolbar = '<a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&amp;pub=egyankoshignou"><img src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a>'; var GD1UnClicked = '<a href="javascript:void(0)" onclick="DefaultPlayerGD1()"><img src="../Broadcast/buttons1/GDI.gif" alt="Gyandarshan I"/></a><br /><br />'; var GD1Clicked = '<a href="javascript:void(0)" onclick="DefaultPlayerGD1()"><img src="../Broadcast/buttons1/VGDI.gif" alt="Gyandarshan I"/></a><br /><br />'; var GD2UnClicked = '<a href="javascript:void(0)" onclick="DefaultPlayerGD2()"><img src="../Broadcast/buttons1/GDII.gif" alt="Gyandarshan II"/></a><br /><br />'; var GD2Clicked = '<a href="javascript:void(0)" onclick="DefaultPlayerGD2()"><img src="../Broadcast/buttons1/VGDII.gif" alt="Gyandarshan II"/></a><br /><br />'; var GD2Click = '<a href="javascript:void(0)" onclick="DefaultPlayerGD2()"><img src="../Broadcast/buttons1/GDII.gif" alt="Gyandarshan II"/></a><br /><br />'; var GyanvaniClicked = '<a href="javascript:void(0)" onclick="DefaultPlayerGyanvaani()"><img src="../Broadcast/buttons1/VGVani.gif" alt="Gyanvaani"/></a>'; var GyanvaniUnClicked = '<a href="javascript:void(0)" onclick="DefaultPlayerGyanvaani()"><img src="../Broadcast/buttons1/GVani.gif" alt="Gyanvaani"/></a>'; var StatusFirefoxWindowsPluginStatusChecked = false; var DelayDivHide = 20000; var WindowsMediaPluginDetected = false; function OnSelectIgnouEventsPlayList() { document.getElementById("PlayListContainer").innerHTML = '<object width="746" height="413"><param name="movie" value="http://www.youtube.com/cp/' + document.getElementById("selectexample").value + '"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/cp/' + document.getElementById("selectexample").value + '" type="application/x-shockwave-flash" width="746" height="413" allowfullscreen="true"></embed></object>'; } function LoadMainBody() { MM_preloadImages('buttons/ChannelsRollover.gif', 'buttons/VirtualClassRollover.gif', 'buttons/eGyankoshRollover.gif', 'buttons/SakshatUpRollover.gif', 'buttons/feedbackRollover.gif', 'buttons/ContactUsRollover.gif'); } function AlreadyLoaded() { alert('You are currently using this option only !!'); } function loadHistats() { document.getElementById("histats").innerHTML = histatsload; document.getElementById("addthistoolbar").innerHTML = addthistoolbar; } var customElementNavigateChannelsMenu = document.getElementById("NavigateChannelsMenu"); function loadGD1SelectedChannelImage() { document.getElementById("NavigateChannelsMenu").innerHTML = GD1Clicked + GD2UnClicked + GyanvaniUnClicked; } function loadGD2SelectedChannelImage() { document.getElementById("NavigateChannelsMenu").innerHTML = GD1UnClicked + GD2Clicked + GyanvaniUnClicked; } function loadGyanvaaniSelectedChannelImage() { document.getElementById("NavigateChannelsMenu").innerHTML = GD1UnClicked + GD2UnClicked + GyanvaniClicked; } function launchGD1Description() { document.getElementById("ChannelImage").innerHTML = '<img src="../Broadcast/images/darshan.jpg" alt="" />'; document.getElementById("ChannelDescription").innerHTML = '<b>GyanDarshan - I</b> - A satellite based TV channel devoted to educational and developmental needs of the society.<br /><br />A bouquet of four channels providing round the clock service aiming at primary, secondary, higher and technical education.<br /><br /><div style="width:100%;text-align:right;"><a href="http://www.ignou.ac.in/divisions/empc/index.htm" target="_blank" style="color:#333333;font-weight:bold;text-decoration:underline;font-size:large">more..</a></div>' + BroadcastScheduleTextGD1; loadGD1SelectedChannelImage(); } function launchGD2Description() { document.getElementById("ChannelImage").innerHTML = '<img src="../Broadcast/images/EduSat.jpg" alt="" />'; document.getElementById("ChannelDescription").innerHTML = '<b>GyanDarshan-II / Edusat</b> - An exclusive educational satellite to provide interactive education using DVB-RCS technology. <br /><br />It offers distance education through Virtual Class Room mode and provides access to digital repository of educational content hosted at IGNOU.<br /><div style="width:100%;text-align:right;"><a href="http://www.ignou.ac.in/divisions/empc/index.htm" target="_blank" style="color:#333333;font-weight:bold;text-decoration:underline;font-size:large">more..</a></div>' + BroadcastScheduleTextGD2; loadGD2SelectedChannelImage(); } function launchGyanvaaniDescription() { document.getElementById("ChannelImage").innerHTML = '<br /><img src="../Broadcast/images/Vani.gif" alt="" / style="height: 54px;padding-top:10px;">'; document.getElementById("ChannelDescription").innerHTML = '<b>Gyanvani</b> - An educational FM Radio network providing programmes covering different aspects and levels of education including Primary and Secondary Education, Adult Education, Technical and vocational Education, Higher Education and Extension Education<br /><div style="width:100%;text-align:right;"><a href="http://www.ignou.ac.in/divisions/empc/index.htm" target="_blank" style="color:#333333;font-weight:bold;text-decoration:underline;font-size:large">more..</a></div>' + BroadcastScheduleTextGyanvani; loadGyanvaaniSelectedChannelImage(); } function checkcaseGD1() { switch (randomnumber) { case 1: MediaWrapperGyandarshan1Wmv160_helix(); break; case 2: MediaWrapperGyandarshan1Wmv160_helix(); break; case 3: MediaWrapperGyandarshan1Wmv160_helix(); break; case 4: MediaWrapperGyandarshan1Wmv160_helix(); break; case 5: MediaWrapperGyandarshan1Wmv160_helix(); break; case 6: MediaWrapperGyandarshan1Flash256Kbps(); break; case 7: MediaWrapperGyandarshan1Flash256Kbps(); break; case 8: MediaWrapperGyandarshan1Flash256Kbps(); break; case 9: MediaWrapperGyandarshan1Flash256Kbps(); break; case 10: MediaWrapperGyandarshan1Flash256Kbps(); break; default: MediaWrapperGyandarshan1Wmv160_helix(); break; } } function checkcaseGD2() { switch (randomnumber) { case 1: MediaWrapperGyandarshan2Wmv160_helix(); break; case 2: MediaWrapperGyandarshan2Wmv160_helix(); break; case 3: MediaWrapperGyandarshan2Wmv160_helix(); break; case 4: MediaWrapperGyandarshan2Wmv160_helix(); break; case 5: MediaWrapperGyandarshan2Wmv160_helix(); break; case 6: MediaWrapperGyandarshan2Flash256Kbps(); break; case 7: MediaWrapperGyandarshan2Flash256Kbps(); break; case 8: MediaWrapperGyandarshan2Flash256Kbps(); break; case 9: MediaWrapperGyandarshan2Flash256Kbps(); break; case 10: MediaWrapperGyandarshan2Flash256Kbps(); break; default: MediaWrapperGyandarshan2Wmv160_helix(); break; } } function DelayOnMouseOverDescription() { document.getElementById("DivAlert").style.display = 'none'; } function DelayDivIEWarning() { document.getElementById("DivIEWarning").style.display = 'none'; } function DetectIEWarning() { if (Broadcast_OS_Type == "Windows") { if (Broadcast_Browser_Name == "Explorer") { document.getElementById("DivIEWarning").style.display = 'block'; window.setTimeout(DelayDivIEWarning, 10000); } } } function RestartWarning() { alert("Please Do not forget to RESTART your internet browser after installation of the plugin link after this message."); } function checkFirefoxCompatibilityWithExplorer() { if (Broadcast_OS_Type == "Windows") { if ((Broadcast_Browser_Name == "Firefox") || (Broadcast_Browser_Name == "Safari") || (Broadcast_Browser_Name == "Opera")) { if (StatusFirefoxWindowsPluginStatusChecked == false) { for (var i = 0; i < navigator.plugins.length; i++) { if (navigator.plugins[i].filename == "np-mswmp.dll") { WindowsMediaPluginDetected = true; } } if (WindowsMediaPluginDetected == true) { } else { document.getElementById("DivAlert").style.display = 'block'; document.getElementById("DivAlert").innerHTML = '<span style="font-style:italic;font-weight:bold;color:Red;font-size:larger; text-decoration: blink;">Firefox/Safari/Opera Browser Detected!</span><br />Windows Media Player Plugin might be <strong>NOT</strong> installed CORRECTLY.<br /><a href="http://port25.technet.com/videos/downloads/wmpfirefoxplugin.exe" style="color:Black;font-size:larger;font-weight:bold;text-decoration:underline;" onclick="javascript:RestartWarning();">Click Here</a> to download the <strong>LATEST</strong> Windows Media Player Plugin<br />This message will be only displayed once for this session and will auto close in next <strong>8</strong> seconds.For Viewing it again kindly <strong>REFRESH</strong> this page by pressing <strong>F5</strong> button.'; window.setTimeout(DelayOnMouseOverDescription, DelayDivHide); } StatusFirefoxWindowsPluginStatusChecked = true; } } else if (Broadcast_Browser_Name == "Explorer") { } else { document.getElementById("DivAlert").style.display = 'block'; document.getElementById("DivAlert").innerHTML = '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="font-style:italic;font-weight:bold;color:Red;font-size:larger; text-decoration: blink;">Unknown Browser Detected!</span><br />In case you are <strong>NOT</strong> able to view Windows Media Player Plugin then use other conventional internet browsers like Mozilla Firefox, Internet Explorer etc<br /><span>This message will be only displayed once for this session and will auto close in next <strong>8</strong> seconds.For Viewing it again kindly <strong>REFRESH</strong> this page by pressing <strong>F5</strong> button.</span>'; window.setTimeout(DelayOnMouseOverDescription, DelayDivHide); } } } function combinebothGD1() { randomnumbergenerator(); checkcaseGD1(); } function combinebothGD2() { randomnumbergenerator(); checkcaseGD2(); } function randomnumbergenerator() { randomnumber = Math.floor(Math.random() * 11); } function DefaultPlayerGD1() { launchGD1Description(); if (Broadcast_Browser_Name == "Explorer") { combinebothGD1(); } else { MediaWrapperGyandarshan1Flash256Kbps(); } } function DefaultPlayerGD2() { launchGD2Description(); if (Broadcast_Browser_Name == "Explorer") { combinebothGD2(); } else { MediaWrapperGyandarshan2Flash256Kbps(); } } function DefaultPlayerGyanvaani() { document.getElementById("container").innerHTML = '&nbsp;'; document.getElementById("container").innerHTML = '<img src="../Broadcast/images/wave.gif" alt="" /><br />' + GyanvaaniPlayer56; document.getElementById("mediaplayerwrapper").innerHTML = '&nbsp;'; document.getElementById("OnMouseOverDescription").innerHTML = '&nbsp;'; launchGyanvaaniDescription(); checkFirefoxCompatibilityWithExplorer(); } var GD1FlashLoaded = false; var GD2FlashLoaded = false; var ObjectFlashGD1, ObjectFlashGD2; function MediaWrapperGyandarshan1Flash256Kbps() { document.getElementById("container").innerHTML = adobeInstallMessage; if (GD1FlashLoaded == false) { var flashvarForGD1 = "&streamer=" + ProtocolForFlashWebcast + UrlFlash256Gyandarshan1Streamer + "&file=gd1&type=rtmp&abouttext=LIVE%20Webcast%20by%20eGyanKosh%20IGNOU&aboutlink=http://www.ignouonline.ac.in&autostart=true"; ObjectFlashGD1 = new SWFObject("player.swf", "ply", "350", "300", "10", "#FFFFFF"); ObjectFlashGD1.addParam("allowfullscreen", "true"); ObjectFlashGD1.addParam("allowscriptaccess", "always"); ObjectFlashGD1.addParam("flashvars", flashvarForGD1); ObjectFlashGD1.useExpressInstall("expressinstall.swf"); GD1FlashLoaded = true; } else { } ObjectFlashGD1.write("container"); document.getElementById("mediaplayerwrapper").innerHTML = GD1Line2MenuFlash256; document.getElementById("OnMouseOverDescription").innerHTML = '&nbsp;'; } function MediaWrapperGyandarshan2Flash256Kbps() { document.getElementById("container").innerHTML = adobeInstallMessage; if (GD2FlashLoaded == false) { var flashvarforGD2 = "&streamer=" + ProtocolForFlashWebcast + UrlFlash256Gyandarshan2Streamer + "&file=gd2&type=rtmp&abouttext=LIVE%20Webcast%20by%20eGyanKosh%20IGNOU&aboutlink=http://www.ignouonline.ac.in&autostart=true"; ObjectFlashGD2 = new SWFObject("player.swf", "ply", "350", "300", "10", "#FFFFFF"); ObjectFlashGD2.addParam("allowfullscreen", "true"); ObjectFlashGD2.addParam("allowscriptaccess", "always"); ObjectFlashGD2.addParam("flashvars", flashvarforGD2); ObjectFlashGD2.useExpressInstall("expressinstall.swf"); GD2FlashLoaded = true; } else { } ObjectFlashGD2.write("container"); document.getElementById("mediaplayerwrapper").innerHTML = GD2Line2MenuFlash256; document.getElementById("OnMouseOverDescription").innerHTML = '&nbsp;'; } function MediaWrapperGyandarshan1Wmv160_helix() { document.getElementById("container").innerHTML = '&nbsp;'; document.getElementById("container").innerHTML = GD1Line1PlayerWmv160; document.getElementById("mediaplayerwrapper").innerHTML = GD1Line2MenuWmv160; document.getElementById("OnMouseOverDescription").innerHTML = '&nbsp;'; checkFirefoxCompatibilityWithExplorer(); } function MediaWrapperGyandarshan2Wmv160_helix() { document.getElementById("container").innerHTML = '&nbsp;'; document.getElementById("container").innerHTML = GD2Line1PlayerWmv160; document.getElementById("mediaplayerwrapper").innerHTML = GD2Line2MenuWmv160; document.getElementById("OnMouseOverDescription").innerHTML = '&nbsp;'; checkFirefoxCompatibilityWithExplorer(); } function MediaWrapperGyandarshan1Wmv256() { MediaWrapperGyandarshan1Wmv160_helix(); } function MediaWrapperGyandarshan2Wmv256() { MediaWrapperGyandarshan2Wmv160_helix(); } function MediaWrapperGyandarshan1Wmv128() { document.getElementById("container").innerHTML = '&nbsp;'; document.getElementById("container").innerHTML = GD1Line1PlayerWmv128; document.getElementById("mediaplayerwrapper").innerHTML = GD1Line2MenuWmv128; document.getElementById("OnMouseOverDescription").innerHTML = '&nbsp;'; checkFirefoxCompatibilityWithExplorer(); } function MediaWrapperGyandarshan2Wmv128() { document.getElementById("container").innerHTML = '&nbsp;'; document.getElementById("container").innerHTML = GD2Line1PlayerWmv128; document.getElementById("mediaplayerwrapper").innerHTML = GD2Line2MenuWmv128; document.getElementById("OnMouseOverDescription").innerHTML = '&nbsp;'; checkFirefoxCompatibilityWithExplorer(); } function OnMouseOverGD1WMV128() { document.getElementById("OnMouseOverDescription").innerHTML = 'Plays under Windows Media Player @ 128 Kbps'; } function OnMouseOverGD2WMV128() { document.getElementById("OnMouseOverDescription").innerHTML = 'Plays under Windows Media Player @ 128 Kbps'; } function OnMouseOverGD1WMV256() { document.getElementById("OnMouseOverDescription").innerHTML = 'Plays under Windows Media Player @ 256 Kbps'; } function OnMouseOverGD2WMV256() { document.getElementById("OnMouseOverDescription").innerHTML = 'Plays under Windows Media Player @ 256 Kbps'; } function OnMouseOverGD2WMV160() { document.getElementById("OnMouseOverDescription").innerHTML = 'Plays under Windows Media Player @ 160 Kbps'; } function OnMouseOverGD1Flash256() { document.getElementById("OnMouseOverDescription").innerHTML = 'Plays under Adobe Flash @ 256 Kbps'; } function OnMouseOverGD2Flash256() { document.getElementById("OnMouseOverDescription").innerHTML = 'Plays under Adobe Flash @ 256 Kbps'; } function OnMouseOut() { document.getElementById("OnMouseOverDescription").innerHTML = '&nbsp;'; } DetectOsAndBrowser();