function gotoVideo(id, daname){
	namearr = daname.split("<br>");
	new Ajax.Request("/video/"+id, {
	  method: 'get',
	  onSuccess: function(transport) {
	    Shadowbox.open({
	        title:      namearr[0],
	        type:       'html',
	        content:    transport.responseText,
        	animSequence:   'sync',
        	overlayOpacity: 0.5,	        
	        height:     355,
	        width:      425
	    });
	  }
	});

}
function gotoGallery(id, daname){
	var gals = $$('a.Gal'+id);
    Shadowbox.setup(gals, {
        title:            daname,
        gallery:		  'Gal'+id,
        autoplayMovies:     true,
        continuous:     true,
        counterType:    'skip',
        animSequence:   'sync'
    });
	Shadowbox.open(gals[0]); 
}