+{javascript name="jquery"}
+{javascript name="jquery.autocomplete"}
+
+<script type="text/javascript">//<![CDATA[
+ {if ($stateless || $id gt $current) && $wiz_ajax}
+ {literal}
+ function changePage(obj, id)
+ {
+ var myUrl = obj.href;
+ $.ajax({ url: myUrl + "/ajax",
+ global: false,
+ dataTye: 'html',
+ error: function(request, error) {
+ document.location = myUrl;
+ },
+ success: function(data) {
+ if (is_IE) {
+ $(".wiz_tab").removeClass("active");
+ $("#wiz_tab_" + id).addClass("active");
+ $(".wiz_content").html(data);
+ if (typeof wizPage_onLoad == 'function') {
+ wizPage_onLoad(id);
+ }
+ auto_links();
+ } else {
+ $(".wiz_content").fadeOut('normal',
+ function() {
+ $(".wiz_tab").removeClass("active");
+ $("#wiz_tab_" + id).addClass("active");
+ $(".wiz_content").html(data).fadeIn('normal');
+ if (typeof wizPage_onLoad == 'function') {
+ wizPage_onLoad(id);
+ }
+ auto_links();
+ });
+ }
+ }
+ });
+ return false;
+ }
+ {/literal}
+ {else}
+ {literal}
+ function changePage(obj)
+ {
+ return true;
+ }
+ {/literal}
+ {/if}
+//]]></script>