8d7
< var movemode=(navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i) ? 'touch' : 'mouse');
212,220d210
< if (document.getElementById('scurs') && movemode == 'touch') {
< //alert('prethere');
< document.getElementById('scurs').style.position='absolute';
< document.getElementById('scurs').style.left='' + gposx + 'px';
< document.getElementById('scurs').style.top='' + gposy + 'px';
< document.getElementById('scurs').style.display='inline-block';
< document.getElementById('scurs').innerHTML='';
< //alert('there');
< }
224,232d213
< if (document.getElementById('scurs') && movemode == 'touch') {
< //alert('prehere');
< document.getElementById('scurs').style.position='absolute';
< document.getElementById('scurs').style.left='' + gposx + 'px';
< document.getElementById('scurs').style.top='' + gposy + 'px';
< document.getElementById('scurs').style.display='inline-block';
< document.getElementById('scurs').innerHTML='';
< //alert('here');
< }
244,245d224
< var ris=null;
< ev.preventDefault();
250,263c229,231
< }
< if (ev.touches[0].clientX) {
< //alert(ev.touches[0].screenX + ' vs ' + ev.touches[0].clientX + ' vs ' + ev.touches[0].pageX + ' ' + document.body.scrollLeft + ' ' + geno.offsetLeft);
< gposx = eval(eval('' + ev.touches[0].clientX) - 0);
< gposy = eval(eval('' + ev.touches[0].clientY) - 0);
< if (geno) {
< ris=geno.getBoundingClientRect();
< gposx-=eval('' + ris.x);
< gposy-=eval('' + ris.y);
< gposx-=20;
< gposy-=20;
< }
< gentruew=eval(('' + geno.style.width).replace('px',''));
< gentrueh=eval(('' + geno.style.height).replace('px',''));
---
> } else {
> gposx = ev.touches[0].clientX;
> gposy = ev.touches[0].clientY;
288,290d255
< if (movemode == 'touch') {
< lottery(bc.replace(bc.split('')[0].split('>')[eval(-1 + bc.split('')[0].split('>').length)], '' + xmap(Math.round('' + gposx)) + eval('String.fromCodePoint(' + genscp.replace(/\./g,',') + ')') + ymap(Math.round('' + gposy))), lasttzsuff); //alert('Pre');
< } else {
292d256
< }
305,309c269
< if (movemode == 'touch') {
< lottery(genpcur, lasttzsuff);
< } else {
< document.body.style.cursor=lottery(genpcur, lasttzsuff); //bc.replace(bc.split('')[0].split('>')[eval(-1 + bc.split('')[0].split('>').length)], '' + Math.round('' + eval(gposx * 100.0 / gentruew)) + '%' + eval('String.fromCodePoint(' + genscp.replace(/\./g,',') + ')') + Math.round('' + eval(gposy * 100.0 / gentrueh)) + '%');
< }
---
> document.body.style.cursor=genpcur; //bc.replace(bc.split('')[0].split('>')[eval(-1 + bc.split('')[0].split('>').length)], '' + Math.round('' + eval(gposx * 100.0 / gentruew)) + '%' + eval('String.fromCodePoint(' + genscp.replace(/\./g,',') + ')') + Math.round('' + eval(gposy * 100.0 / gentrueh)) + '%');
312,316c272
< if (movemode == 'touch') {
< lottery(bc.replace(bc.split('')[0].split('>')[eval(-1 + bc.split('')[0].split('>').length)], '' + Math.round('' + eval(gposx * 100.0 / gentruew)) + '%' + eval('String.fromCodePoint(' + genscp.replace(/\./g,',') + ')') + Math.round('' + eval(gposy * 100.0 / gentrueh)) + '%'), lasttzsuff);
< } else {
< document.body.style.cursor=lottery(bc.replace(bc.split('')[0].split('>')[eval(-1 + bc.split('')[0].split('>').length)], '' + Math.round('' + eval(gposx * 100.0 / gentruew)) + '%' + eval('String.fromCodePoint(' + genscp.replace(/\./g,',') + ')') + Math.round('' + eval(gposy * 100.0 / gentrueh)) + '%'), lasttzsuff);
< }
---
> document.body.style.cursor=bc.replace(bc.split('')[0].split('>')[eval(-1 + bc.split('')[0].split('>').length)], '' + Math.round('' + eval(gposx * 100.0 / gentruew)) + '%' + eval('String.fromCodePoint(' + genscp.replace(/\./g,',') + ')') + Math.round('' + eval(gposy * 100.0 / gentrueh)) + '%');
323,325d278
< if (movemode == 'touch') {
< lottery(bc.replace(bc.split('')[0].split('>')[eval(-1 + bc.split('')[0].split('>').length)], '' + xmap(Math.round('' + gposx)) + ',' + ymap(Math.round('' + gposy))), lasttzsuff); //alert('PrE');
< } else {
327d279
< }
409c361
< if (('' + document.body.outerHTML).split('>')[0].indexOf(' on' + movemode + 'move=') == -1 || ('' + document.head.outerHTML).indexOf('ty' + 'pe=im' + 'g') != -1) {
---
> if (('' + document.body.outerHTML).split('>')[0].indexOf(' onmousemove=') == -1 || ('' + document.head.outerHTML).indexOf('ty' + 'pe=im' + 'g') != -1) {
511,522c463,465
< if (('' + document.body.outerHTML).split('>')[0].indexOf(' on' + movemode + 'move=') == -1 || 1 == 1) {
< if (('' + document.body.outerHTML).split('>')[0].indexOf(' on' + movemode + 'move="') != -1) {
< apfo=eval(('' + document.body.outerHTML).split('>')[0].split(' on' + movemode + 'move="')[1].split('(')[0].split('"')[0].split('=')[eval(-1 + ('' + document.body.outerHTML).split('>')[0].split(' on' + movemode + 'move="')[1].split('(')[0].split('"')[0].split('=').length)]);
< }
< if (movemode == 'touch') {
< if (!document.getElementById('scurs') && document.getElementById('myh4')) {
< if (1 == 1) {
< //geno.style.position='fixed';
< //geno.style.top='0px';
< //geno.style.left='0px';
< document.getElementsByTagName('td')[0].innerHTML+='';
< }
---
> if (('' + document.body.outerHTML).split('>')[0].indexOf(' onmousemove=') == -1 || 1 == 1) {
> if (('' + document.body.outerHTML).split('>')[0].indexOf(' onmousemove="') != -1) {
> apfo=eval(('' + document.body.outerHTML).split('>')[0].split(' onmousemove="')[1].split('(')[0].split('"')[0].split('=')[eval(-1 + ('' + document.body.outerHTML).split('>')[0].split(' onmousemove="')[1].split('(')[0].split('"')[0].split('=').length)]);
524,532d466
< if (geno) {
< //alert('geno.id=' + geno.outerHTML.split('>')[0]);
< document.getElementsByTagName('map')[0].ontouchmove=function(event){ gencurit(event) };
< //geno.ontouchmove=function(event){ gencurit(event) };
< } else {
< //alert('body');
< document.body.ontouchmove=function(event){ gencurit(event) };
< }
< } else {
534d467
< }
536,548c469
< if (geno.outerHTML.split('>')[0].indexOf(' on' + movemode + 'move=') == -1) {
< if (movemode == 'touch') {
< if (!document.getElementById('scurs') && document.getElementById('myh4')) {
< if (1 == 1) {
< //geno.style.position='fixed';
< //geno.style.top='0px';
< //geno.style.left='0px';
< document.getElementsByTagName('td')[0].innerHTML.innerHTML+='';
< }
< }
< //alert('geno');
< geno.ontouchmove=function(event){ gencurit(event) };
< } else {
---
> if (geno.outerHTML.split('>')[0].indexOf(' onmousemove=') == -1) {
550d470
< }