﻿// JScript File


function Toggle(id)
{
	$(id).toggle(500);
}


function SwapMore(id)
{
	var mImg = $(id);
	if(mImg.attr('class') == 'more_link')
	{
		mImg.html('...hide');
		mImg.attr('class', 'hide_link');
	}
	else
	{
		mImg.html('more...');
		mImg.attr('class', 'more_link');
	}
}

function SwapRecent(id)
{
	var mImg = $(id);
	if(mImg.attr('class') == 'more_button')
	{
		mImg.html('Hide These!');
		mImg.attr('class', 'hide_button');
	}
	else
	{
		mImg.html('Show More');
		mImg.attr('class', 'more_button');
	}
}

function Prevent(evt)
{
	try	{ evt.preventDefault(); }
	catch(err) { return false; }
	
}


