// generator: o-Design

// design:nav_1 #13
Event.observe(document, '1site1:domloaded', function(){
	if($('e_13')){
		$('e_13').select('td.ci_13').each(function(td){
			var a = td.down('a')
			td.observe('mouseover', function(e){
				Event.stop(e)
				td.className = 'cia_13'
				a.className = 'cial_13'
			})
			td.observe('mouseout', function(e){
				Event.stop(e)
				td.className = 'ci_13'
				a.className = 'cil_13'
			})
			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_3 #7

function obj_7(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_7(id, isSub){
	button = obj_7('i7_' + id);
	text = obj_7('il7_' + id);
	if(!button || !text) return;
	button.className = isSub ? 'scia_7' : 'cia_7';
	text.className = isSub ? 'scial_7' : 'cial_7';
}

function out_7(id, isSub){
	button = obj_7('i7_' + id);
	text = obj_7('il7_' + id);
	if(!button || !text) return;
	button.className = isSub ? 'sci_7' : 'ci_7';
	text.className = isSub ? 'scil_7' : 'cil_7';
}

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

