/*
 * Program/File: Jahn-TV-Homepage/button_effects.js
 * Author: M. Petersen
 * Date: 2007-10-10
 * Last modified: 2008-09-01
 *
 */






<!--
	/* 
	 * changes the image, when the mouse is over the button
	 *
	 */
	function on(btn_name, template)
	{
		/* 
		 * fetches the right-button and changes the src-dir
		 *
		 */
		document.getElementById(btn_name).src = 'data/content/' + template + '/menu/buttons/' + btn_name + '_02.png';
	}

	/* 
	 * changes the image, when the mouse leaves the button
	 *
	 */
	function out(btn_name, template)
	{
		/* 
		 * fetches the right-button and changes the src-dir
		 *
		 */
		document.getElementById(btn_name).src = 'data/content/' + template + '/menu/buttons/' + btn_name + '_01.png';
	}

	/* 
	 * changes the image, when the button is clicked
	 *
	 * ~ ~ ~ currently without any function! ~ ~ ~
	 *
	 */
	function click(btn_name, template)
	{
		/* fetches the right-button and changes the src-dir */
		//document.getElementById(btn_name).src = 'data/content/' + template + '/menu/buttons/' + btn_name + '_03.png';
	}
//-->
