/****************************************************************************************************

	Copyright (C) 2004 -2005 Daniel Kauffman. All rights reserved.
	
	THIS SOFTWARE MAY NOT BE USED EXCEPT UNDER LICENSE.
	
	ABSOLUTELY NO WARRANTY IS PROVIDED.
	
	For licensing information, you may contact:
		"Daniel Kauffman"
		Daniel (dot) Kauffman (at) rocksolidsolutions (dot) org
	
	This software is not in the public domain and may not be used for any purpose,
	except as provided under license.
	
****************************************************************************************************/

function fn_init( ) {

	/* Set default status bar message */
	window.defaultStatus = document.title;
	
	/* Animate links on startup */
	x_link_home.change_to(216,76,164,19,null);
	x_link_about_us.change_to(216,76,164,19,null);
	x_link_the_story.change_to(216,76,164,19,null);
	x_link_dresses.change_to(216,76,164,19,null);
	x_link_faq.change_to(216,76,164,19,null);
	x_link_contact_us.change_to(216,76,164,19,null);
	
}

/* Switch link betwen highlight color and default color */
function fn_glow( x_link, x_flag ) {
	if( x_flag ) {
		x_link.change_to(255,125,175,20,null);
	}
	else {
		x_link.change_to(216,76,164,10,null);
	}
}

function toggle( x_id ) {
	var x = document.getElementById(x_id);
	if ( x ) {
		if( x.style.display == 'none' ) {
			x.style.display = 'block';
		}
		else {
			x.style.display = 'none';
		}
	}
}
