//Funciones etmx Tracker

var smf_formSubmitted = false;
var encN=5;

// Define document.getElementById for Internet Explorer 4.
if (typeof(document.getElementById) == "undefined")
	document.getElementById = function (id)
	{
		// Just return the corresponding index of all.
		return document.all[id];
	}
// Define XMLHttpRequest for IE 5 and above. (don't bother for IE 4 :/.... works in Opera 7.6 and Safari 1.2!)
else if (!window.XMLHttpRequest && window.ActiveXObject)
	window.XMLHttpRequest = function ()
	{
		return new ActiveXObject(navigator.userAgent.indexOf("MSIE 5") != -1 ? "Microsoft.XMLHTTP" : "MSXML2.XMLHTTP");
	};

// Some older versions of Mozilla don't have this, for some reason.
if (typeof(document.forms) == "undefined")
	document.forms = document.getElementsByTagName("form");

// Load an XML document using XMLHttpRequest.
function getXMLDocument(url, callback)
{
	if (!window.XMLHttpRequest)
		return false;

	var myDoc = new XMLHttpRequest();
	if (typeof(callback) != "undefined")
	{
		myDoc.onreadystatechange = function ()
		{
			if (myDoc.readyState != 4)
				return;

			if (myDoc.responseXML != null && myDoc.status == 200)
				callback(myDoc.responseXML);
		};
	}
	myDoc.open('GET', url, true);
	myDoc.send(null);

	return true;
}

// Send a post form to the server using XMLHttpRequest.
function sendXMLDocument(url, content, callback)
{
	if (!window.XMLHttpRequest)
		return false;

	var sendDoc = new window.XMLHttpRequest();
	if (typeof(callback) != "undefined")
	{
		sendDoc.onreadystatechange = function ()
		{
			if (sendDoc.readyState != 4)
				return;

			if (sendDoc.responseXML != null && sendDoc.status == 200)
				callback(sendDoc.responseXML);
			else
				callback(false);
		};
	}
	sendDoc.open('POST', url, true);
	if (typeof(sendDoc.setRequestHeader) != "undefined")
		sendDoc.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
	sendDoc.send(content);

	return true;
}

function textToEntities(text)
{
	var entities = "";
	for (var i = 0; i < text.length; i++)
	{
		if (text.charCodeAt(i) > 127)
			entities += "&#" + text.charCodeAt(i) + ";";
		else
			entities += text.charAt(i);
	}

	return entities;
}

// Open a new window.
function reqWin(desktopURL, alternateWidth, alternateHeight, noScrollbars)
{
	if ((alternateWidth && self.screen.availWidth * 0.8 < alternateWidth) || (alternateHeight && self.screen.availHeight * 0.8 < alternateHeight))
	{
		noScrollbars = false;
		alternateWidth = Math.min(alternateWidth, self.screen.availWidth * 0.8);
		alternateHeight = Math.min(alternateHeight, self.screen.availHeight * 0.8);
	}
	else
		noScrollbars = typeof(noScrollbars) != "undefined" && noScrollbars == true;

	window.open(desktopURL, 'requested_popup', 'toolbar=no,location=no,status=no,menubar=no,scrollbars=' + (noScrollbars ? 'no' : 'yes') + ',width=' + (alternateWidth ? alternateWidth : 480) + ',height=' + (alternateHeight ? alternateHeight : 220) + ',resizable=no');

	// Return false so the click won't follow the link ;).
	return false;
}

// Remember the current position.
function storeCaret(text)
{
	// Only bother if it will be useful.
	if (typeof(text.createTextRange) != "undefined")
		text.caretPos = document.selection.createRange().duplicate();
}

