<?php
/************************************************************************/
/* Maximus CMS: Web Portal System                                       */
/* ==============================                                       */
/*                                                                      */
/* Copyright (c) 2002 - 2006                                            */
/* http://www.php-maximus.fr                                            */
/* dev@php-maximus.org                                                  */
/*                                                                      */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License.       */
/************************************************************************/
/* Based on PHP-NUKE: Web Portal System                                 */
/************************************************************************/
defined('MAXIMUS') or die ('Access denied image dyn MAXIMUS directly...');

function image_dyn($img_def, $img_over, $link, $alt, $img_name){
echo "<a href=\"$link\" onmouseover=\"changeImages('$img_name', '$img_over'); return true;\"
onmouseout=\"changeImages('$img_name', '$img_def'); return true;\">
<img name=\"$img_name\" src=\"$img_def\" border='0' alt=\"$alt\" title=\"$alt\" /></a>";
}