OK, since I cannot find a decent Prototype replacement, here's what I would suggest (this assumes I am following what your scripts do, and that we are lucky) - First get rid of this:
Code:
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("jquery", "1.2.6");
</script>
Place this:
Code:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
as the very first script tag in the head of your page.
Change this script:
Code:
<script type="text/javascript">
$(function(){
$("#closeBtn").click(function(){
$("#panel").animate({height: "80px"}, "swing").animate({height: "0px"}, "normal");
$(".panelBtn").toggle();
return false;
});
$("#openBtn").click(function(){
$("#panel").animate({height: "80px"}, "swing").animate({height: "70px"}, "fast");
$(".panelBtn").toggle();
return false;
});
});
</script>
to:
Code:
<script type="text/javascript">
jQuery(function(){
jQuery("#closeBtn").click(function(){
jQuery("#panel").animate({height: "80px"}, "swing").animate({height: "0px"}, "normal");
jQuery(".panelBtn").toggle();
return false;
});
jQuery("#openBtn").click(function(){
jQuery("#panel").animate({height: "80px"}, "swing").animate({height: "70px"}, "fast");
jQuery(".panelBtn").toggle();
return false;
});
});
</script>
That should do it, assuming that is the script you were having trouble adding.
Notes: Your page is a bit overloaded with scripts. I would be looking to get rid of some, not add. Also, there are errors in css and missing scripts. I'd correct the css errors (generally by just deleting them - they aren't doing anything in most cases - just make sure they aren't browser specific first), and get rid of the script tags that pont to missing scripts.
Bookmarks