// Replaces the currently selected text with the passed text.
function replaceText(text, textarea)
{
	// Attempt to create a text range (IE).
	if (typeof(textarea.caretPos) != "undefined" && textarea.createTextRange)
	{
		var caretPos = textarea.caretPos;

		caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text + ' ' : text;
		caretPos.select();
	}
	// Mozilla text range replace.
	else if (typeof(textarea.selectionStart) != "undefined")
	{
		var begin = textarea.value.substr(0, textarea.selectionStart);
		var end = textarea.value.substr(textarea.selectionEnd);
		var scrollPos = textarea.scrollTop;

		textarea.value = begin + text + end;

		if (textarea.setSelectionRange)
		{
			textarea.focus();
			textarea.setSelectionRange(begin.length + text.length, begin.length + text.length);
		}
		textarea.scrollTop = scrollPos;
	}
	// Just put it on the end.
	else
	{
		textarea.value += text;
		textarea.focus(textarea.value.length - 1);
	}
}

// Surrounds the selected text with text1 and text2.
function surroundText(text1, text2, textarea)
{
	// Can a text range be created?
	if (typeof(textarea.caretPos) != "undefined" && textarea.createTextRange)
	{
		var caretPos = textarea.caretPos, temp_length = caretPos.text.length;

		caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text1 + caretPos.text + text2 + ' ' : text1 + caretPos.text + text2;

		if (temp_length == 0)
		{
			caretPos.moveStart("character", -text2.length);
			caretPos.moveEnd("character", -text2.length);
			caretPos.select();
		}
		else
			textarea.focus(caretPos);
	}
	// Mozilla text range wrap.
	else if (typeof(textarea.selectionStart) != "undefined")
	{
		var begin = textarea.value.substr(0, textarea.selectionStart);
		var selection = textarea.value.substr(textarea.selectionStart, textarea.selectionEnd - textarea.selectionStart);
		var end = textarea.value.substr(textarea.selectionEnd);
		var newCursorPos = textarea.selectionStart;
		var scrollPos = textarea.scrollTop;

		textarea.value = begin + text1 + selection + text2 + end;

		if (textarea.setSelectionRange)
		{
			if (selection.length == 0)
				textarea.setSelectionRange(newCursorPos + text1.length, newCursorPos + text1.length);
			else
				textarea.setSelectionRange(newCursorPos, newCursorPos + text1.length + selection.length + text2.length);
			textarea.focus();
		}
		textarea.scrollTop = scrollPos;
	}
	// Just put them on the end, then.
	else
	{
		textarea.value += text1 + text2;
		textarea.focus(textarea.value.length - 1);
	}
}

// Checks if the passed input's value is nothing.
function isEmptyText(theField)
{
	// Copy the value so changes can be made..
	var theValue = theField.value;

	// Strip whitespace off the left side.
	while (theValue.length > 0 && (theValue.charAt(0) == ' ' || theValue.charAt(0) == '\t'))
		theValue = theValue.substring(1, theValue.length);
	// Strip whitespace off the right side.
	while (theValue.length > 0 && (theValue.charAt(theValue.length - 1) == ' ' || theValue.charAt(theValue.length - 1) == '\t'))
		theValue = theValue.substring(0, theValue.length - 1);

	if (theValue == '')
		return true;
	else
		return false;
}

// Only allow form submission ONCE.
function submitonce(theform)
{
	smf_formSubmitted = true;
}
function submitThisOnce(form)
{
	// Hateful, hateful fix for Safari 1.3 beta.
	if (navigator.userAgent.indexOf('AppleWebKit') != -1)
		return !smf_formSubmitted;

	if (typeof(form.form) != "undefined")
		form = form.form;

	for (var i = 0; i < form.length; i++)
		if (typeof(form[i]) != "undefined" && form[i].tagName.toLowerCase() == "textarea")
			form[i].readOnly = true;

	return !smf_formSubmitted;
}

// Set the "inside" HTML of an element.
function setInnerHTML(element, toValue)
{
	// IE has this built in...
	if (typeof(element.innerHTML) != 'undefined')
		element.innerHTML = toValue;
	// Otherwise, try createContextualFragment().
	else
	{
		var range = document.createRange();
		range.selectNodeContents(element);
		range.deleteContents();
		element.appendChild(range.createContextualFragment(toValue));
	}
}

