/**
 * @author Bruno Bornsztein <bruno@missingmethod.com>
 * @copyright 2007 Curbly LLC
 * @package Glider
 * @license MIT
 * @url http://www.missingmethod.com/projects/glider/
 * @version 0.0.3
 * @dependencies prototype.js 1.5.1+, effects.js
 */

/*  Thanks to Andrew Dupont for refactoring help and code cleanup - http://andrewdupont.net/  */


//大学生
Glider = Class.create();
Object.extend(Object.extend(Glider.prototype, Abstract.prototype), {
	initialize: function(wrapper, options){
	    this.scrolling  = false;
	    this.wrapper    = $(wrapper);
	    this.scroller   = this.wrapper.down('div.scroller');
	    this.sections   = this.wrapper.getElementsBySelector('div.section');
	    this.options    = Object.extend({ duration: 1.0, frequency: 3 }, options || {});

	    this.sections.each( function(section, index) {
	      section._index = index;
	    });    

	    this.events = {
	      click: this.click.bind(this)
	    };

	    this.addObservers();
			if(this.options.initialSection) this.moveTo(this.options.initialSection, this.scroller, { duration:this.options.duration });  // initialSection should be the id of the section you want to show up on load
			if(this.options.autoGlide) this.start();
	  },
	
  addObservers: function() {
    var controls = this.wrapper.getElementsBySelector('div.gallerynav a');
    controls.invoke('observe', 'click', this.events.click);
  },	

  click: function(event) {
		this.stop();
    var element = Event.findElement(event, 'a');
    if (this.scrolling) this.scrolling.cancel();
    
    this.moveTo(element.href.split("#")[1], this.scroller, { duration:this.options.duration });     
    Event.stop(event);
  },

	moveTo: function(element, container, options){
			this.current = $(element);

			Position.prepare();
	    var containerOffset = Position.cumulativeOffset(container),
	     elementOffset = Position.cumulativeOffset($(element));

		  this.scrolling 	= new Effect.SmoothScroll(container, 
				{duration:options.duration, x:(elementOffset[0]-containerOffset[0]), y:(elementOffset[1]-containerOffset[1])});
		  return false;
		},
		
  next: function(){
    if (this.current) {
      var currentIndex = this.current._index;
      var nextIndex = (this.sections.length - 1 == currentIndex) ? 0 : currentIndex + 1;      
    } else var nextIndex = 1;

    this.moveTo(this.sections[nextIndex], this.scroller, { 
      duration: this.options.duration
    });

  },
	
  previous: function(){
    if (this.current) {
      var currentIndex = this.current._index;
      var prevIndex = (currentIndex == 0) ? this.sections.length - 1 : 
       currentIndex - 1;
    } else var prevIndex = this.sections.length - 1;
    
    this.moveTo(this.sections[prevIndex], this.scroller, { 
      duration: this.options.duration
    });
  },

	stop: function()
	{
		clearTimeout(this.timer);
	},
	
	start: function()
	{
		this.periodicallyUpdate();
	},
		
	periodicallyUpdate: function()
	{ 
		if (this.timer != null) {
			clearTimeout(this.timer);
			this.next();
		}
		this.timer = setTimeout(this.periodicallyUpdate.bind(this), this.options.frequency*1000);
	}

});

