function showNavigation(nodeIndex, subnodeIndex){
	
	
	
	new Effect.Appear('serviceContentActivitySpinner', { duration: 0.1, from: 0.0, to: 1.0 });
	
	if(subnodeIndex == -1){
		$('subnav_' + nodeIndex).toggle();
	}
	else{
		new Ajax.Request('service/detail/', {
			method: 'post',	
			evalJSON: 'true',
			postBody: 'node=' + nodeIndex + '&subnode=' + subnodeIndex,
			onSuccess: function(tp) {	
				checkAjaxRequest(tp, function(tp){
					$('serviceContent').innerHTML = root.data.serviceContent;
				});
			}
		});
	}
	
	new Effect.Fade('serviceContentActivitySpinner', { duration: 0.8});
}

function sendContactForm(){	

	if(checkForm($('contactform'))){
		$('Send').disabled = true;
		new Ajax.Request('service/contactForm/', {
			method: 'post',
			postBody: Form.serialize('contactform'),	
			onSuccess: function(tp) {
				checkAjaxRequest(tp, function(tp){
					$('message').innerHTML = root.data.message;
				});
			}
			
		});	
	}
}


