(function(a){a.fn.autofill=function(d){return this.each(function(){var c=a(this);if(d==null)d=c.attr("title");document.activeElement!=c[0]&&c.val(d);c.focus(function(){c.val()==d&&c.val("")}).blur(function(){c.val()==""&&c.val(d)})})}})(jQuery);var jaaulde=window.jaaulde||{};jaaulde.utils=jaaulde.utils||{};
jaaulde.utils.cookies=function(){var a,d,c,f,g={expiresAt:null,path:"/",domain:null,secure:false};a=function(b){var e,h;if(typeof b!=="object"||b===null)e=g;else{e={expiresAt:g.expiresAt,path:g.path,domain:g.domain,secure:g.secure};if(typeof b.expiresAt==="object"&&b.expiresAt instanceof Date)e.expiresAt=b.expiresAt;else if(typeof b.hoursToLive==="number"&&b.hoursToLive!==0){h=new Date;h.setTime(h.getTime()+b.hoursToLive*60*60*1E3);e.expiresAt=h}if(typeof b.path==="string"&&b.path!=="")e.path=b.path;
if(typeof b.domain==="string"&&b.domain!=="")e.domain=b.domain;if(b.secure===true)e.secure=b.secure}return e};d=function(b){b=a(b);return(typeof b.expiresAt==="object"&&b.expiresAt instanceof Date?"; expires="+b.expiresAt.toGMTString():"")+"; path="+b.path+(typeof b.domain==="string"?"; domain="+b.domain:"")+(b.secure===true?"; secure":"")};c=function(){var b={},e,h,i,j,k=document.cookie.split(";"),l;for(e=0;e<k.length;e+=1){h=k[e].split("=");i=h[0].replace(/^\s*/,"").replace(/\s*$/,"");try{j=decodeURIComponent(h[1])}catch(m){j=
h[1]}if(typeof JSON==="object"&&JSON!==null&&typeof JSON.parse==="function")try{l=j;j=JSON.parse(j)}catch(n){j=l}b[i]=j}return b};f=function(){};f.prototype.get=function(b){var e,h,i=c();if(typeof b==="string")e=typeof i[b]!=="undefined"?i[b]:null;else if(typeof b==="object"&&b!==null){e={};for(h in b)e[b[h]]=typeof i[b[h]]!=="undefined"?i[b[h]]:null}else e=i;return e};f.prototype.filter=function(b){var e,h={},i=c();if(typeof b==="string")b=RegExp(b);for(e in i)if(e.match(b))h[e]=i[e];return h};f.prototype.set=
function(b,e,h){if(typeof h!=="object"||h===null)h={};if(typeof e==="undefined"||e===null){e="";h.hoursToLive=-8760}else if(typeof e!=="string")if(typeof JSON==="object"&&JSON!==null&&typeof JSON.stringify==="function")e=JSON.stringify(e);else throw Error("cookies.set() received non-string value and could not serialize.");h=d(h);document.cookie=b+"="+encodeURIComponent(e)+h};f.prototype.del=function(b,e){var h={},i;if(typeof e!=="object"||e===null)e={};if(typeof b==="boolean"&&b===true)h=this.get();
else if(typeof b==="string")h[b]=true;for(i in h)typeof i==="string"&&i!==""&&this.set(i,null,e)};f.prototype.test=function(){var b=false;this.set("cT","data");if(this.get("cT")==="data"){this.del("cT");b=true}return b};f.prototype.setOptions=function(b){if(typeof b!=="object")b=null;g=a(b)};return new f}();
(function(){window.jQuery&&function(a){a.cookies=jaaulde.utils.cookies;a.each({cookify:function(d){return this.each(function(){var c,f=["name","id"],g,b=a(this),e;for(c in f)if(!isNaN(c)){g=b.attr(f[c]);if(typeof g==="string"&&g!==""){if(b.is(":checkbox, :radio")){if(b.attr("checked"))e=b.val()}else e=b.is(":input")?b.val():b.html();if(typeof e!=="string"||e==="")e=null;a.cookies.set(g,e,d);break}}})},cookieFill:function(){return this.each(function(){var d,c,f=["name","id"],g,b=a(this);for(c=function(){d=
f.pop();return!!d};c();){g=b.attr(d);if(typeof g==="string"&&g!==""){c=a.cookies.get(g);if(c!==null)if(b.is(":checkbox, :radio"))b.val()===c?b.attr("checked","checked"):b.removeAttr("checked");else b.is(":input")?b.val(c):b.html(c);break}}})},cookieBind:function(d){return this.each(function(){var c=a(this);c.cookieFill().change(function(){c.cookify(d)})})}},function(d){a.fn[d]=this})}(window.jQuery)})();
jQuery.__stringPrototype={JSONFilter:/^\/\*-secure-([\s\S]*)\*\/\s*$/,ScriptFragment:"<script[^>]*>([\\S\\s]*?)<\/script>",specialChar:{"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r","\\":"\\\\"},blank:function(a){return/^\s*$/.test(this.s(a)||" ")},camelize:function(a){var d=this.s(a).split("-"),c;a=[d[0]];for(c=1;c<d.length;c++)a.push(d[c].charAt(0).toUpperCase()+d[c].substring(1));a=a.join("");return this.r(arguments,0,a)},capitalize:function(a){a=this.s(a);a=a.charAt(0).toUpperCase()+
a.substring(1).toLowerCase();return this.r(arguments,0,a)},dasherize:function(a){a=this.s(a).split("_").join("-");return this.r(arguments,0,a)},empty:function(a){return this.s(a)===""},endsWith:function(a,d){d=this.s(d);var c=d.length-a.length;return c>=0&&d.lastIndexOf(a)===c},escapeHTML:function(a){a=this.s(a).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;");return this.r(arguments,0,a)},evalJSON:function(a,d){d=this.s(d);var c=this.unfilterJSON(false,d);try{if(!a||this.isJSON(c))return eval("("+
c+")")}catch(f){}throw new SyntaxError("Badly formed JSON string: "+d);},evalScripts:function(a){a=this.extractScripts(this.s(a));var d=[];if(a.length>0)for(var c=0;c<a.length;c++)d.push(eval(a[c]));return d},extractScripts:function(a){var d=RegExp(this.ScriptFragment,"img"),c=RegExp(this.ScriptFragment,"im");a=this.s(a).match(d)||[];d=[];if(a.length>0)for(var f=0;f<a.length;f++)d.push(a[f].match(c)[1]||"");return d},gsub:function(a,d,c){c=this.s(c);c=jQuery.isFunction(d)?this.sub(a,d,-1,c):c.split(a).join(d);
return this.r(arguments,2,c)},include:function(a,d){return this.s(d).indexOf(a)>-1},inspect:function(a,d){d=this.s(d);var c;try{c=this.sub(/[\x00-\x1f\\]/,function(g){var b=jQuery.__stringPrototype.specialChar[g[0]];return b?b:"\\u00"+g[0].charCodeAt().toPaddedString(2,16)},-1,d)}catch(f){c=d}d=a?'"'+c.replace(/"/g,'\\"')+'"':"'"+c.replace(/'/g,"\\'")+"'";return this.r(arguments,1,d)},interpolate:function(a,d,c){c=this.s(c);d||(d=/(\#\{\s*(\w+)\s*\})/);var f=RegExp(d.source,"g");f=c.match(f);var g;
for(g=0;g<f.length;g++)c=c.replace(f[g],a[f[g].match(d)[2]]);return this.r(arguments,2,c)},isJSON:function(a){a=this.s(a);if(this.blank(a))return false;a=a.replace(/\\./g,"@").replace(/"[^"\\\n\r]*"/g,"");return/^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$/.test(a)},scan:function(a,d,c){c=this.s(c);this.sub(a,d,-1,c);return this.r(arguments,2,c)},startsWith:function(a,d){return this.s(d).indexOf(a)===0},strip:function(a){a=jQuery.trim(this.s(a));return this.r(arguments,0,a)},stripScripts:function(a){a=this.s(a).replace(RegExp(this.ScriptFragment,
"img"),"");return this.r(arguments,0,a)},stripTags:function(a){a=this.s(a).replace(/<\/?[^>]+>/gi,"");return this.r(arguments,0,a)},sub:function(a,d,c,f){f=this.s(f);if(a.source&&!a.global){var g=a.ignoreCase?"ig":"g";g+=a.multiline?"m":"";a=RegExp(a.source,g)}g=f.split(a);var b=f.match(a);if(jQuery.browser.msie){f.indexOf(b[0])==0&&g.unshift("");f.lastIndexOf(b[b.length-1])==f.length-b[b.length-1].length&&g.push("")}c=c<0?g.length-1:c||1;f=g[0];for(var e=1;e<g.length;e++)f+=e<=c?jQuery.isFunction(d)?
d(b[e-1]||b)+g[e]:d+g[e]:(b[e-1]||b)+g[e];return this.r(arguments,3,f)},succ:function(a){a=this.s(a);a=a.slice(0,a.length-1)+String.fromCharCode(a.charCodeAt(a.length-1)+1);return this.r(arguments,0,a)},times:function(a,d){d=this.s(d);for(var c="",f=0;f<a;f++)c+=d;return this.r(arguments,1,c)},toJSON:function(a){return this.r(arguments,0,this.inspect(true,this.s(a)))},toQueryParams:function(a,d){d=this.s(d);var c=d.substring(d.indexOf("?")+1).split("#")[0].split(a||"&"),f={},g,b,e;for(g=0;g<c.length;g++){e=
c[g].split("=");b=decodeURIComponent(e[0]);e=e[1]?decodeURIComponent(e[1]):undefined;if(f[b]){if(typeof f[b]=="string")f[b]=[f[b]];f[b].push(e)}else f[b]=e}return f},truncate:function(a,d,c){c=this.s(c);a=a||30;d=!d?"...":d;c=c.length>a?c.slice(0,a-d.length)+d:String(c);return this.r(arguments,2,c)},underscore:function(a){a=this.sub(/[A-Z]/,function(d){return"_"+d.toLowerCase()},-1,this.s(a));if(a.charAt(0)=="_")a=a.substring(1);return this.r(arguments,0,a)},unescapeHTML:function(a){a=this.stripTags(this.s(a)).replace(/&amp;/g,
"&").replace(/&lt;/g,"<").replace(/&gt;/g,">");return this.r(arguments,0,a)},unfilterJSON:function(a,d){d=this.s(d);a=a||this.JSONFilter;var c=d.match(a);d=c!==null?c[1]:d;return this.r(arguments,1,jQuery.trim(d))},r:function(a,d,c){if(a.length>d||this.str===undefined)return c;else{this.str=""+c;return this}},s:function(a){if(a===""||a)return a;if(this.str===""||this.str)return this.str;return this}};jQuery.__stringPrototype.parseQuery=jQuery.__stringPrototype.toQueryParams;
jQuery.string=function(a){if(a===String.prototype)jQuery.extend(String.prototype,jQuery.__stringPrototype);else return jQuery.extend({str:a},jQuery.__stringPrototype)};
(function(a,d,c){function f(g,b){function e(j){a(h).each(function(){var k=a(this);this!==j.target&&!k.has(j.target).length&&k.triggerHandler(b,[j.target])})}b=b||g+c;var h=a(),i=g+"."+b+"-special-event";a.event.special[b]={setup:function(){h=h.add(this);h.length===1&&a(d).bind(i,e)},teardown:function(){h=h.not(this);h.length===0&&a(d).unbind(i)},add:function(j){var k=j.handler;j.handler=function(l,m){l.target=m;k.apply(this,arguments)}}}}a.map("click dblclick mousemove mousedown mouseup mouseover mouseout change select submit keydown keypress keyup".split(" "),
function(g){f(g)});f("focusin","focus"+c);f("focusout","blur"+c);a.addOutsideEvent=f})(jQuery,document,"outside");
$(document).ready(function(){function a(){switch($("meta[name=area]").attr("content")){case "devnet":var b="edsulliva",e="R_3466dc7c929862c7b400574c56d3eb6b";break;case "products":b="adobesm";e="R_214c6d683f4ce59a161ce18046883b5d";break;default:b="adobesm";e="R_214c6d683f4ce59a161ce18046883b5d"}b="http://api.bit.ly/v3/shorten?login="+b+"&apiKey="+e+"&longUrl="+encodeURIComponent(d)+"&format=xml";$.ajax({type:"GET",contentType:"application/x-www-form-urlencoded",dataType:"xml",url:b,async:false,success:function(h){$(h).find("url").each(function(){f=
true;g=$(this).text()})},error:function(){}})}var d=location.href,c=document.title,f=false,g;$(".Facebook-button").click(function(b){b.preventDefault();$.browser.msie||a();f?window.open("http://www.facebook.com/sharer.php?u="+g+"&t="+encodeURIComponent(c),"sharer","toolbar=0,status=0,width=626,height=436"):window.open("http://www.facebook.com/sharer.php?u="+encodeURIComponent(d)+"&t="+encodeURIComponent(c),"sharer","toolbar=0,status=0,width=626,height=436");return false});$(".Twitter-button").click(function(b){b.preventDefault();
$.browser.msie||a();f?window.open("http://twitter.com/home?status="+encodeURIComponent(c)+": "+g,"sharer","toolbar=0,status=0,width=775,height=436"):window.open("http://twitter.com/home?status="+encodeURIComponent(c)+": "+encodeURIComponent(d),"sharer","toolbar=0,status=0,width=775,height=436");return false});$(".LinkedIn-button").click(function(b){b.preventDefault();$.browser.msie||a();f?window.open("http://www.linkedin.com/shareArticle?mini=true&url="+g+"&title="+encodeURIComponent(c),"sharer",
"toolbar=0,status=0,width=626,height=436"):window.open("http://www.linkedin.com/shareArticle?mini=true&url="+encodeURIComponent(d)+"&title="+encodeURIComponent(c),"sharer","toolbar=0,status=0,width=626,height=436");return false});if($.browser.msie||$.browser.mozilla||window.opera)$(".Bookmark-button").click(function(){var b=parent.location.protocol+"//"+location.host+window.location.pathname,e=$("title").html();if($.browser.mozilla)window.sidebar.addPanel(e,b,"");else if($.browser.msie)window.external.AddFavorite(b,
e);else if(window.opera){$(this).attr("href",b);$(this).attr("title",e);$(this).attr("rel","sidebar")}return false});else{$(".IconBookmark").remove();$(".Bookmark-button").remove()}$(".Print-button").click(function(){window.print();return false});$(".RouterClose").click(function(){var b=$(this).attr("rel");$("#"+b).hide("pulsate",{times:1},600);return true});$(".LinkDownload").hover(function(){$(this).find("a").css("cursor","default");var b=$(this).find("a").attr("rel");$(this).addClass("Link"+b)},
function(){$(this).find("a").css("cursor","");var b=$(this).find("a").attr("rel");$(this).removeClass("Link"+b)});$(".RouterMore").hover(function(){$(this).removeClass("RouterMore");$(this).addClass("RouterMoreHover")},function(){$(this).removeClass("RouterMoreHover");$(this).addClass("RouterMore")});$(".RouterFacebook").hover(function(){$(this).removeClass("RouterFacebook");$(this).addClass("RouterFacebookHover")},function(){$(this).removeClass("RouterFacebookHover");$(this).addClass("RouterFacebook")});
$(".RouterTwitter").hover(function(){$(this).removeClass("RouterTwitter");$(this).addClass("RouterTwitterHover")},function(){$(this).removeClass("RouterTwitterHover");$(this).addClass("RouterTwitter")});$(".RouterRSS").hover(function(){$(this).removeClass("RouterRSS");$(this).addClass("RouterRSSHover")},function(){$(this).removeClass("RouterRSSHover");$(this).addClass("RouterRSS")});$(".RouterAIGA").hover(function(){$(this).removeClass("RouterAIGA");$(this).addClass("RouterAIGAHover")},function(){$(this).removeClass("RouterAIGAHover");
$(this).addClass("RouterAIGA")});$(".HoverGrey").each(function(){var b=$(this).attr("id"),e=$(this).siblings(".HoverColor").attr("id");$("#"+b).bind("mouseenter",function(){$(this).css("display","none");$("#"+e).css("display","block")});$("#"+e).bind("mouseleave",function(){$(this).css("display","none");$("#"+b).css("display","block")})})});
