5c5
<
---
>
14d13
<
22d20
< var tox=[], toy=[];
25,32d22
< var mapimg='';
< var xrawurl='';
< var ifh='600px';
< var yehbut='';
<
< function placeit(whattoleft) {
< document.getElementById('placemap').innerHTML="";
< }
36,67d25
< if (rawhtml != '' && mapimg == '') {
< //alert(rawhtml);
< bits=rawhtml.replace(' 1) {
< //alert(bits[1]);
< postbits=bits[1].replace(' SRC=',' src=').split('src=');
< if (postbits.length > 1) {
< //alert(postbits[1]);
< mapimg=postbits[1].replace('>',' ').split(' ')[0].replace('"','').replace('"','').replace("'","").replace("'","");
< //alert('mApimg=' + mapimg + ' xrawurl=' + xrawurl);
< if (mapimg != '' && mapimg.indexOf('/') == -1 && xrawurl.indexOf('/') != -1) {
< //alert(xrawurl);
< var qbits=xrawurl.split('/');
< if (qbits[eval(-1 + qbits.length)].indexOf('.') != -1) {
< mapimg=xrawurl.replace('/' + qbits[eval(-1 + qbits.length)], '/' + mapimg);
< //alert('mapimg=' + mapimg);
< } else if (qbits[eval(-1 + qbits.length)] == '') {
< mapimg=xrawurl + mapimg;
< //alert('mapImg=' + mapimg);
< } else {
< mapimg=xrawurl + '/' + mapimg;
< //alert('mapiMg=' + mapimg);
< }
< }
< var ioh = new Image();
< ioh.src = mapimg;
< ifh = eval(("" + ioh.width).replace('px',''));
< if (eval("0" + ifh) == 0) ifh=600;
< ifh += 200;
< }
< }
< }
88d45
< xrawurl=rawurl;
90c47
< filen = "" + sparer + "";
---
> filen = "" + sparer + "";
93,113d49
< if (mapimg != '' && mapimg.indexOf('/') == -1 && sparer.indexOf('/') != -1) {
< //alert(sparer);
< var xbits=sparer.split('/');
< if (xbits[eval(-1 + xbits.length)].indexOf('.') != -1) {
< mapimg=sparer.replace('/' + xbits[eval(-1 + xbits.length)], '/' + mapimg);
< //alert('mapimg=' + mapimg);
< } else if (xbits[eval(-1 + xbits.length)] == '') {
< mapimg=sparer + mapimg;
< //alert('mapImg=' + mapimg);
< } else {
< mapimg=sparer + '/' + mapimg;
< //alert('mapiMg=' + mapimg);
< }
< }
< if (mapimg != '') {
< var ioh = new Image();
< ioh.src = mapimg;
< ifh = eval(("" + ioh.width).replace('px',''));
< if (eval("0" + ifh) == 0) ifh=600;
< ifh += 200;
< }
119d54
< // if ((location.search.split('url=')[1] ? decodeURIComponent(location.search.split('url=')[1]).split('&')[0] : '') != '') document.getElementById('tarea').value = rawhtml; //tablehtml;
123,124d57
< tox=[];
< toy=[];
158d90
< //names[eval(-1 + j)]=names[eval(-1 + j)] + ' ' + bits[j].split(' ')[0];
168,177d99
< tox.push(eval(minw) - 5);
< toy.push(eval(minh) - 5);
< //tox.push(Math.round(eval(minw)));
< //if (eval(j) != 1) {
< //toy.push(Math.round(eval(minh) + eval(heights[eval(-2 + j)] * 0 / 2)));
< //} else {
< //alert(minh); // + ' ' + heights[eval(-1 + j)] + ' ' + Math.round(eval(minh) - eval(heights[eval(-1 + j)])));
< //toy.push(Math.round(eval(minh) - eval(heights[eval(-1 + j)] * 0)));
< //alert(toy[eval(-1 + j)]);
< //}
179,180d100
< //names[eval(-1 + j)]=names[eval(-1 + j)] + ' ' + tox[eval(-1 + j)] + ' ' + toy[eval(-1 + j)] + 'background:url(' + "'" + mapimg + "'" + '); background-position: -' + tox[eval(-1 + j)] + 'px -' + toy[eval(-1 + j)] + 'px; background-clip: inherit; ';
< //alert(names[eval(-1 + j)]);
213,214d132
< tox.push(eval(minw) - 5);
< toy.push(eval(minh) - 5);
230,231c148
< tablehtml=('
| /svg>/td> |