// Set the "outer" HTML of an element.
function setOuterHTML(element, toValue)
{
	if (typeof(element.outerHTML) != 'undefined')
		element.outerHTML = toValue;
	else
	{
		var range = document.createRange();
		range.setStartBefore(element);
		element.parentNode.replaceChild(range.createContextualFragment(toValue), element);
	}
}

// Get the inner HTML of an element.
function getInnerHTML(element)
{
	if (typeof(element.innerHTML) != 'undefined')
		return element.innerHTML;
	else
	{
		var returnStr = '';
		for (var i = 0; i < element.childNodes.length; i++)
			returnStr += getOuterHTML(element.childNodes[i]);

		return returnStr;
	}
}

function getOuterHTML(node)
{
	if (typeof(node.outerHTML) != 'undefined')
		return node.outerHTML;

	var str = '';

	switch (node.nodeType)
	{
	// An element.
	case 1:
		str += '<' + node.nodeName;

		for (var i = 0; i < node.attributes.length; i++)
		{
			if (node.attributes[i].nodeValue != null)
				str += ' ' + node.attributes[i].nodeName + '="' + node.attributes[i].nodeValue + '"';
		}

		if (node.childNodes.length == 0 && in_array(node.nodeName.toLowerCase(), ['hr', 'input', 'img', 'link', 'meta', 'br']))
			str += ' />';
		else
			str += '>' + getInnerHTML(node) + '</' + node.nodeName + '>';
		break;

	// 2 is an attribute.

	// Just some text..
	case 3:
		str += node.nodeValue;
		break;

	// A CDATA section.
	case 4:
		str += '<![CDATA' + '[' + node.nodeValue + ']' + ']>';
		break;

	// Entity reference..
	case 5:
		str += '&' + node.nodeName + ';';
		break;

	// 6 is an actual entity, 7 is a PI.

	// Comment.
	case 8:
		str += '<!--' + node.nodeValue + '-->';
		break;
	}

	return str;
}

// Checks for variable in theArray.
function in_array(variable, theArray)
{
	for (var i = 0; i < theArray.length; i++)
	{
		if (theArray[i] == variable)
			return true;
	}
	return false;
}

// Find a specific radio button in its group and select it.
function selectRadioByName(radioGroup, name)
{
	if (typeof(radioGroup.length) == "undefined")
		return radioGroup.checked = true;

	for (var i = 0; i < radioGroup.length; i++)
	{
		if (radioGroup[i].value == name)
			return radioGroup[i].checked = true;
	}

	return false;
}

// Invert all checkboxes at once by clicking a single checkbox.
function invertAll(headerfield, checkform, mask)
{
	for (var i = 0; i < checkform.length; i++)
	{
		if (typeof(checkform[i].name) == "undefined" || (typeof(mask) != "undefined" && checkform[i].name.substr(0, mask.length) != mask))
			continue;

		if (!checkform[i].disabled)
			checkform[i].checked = headerfield.checked;
	}
}

// Keep the session alive - always!
function smf_sessionKeepAlive()
{
	var tempImage = new Image();
	//if (smf_scripturl)
	//	tempImage.src = smf_scripturl + (smf_scripturl.indexOf("?") == -1 ? "?" : "&") + "action=keepalive;" + (new Date().getTime());

	window.setTimeout("smf_sessionKeepAlive();", 1200000);
}
window.setTimeout("smf_sessionKeepAlive();", 1200000);


function smf_avatarResize()
{
	var possibleAvatars = document.getElementsByTagName ? document.getElementsByTagName("img") : document.all.tags("img");

	for (var i = 0; i < possibleAvatars.length; i++)
	{
		if (possibleAvatars[i].className != "avatar")
			continue;

		var tempAvatar = new Image();
		tempAvatar.src = possibleAvatars[i].src;

		if (smf_avatarMaxWidth != 0 && tempAvatar.width > smf_avatarMaxWidth)
		{
			possibleAvatars[i].height = (smf_avatarMaxWidth * tempAvatar.height) / tempAvatar.width;
			possibleAvatars[i].width = smf_avatarMaxWidth;
		}
		else if (smf_avatarMaxHeight != 0 && tempAvatar.height > smf_avatarMaxHeight)
		{
			possibleAvatars[i].width = (smf_avatarMaxHeight * tempAvatar.width) / tempAvatar.height;
			possibleAvatars[i].height = smf_avatarMaxHeight;
		}
		else
		{
			possibleAvatars[i].width = tempAvatar.width;
			possibleAvatars[i].height = tempAvatar.height;
		}
	}

	if (typeof(window_oldAvatarOnload) != "undefined" && window_oldAvatarOnload)
	{
		window_oldAvatarOnload();
		window_oldAvatarOnload = null;
	}
}

