function x(a,b,c,d){var nd = '';for (var i = 0; i <= d.length; i++) {nd = d.charAt(i) + nd;}var s = nd+a+'@'+b.replace(/\b dot \b/g,'.');if (s != '@')document.write('<a href="mai'+'lto'+':'+s+'">'+s+'</a>');}function redirectplan() { for (i = 0; i < document.getElementById('planchoose').plan.length; i++) { if (document.getElementById('planchoose').plan[i].checked) window.open(document.getElementById('planchoose').plan[i].value, 'shopywin', 'manubar=yes,status=yes,scrollbars=yes,resizable=yes,toolbar=yes,location=yes'); } }

function getElement(id) {
	if (document.getElementById) return document.getElementById(id);
	if (document.all) return document.all[id];
}

function showTr(tr_id) {
	getElement(tr_id).style.display = (getElement(tr_id).style.display == "none") ? "" : "none"
}

var load = '';

function attachToLoad(e) {
	load += e;
	eval('window.onload = function () { eval("' + load + '"); };');
}

var adBlock = true;

function checkPageWidthForAd(adWidth) {
	/*
	if (adBlock) {
		if ((document.body.offsetWidth - 32 - adWidth) <= 768) {
			adBlock = false;
			getElement('leftad').style.display='none';
		}
	} else {
		if ((document.body.offsetWidth - 32 - adWidth) > 768) {
			adBlock = true;
			getElement('leftad').style.display='block';
		}
	}
	*/
	if (adBlock) {
		if ((((document.body.offsetWidth - 32) / 2) - (768 / 2)) <= adWidth) {
			adBlock = false;
			getElement('leftad').style.display='none';
		}
	} else {
		if ((((document.body.offsetWidth - 32) / 2) - (768 / 2)) > adWidth) {
			adBlock = true;
			getElement('leftad').style.display='block';
		}
	}
	window.setTimeout('checkPageWidthForAd(' + adWidth + ')', 100);
}

var LastPosY = 0;
var elements = [];

function moveElements() {
	var y = (ns_pos)? window.pageYOffset :
		(ie_std && ie_pos) ? Math.max(document.documentElement.scrollTop, document.body.scrollTop) :
		ie_std ? document.documentElement.scrollTop : document.body.scrollTop;
	for (var i = 0; i < elements.length; i++) {
		temp = y + elements[i][1];
		if (temp != LastPosY) {
			if (window.opera) {
				document.getElementById(elements[i][0]).style.pixelTop = temp;
			}
			else if (document.layers) {
				document.layers[elements[i][0]].top = temp;
			}
			else if (document.getElementById) {
				document.getElementById(elements[i][0]).style.top = temp + 'px';
			}
			else if (document.all) {
				document.all[elements[i][0]].style.pixelTop = temp;
			}
		}
	}
	LastPosY = y;
	if (TimeScroll)	window.setTimeout('moveElements()', 100);
}

var TimeScroll = true;
var ns_pos;
var ie_std;
var ie_pos;

function positionFixed(id, top) {
	var x = elements.length;
	elements[x] = [];
	elements[x][0] = id;
	elements[x][1] = top;
}

function loadPositioning() {
	ns_pos = (typeof window.pageYOffset != 'undefined');
	ie_std = (document.documentElement && typeof document.documentElement.scrollTop != 'undefined');
	ie_pos = (document.body && typeof document.body.scrollTop != 'undefined');
	window.onscroll = function() {
		TimeScroll = false;
		window.onscroll = moveElements();
	};
	if (ns_pos || ie_std || ie_pos) moveElements();
}

attachToLoad('if (elements.length != 0) loadPositioning();');

//eval('window.onload = function () {' + load + '}');
