// generator: o-Design

// design:nav_1 #49
Event.observe(document, '1site1:domloaded', function(){
	$('e_49').select('td.ci_49').each(function(td){
		var a = td.down('a')
		td.observe('mouseover', function(e){
			Event.stop(e)
			td.className = 'cia_49'
			a.className = 'cial_49'
		})
		td.observe('mouseout', function(e){
			Event.stop(e)
			td.className = 'ci_49'
			a.className = 'cil_49'
		})
		td.observe('click', function(){
			if(td.clickIsBubble != true) document.location = a.href.match(/^(http|https):/) ? a.href : document.location.baseHref + a.href
		})
		a.observe('click', function(e){
			td.clickIsBubble = true
		})
	})
})

// design:nav_1 #50
Event.observe(document, '1site1:domloaded', function(){
	$('e_50').select('td.ci_50').each(function(td){
		var a = td.down('a')
		td.observe('mouseover', function(e){
			Event.stop(e)
			td.className = 'cia_50'
			a.className = 'cial_50'
		})
		td.observe('mouseout', function(e){
			Event.stop(e)
			td.className = 'ci_50'
			a.className = 'cil_50'
		})
		td.observe('click', function(){
			if(td.clickIsBubble != true) document.location = a.href.match(/^(http|https):/) ? a.href : document.location.baseHref + a.href
		})
		a.observe('click', function(e){
			td.clickIsBubble = true
		})
	})
})

// design:img #12
Event.observe(document, 'dom:loaded', function(){
	var img = $('img_12')
	var preloader = new Image()
	preloader.src = 'graphics/49.gif'
	img.observe('mouseover', function(){img.src = preloader.src})
	img.observe('mouseout', function(){img.src = 'graphics/48.gif'})
})

// design:nav_1 #51
Event.observe(document, '1site1:domloaded', function(){
	$('e_51').select('td.ci_51').each(function(td){
		var a = td.down('a')
		td.observe('mouseover', function(e){
			Event.stop(e)
			td.className = 'cia_51'
			a.className = 'cial_51'
		})
		td.observe('mouseout', function(e){
			Event.stop(e)
			td.className = 'ci_51'
			a.className = 'cil_51'
		})
		td.observe('click', function(){
			if(td.clickIsBubble != true) document.location = a.href.match(/^(http|https):/) ? a.href : document.location.baseHref + a.href
		})
		a.observe('click', function(e){
			td.clickIsBubble = true
		})
	})
})

