//PoP-Post by Heracleum - Please DO NOT copy/reuse/distribute this code var ppid = 89; var ppurl = 'luduslitterarius.splinder.com'; var pparcs = new Array("1118949121#5055314", "1119270601#5084265"); var pptitles = new Array("Un simbolo", "World Cyber Games 2005"); var ppvotes = new Array("3", "1"); var ppwin; function checkpost(afn, pid){ var arc = afn; var iof; if ((iof= arc.lastIndexOf('#')) > -1) arc = arc.substring(0, iof); if ((iof= arc.lastIndexOf('/')) > -1) arc = arc.substring(iof+1); if ( self.name == '_view' ){//arc.substr(0,3)=='yes'){ var pparc = arc+'_'+pid; //var pparc = arc.substring(9)+'_'+pid; document.write('
PoP-Post: gestisci questo post
'); }else{ if ((iof= arc.lastIndexOf('?')) > -1) arc = arc.substring(0, iof); var arcid = arc+'#'+pid; var idx = -1; for (var i=0; i-1){ var pparc = arc+'_'+pid; document.write('
'); document.write('
'+pptitles[idx]+''+ppvotes[idx]+' voti '); document.write('+ / '); document.write('-'); document.write('
'); } } } function ppcompvotes(a, b) { var va = parseInt( a.substring(0, a.indexOf('|')) ); var vb = parseInt( b.substring(0, b.indexOf('|')) ); if ( va < vb ) return 1; if ( va > vb ) return -1; return 0; } function ppcompdates(a, b) { var va = parseInt( a.substring(0, a.indexOf('#')) ); var vb = parseInt( b.substring(0, b.indexOf('#')) ); if ( va < vb ) return 1; if ( va > vb ) return -1; return 0; } function ppCreateBox(arr, max, htxt, iarc, itit, ivot){ document.write('
'+ htxt +'
'); var tok, dt, pdt; for (var i=0; i'); document.write(''); } document.write('
'+tok[ivot]+''+tok[itit]+'
'); } function postsByVote(max, tit){ if (!tit) tit = 'Post PoPolari (per voto):'; var arr = new Array(); for (var i=0; i