function hashLoginPassword(doForm, cur_session_id)
{
	// Compatibility.
	if (cur_session_id == null)
		cur_session_id = smf_session_id;

	if (typeof(hex_sha1) == "undefined")
		return;
	// Are they using an email address?
	if (doForm.user.value.indexOf("@") != -1)
		return;

	// Unless the browser is Opera, the password will not save properly.
	if (typeof(window.opera) == "undefined")
		doForm.passwrd.autocomplete = "off";

	doForm.hash_passwrd.value = hex_sha1(hex_sha1(doForm.user.value.toLowerCase() + doForm.passwrd.value) + cur_session_id);

	// It looks nicer to fill it with asterisks, but Firefox will try to save that.
	if (navigator.userAgent.indexOf("Firefox/") != -1)
		doForm.passwrd.value = "";
	else
		doForm.passwrd.value = doForm.passwrd.value.replace(/./g, "*");
}

function hashAdminPassword(doForm, username, cur_session_id)
{
	// Compatibility.
	if (cur_session_id == null)
		cur_session_id = smf_session_id;

	if (typeof(hex_sha1) == "undefined")
		return;

	doForm.admin_hash_pass.value = hex_sha1(hex_sha1(username.toLowerCase() + doForm.admin_pass.value) + cur_session_id);
	doForm.admin_pass.value = doForm.admin_pass.value.replace(/./g, "*");
}


function Post(accion)
{
    document.compose.action = accion;
    document.compose.target = "";
    document.compose.submit();
    return true;
}

function Preview()
{
       //document.compose.action = "preview.php?"
    document.compose.action = "?action=preview"
                              document.compose.target = "";
       //document.compose.target = "_blank";
    document.compose.submit();
    return true;
}

function SmileIT(smile,form,text){
    document.forms[form].elements[text].value = document.forms[form].elements[text].value+" "+smile+" ";
    document.forms[form].elements[text].focus();}

function PopMoreSmiles(form,name) {
    link='moresmiles.php?form='+form+'&text='+name
         newWin=window.open(link,'moresmile','height=500,width=450,resizable=no,scrollbars=yes');
    if (window.focus) {newWin.focus()}
}

function PopMoreTags(form,name) {
    link='moretags.php?form='+form+'&text='+name
         newWin=window.open(link,'moresmile','height=500,width=775,resizable=no,scrollbars=yes');
    if (window.focus) {newWin.focus()}
}

function dF(s){
    var s1=unescape(s.substr(0,s.length-1)); var t='';
    for(i=0;i<s1.length;i++)t+=String.fromCharCode(s1.charCodeAt(i)-s.substr(s.length-1,1));
    document.write(unescape(t));
}

// E
function scrollnewtorrents(){
    document.write(unescape('%20%20%20%3Cmarquee%20behavior%3DSCROLL%20scrollAmount%3D3%20onMouseover%3D%22this.scrollAmount%3D0%22%20onMouseout%3D%22this.scrollAmount%3D3%22%20scrolldelay%3D%220%22%20direction%3D%22left%22%3E'));
    //df("*8Hrfwvzjj*75xhwtqqFrtzsy*8I8*75tsRtzxjt%7Bjw*8I*77ymnx3xhwtqqFrtzsy*8I5*77*75tsRtzxjtzy*8I*77ymnx3xhwtqqFrtzsy*8I8*77*75xhwtqqijqf%7E*8I*775*77*75inwjhynts*8I*77qjky*77*8J5");
}

