var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3921868&docid=67946832&x=019',
		'title': '',
		'imageId': '67946832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921868&docid=67946836&x=019',
		'title': '',
		'imageId': '67946836',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921868&docid=67946838&x=019',
		'title': '',
		'imageId': '67946838',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921868&docid=67946831&x=019',
		'title': '',
		'imageId': '67946831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921868&docid=68231276&x=019',
		'title': '',
		'imageId': '68231276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921868&docid=68231280&x=019',
		'title': '',
		'imageId': '68231280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921868&docid=68231279&x=019',
		'title': '',
		'imageId': '68231279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921868&docid=68231281&x=019',
		'title': '',
		'imageId': '68231281',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921868&docid=68231278&x=019',
		'title': '',
		'imageId': '68231278',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921868&docid=68231277&x=019',
		'title': '',
		'imageId': '68231277',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921868&docid=68231282&x=019',
		'title': '',
		'imageId': '68231282',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3921868';

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";
	})
}
