var pp=window.location.hash.match(/pp=\d+$/);if(pp){pp=pp[0];var link=window.location.href.match(/(.*\?)|(.*#)/);link=link[0].replace(/[\?\#]+$/g,"");if(window.location.search.match(/(^\?p=\d+)|(\&p=\d+)/)){var search=window.location.search.replace(/(\&pp=\d+)|(pp=\d+)/g,"");link+=search+"&"+pp;} else if(link!="http://www.europei.net"&&link!="http://www.europei.net/"){var link=link.replace(/(post-page-\d+\/)|(\/$)/g,"");link+="/post-page-"+pp.substr(3)+"/";} window.location.replace(link);} phprpc_client.create('pagepost_rpc');pagepost_rpc.use_service('http://www.europei.net/wp-content/plugins/pagepost/rpc.php');pagepost_rpc.get_pagepost_callback=function(result,args,output){if(result instanceof phprpc_error){alert(result.errno+": "+result.errstr);} else{set_innerHTML('pagepost_'+args[2],output);}} function pagepost(post_id,curpage,id){if(typeof(event)=="undefined"||!event.shiftKey){if(pagepost_rpc.ready){var hint='    Loading ...';var pagebar_top=document.getElementById('pagebar_top_'+id);var pagebar_bottom=document.getElementById('pagebar_bottom_'+id);pagebar_top.innerHTML+=hint;pagebar_bottom.innerHTML+=hint;pagepost_rpc.get_pagepost(post_id,curpage,id);return true;} else{alert('The PagePost RPC was not ready!');}} else{return true;}} var global_html_pool=[];var global_script_pool=[];var document_buffer="";function set_innerHTML(obj_id,html,time){function get_script_id(){return"script_"+(new Date()).getTime().toString(36) +Math.floor(Math.random()*100000000).toString(36);} document_buffer="";document.write=function(str){document_buffer+=str;} document.writeln=function(str){document_buffer+=str+"\n";} global_html_pool=[];var scripts=[];html=html.split(/<\/script>/i);for(var i=0;i')+1);scripts[i].src=scripts[i].src.match(/src\s*=\s*(\"([^\"]*)\"|\'([^\']*)\'|([^\s]*)[\s>])/i);if(scripts[i].src){if(scripts[i].src[2]){scripts[i].src=scripts[i].src[2];} else if(scripts[i].src[3]){scripts[i].src=scripts[i].src[3];} else if(scripts[i].src[4]){scripts[i].src=scripts[i].src[4];} else{scripts[i].src="";} scripts[i].text="";} else{scripts[i].src="";scripts[i].text=scripts[i].text.substr(scripts[i].text.indexOf('>')+1);scripts[i].text=scripts[i].text.replace(/^\s*<\!--\s*/g,"");}} var s;if(typeof(time)=="undefined"){s=0;} else{s=time;} var script,add_script,remove_script;for(var i=0;i