//中学生
Glider2 = Class.create();
Object.extend(Object.extend(Glider2.prototype, Abstract.prototype), {
	initialize: function(wrapper, options){
	    this.scrolling  = false;
	    this.wrapper    = $(wrapper);
	    this.scroller   = this.wrapper.down('div.scroller');
	    this.sections   = this.wrapper.getElementsBySelector('div.section');
	    this.options    = Object.extend({ duration: 1.0, frequency: 3 }, options || {});

	    this.sections.each( function(section, index) {
	      section._index = index;
	    });    

	    this.events = {
	      click: this.click.bind(this)
	    };

	    this.addObservers();
			if(this.options.initialSection) this.moveTo(this.options.initialSection, this.scroller, { duration:this.options.duration });  // initialSection should be the id of the section you want to show up on load
			if(this.options.autoGlide) this.start();
	  },
	
  addObservers: function() {
    var controls = this.wrapper.getElementsBySelector('div.gallerynav a');
    controls.invoke('observe', 'click', this.events.click);
  },	

  click: function(event) {
		this.stop();
    var element = Event.findElement(event, 'a');
    if (this.scrolling) this.scrolling.cancel();
    
    this.moveTo(element.href.split("#")[1], this.scroller, { duration:this.options.duration });     
    Event.stop(event);
  },

	moveTo: function(element, container, options){
			this.current = $(element);

			Position.prepare();
	    var containerOffset = Position.cumulativeOffset(container),
	     elementOffset = Position.cumulativeOffset($(element));

		  this.scrolling 	= new Effect.SmoothScroll(container, 
				{duration:options.duration, x:(elementOffset[0]-containerOffset[0]), y:(elementOffset[1]-containerOffset[1])});
		  return false;
		},
		
  next: function(){
    if (this.current) {
      var currentIndex = this.current._index;
      var nextIndex = (this.sections.length - 1 == currentIndex) ? 0 : currentIndex + 1;      
    } else var nextIndex = 1;

    this.moveTo(this.sections[nextIndex], this.scroller, { 
      duration: this.options.duration
    });
  },
	
  previous: function(){
    if (this.current) {
      var currentIndex = this.current._index;
      var prevIndex = (currentIndex == 0) ? this.sections.length - 1 : 
       currentIndex - 1;
    } else var prevIndex = this.sections.length - 1;
    
    this.moveTo(this.sections[prevIndex], this.scroller, { 
      duration: this.options.duration
    });
  },

	stop: function()
	{
		clearTimeout(this.timer);
	},
	
	start: function()
	{
		this.periodicallyUpdate();
	},
		
	periodicallyUpdate: function()
	{ 
		if (this.timer != null) {
			clearTimeout(this.timer);
			this.next();
		}
		this.timer = setTimeout(this.periodicallyUpdate.bind(this), this.options.frequency*1000);
	}

});


//小学生
Glider3 = Class.create();
Object.extend(Object.extend(Glider3.prototype, Abstract.prototype), {
	initialize: function(wrapper, options){
	    this.scrolling  = false;
	    this.wrapper    = $(wrapper);
	    this.scroller   = this.wrapper.down('div.scroller');
	    this.sections   = this.wrapper.getElementsBySelector('div.section');
	    this.options    = Object.extend({ duration: 1.0, frequency: 3 }, options || {});

	    this.sections.each( function(section, index) {
	      section._index = index;
	    });    

	    this.events = {
	      click: this.click.bind(this)
	    };

	    this.addObservers();
			if(this.options.initialSection) this.moveTo(this.options.initialSection, this.scroller, { duration:this.options.duration });  // initialSection should be the id of the section you want to show up on load
			if(this.options.autoGlide) this.start();
	  },
	
  addObservers: function() {
    var controls = this.wrapper.getElementsBySelector('div.gallerynav a');
    controls.invoke('observe', 'click', this.events.click);
  },	

  click: function(event) {
		this.stop();
    var element = Event.findElement(event, 'a');
    if (this.scrolling) this.scrolling.cancel();
    
    this.moveTo(element.href.split("#")[1], this.scroller, { duration:this.options.duration });     
    Event.stop(event);
  },

	moveTo: function(element, container, options){
			this.current = $(element);

			Position.prepare();
	    var containerOffset = Position.cumulativeOffset(container),
	     elementOffset = Position.cumulativeOffset($(element));

		  this.scrolling 	= new Effect.SmoothScroll(container, 
				{duration:options.duration, x:(elementOffset[0]-containerOffset[0]), y:(elementOffset[1]-containerOffset[1])});
		  return false;
		},
		
  next: function(){
    if (this.current) {
      var currentIndex = this.current._index;
      var nextIndex = (this.sections.length - 1 == currentIndex) ? 0 : currentIndex + 1;      
    } else var nextIndex = 1;

    this.moveTo(this.sections[nextIndex], this.scroller, { 
      duration: this.options.duration
    });
  },
	
  previous: function(){
    if (this.current) {
      var currentIndex = this.current._index;
      var prevIndex = (currentIndex == 0) ? this.sections.length - 1 : 
       currentIndex - 1;
    } else var prevIndex = this.sections.length - 1;
    
    this.moveTo(this.sections[prevIndex], this.scroller, { 
      duration: this.options.duration
    });
  },

	stop: function()
	{
		clearTimeout(this.timer);
	},
	
	start: function()
	{
		this.periodicallyUpdate();
	},
		
	periodicallyUpdate: function()
	{ 
		if (this.timer != null) {
			clearTimeout(this.timer);
			this.next();
		}
		this.timer = setTimeout(this.periodicallyUpdate.bind(this), this.options.frequency*1000);
	}

});


