var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3952610&docid=68642739&x=3929',
		'title': '',
		'imageId': '68642739',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952610&docid=68642749&x=3929',
		'title': '',
		'imageId': '68642749',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952610&docid=68642740&x=3929',
		'title': '',
		'imageId': '68642740',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952610&docid=68642745&x=3929',
		'title': '',
		'imageId': '68642745',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952610&docid=68642741&x=3929',
		'title': '',
		'imageId': '68642741',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952610&docid=68642743&x=3929',
		'title': '',
		'imageId': '68642743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952610&docid=68642747&x=3929',
		'title': '',
		'imageId': '68642747',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952610&docid=68642744&x=3929',
		'title': '',
		'imageId': '68642744',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952610&docid=68642742&x=3929',
		'title': '',
		'imageId': '68642742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952610&docid=68642746&x=3929',
		'title': '',
		'imageId': '68642746',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952610&docid=68642748&x=3929',
		'title': '',
		'imageId': '68642748',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3952610';

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