var xp_new_window_class="new-window";var wWith="760";var wHeight="480";var windowName="aWindow";var windowOptions="resizable=yes,toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes";var pos=0;var height=0;$(function(){$("#slideshow").cycle();$("a.new-window").click(function(){var a=$(this).attr("href");if(a){newWindowWithURL(a)}return false})});function newWindowWithURL(a){var d=a.replace(/^[^\?]+\??/,"");var c=xp_parseQuery(d);if(c.width!=null&&c.width!=""){wWith=c.width}if(c.height!=null&&c.height!=""){wHeight=c.height}if(a!=null&&a!=""&&a!="#"){var b=window.open(a,windowName,windowOptions+",width="+wWith+",height="+wHeight);b.focus()}}function xp_parseQuery(d){var e={};if(!d){return e}var a=d.split(/[;&]/);for(var c=0;c<a.length;c++){var g=a[c].split("=");if(!g||g.length!=2){continue}var b=unescape(g[0]);var f=unescape(g[1]);f=f.replace(/\+/g," ");e[b]=f}return e};
