

function ctaSignUpOpen() {
	$('cta-signup').tween('height', '100') ;
}
function ctaSignUpClose() {
	$('cta-signup').tween('height', '0') ;
}

var navOver = function () {
	this.proc = function(navID) {
		if ($('mainNav'+navID).hasClass('active')){
		}else{
			this.onID = navID ;
			this.onNav = $('navTab'+this.onID) ;
			this.onNav.set('tween', {transition: Fx.Transitions.Expo.easeOut});
			this.onNav.set('tween', {duration: 100});
			this.onNav.tween('margin-top', '0px');
		}
	}
} ;
var procNavOver = new navOver();
	
var navOut = function () {
	this.proc = function(navID) {
		if ($('mainNav'+navID).hasClass('active')){
		}else{
			this.onID = navID ;
			this.onNav = $('navTab'+this.onID) ;
			this.onNav.set('tween', {transition: Fx.Transitions.Expo.easeOut});
			this.onNav.set('tween', {duration: 100});
			this.onNav.tween('margin-top', '86px');
		}
	}
} ;
var procNavOut = new navOut();

function prepNav(){
	for(var i=1;i<=3;i++){
		if(i == navOn){
			$('navTab'+i).setStyle('margin-top','0px');
		}else{
			$('navTab'+i).setStyle('margin-top','86px');
		}
	}
}

function simpleMouseover(id,img){
	$(id).set('src', img);
}
function simpleMouseout(id,img){
	$(id).set('src', img);
}
