function WC(cookieName,cookieValue,expiry){ var expDate=new Date();if(expiry) {expDate.setTime(expDate.getTime()+(1000*60*60*24*expiry)); document.cookie=cookieName+"="+escape(cookieValue)+"; expires="+expDate.toGMTString(); } else { document.cookie=cookieName+"="+escape(cookieValue); }}
function RC(cookieName) {var theCookie=""+document.cookie;var ind=theCookie.indexOf(cookieName);if (ind==-1 || cookieName=="") return "";var ind1=theCookie.indexOf(';',ind);if (ind1==-1) ind1=theCookie.length;return unescape(theCookie.substring(ind+cookieName.length+1,ind1));}
function Init() {WC('DJ','JUDO'); top.window.moveTo(0,0); if(document.all) { top.window.resizeTo(screen.availWidth,screen.availHeight);  } else if (document.layers||document.getElementById) { if(top.window.outerHeight < screen.availHeight||top.window.outerWidth < screen.availWidth) { top.window.outerHeight = screen.availHeight; top.window.outerWidth = screen.availWidth;}};}
function btnOver(obj) { obj.style.color='Red';}
function btnOut(obj) { obj.style.color='White';}
function Play(u,r)
{
  if(navigator.appName == 'Microsoft Internet Explorer') {
    var v1 = document.getElementById('player1');
    v1.url = u;
    v1.settings.rate = r;
    //v1.settings.playCount = 15;
  } else {
    document.getElementById('vid').innerHTML = '<embed name="EmbedmediaPlayer" type="application/x-mplayer2" src="'+ u +'" width="320" height="305"  loop="true" uiMode="full" rate="'+r+'" />';
  }
}
function divx_vid(url, name, width, height)
{
  this.url=url;
  this.name=name;
  this.width=width;
  this.height=height;
}

