function ro() {
  var d = document;
  if(d.images){
    if(!d.MM_p) d.MM_p=new Array();
    var anchorFields = d.getElementsByTagName('A');
    for ( var i =0; i <anchorFields.length ; i++  ) {
      var anchor = anchorFields[i];
      if ( !anchor.firstChild ) continue;
      if ( !anchor.firstChild.src ) continue;
      if ( new String(anchor.firstChild.src).match(/-out-/) ) {
        var src_on  = new String(anchor.firstChild.src).replace(/-out-/,'-on-') ;
        anchor.onmouseover = function () {this.firstChild.src = this.firstChild.src.replace(/-out-/,'-on-')};
        anchor.onmouseout  = function () {this.firstChild.src = this.firstChild.src.replace(/-on-/,'-out-')};
        d.MM_p[i] = new Image;
        d.MM_p[i].src = src_on;
      }
    }
  }
}

function ow(url,myWidth,myHeight,myWin){

 if(!myWidth ) myWidth=640
 if(!myHeight) myHeight=300
 if(!myWin ) myWin='_blank'
 myWin=window.open( url,myWin,"resizable=no,location=no,scrollbars=no,width="+myWidth+",height="+myHeight);
 myWin.focus();
}


function mycarousel_initCallback(carousel)
{
    // Disable autoscrolling if the user clicks the prev or next button.
    carousel.buttonNext.bind('click', function() {
        carousel.startAuto(0);
    });

    carousel.buttonPrev.bind('click', function() {
        carousel.startAuto(0);
    });

    // Pause autoscrolling if the user moves with the cursor over the clip.
    carousel.clip.hover(function() {
        carousel.stopAuto();
    }, function() {
        carousel.startAuto();
    });
};


function require( uri ) {
  document.write(unescape('%3Cscript type="text/javascript" src="'+uri+'"%3E%3C/script%3E'));
}
function selectEvent(sel) {
	var id = sel.options[sel.selectedIndex].value;
	if (id) {
		location.href='/event/detail/?id='+id;
	}
}
function selectEventArtist(sel) {
	var id = sel.options[sel.selectedIndex].value;
	if (id) {
		location.href='/event/artistlist/?id='+id;
	}
}

