var ps7TWBsid = "pL6SCpaaUdhy";
// safe-standard@gecko.js

var ps7TWBmht = false;
var ps7TWBiso;
try {
	ps7TWBiso = (opener != null) && (typeof(opener.name) != "unknown") && (opener.ps7TWBwid != null);
} catch(e) {
	ps7TWBiso = false;
}
if (ps7TWBiso) {
	window.ps7TWBwid = opener.ps7TWBwid + 1;
	ps7TWBsid = ps7TWBsid + "_" + window.ps7TWBwid;
} else {
	window.ps7TWBwid = 1;
}
function ps7TWBn() {
	return (new Date()).getTime();
}
var ps7TWBs = ps7TWBn();
function ps7TWBst(f, t) {
	if ((ps7TWBn() - ps7TWBs) < 7200000) {
		return setTimeout(f, t * 1000);
	} else {
		return null;
	}
}
var ps7TWBol = true;
function ps7TWBow() {
	if (ps7TWBol || (2 == 1)) {
		var url = "http://messenger.providesupport.com/messenger/discount-merchant.html?ps_s=" + ps7TWBsid + "&ps_mht=" + ps7TWBmht + "";
		window.open(url, "_blank", "menubar=0,location=0,scrollbars=auto,resizable=1,status=0,width=500,height=460"); 
	} else if (2 == 2) {
		document.location = "http\u003a\u002f\u002fwww\u002ediscount\u002dmerchant\u002ecom\u002fTicket\u005fNew\u002easp";
	}
}
var ps7TWBil;
var ps7TWBit;
function ps7TWBpi() {
	var il;
	if (3 == 2) {
		il = window.pageXOffset + 50;
	} else if (3 == 3) {
		il = (window.innerWidth * 50 / 100) + window.pageXOffset;
	} else {
		il = 50;
	}
	il -= (271 / 2);
	var it;
	if (3 == 2) {
		it = window.pageYOffset + 50;
	} else if (3 == 3) {
		it = (window.innerHeight * 50 / 100) + window.pageYOffset;
	} else {
		it = 50;
	}
	it -= (191 / 2);
	if ((il != ps7TWBil) || (it != ps7TWBit)) {
		ps7TWBil = il;
		ps7TWBit = it;
		var d = document.getElementById('ci7TWB');
		if (d != null) {
			d.style.left  = Math.round(ps7TWBil) + "px";
			d.style.top  = Math.round(ps7TWBit) + "px";
		}
	}
	setTimeout("ps7TWBpi()", 100);
}
var ps7TWBlc = 0;
function ps7TWBsi() {
	window.onscroll = ps7TWBpi;
	window.onresize = ps7TWBpi;
	ps7TWBpi();
	ps7TWBlc = 0;
	var url = "http://messenger.providesupport.com/invitation/discount-merchant.html?ps_s=" + ps7TWBsid + "&ps_mht=" + ps7TWBmht + "";
	var d = document.getElementById('ci7TWB');
	if (d != null) {
		d.innerHTML = '<iframe allowtransparency="true" style="background:transparent;width=271;height=191" src="' + url + '" onload="ps7TWBld()" frameborder="no" width="271" height="191" scrolling="no"></iframe>';
	}
}
function ps7TWBld() {
	if (ps7TWBlc == 1) {
		var d = document.getElementById('ci7TWB');
		if (d != null) {
			d.innerHTML = "";
		}
	}
	ps7TWBlc++;
}
if (false) {
	ps7TWBsi();
}
var ps7TWBd = document.getElementById('sc7TWB');
if (ps7TWBd != null) {
	if (ps7TWBol || (2 == 1) || (2 == 2)) {
		if (false) {
			ps7TWBd.innerHTML = '<table style="display:inline" cellspacing="0" cellpadding="0" border="0"><tr><td align="center"><a href="#" onclick="ps7TWBow(); return false;"><img name="ps7TWBimage" src="http://image.providesupport.com/image/discount-merchant/online-1275243201.gif" width="140" height="60" border="0"></a></td></tr><tr><td align="center"><a href="http://www.providesupport.com/pb/discount-merchant" target="_blank"><img src="http://image.providesupport.com/lcbps.gif" width="140" height="17" border="0"></a></td></tr></table>';
		} else {
			ps7TWBd.innerHTML = '<a href="#" onclick="ps7TWBow(); return false;"><img name="ps7TWBimage" src="http://image.providesupport.com/image/discount-merchant/online-1275243201.gif" width="140" height="60" border="0"></a>';
		}
	} else {
		ps7TWBd.innerHTML = '';
	}
}
var ps7TWBop = false;
function ps7TWBco() {
	var w1 = ps7TWBci.width - 1;
	ps7TWBol = (w1 & 1) != 0;
	ps7TWBsb(ps7TWBol ? "http://image.providesupport.com/image/discount-merchant/online-1275243201.gif" : "http://image.providesupport.com/image/discount-merchant/offline-1558464685.gif");
	ps7TWBscf((w1 & 2) != 0);
	var h = ps7TWBci.height;
	if (h != 2) {
		ps7TWBop = false;
	} else if ((h == 2) && (!ps7TWBop)) {
		ps7TWBop = true;
		ps7TWBsi();
	}
}
var ps7TWBci = new Image();
ps7TWBci.onload = ps7TWBco;
var ps7TWBpm = true;
var ps7TWBcp = ps7TWBpm ? 30 : 60;
var ps7TWBct = null;
function ps7TWBscf(p) {
	if (ps7TWBpm != p) {
		ps7TWBpm = p;
		ps7TWBcp = ps7TWBpm ? 30 : 60;
		if (ps7TWBct != null) {
			clearTimeout(ps7TWBct);
			ps7TWBct = null;
		}
		ps7TWBct = ps7TWBst("ps7TWBrc()", ps7TWBcp);
	}
}
function ps7TWBrc() {
	ps7TWBct = ps7TWBst("ps7TWBrc()", ps7TWBcp);
	try {
		ps7TWBci.src = "http://image.providesupport.com/cmd/discount-merchant?" + "ps_t=" + ps7TWBn() + "&ps_l=" + escape(document.location) + "&ps_r=" + escape(document.referrer) + "&ps_s=" + ps7TWBsid + "";
	} catch(e) {
	}
}
ps7TWBrc();
var ps7TWBcb = "http://image.providesupport.com/image/discount-merchant/online-1275243201.gif";
function ps7TWBsb(b) {
	if (ps7TWBcb != b) {
		var i = document.images['ps7TWBimage'];
		if (i != null) {
			i.src = b;
		}
		ps7TWBcb = b;
	}
}

