
// Fix access problems originally triggered by Bazaarvoice implementation
document.domain = "qvc.com";

if (navigator.appName=="Netscape")
{	
	// Netscape can capture all browser events from a single document.
	// IE has to have event capture code added to the body of every page
	// in all framesets. 
	window.captureEvents(Event.CLICK); // in Netscape capture a click event from anywhere
	window.onclick=resetTimeLeft; // reset the timeout.
}

function resetTimeLeft()
{	

	//var timeoutPeriod = 5000;
	var timeoutPeriod = 4500000; // 1.25 hours
	if( top.head )
	{
		if(top.head.timeLeft)
		{
			top.head.timeLeft = timeoutPeriod;
		}
	}
}

