function debug(debugStr) {
	document.getElementById('debug').innerHTML = 'Debug: ' + debugStr;
}
function openPopup(url) {
	//oNewWindow = object.open( [sURL] [, sName] [, sFeatures] [, bReplace])
window.open(url,"popup","height=350,width=363,status=1,scrollbars=1,toolbar=0,menubar=0,location=0,top=200,left=200");
}

function toggleCheckCircle(checkCircleId) {
	oCheckCircle = document.getElementById(checkCircleId);
	if(oCheckCircle.className == 'check_circle_unchecked') {
		oCheckCircle.className = 'check_circle_checked';
		document.ContactUs.elements['email_me_with_updates'].value = 'yes';
	} else if(oCheckCircle.className == 'check_circle_checked') {
		oCheckCircle.className = 'check_circle_unchecked';
		document.ContactUs.elements['email_me_with_updates'].value = 'no';
	}
	return false;
}

// bubbles
var bubTimerChannel = '';
function showBubbleChannel() {
	if(bubTimerChannel != '') {
		clearTimeout(bubTimerChannel);
		bubTimerChannel = '';
	} else {
		Effect.Appear('bub_channel', { duration: 0.03, from: 0.85, to: 1 });
	}
}
function hideBubbleChannel() {
	bubTimerChannel = setTimeout('actuallyHideBubbleChannel()', 100);
}
function actuallyHideBubbleChannel() {
	if(bubTimerChannel != '') {
		bubTimerChannel = '';
		Effect.Fade('bub_channel', { duration: 0.01, from: 0.65, to: 0   });
	}
}

var bubTimerTechnology = '';
function showBubbleTechnology() {
	if(bubTimerTechnology != '') {
		clearTimeout(bubTimerTechnology);
		bubTimerTechnology = '';
	} else {
		Effect.Appear('bub_technology', { duration: 0.03, from: 0.85, to: 1  });
	}
}
function hideBubbleTechnology() {
	bubTimerTechnology = setTimeout('actuallyHideBubbleTechnology()', 100);
}
function actuallyHideBubbleTechnology() {
	if(bubTimerTechnology != '') {
		bubTimerTechnology = '';
		Effect.Fade('bub_technology', { duration: 0.01, from: 0.65, to: 0 });
	}
}

var bubTimerAffiliation = '';
function showBubbleAffiliation() {
	if(bubTimerAffiliation != '') {
		clearTimeout(bubTimerAffiliation);
		bubTimerAffiliation = '';
	} else {
		Effect.Appear('bub_affiliation', { duration: 0.03, from: 0.85, to: 1  });
	}
}
function hideBubbleAffiliation() {
	bubTimerAffiliation = setTimeout('actuallyHideBubbleAffiliation()', 100);
}
function actuallyHideBubbleAffiliation() {
	if(bubTimerAffiliation != '') {
		bubTimerAffiliation = '';
		Effect.Fade('bub_affiliation', { duration: 0.01, from: 0.65, to: 0 });
	}
}

var bubTimerHistory = '';
function showBubbleHistory() {
	if(bubTimerHistory != '') {
		clearTimeout(bubTimerHistory);
		bubTimerHistory = '';
	} else {
		Effect.Appear('bub_history', { duration: 0.03, from: 0.85, to: 1  });
	}
}
function hideBubbleHistory() {
	bubTimerHistory = setTimeout('actuallyHideBubbleHistory()', 50);
}
function actuallyHideBubbleHistory() {
	if(bubTimerHistory != '') {
		bubTimerHistory = '';
		Effect.Fade('bub_history', { duration: 0.001, from: 0.65, to: 0 });
	}
}

var bubTimerExecutives = '';
function showBubbleExecutives() {
	if(bubTimerExecutives != '') {
		clearTimeout(bubTimerExecutives);
		bubTimerExecutives = '';
	} else {
		Effect.Appear('bub_executives', { duration: 0.03, from: 0.85, to: 1  });
	}
}
function hideBubbleExecutives() {
	bubTimerExecutives = setTimeout('actuallyHideBubbleExecutives()', 50);
}
function actuallyHideBubbleExecutives() {
	if(bubTimerExecutives != '') {
		bubTimerExecutives = '';
		Effect.Fade('bub_executives', { duration: 0.001, from: 0.65, to: 0 });
	}
}

var bubTimerInvestors = '';
function showBubbleInvestors() {
	if(bubTimerInvestors != '') {
		clearTimeout(bubTimerInvestors);
		bubTimerInvestors = '';
	} else {
		Effect.Appear('bub_investors', { duration: 0.03, from: 0.85, to: 1  });
	}
}
function hideBubbleInvestors() {
	bubTimerInvestors = setTimeout('actuallyHideBubbleInvestors()', 50);
}
function actuallyHideBubbleInvestors() {
	if(bubTimerInvestors != '') {
		bubTimerInvestors = '';
		Effect.Fade('bub_investors', { duration: 0.001, from: 0.65, to: 0 });
	}
}

var bubTimerVision = '';
function showBubbleVision() {
	if(bubTimerVision != '') {
		clearTimeout(bubTimerVision);
		bubTimerVision = '';
	} else {
		Effect.Appear('bub_vision', { duration: 0.03, from: 0.85, to: 1  });
	}
}
function hideBubbleVision() {
	bubTimerVision = setTimeout('actuallyHideBubbleVision()', 50);
}
function actuallyHideBubbleVision() {
	if(bubTimerVision != '') {
		bubTimerVision = '';
		Effect.Fade('bub_vision', { duration: 0.001, from: 0.65, to: 0 });
	}
}

var bubTimerMap = '';
function showBubbleMap() {
	if(bubTimerMap != '') {
		clearTimeout(bubTimerMap);
		bubTimerMap = '';
	} else {
		Effect.Appear('bub_map', { duration: 0.03, from: 0.85, to: 1  });
	}
}
function hideBubbleMap() {
	bubTimerMap = setTimeout('actuallyHideBubbleMap()', 100);
}
function actuallyHideBubbleMap() {
	if(bubTimerMap != '') {
		bubTimerMap = '';
		Effect.Fade('bub_map', { duration: 0.01, from: 0.65, to: 0 });
	}
}