var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3932439&docid=68187610&x=551',
		'title': '',
		'imageId': '68187610',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932439&docid=68187609&x=551',
		'title': '',
		'imageId': '68187609',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932439&docid=68187601&x=551',
		'title': '',
		'imageId': '68187601',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932439&docid=68187607&x=551',
		'title': '',
		'imageId': '68187607',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932439&docid=68187605&x=551',
		'title': '',
		'imageId': '68187605',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932439&docid=68187608&x=551',
		'title': '',
		'imageId': '68187608',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932439&docid=68187606&x=551',
		'title': '',
		'imageId': '68187606',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932439&docid=68187603&x=551',
		'title': '',
		'imageId': '68187603',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932439&docid=68187602&x=551',
		'title': '',
		'imageId': '68187602',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932439&docid=68187604&x=551',
		'title': '',
		'imageId': '68187604',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3932439';

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