

/*
	durgle.modal.1.9.4.js
	version 1.9.4
	first created: 01/05/06
	last revised: 01/02/08
	http://www.durgle.com
	talk@durgle.com
*/


// -------- BEGIN Modal Windows -----------


// Open Modal Window
function modal(modalID, holderID) {
	changeOpacity(modalID, 0);
	$s(modalID).display = 'block';
	opacity(holderID, 100, 40, 200);
	//changeOpacity('headerImage', 60);
	opacity(modalID, 0, 100, 300); 
}


// Close Modal Window
function closeModal(modalID, holderID) {
	opacity(modalID, 100, 0, 300);
	opacity(holderID, 40, 100, 300);
	$s(modalID).display = 'none';
}


// Close Modal Window
function closeIndicator(indicatorID) {
	opacity(indicatorID, 100, 0, 300);
	$s(indicatorID).display = 'none';
}


// Close Modal Window
function openIndicator(indicatorID) {
	changeOpacity(indicatorID, 0);
	$s(indicatorID).display = 'block';
	opacity(indicatorID, 0, 100, 300);
}


// Move the modal window
function moveModal(modalID) {
}


// When the site is clicked outside of the Modal Window, close it
function phaseOutWindow() {
}


// -------- END Modal Windows -----------