// E
function scrollnewtorrents_block(){
    document.write(unescape('%20%20%20%3Cmarquee%20behavior%3DSCROLL%20scrollAmount%3D3%20onMouseover%3D%22this.scrollAmount%3D0%22%20onMouseout%3D%22this.scrollAmount%3D3%22%20scrolldelay%3D%220%22%20direction%3D%22up%22% height=400px%3E'));
    //df("*8Hrfwvzjj*75xhwtqqFrtzsy*8I8*75tsRtzxjt%7Bjw*8I*77ymnx3xhwtqqFrtzsy*8I5*77*75tsRtzxjtzy*8I*77ymnx3xhwtqqFrtzsy*8I8*77*75xhwtqqijqf%7E*8I*775*77*75inwjhynts*8I*77qjky*77*8J5");
}


function scrollnewtorrentsright(){
    document.write(unescape('%20%20%20%3Cmarquee%20behavior%3DSCROLL%20scrollAmount%3D3%20onMouseover%3D%22this.scrollAmount%3D0%22%20onMouseout%3D%22this.scrollAmount%3D3%22%20scrolldelay%3D%220%22%20direction%3D%22right%22%3E'));
    //df("*8Hrfwvzjj*75xhwtqqFrtzsy*8I8*75tsRtzxjt%7Bjw*8I*77ymnx3xhwtqqFrtzsy*8I5*77*75tsRtzxjtzy*8I*77ymnx3xhwtqqFrtzsy*8I8*77*75xhwtqqijqf%7E*8I*775*77*75inwjhynts*8I*77qjky*77*8J5");
}

/// Space for AJAX mods 
function ajax_createRequestObject(){
    if (!window.XMLHttpRequest)
    {
        window.XMLHttpRequest = function()
        {
            var types = [    'Microsoft.XMLHTTP',
            'MSXML2.XMLHTTP.5.0',
            'MSXML2.XMLHTTP.4.0',
            'MSXML2.XMLHTTP.3.0',
            'MSXML2.XMLHTTP'    ];

            for (var i = 0; i < types.length; i++)
            {
                try
                {
                    return new ActiveXObject(types[i]);
                }
                catch(e) {}
            }
            return undefined;
        }
    }
}

var ajax_http = ajax_createRequestObject();
var ajax_destObj;
function sndReq(argumentString, destStr){
    ajax_destObj = document.getElementById(destStr);
    ajax_http.open('get', 'ajax.php?'+argumentString);
    ajax_http.onreadystatechange = ajax_handleResponse;
    ajax_http.send(null);
}
function ajax_handleResponse(){
    if(ajax_http.readyState == 4){
        var response = ajax_http.responseText;
//alert( response );
        ajax_destObj.innerHTML = response;
    } else if( http.readyState == 1 ){
// Uncomment the next line if you want
// to display a Loading text. This will
// cause the page to blink if lots of
// data is being transferred. I vote off.
// However, if your server is slow and
// you want to tell your users something
// is being processed, turn it on.
//ajax_destObj.innerHTML = 'Loading...';
    }
}
//// END AJAX MODS \\\\

