var mod_pagespeed_TVIPXVZ8bQ = "var sajax_debug_mode=false;var sajax_request_type=\"GET\";function sajax_debug(text){if(!sajax_debug_mode)return false;var e=document.getElementById('sajax_debug');if(!e){e=document.createElement(\"p\");e.className='sajax_debug';e.id='sajax_debug';var b=document.getElementsByTagName(\"body\")[0];if(b.firstChild)b.insertBefore(e,b.firstChild);else b.appendChild(e);}var m=document.createElement(\"div\");m.appendChild(document.createTextNode(text));e.appendChild(m);return true;}function sajax_init_object(){sajax_debug(\"sajax_init_object() called..\")\nvar A;try{A=new XMLHttpRequest();}catch(e){try{A=new ActiveXObject(\"Msxml2.XMLHTTP\");}catch(e){try{A=new ActiveXObject(\"Microsoft.XMLHTTP\");}catch(oc){A=null;}}}if(!A)sajax_debug(\"Could not create connection object.\");return A;}function sajax_do_call(func_name,args,target){var i,x,n;var uri;var post_data;uri=wgServer+((wgScript==null)?(wgScriptPath+\"/index.php\"):wgScript)+\"?action=ajax\";if(sajax_request_type==\"GET\"){if(uri.indexOf(\"?\")==-1)uri=uri+\"?rs=\"+encodeURIComponent(func_name);else\nuri=uri+\"&rs=\"+encodeURIComponent(func_name);for(i=0;i<args.length;i++)uri=uri+\"&rsargs[]=\"+encodeURIComponent(args[i]);post_data=null;}else{post_data=\"rs=\"+encodeURIComponent(func_name);for(i=0;i<args.length;i++)post_data=post_data+\"&rsargs[]=\"+encodeURIComponent(args[i]);}x=sajax_init_object();if(!x){alert(\"AJAX not supported\");return false;}try{x.open(sajax_request_type,uri,true);}catch(e){if(window.location.hostname==\"localhost\"){alert(\"Your browser blocks XMLHttpRequest to 'localhost', try using a real hostname for development/testing.\");}throw e;}if(sajax_request_type==\"POST\"){x.setRequestHeader(\"Method\",\"POST \"+uri+\" HTTP/1.1\");x.setRequestHeader(\"Content-Type\",\"application/x-www-form-urlencoded\");}x.setRequestHeader(\"Pragma\",\"cache=yes\");x.setRequestHeader(\"Cache-Control\",\"no-transform\");x.onreadystatechange=function(){if(x.readyState!=4)return;sajax_debug(\"received (\"+x.status+\" \"+x.statusText+\") \"+x.responseText);if(typeof(target)=='function'){target(x);}else if(typeof(target)=='object'){if(target.tagName=='INPUT'){if(x.status==200)target.value=x.responseText;}else{if(x.status==200)target.innerHTML=x.responseText;else target.innerHTML=\"<div class='error'>Error: \"+x.status+\" \"+x.statusText+\" (\"+x.responseText+\")</div>\";}}else{alert(\"bad target for sajax_do_call: not a function or object: \"+target);}return;}\nsajax_debug(func_name+\" uri = \"+uri+\" / post = \"+post_data);x.send(post_data);sajax_debug(func_name+\" waiting..\");delete x;return true;}";
var mod_pagespeed_DfwsA9qxfb = "jQuery.cookie=function(name,value,options){if(typeof value!='undefined'){options=options||{};if(value===null){value='';options.expires=-1;}var expires='';if(options.expires&&(typeof options.expires=='number'||options.expires.toUTCString)){var date;if(typeof options.expires=='number'){date=new Date();date.setTime(date.getTime()+(options.expires*24*60*60*1000));}else{date=options.expires;}expires='; expires='+date.toUTCString();}var path=options.path?'; path='+(options.path):'';var domain=options.domain?'; domain='+(options.domain):'';var secure=options.secure?'; secure':'';document.cookie=[name,'=',encodeURIComponent(value),expires,path,domain,secure].join('');}else{var cookieValue=null;if(document.cookie&&document.cookie!=''){var cookies=document.cookie.split(';');for(var i=0;i<cookies.length;i++){var cookie=jQuery.trim(cookies[i]);if(cookie.substring(0,name.length+1)==(name+'=')){cookieValue=decodeURIComponent(cookie.substring(name.length+1));break;}}}return cookieValue;}};";