//Tokyo International School
Glider4 = Class.create();
Object.extend(Object.extend(Glider4.prototype, Abstract.prototype), {
	initialize: function(wrapper, options){
	    this.scrolling  = false;
	    this.wrapper    = $(wrapper);
	    this.scroller   = this.wrapper.down('div.scroller');
	    this.sections   = this.wrapper.getElementsBySelector('div.section');
	    this.options    = Object.extend({ duration: 1.0, frequency: 3 }, options || {});

	    this.sections.each( function(section, index) {
	      section._index = index;
	    });    

	    this.events = {
	      click: this.click.bind(this)
	    };

	    this.addObservers();
			if(this.options.initialSection) this.moveTo(this.options.initialSection, this.scroller, { duration:this.options.duration });  // initialSection should be the id of the section you want to show up on load
			if(this.options.autoGlide) this.start();
	  },
	
  addObservers: function() {
    var controls = this.wrapper.getElementsBySelector('div.gallerynav a');
    controls.invoke('observe', 'click', this.events.click);
  },	

  click: function(event) {
		this.stop();
    var element = Event.findElement(event, 'a');
    if (this.scrolling) this.scrolling.cancel();
    
    this.moveTo(element.href.split("#")[1], this.scroller, { duration:this.options.duration });     
    Event.stop(event);
  },

	moveTo: function(element, container, options){
			this.current = $(element);

			Position.prepare();
	    var containerOffset = Position.cumulativeOffset(container),
	     elementOffset = Position.cumulativeOffset($(element));

		  this.scrolling 	= new Effect.SmoothScroll(container, 
				{duration:options.duration, x:(elementOffset[0]-containerOffset[0]), y:(elementOffset[1]-containerOffset[1])});
		  return false;
		},
		
  next: function(){
    if (this.current) {
      var currentIndex = this.current._index;
      var nextIndex = (this.sections.length - 1 == currentIndex) ? 0 : currentIndex + 1;      
    } else var nextIndex = 1;

    this.moveTo(this.sections[nextIndex], this.scroller, { 
      duration: this.options.duration
    });
  },
	
  previous: function(){
    if (this.current) {
      var currentIndex = this.current._index;
      var prevIndex = (currentIndex == 0) ? this.sections.length - 1 : 
       currentIndex - 1;
    } else var prevIndex = this.sections.length - 1;
    
    this.moveTo(this.sections[prevIndex], this.scroller, { 
      duration: this.options.duration
    });
  },

	stop: function()
	{
		clearTimeout(this.timer);
	},
	
	start: function()
	{
		this.periodicallyUpdate();
	},
		
	periodicallyUpdate: function()
	{ 
		if (this.timer != null) {
			clearTimeout(this.timer);
			this.next();
		}
		this.timer = setTimeout(this.periodicallyUpdate.bind(this), this.options.frequency*1000);
	}

});

Effect.SmoothScroll = Class.create();
Object.extend(Object.extend(Effect.SmoothScroll.prototype, Effect.Base.prototype), {
  initialize: function(element) {
    this.element = $(element);
    var options = Object.extend({
      x:    0,
      y:    0,
      mode: 'absolute'
    } , arguments[1] || {}  );
    this.start(options);
  },
  setup: function() {
    if (this.options.continuous && !this.element._ext ) {
      this.element.cleanWhitespace();
      this.element._ext=true;
      this.element.appendChild(this.element.firstChild);
    }
   
    this.originalLeft=this.element.scrollLeft;
    this.originalTop=this.element.scrollTop;
   
    if(this.options.mode == 'absolute') {
      this.options.x -= this.originalLeft;
      this.options.y -= this.originalTop;
    } 
  },
  update: function(position) {   
    this.element.scrollLeft = this.options.x * position + this.originalLeft;
    this.element.scrollTop  = this.options.y * position + this.originalTop;
  }
});



