<!-- Original:  Martin Webb (martin@irt.org) -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
function right(e) {
if (navigator.appName == 'Firefox' && 
(e.which == 3 || e.which == 2))
return false;
else if (navigator.appName == 'Microsoft Internet Explorer' && 
(event.button == 2 || event.button == 3)) {
alert("Sorry, Right click is disabled for these pages.");
return false;
if (navigator.appName == 'Netscape' && 
(e.which == 3 || e.which == 2))
return false;
}
return true;
}

document.onmousedown=right;
document.onmouseup=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (document.layers) window.captureEvents(Event.MOUSEUP);
window.onmousedown=right;
window.onmouseup=right;

//  End -->




function openCast()
{
ul="default.asp?qpr=1";
cast=window.open(ul, 'nextWin', 'right=0, top=20,width=800,height=600, toolbar=no,scrollbars=no, resizable=yes');
}

function openCastUrl()
{
document.ObjMediaPlayer.filename="http://live.upstreamnetworks.com/15347-30158"
document.EmbMediaPlayer.src="http://live.upstreamnetworks.com/15347-30158"
}

function controlRatio()
{
window.resizeTo(800,600);
//alert("hello..");
}