6,7d5 < var moarr=[]; < var myh3=null, myh3ih=''; 9c7 < function docgetclass(inc, intag) { --- > function docgetclass(inc, intag) { 23c21 < } --- > } 25c23 < function lookforinhousestyle(iinmode, theone, isclick) { --- > function lookforinhousestyle(iinmode, theone) { 27d24 < var tis=-1, tisex='', minus='', isok=true;; 32,86d28 < var ish=' ... Long Hover'; < if (!isclick) { < if (myh3) { ish=' ... Long Hover'; } < //alert(moarr[0] + " vs lookforinhousestyle('" + iinmode + "', true, true)" ); < minus='-'; < tis=new Date().getTime(); < tis+=2000; < tisex=' data-expire=' + tis; < if (moarr.indexOf("lookforinhousestyle('" + iinmode + "', true, true)") != -1 || moarr.indexOf("lookforinhousestyle('" + iinmode + "', false, true)") != -1) { < isok=false; < if (moarr.indexOf("lookforinhousestyle('" + iinmode + "', true, false)") != -1) { < moarr[moarr.indexOf("lookforinhousestyle('" + iinmode + "', true, false)")]=""; // moarr[moarr.indexOf("lookforinhousestyle('" + iinmode + ", true, false)")].replace(', false)',', true)'); < //tisex=""; < //isclick=true; < //minus=""; < //isok=true; < } else { < moarr[moarr.indexOf("lookforinhousestyle('" + iinmode + "', false, false)")]=""; // moarr[moarr.indexOf("lookforinhousestyle('" + iinmode + ", false, false)")].replace(', false)',', true)'); < //tisex=""; < //isclick=true; < //minus=""; < //isok=true; < } < //alert('abandoned'); < if (myh3) { ish=' ... click replaces hover'; myh3.innerHTML=myh3ih + ish; } < } < } else if (moarr.indexOf("lookforinhousestyle('" + iinmode + "', true, false)") != -1 || moarr.indexOf("lookforinhousestyle('" + iinmode + "', false, false)") != -1) { < if (moarr.indexOf("lookforinhousestyle('" + iinmode + "', true, false)") != -1) { < moarr[moarr.indexOf("lookforinhousestyle('" + iinmode + "', true, false)")]=moarr[moarr.indexOf("lookforinhousestyle('" + iinmode + "', true, false)")].replace(', false)',', true)'); < } else { < moarr[moarr.indexOf("lookforinhousestyle('" + iinmode + "', false, false)")]=moarr[moarr.indexOf("lookforinhousestyle('" + iinmode + "', false, false)")].replace(', false)',', true)'); < } < //if (myh3) { ish=' ... Click'; myh3.innerHTML=myh3ih + ' ... Click'; } < } //else if (myh3) { < // ish=' ... click'; < // myh3.innerHTML=myh3ih + ' ... click'; < //} < if (myh3 && isok) { < if (myh3ih.indexOf('lick') != -1 && !isclick) { < tisex=""; < isclick=true; < minus=""; < isok=true; < } < } < if (isok) { < //if (!isclick) { < // document.title='hover'; < //} else { < // document.title=' .... Click'; < // if (myh3.innerHTML.indexOf('over') != -1) { < // myh3.innerHTML=myh3ih + ' .... Click'; < // } < //} < //if (myh3) { myh3.innerHTML=myh3ih + ish; } 151,152c93,94 < if ((inmode == 'below' || ('' + findbs[jfb].className).indexOf('below') != -1) && alreadyvisitedlist.indexOf((minus + findbs[jfb].id)) == -1) { < document.body.innerHTML+=''; --- > if ((inmode == 'below' || ('' + findbs[jfb].className).indexOf('below') != -1) && alreadyvisitedlist.indexOf(('' + findbs[jfb].id)) == -1) { > document.body.innerHTML+='
'; 154,155c96 < if (isclick || 1 == 2) { thisalreadyvisitedlist.push((minus + findbs[jfb].id)); } < //if (tisex != '') { alert('add divleft divright' + isclick); } --- > thisalreadyvisitedlist.push(('' + findbs[jfb].id)); 157,158c98,99 < if ((inmode == 'above' || ('' + findbs[jfb].className).indexOf('above') != -1) && alreadyvisitedlist.indexOf((minus + findbs[jfb].id)) == -1) { < document.body.innerHTML+=''; --- > if ((inmode == 'above' || ('' + findbs[jfb].className).indexOf('above') != -1) && alreadyvisitedlist.indexOf(('' + findbs[jfb].id)) == -1) { > document.body.innerHTML+='
'; 160,161c101 < if (isclick || 1 == 2) { thisalreadyvisitedlist.push((minus + findbs[jfb].id)); } < //if (tisex != '') { alert('Add divleft divright' + isclick); } --- > thisalreadyvisitedlist.push(('' + findbs[jfb].id)); 163,164c103,104 < if ((inmode == 'left' || ('' + findbs[jfb].className).indexOf('left') != -1) && alreadyvisitedlist.indexOf((minus + findbs[jfb].id)) == -1) { < document.body.innerHTML+=''; --- > if ((inmode == 'left' || ('' + findbs[jfb].className).indexOf('left') != -1) && alreadyvisitedlist.indexOf(('' + findbs[jfb].id)) == -1) { > document.body.innerHTML+='
'; 166,167c106 < if (isclick || 1 == 2) { thisalreadyvisitedlist.push((minus + findbs[jfb].id)); } < //if (tisex != '') { alert('Add divabove divbelow' + isclick); } --- > thisalreadyvisitedlist.push(('' + findbs[jfb].id)); 169,170c108,109 < if ((inmode == 'right' || ('' + findbs[jfb].className).indexOf('right') != -1) && alreadyvisitedlist.indexOf((minus + findbs[jfb].id)) == -1) { < document.body.innerHTML+=''; --- > if ((inmode == 'right' || ('' + findbs[jfb].className).indexOf('right') != -1) && alreadyvisitedlist.indexOf(('' + findbs[jfb].id)) == -1) { > document.body.innerHTML+='
'; 172,173c111 < if (isclick || 1 == 2) { thisalreadyvisitedlist.push((minus + findbs[jfb].id)); } < //if (tisex != '') { alert('add divabove divbelow' + isclick); } --- > thisalreadyvisitedlist.push(('' + findbs[jfb].id)); 183,212d120 < } < } < < function fixnogoes() { < var tis=new Date().getTime(); < var eles=document.getElementsByTagName('*'); < for (var ieles=0; ieles= eval('' + eval('' + eles[ieles].getAttribute('data-expire')))) { < //alert(tis + ' ' + ('' + eles[ieles].getAttribute('data-expire'))); < eles[ieles].style.zIndex='-30'; < eles[ieles].style.display='none'; < } < } < } < } < if (document.getElementById('myh3')) { myh3=document.getElementById('myh3'); } < setTimeout(fixnogoes, 2000); 218d125 < if (('' + eles[ieles].getAttribute('data-expire')).replace('null','') == '') { 222d128 < } 228,272c134 < if (myh3) { < myh3.innerHTML=myh3ih + ' ... click'; < } < if (!theone) { < lookforinhousestyle('' + divo.id, theone, true); < } else { < lookforinhousestyle('' + divo.id, theone, true); < } < } < < function lookformout(divo, theone) { < if (myh3) { < myh3.innerHTML=myh3ih + ''; < } < if (!theone) { < if (moarr.indexOf("lookforinhousestyle('" + divo.id + "', false, false)") != -1) { < //document.title=('Here'); < moarr[moarr.indexOf("lookforinhousestyle('" + divo.id + "', false, false)")]=moarr[moarr.indexOf("lookforinhousestyle('" + divo.id + "', false, false)")].replace(', false)',', true)'); < //setTimeout("lookforinhousestyle('" + divo.id + "', false, false)",2000); < //lookforinhousestyle('' + divo.id, theone, false); < } else if (moarr.indexOf("lookforinhousestyle('" + divo.id + "', true, false)") != -1) { < //document.title=('here'); < moarr[moarr.indexOf("lookforinhousestyle('" + divo.id + "', true, false)")]=moarr[moarr.indexOf("lookforinhousestyle('" + divo.id + "', true, false)")].replace(', false)',', true)'); < //moarr.push("lookforinhousestyle('" + divo.id + "', true, false)"); < //setTimeout("lookforinhousestyle('" + divo.id + "', true, false)",2000); < //lookforinhousestyle('' + divo.id, theone, false); < } else { < document.title="?"; < } < } < } < < function lookformo(divo, theone) { < if (myh3) { < myh3.innerHTML=myh3ih + ' ... long hover'; < } < if (!theone) { < moarr.push("lookforinhousestyle('" + divo.id + "', false, false)"); < setTimeout("lookforinhousestyle('" + divo.id + "', false, false)",2000); < //lookforinhousestyle('' + divo.id, theone, false); < } else { < moarr.push("lookforinhousestyle('" + divo.id + "', true, false)"); < setTimeout("lookforinhousestyle('" + divo.id + "', true, false)",2000); < //lookforinhousestyle('' + divo.id, theone, false); < } --- > lookforinhousestyle('' + divo.id, theone); 275,276d136 < setTimeout(fixnogoes,1000); < \ No newline at end of file