if(typeof(console)==undefined){console={log:function(){},profile:function(){},profileEnd:function(){}}}ga=function(a){a=a.substr(a.indexOf("/",a.indexOf("://")+3),a.length);if(typeof _gaq!=="undefined"&&_gaq!==null){_gaq.push(["_trackPageview",a])}};isIE6=function(){var b=navigator.appName;var a=parseInt(navigator.appVersion);if(b=="Microsoft Internet Explorer"&&a==4&&navigator.appVersion.indexOf("MSIE 6.0")!=-1){return(true)}else{return(false)}};getCurrElement=function(b){b.stop();var a=b.element();if("input"==a.tagName.toLowerCase()){return a.form}while("a"!=a.tagName.toLowerCase()){a=a.parentNode;if("body"==a.tagName.toLowerCase()){break}}return a};escapeApostrophes=function(a){a=a.replace(/&#039;/g,"'");a=a.replace(/&#034;/g,'"');a=a.replace(/&amp;/g,"&");return a};utf8_decode=function(a){var b=[],c=ac=c1=c2=c3=0;a+="";while(c<a.length){c1=a.charCodeAt(c);if(c1<128){b[ac++]=String.fromCharCode(c1);c++}else{if((c1>191)&&(c1<224)){c2=a.charCodeAt(c+1);b[ac++]=String.fromCharCode(((c1&31)<<6)|(c2&63));c+=2}else{c2=a.charCodeAt(c+1);c3=a.charCodeAt(c+2);b[ac++]=String.fromCharCode(((c1&15)<<12)|((c2&63)<<6)|(c3&63));c+=3}}}return b.join("")};Object.extend(Event,{wheel:function(a){var b=0;if(!a){a=window.event}if(a.wheelDelta){b=a.wheelDelta/120;if(window.opera){b=-b}}else{if(a.detail){b=-a.detail/3}}if(a.preventDefault){a.preventDefault()}return Math.round(b)}});
