var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3966503&docid=68960996&x=4832',
		'title': '',
		'imageId': '68960996',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966503&docid=68960997&x=4832',
		'title': '',
		'imageId': '68960997',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966503&docid=68961000&x=4832',
		'title': '',
		'imageId': '68961000',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966503&docid=68960999&x=4832',
		'title': '',
		'imageId': '68960999',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966503&docid=68960995&x=4832',
		'title': '',
		'imageId': '68960995',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966503&docid=68960998&x=4832',
		'title': '',
		'imageId': '68960998',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966503&docid=68961013&x=4832',
		'title': '',
		'imageId': '68961013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3966503';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
