var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4001603&docid=68977874&x=4123',
		'title': '',
		'imageId': '68977874',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001603&docid=68977875&x=4123',
		'title': '',
		'imageId': '68977875',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001603&docid=69750409&x=4123',
		'title': '',
		'imageId': '69750409',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001603&docid=69750411&x=4123',
		'title': '',
		'imageId': '69750411',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001603&docid=69750413&x=4123',
		'title': '',
		'imageId': '69750413',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001603&docid=69750410&x=4123',
		'title': '',
		'imageId': '69750410',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001603&docid=69750412&x=4123',
		'title': '',
		'imageId': '69750412',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4001603';

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