d=document;v=5;M=Math;s="LOVE";A(v);function R(c){return~~(M.random()*c)}
function A(){a=[];for(i=0;i<v;i++){a.push([]);for(j=0;j<v;j++)a[i].push(String.fromCharCode(65+R(26)))}x=R(v);y=R(v);h=R(2);i=0;if(h)for(y=M.min(y,v-4);4>i;i++)a[x][y+i]=s[i];else for(x=M.min(x,v-4);4>i;i++)a[x+i][y]=s[i];t=d.createElement("table");for(i=0;i<v;i++){r=d.createElement("tr");for(j=0;j<v;j++)e=d.createElement("td"),e.appendChild(d.createTextNode(a[i][j])),e.setAttribute("style","width:2em;height:2em;text-align:center;cursor:pointer"),(h&&i==x&&j>=y&&j<y+4||!h&&j==y&&i>=x&&i<x+4)&&e.setAttribute("class",
"L"),e.setAttribute("onclick","C(this)"),r.appendChild(e);t.appendChild(r)}t.setAttribute("border","1");t.style.margin="0 auto";b.appendChild(t)}function C(c){if(c.className){q=d.querySelectorAll(".L");for(i=0;4>i;i++)Q=q[i].style,Q.color="#FFF",Q.background="red";setTimeout("v++;b.removeChild(t);A()",500)}else alert("Oops")};
ZD1kb2N1bWVudDt2PTU7TT1NYXRoO3M9IkxPVkUiO0Eodik7ZnVuY3Rpb24gUihjKXtyZXR1cm5+fihNLnJhbmRvbSgpKmMpfQ0KZnVuY3Rpb24gQSgpe2E9W107Zm9yKGk9MDtpPHY7aSsrKXthLnB1c2goW10pO2ZvcihqPTA7ajx2O2orKylhW2ldLnB1c2goU3RyaW5nLmZyb21DaGFyQ29kZSg2NStSKDI2KSkpfXg9Uih2KTt5PVIodik7aD1SKDIpO2k9MDtpZihoKWZvcih5PU0ubWluKHksdi00KTs0Pmk7aSsrKWFbeF1beStpXT1zW2ldO2Vsc2UgZm9yKHg9TS5taW4oeCx2LTQpOzQ+aTtpKyspYVt4K2ldW3ldPXNbaV07dD1kLmNyZWF0ZUVsZW1lbnQoInRhYmxlIik7Zm9yKGk9MDtpPHY7aSsrKXtyPWQuY3JlYXRlRWxlbWVudCgidHIiKTtmb3Ioaj0wO2o8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