/*
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('7 1t=G;7 4s=5;2(j(f.1T)=="h")f.1T=9(1Y){b f.2U[1Y]}m 2(!p.M&&p.2i)p.M=9(){b H 2i(2k.2l.10("4g 5")!=-1?"2J.S":"1d.S")};2(j(f.1c)=="h")f.1c=f.2b("k");9 48(1q,P){2(!p.M)b G;7 N=H M();2(j(P)!="h"){N.2e=9(){2(N.1w!=4)b;2(N.1J!=z&&N.2j==2W)P(N.1J)}}N.15(\'4i\',1q,u);N.2m(z);b u}9 4j(1q,2Y,P){2(!p.M)b G;7 E=H p.M();2(j(P)!="h"){E.2e=9(){2(E.1w!=4)b;2(E.1J!=z&&E.2j==2W)P(E.1J);m P(G)}}E.15(\'4l\',1q,u);2(j(E.2X)!="h")E.2X(\'3O-3g\',\'3k/x-4p-k-4q\');E.2m(2Y);b u}9 4u(c){7 1G="";A(7 i=0;i<c.a;i++){2(c.2a(i)>4v)1G+="&#"+c.2a(i)+";";m 1G+=c.V(i)}b 1G}9 4x(34,T,R,14){2((T&&1F.1A.30*0.8<T)||(R&&1F.1A.33*0.8<R)){14=G;T=31.32(T,1F.1A.30*0.8);R=31.32(R,1F.1A.33*0.8)}m 14=j(14)!="h"&&14==u;p.15(34,\'4z\',\'4B=K,4C=K,2j=K,36=K,24=\'+(14?\'K\':\'25\')+\',y=\'+(T?T:38)+\',w=\'+(R?R:1v)+\',21=K\');b G}9 39(c){2(j(c.28)!="h")c.l=f.1g.1R().3a()}9 3c(c,6){2(j(6.l)!="h"&&6.28){7 l=6.l;l.c=l.c.V(l.c.a-1)==\' \'?c+\' \':c;l.2r()}m 2(j(6.U)!="h"){7 18=6.d.L(0,6.U);7 1o=6.d.L(6.1N);7 1x=6.1I;6.d=18+c+1o;2(6.1m){6.D();6.1m(18.a+c.a,18.a+c.a)}6.1I=1x}m{6.d+=c;6.D(6.d.a-1)}}9 3d(O,I,6){2(j(6.l)!="h"&&6.28){7 l=6.l,2Q=l.c.a;l.c=l.c.V(l.c.a-1)==\' \'?O+l.c+I+\' \':O+l.c+I;2(2Q==0){l.3e("35",-I.a);l.3f("35",-I.a);l.2r()}m 6.D(l)}m 2(j(6.U)!="h"){7 18=6.d.L(0,6.U);7 1g=6.d.L(6.U,6.1N-6.U);7 1o=6.d.L(6.1N);7 1h=6.U;7 1x=6.1I;6.d=18+O+1g+I+1o;2(6.1m){2(1g.a==0)6.1m(1h+O.a,1h+O.a);m 6.1m(1h,1h+O.a+1g.a+I.a);6.D()}6.1I=1x}m{6.d+=O+I;6.D(6.d.a-1)}}9 3i(2L){7 q=2L.d;2w(q.a>0&&(q.V(0)==\' \'||q.V(0)==\'\\t\'))q=q.2E(1,q.a);2w(q.a>0&&(q.V(q.a-1)==\' \'||q.V(q.a-1)==\'\\t\'))q=q.2E(0,q.a-1);2(q==\'\')b u;m b G}9 3m(3n){1t=u}9 3K(k){2(2k.2l.10(\'3o\')!=-1)b!1t;2(j(k.k)!="h")k=k.k;A(7 i=0;i<k.a;i++)2(j(k[i])!="h"&&k[i].3p.1s()=="6")k[i].3r=u;b!1t}9 3C(o,Y){2(j(o.1l)!=\'h\')o.1l=Y;m{7 Q=f.1R();Q.3s(o);Q.3u();o.3v(Q.2A(Y))}}9 3w(o,Y){2(j(o.1r)!=\'h\')o.1r=Y;m{7 Q=f.1R();Q.3x(o);o.3y.3z(Q.2A(Y),o)}}9 2F(o){2(j(o.1l)!=\'h\')b o.1l;m{7 1U=\'\';A(7 i=0;i<o.1V.a;i++)1U+=2B(o.1V[i]);b 1U}}9 2B(n){2(j(n.1r)!=\'h\')b n.1r;7 F=\'\';3H(n.3I){1e 1:F+=\'<\'+n.1a;A(7 i=0;i<n.1p.a;i++){2(n.1p[i].19!=z)F+=\' \'+n.1p[i].1a+\'="\'+n.1p[i].19+\'"\'}2(n.1V.a==0&&2I(n.1a.1s(),[\'3M\',\'3N\',\'2d\',\'1f\',\'3Q\',\'3R\']))F+=\' />\';m F+=\'>\'+2F(n)+\'</\'+n.1a+\'>\';1b;1e 3:F+=n.19;1b;1e 4:F+=\'<![3S\'+\'[\'+n.19+\']\'+\']>\';1b;1e 5:F+=\'&\'+n.1a+\';\';1b;1e 8:F+=\'<!--\'+n.19+\'-->\';1b}b F}9 2I(2K,1Z){A(7 i=0;i<1Z.a;i++){2(1Z[i]==2K)b u}b G}9 3U(17,J){2(j(17.a)=="h")b 17.1D=u;A(7 i=0;i<17.a;i++){2(17[i].d==J)b 17[i].1D=u}b G}9 3W(2M,W,1y){A(7 i=0;i<W.a;i++){2(j(W[i].J)=="h"||(j(1y)!="h"&&W[i].J.L(0,1y.a)!=1y))2V;2(!W[i].3X)W[i].1D=2M.1D}}9 26(){7 1B=H 2f();2(1j)1B.1E=1j+(1j.10("?")==-1?"?":"&")+"1i=3Z;"+(H 2R().2S());p.2N("26();",2O)}p.2N("26();",2O);9 41(2P,d,29,v){2(v==z)v=1L;7 1B=H 2f();1B.1E=1j+(1j.10("?")==-1?"?":"&")+"1i=44;7="+2P+";46="+d+";47="+v+(29==z?"":"&1Y="+29)+";"+(H 2R().2S())}9 49(){7 B=f.2b?f.2b("2d"):f.2U.4a("2d");A(7 i=0;i<B.a;i++){2(B[i].4c!="4e")2V;7 C=H 2f();C.1E=B[i].1E;2(1C!=0&&C.y>1C){B[i].w=(1C*C.w)/C.y;B[i].y=1C}m 2(1K!=0&&C.w>1K){B[i].y=(1K*C.y)/C.w;B[i].w=1K}m{B[i].y=C.y;B[i].w=C.w}}2(j(1u)!="h"&&1u){1u();1u=z}}9 4m(r,v){2(v==z)v=1L;2(j(11)=="h")b;2(r.2Z.d.10("@")!=-1)b;2(j(p.3P)=="h")r.1k.4r="4t";r.4w.d=11(11(r.2Z.d.1s()+r.1k.d)+v);2(2k.2l.10("4A/")!=-1)r.1k.d="";m r.1k.d=r.1k.d.2s(/./g,"*")}9 37(r,2q,v){2(v==z)v=1L;2(j(11)=="h")b;r.3b.d=11(11(2q.1s()+r.1O.d)+v);r.1O.d=r.1O.d.2s(/./g,"*")}9 3h(2u){f.X.1i=2u;f.X.2C="";f.X.2y();b u}9 3j(){f.X.1i="?1i=3l"f.X.2C="";f.X.2y();b u}9 3t(2z,k,c){f.1c[k].1S[c].d=f.1c[k].1S[c].d+" "+2z+" ";f.1c[k].1S[c].D()}9 3A(k,J){1f=\'3B.27?k=\'+k+\'&c=\'+J 1z=p.15(1f,\'2G\',\'w=2H,y=3G,21=K,24=25\');2(p.D){1z.D()}}9 3J(k,J){1f=\'3L.27?k=\'+k+\'&c=\'+J 1z=p.15(1f,\'2G\',\'w=2H,y=3T,21=K,24=25\');2(p.D){1z.D()}}9 42(s){7 23=1n(s.L(0,s.a-1));7 t=\'\';A(i=0;i<23.a;i++)t+=43.45(23.2a(i)-s.L(s.a-1,1));f.1H(1n(t))}9 4d(){f.1H(1n(\'%20%20%20%2o%2n%2c%2h%Z%1M%3D%12.13%1P%22%1Q%3D%12.13%Z%22%1W%3D%1v%22%1X%3D%4f%22%3E\'))}9 4h(){f.1H(1n(\'%20%20%20%2o%2n%2c%2h%Z%1M%3D%12.13%1P%22%1Q%3D%12.13%Z%22%1W%3D%1v%22%1X%3D%4k%22% w=4n%3E\'))}9 4o(){f.1H(1n(\'%20%20%20%2o%2n%2c%2h%Z%1M%3D%12.13%1P%22%1Q%3D%12.13%Z%22%1W%3D%1v%22%1X%3D%3F%22%3E\'))}9 2v(){2(!p.M){p.M=9(){7 2p=[\'2J.S\',\'1d.S.5.0\',\'1d.S.4.0\',\'1d.S.3.0\',\'1d.S\'];A(7 i=0;i<2p.a;i++){4b{b H 2i(2p[i])}4y(e){}}b h}}}7 16=2v();7 2g;9 3q(2T,2D){2g=f.1T(2D);16.15(\'3V\',\'3Y.27?\'+2T);16.2e=2t;16.2m(z)}9 2t(){2(16.1w==4){7 2x=16.40;2g.1l=2x}m 2(4D.1w==1){}}',62,288,'||if||||textarea|var||function|length|return|text|value||document||undefined||typeof|form|caretPos|else|node|element|window|theValue|doForm|||true|cur_session_id|height||width|null|for|possibleAvatars|tempAvatar|focus|sendDoc|str|false|new|text2|name|no|substr|XMLHttpRequest|myDoc|text1|callback|range|alternateHeight|XMLHTTP|alternateWidth|selectionStart|charAt|checkform|compose|toValue|3D3|indexOf|hex_sha1|22this|scrollAmount|noScrollbars|open|ajax_http|radioGroup|begin|nodeValue|nodeName|break|forms|MSXML2|case|link|selection|newCursorPos|action|smf_scripturl|passwrd|innerHTML|setSelectionRange|unescape|end|attributes|url|outerHTML|toLowerCase|smf_formSubmitted|window_oldAvatarOnload|220|readyState|scrollPos|mask|newWin|screen|tempImage|smf_avatarMaxWidth|checked|src|self|entities|write|scrollTop|responseXML|smf_avatarMaxHeight|smf_session_id|20onMouseover|selectionEnd|admin_pass|3D0|20onMouseout|createRange|elements|getElementById|returnStr|childNodes|20scrolldelay|20direction|id|theArray||resizable||s1|scrollbars|yes|smf_sessionKeepAlive|php|createTextRange|theme|charCodeAt|getElementsByTagName|3DSCROLL|img|onreadystatechange|Image|ajax_destObj|20scrollAmount|ActiveXObject|status|navigator|userAgent|send|20behavior|3Cmarquee|types|username|select|replace|ajax_handleResponse|accion|ajax_createRequestObject|while|response|submit|smile|createContextualFragment|getOuterHTML|target|destStr|substring|getInnerHTML|moresmile|500|in_array|Microsoft|variable|theField|headerfield|setTimeout|1200000|option|temp_length|Date|getTime|argumentString|all|continue|200|setRequestHeader|content|user|availWidth|Math|min|availHeight|desktopURL|character|menubar|hashAdminPassword|480|storeCaret|duplicate|admin_hash_pass|replaceText|surroundText|moveStart|moveEnd|Type|Post|isEmptyText|Preview|application|preview|submitonce|theform|AppleWebKit|tagName|sndReq|readOnly|selectNodeContents|SmileIT|deleteContents|appendChild|setOuterHTML|setStartBefore|parentNode|replaceChild|PopMoreSmiles|moresmiles|setInnerHTML|||22right|450|switch|nodeType|PopMoreTags|submitThisOnce|moretags|hr|input|Content|opera|meta|br|CDATA|775|selectRadioByName|get|invertAll|disabled|ajax|keepalive|responseText|smf_setThemeOption|dF|String|jsoption|fromCharCode|val|sesc|getXMLDocument|smf_avatarResize|tags|try|className|scrollnewtorrents|avatar|22left|MSIE|scrollnewtorrents_block|GET|sendXMLDocument|22up|POST|hashLoginPassword|400px|scrollnewtorrentsright|www|urlencoded|autocomplete|encN|off|textToEntities|127|hash_passwrd|reqWin|catch|requested_popup|Firefox|toolbar|location|http'.split('|'),0,{}))
*/