<!--
var ajax_a = new sack();
var ajax_b = new sack();

function smh(str) {
	var oby = document.getElementById('rxw');
	oby.innerHTML = str;
}
function c_fdx() {
	if (document.getElementById('rxw') != null) {
		var obx = document.getElementById('rxw');
		var final_output = ajax_a.response;
		if (final_output != 'undefined') {
			if (final_output != null) {
				obx.innerHTML = '<img style="vertical-align:bottom" src="http://3dup.com/images/upd.gif" border="0" width="10" height="10" alt="">';
				setTimeout('smh(\'' + final_output + '\');', 180);
			}
			else {
				setTimeout('smh(\'0\');', 180);
			}
		}
		else {
			setTimeout('smh(\'0\');', 180);
		}
	}
}
function f_fdx() {
	if (document.getElementById('txs') != null) {
		var obx = document.getElementById('txs');
		var final_output = ajax_b.response;
		if ((final_output != 'undefined') && (final_output != null) && (final_output != '')) {
			obx.innerHTML = final_output;
		}
	}
}
function g_fdx(n_fdx) {
	ajax_a.requestFile = n_fdx;
	ajax_a.onCompletion = c_fdx;
	ajax_a.runAJAX();
}
function r_fdx(x_fdx) {
	ajax_b.requestFile = x_fdx;
	ajax_b.onCompletion = f_fdx;
	ajax_b.runAJAX();
}
function s_fdx(idx) {
	g_fdx('/textures/' + idx + '.vfx');
	if ((document.getElementById('btb') != null) && (document.getElementById('rtv') != null)) {
		var ofbot = document.getElementById('btb').offsetTop;
		var ofbar = document.getElementById('rtv').offsetTop;
		var fgh = (ofbar - ofbot);
		r_fdx('/js/aj/bt.vfx?rp=' + fgh + '');
	}
}
//-->

