// generator: o-Design

// design:nav_1 #4
Event.observe(document, '1site1:domloaded', function(){
	$('e_4').select('td.ci_4').each(function(td){
		var a = td.down('a')
		td.observe('mouseover', function(e){
			Event.stop(e)
			td.className = 'cia_4'
			a.className = 'cial_4'
		})
		td.observe('mouseout', function(e){
			Event.stop(e)
			td.className = 'ci_4'
			a.className = 'cil_4'
		})
		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 #5
Event.observe(document, '1site1:domloaded', function(){
	$('e_5').select('td.ci_5').each(function(td){
		var a = td.down('a')
		td.observe('mouseover', function(e){
			Event.stop(e)
			td.className = 'cia_5'
			a.className = 'cial_5'
		})
		td.observe('mouseout', function(e){
			Event.stop(e)
			td.className = 'ci_5'
			a.className = 'cil_5'
		})
		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 #9

function obj_9(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_9(id, isSub){
	button = obj_9('i9_' + id);
	text = obj_9('il9_' + id);
	if(!button || !text) return;
	button.className = isSub ? 'scia_9' : 'cia_9';
	text.className = isSub ? 'scial_9' : 'cial_9';
}

function out_9(id, isSub){
	button = obj_9('i9_' + id);
	text = obj_9('il9_' + id);
	if(!button || !text) return;
	button.className = isSub ? 'sci_9' : 'ci_9';
	text.className = isSub ? 'scil_9' : 'cil_9';
}

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

