/* Tigra Menu items structure */
var UPPER_MENUS = [
	['Home', 'http://www.thingstodo.com', {'sw':75}],
	['About', 'http://www.thingstodo.com/about.html', {'sw':75}],
	['Contact', 'http://www.thingstodo.com/contact.html', {'sw':75}],
	['Get Listed', 'http://www.thingstodo.com/advertise.html'],
	['Mailing List', 'http://www.thingstodo.com/mailinglist.html'],
	['Link To Us', 'http://www.thingstodo.com/promo/logos.html'],
	['National News', 'http://www.thingstodo.com/national_news.html', {'sw':125}],
	['Contest', 'http://www.thingstodo.com/promo/contest/index.html']
];


/*
The following is not connected to the menuing. It is placed in this file for convenience. 
This function is a display toggle function. Provide an object (a div for instance), an on switch and an off switch,
and it will appropriately toggle the three. 
For instance, if the 'off' button is pushed, the off button, and the object will both be set to display: none; 
and the on switch will be set to display.
*/
function toggle(id,onswitch,offswitch){
	
	var showHide = document.getElementById(id);
	var onswitch = document.getElementById(onswitch);
	var offswitch = document.getElementById(offswitch);
	
	if(showHide.style.display == 'none'){
		showHide.style.display = '';
		onswitch.style.display = 'none';
		offswitch.style.display = '';
	}else{
		showHide.style.display = 'none';
		onswitch.style.display = '';
		offswitch.style.display = 'none';		
	}
}