Witam dostałem od kolegi skrypt przewijania zawartości strony za pomocą js skrypt u niego działa na php-fusion u mnie już nie, po kliknięciu na strzałkę nie przewija, prosił bym o pomoc bo już nie mam pomysłów jak to zrobić

pierwszy plik:
<?
if(!defined("IN_FUSION")){ die("Access Denied"); }
<div class='cars-top'>
<h1 class='fury'>
<img src='".THEME."images/nowe_fury.png' alt='nowe fury' class='fury'></h1>";
$_POST['page'] = '0';
require "cars_data.php";
<a href='java script: void(0)' class='a_arrow_up_b' id='T-gallery-up' title='W górę'><img src='".THEME."images/green_arrow.png' alt='strzalka w góre' class='arrow-up'></a>
<a href='java script: void(0)' class='a_arrow_up_down' id='T-gallery-down' title='W dół'><img src='".THEME."images/green_arrow.png' alt='strzalka w góre' class='arrow-down'></a>
</div>
";
?>
drugi plik
<?
header("Cache-Control: no-cache"); header('Content-type: text/html;charset=iso-8859-2'); require_once "../../../maincore.php";
}
if(!isset($_POST['page']) || !isNUM
($_POST['page'])){ die("Błąd"); }
$result = dbquery("SELECT(SELECT Count(*) FROM ".$db_prefix."photos".") AS Photos");
$data = dbarray($result);
$result=dbquery(
"SELECT tp.photo_id, tp.photo_title, tp.photo_thumb1, ta.album_id, ta.album_title FROM ".$db_prefix."photos tp
LEFT JOIN ".$db_prefix."photo_albums"." ta USING(album_id)
WHERE ".groupaccess('album_access')." ORDER BY photo_datestamp DESC LIMIT ".($_POST['page']*4).",4");
$a = '0';
while ($data=dbarray($result)) {
$randphotodir = IMAGES
."photoalbum/".(!@ini_get("safe_mode") ?
"album_".$data['album_id']."/" : ""); $photo_file = $randphotodir.$data['photo_thumb1'];
<div class='car1 car-global' style='background-image: url(".BASEDIR."".$randphotodir.$data['photo_thumb1'].");'>
<a href='".BASEDIR."photogallery.php?photo_id=".$data['photo_id']."' title='".$data['photo_title']."'>
<span class='podpowiedz'>".$data['photo_title']."</span></a>
</div>";
$a++;
}
?>
akcja w js
function get_gallery_mainpage(id) {
jQuery.post(BASE + "themes/Gillette/panele/cars_data.php", {
page: id
}, function (data, status) {
if (status == "success" && data != "") {
RevertAll();
jQuery('.T-gallery-imgs ul').animate({
opacity: 0
}, "normal", function () {
jQuery(this).html(data);
set_img_zoom();
jQuery(this).animate({
opacity: 1
}, "normal")
});
if (id == 0) {
jQuery('#T-gallery-up').attr('class', 'a_arrow_up_b')
} else {
if (jQuery('#T-gallery-up').attr('class') == "a_arrow_up_b") {
jQuery('#T-gallery-up').attr('class', 'a_arrow_up')
}
}
if (jQuery('#T-gallery-down').attr('class') == "a_arrow_down_b") {
jQuery('#T-gallery-down').attr('class', 'a_arrow_down')
}
C_gallery_page = id
} else {
jQuery('#T-gallery-down').attr('class', 'a_arrow_down_b')
}
}, "html")
};