function changeCircle(param){
if (param == 'univ0') {
$('univ0').className = 'current01';
$('univ1').className = 'other02';
$('univ2').className = 'other03';
$('univ3').className = 'other04';
$('univ4').className = 'other05';
$('univ5').className = 'other06';
$('univ6').className = 'other07';
}
if (param == 'univ1') {
$('univ0').className = 'other01';
$('univ1').className = 'current02';
$('univ2').className = 'other03';
$('univ3').className = 'other04';
$('univ4').className = 'other05';
$('univ5').className = 'other06';
$('univ6').className = 'other07';

}
if (param == 'univ2') {
$('univ0').className = 'other01';
$('univ1').className = 'other02';
$('univ2').className = 'current03';
$('univ3').className = 'other04';
$('univ4').className = 'other05';
$('univ5').className = 'other06';
$('univ6').className = 'other07';

}
if (param == 'univ3') {
$('univ0').className = 'other01';
$('univ1').className = 'other02';
$('univ2').className = 'other03';
$('univ3').className = 'current04';
$('univ4').className = 'other05';
$('univ5').className = 'other06';
$('univ6').className = 'other07';

}
if (param == 'univ4') {
$('univ0').className = 'other01';
$('univ1').className = 'other02';
$('univ2').className = 'other03';
$('univ3').className = 'other04';
$('univ4').className = 'current05';
$('univ5').className = 'other06';
$('univ6').className = 'other07';
}
if (param == 'univ5') {
$('univ0').className = 'other01';
$('univ1').className = 'other02';
$('univ2').className = 'other03';
$('univ3').className = 'other04';
$('univ4').className = 'other05';
$('univ5').className = 'current06';
$('univ6').className = 'other07';
}
if (param == 'univ6') {
$('univ0').className = 'other01';
$('univ1').className = 'other02';
$('univ2').className = 'other03';
$('univ3').className = 'other04';
$('univ4').className = 'other05';
$('univ5').className = 'other06';
$('univ6').className = 'current07';
}
if (param == 'jhschools0') {
$('jhschools0').className = 'current01';
$('jhschools1').className = 'other02';
$('jhschools2').className = 'other03';
$('jhschools3').className = 'other04';
$('jhschools4').className = 'other05';
$('jhschools5').className = 'other06';
}
if (param == 'jhschools1') {
$('jhschools0').className = 'other01';
$('jhschools1').className = 'current02';
$('jhschools2').className = 'other03';
$('jhschools3').className = 'other04';
$('jhschools4').className = 'other05';
$('jhschools5').className = 'other06';
}
if (param == 'jhschools2') {
$('jhschools0').className = 'other01';
$('jhschools1').className = 'other02';
$('jhschools2').className = 'current03';
$('jhschools3').className = 'other04';
$('jhschools4').className = 'other05';
$('jhschools5').className = 'other06';
}
if (param == 'jhschools3') {
$('jhschools0').className = 'other01';
$('jhschools1').className = 'other02';
$('jhschools2').className = 'other03';
$('jhschools3').className = 'current04';
$('jhschools4').className = 'other05';
$('jhschools5').className = 'other06';
}
if (param == 'jhschools4') {
$('jhschools0').className = 'other01';
$('jhschools1').className = 'other02';
$('jhschools2').className = 'other03';
$('jhschools3').className = 'other04';
$('jhschools4').className = 'current05';
$('jhschools5').className = 'other06';
}
if (param == 'jhschools5') {
$('jhschools0').className = 'other01';
$('jhschools1').className = 'other02';
$('jhschools2').className = 'other03';
$('jhschools3').className = 'other04';
$('jhschools4').className = 'other05';
$('jhschools5').className = 'current06';
}
if (param == 'eschools0') {
$('eschools0').className = 'current01';
$('eschools1').className = 'other02';
$('eschools2').className = 'other03';
}
if (param == 'eschools1') {
$('eschools0').className = 'other01';
$('eschools1').className = 'current02';
$('eschools2').className = 'other03';
}
if (param == 'eschools2') {
$('eschools0').className = 'other01';
$('eschools1').className = 'other02';
$('eschools2').className = 'current03';
}
if (param == 'tis0') {
$('tis0').className = 'current01';
$('tis1').className = 'other02';
}
if (param == 'tis1') {
$('tis0').className = 'other01';
$('tis1').className = 'current02';
}
if (param == 'joshibi0') {
$('joshibi0').className = 'current01';
$('joshibi1').className = 'other02';
}
if (param == 'joshibi1') {
$('joshibi0').className = 'other01';
$('joshibi1').className = 'current02';
}
if (param == 'nominee0') {
$('nominee0').className = 'current01';
$('nominee1').className = 'other02';
$('nominee2').className = 'other03';
}
if (param == 'nominee1') {
$('nominee0').className = 'other01';
$('nominee1').className = 'current02';
$('nominee2').className = 'other03';
}
if (param == 'nominee2') {
$('nominee0').className = 'other01';
$('nominee1').className = 'other02';
$('nominee2').className = 'current03';
}

if (param == 'nomineetwo0') {
$('nomineetwo0').className = 'current01';
$('nomineetwo1').className = 'other02';
}
if (param == 'nomineetwo1') {
$('nomineetwo0').className = 'other01';
$('nomineetwo1').className = 'current02';
}

if (param == 'tamagawa0') {
$('tamagawa0').className = 'current01';
$('tamagawa1').className = 'other02';
$('tamagawa2').className = 'other03';
}
if (param == 'tamagawa1') {
$('tamagawa0').className = 'other01';
$('tamagawa1').className = 'current02';
$('tamagawa2').className = 'other03';
}
if (param == 'tamagawa2') {
$('tamagawa0').className = 'other01';
$('tamagawa1').className = 'other02';
$('tamagawa2').className = 'current03';
}

//vol.01-04
if (param == 'nominee01-04-0') {
$('nominee01-04-0').className = 'current01';
$('nominee01-04-1').className = 'other02';
$('nominee01-04-2').className = 'other03';
$('nominee01-04-3').className = 'other04';
$('nominee01-04-4').className = 'other05';
$('nominee01-04-5').className = 'other06';
$('nominee01-04-6').className = 'other07';
$('nominee01-04-7').className = 'other08';
$('nominee01-04-8').className = 'other09';
$('nominee01-04-9').className = 'other10';
$('nominee01-04-10').className = 'other11';
$('nominee01-04-11').className = 'other12';
}

if (param == 'nominee01-04-1') {
$('nominee01-04-0').className = 'other01';
$('nominee01-04-1').className = 'current02';
$('nominee01-04-2').className = 'other03';
$('nominee01-04-3').className = 'other04';
$('nominee01-04-4').className = 'other05';
$('nominee01-04-5').className = 'other06';
$('nominee01-04-6').className = 'other07';
$('nominee01-04-7').className = 'other08';
$('nominee01-04-8').className = 'other09';
$('nominee01-04-9').className = 'other10';
$('nominee01-04-10').className = 'other11';
$('nominee01-04-11').className = 'other12';
}

if (param == 'nominee01-04-2') {
$('nominee01-04-0').className = 'other01';
$('nominee01-04-1').className = 'other02';
$('nominee01-04-2').className = 'current03';
$('nominee01-04-3').className = 'other04';
$('nominee01-04-4').className = 'other05';
$('nominee01-04-5').className = 'other06';
$('nominee01-04-6').className = 'other07';
$('nominee01-04-7').className = 'other08';
$('nominee01-04-8').className = 'other09';
$('nominee01-04-9').className = 'other10';
$('nominee01-04-10').className = 'other11';
$('nominee01-04-11').className = 'other12';
}

if (param == 'nominee01-04-3') {
$('nominee01-04-0').className = 'other01';
$('nominee01-04-1').className = 'other02';
$('nominee01-04-2').className = 'other03';
$('nominee01-04-3').className = 'current04';
$('nominee01-04-4').className = 'other05';
$('nominee01-04-5').className = 'other06';
$('nominee01-04-6').className = 'other07';
$('nominee01-04-7').className = 'other08';
$('nominee01-04-8').className = 'other09';
$('nominee01-04-9').className = 'other10';
$('nominee01-04-10').className = 'other11';
$('nominee01-04-11').className = 'other12';
}

if (param == 'nominee01-04-4') {
$('nominee01-04-0').className = 'other01';
$('nominee01-04-1').className = 'other02';
$('nominee01-04-2').className = 'other03';
$('nominee01-04-3').className = 'other04';
$('nominee01-04-4').className = 'current05';
$('nominee01-04-5').className = 'other06';
$('nominee01-04-6').className = 'other07';
$('nominee01-04-7').className = 'other08';
$('nominee01-04-8').className = 'other09';
$('nominee01-04-9').className = 'other10';
$('nominee01-04-10').className = 'other11';
$('nominee01-04-11').className = 'other12';
}

if (param == 'nominee01-04-5') {
$('nominee01-04-0').className = 'other01';
$('nominee01-04-1').className = 'other02';
$('nominee01-04-2').className = 'other03';
$('nominee01-04-3').className = 'other04';
$('nominee01-04-4').className = 'other05';
$('nominee01-04-5').className = 'current06';
$('nominee01-04-6').className = 'other07';
$('nominee01-04-7').className = 'other08';
$('nominee01-04-8').className = 'other09';
$('nominee01-04-9').className = 'other10';
$('nominee01-04-10').className = 'other11';
$('nominee01-04-11').className = 'other12';
}

if (param == 'nominee01-04-6') {
$('nominee01-04-0').className = 'other01';
$('nominee01-04-1').className = 'other02';
$('nominee01-04-2').className = 'other03';
$('nominee01-04-3').className = 'other04';
$('nominee01-04-4').className = 'other05';
$('nominee01-04-5').className = 'other06';
$('nominee01-04-6').className = 'current07';
$('nominee01-04-7').className = 'other08';
$('nominee01-04-8').className = 'other09';
$('nominee01-04-9').className = 'other10';
$('nominee01-04-10').className = 'other11';
$('nominee01-04-11').className = 'other12';
}

if (param == 'nominee01-04-7') {
$('nominee01-04-0').className = 'other01';
$('nominee01-04-1').className = 'other02';
$('nominee01-04-2').className = 'other03';
$('nominee01-04-3').className = 'other04';
$('nominee01-04-4').className = 'other05';
$('nominee01-04-5').className = 'other06';
$('nominee01-04-6').className = 'other07';
$('nominee01-04-7').className = 'current08';
$('nominee01-04-8').className = 'other09';
$('nominee01-04-9').className = 'other10';
$('nominee01-04-10').className = 'other11';
$('nominee01-04-11').className = 'other12';
}

if (param == 'nominee01-04-8') {
$('nominee01-04-0').className = 'other01';
$('nominee01-04-1').className = 'other02';
$('nominee01-04-2').className = 'other03';
$('nominee01-04-3').className = 'other04';
$('nominee01-04-4').className = 'other05';
$('nominee01-04-5').className = 'other06';
$('nominee01-04-6').className = 'other07';
$('nominee01-04-7').className = 'other08';
$('nominee01-04-8').className = 'current09';
$('nominee01-04-9').className = 'other10';
$('nominee01-04-10').className = 'other11';
$('nominee01-04-11').className = 'other12';
}

if (param == 'nominee01-04-9') {
$('nominee01-04-0').className = 'other01';
$('nominee01-04-1').className = 'other02';
$('nominee01-04-2').className = 'other03';
$('nominee01-04-3').className = 'other04';
$('nominee01-04-4').className = 'other05';
$('nominee01-04-5').className = 'other06';
$('nominee01-04-6').className = 'other07';
$('nominee01-04-7').className = 'other08';
$('nominee01-04-8').className = 'other09';
$('nominee01-04-9').className = 'current10';
$('nominee01-04-10').className = 'other11';
$('nominee01-04-11').className = 'other12';
}

if (param == 'nominee01-04-10') {
$('nominee01-04-0').className = 'other01';
$('nominee01-04-1').className = 'other02';
$('nominee01-04-2').className = 'other03';
$('nominee01-04-3').className = 'other04';
$('nominee01-04-4').className = 'other05';
$('nominee01-04-5').className = 'other06';
$('nominee01-04-6').className = 'other07';
$('nominee01-04-7').className = 'other08';
$('nominee01-04-8').className = 'other09';
$('nominee01-04-9').className = 'other10';
$('nominee01-04-10').className = 'current11';
$('nominee01-04-11').className = 'other12';
}

if (param == 'nominee01-04-11') {
$('nominee01-04-0').className = 'other01';
$('nominee01-04-1').className = 'other02';
$('nominee01-04-2').className = 'other03';
$('nominee01-04-3').className = 'other04';
$('nominee01-04-4').className = 'other05';
$('nominee01-04-5').className = 'other06';
$('nominee01-04-6').className = 'other07';
$('nominee01-04-7').className = 'other08';
$('nominee01-04-8').className = 'other09';
$('nominee01-04-9').className = 'other10';
$('nominee01-04-10').className = 'other11';
$('nominee01-04-11').className = 'current12';
}


//vol.05
if (param == 'nominee05-0') {
$('nominee05-0').className = 'current01';
$('nominee05-1').className = 'other02';
$('nominee05-2').className = 'other03';
}
if (param == 'nominee05-1') {
$('nominee05-0').className = 'other01';
$('nominee05-1').className = 'current02';
$('nominee05-2').className = 'other03';
}

if (param == 'nominee05-2') {
$('nominee05-0').className = 'other01';
$('nominee05-1').className = 'other02';
$('nominee05-2').className = 'current03';
}




}
