// generator: o-Design

// design:nav_1 #14
Event.observe(document, '1site1:domloaded', function(){
	if($('e_14')){
		$('e_14').select('td.ci_14').each(function(td){
			var a = td.down('a')
			td.observe('mouseover', function(e){
				Event.stop(e)
				td.className = 'cia_14'
				a.className = 'cial_14'
			})
			td.observe('mouseout', function(e){
				Event.stop(e)
				td.className = 'ci_14'
				a.className = 'cil_14'
			})
			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 #8
Event.observe(document, '1site1:domloaded', function(){
	if($('e_8')){
		$('e_8').select('td.ci_8').each(function(td){
			var a = td.down('a')
			td.observe('mouseover', function(e){
				Event.stop(e)
				td.className = 'cia_8'
				a.className = 'cial_8'
			})
			td.observe('mouseout', function(e){
				Event.stop(e)
				td.className = 'ci_8'
				a.className = 'cil_8'
			})
			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 #118
Event.observe(document, '1site1:domloaded', function(){
	if($('e_118')){
		$('e_118').select('td.ci_118').each(function(td){
			var a = td.down('a')
			td.observe('mouseover', function(e){
				Event.stop(e)
				td.className = 'cia_118'
				a.className = 'cial_118'
			})
			td.observe('mouseout', function(e){
				Event.stop(e)
				td.className = 'ci_118'
				a.className = 'cil_118'
			})
			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:breadcrumbs #57

function obj_57(id){
	if(document.all && document.all[id]) return document.all[id];
	else if(document.getElementById) return document.getElementById(id);
	else if(document.layers){
		if(document[id]) return document[id];
		if(document.layers[id]) return document.layers[id];
	}
	return null
}

function over_57(id){
	button = obj_57('i57_' + id);
	text = obj_57('il57_' + id);
	button.className = 'cia_57';
	text.className = 'cial_57';
}

function out_57(id){
	button = obj_57('i57_' + id);
	text = obj_57('il57_' + id);
	button.className = 'ci_57';
	text.className = 'cil_57';
}

// design:nav_3 #170

function obj_170(id){
	if(document.all && document.all[id]) return document.all[id];
	else if(document.getElementById) return document.getElementById(id);
	else if(document.layers){
		if(document[id]) return document[id];
		if(document.layers[id]) return document.layers[id];
	}
	return null
}

function over_170(id, isSub){
	button = obj_170('i170_' + id);
	text = obj_170('il170_' + id);
	if(!button || !text) return;
	button.className = isSub ? 'scia_170' : 'cia_170';
	text.className = isSub ? 'scial_170' : 'cial_170';
}

function out_170(id, isSub){
	button = obj_170('i170_' + id);
	text = obj_170('il170_' + id);
	if(!button || !text) return;
	button.className = isSub ? 'sci_170' : 'ci_170';
	text.className = isSub ? 'scil_170' : 'cil_170';
}

function go_170(url){
	document.location = url
}

