var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3910524&docid=67652028&x=2839',
		'title': '',
		'imageId': '67652028',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910524&docid=67652029&x=2839',
		'title': '',
		'imageId': '67652029',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910524&docid=67652027&x=2839',
		'title': '',
		'imageId': '67652027',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910524&docid=67652030&x=2839',
		'title': '',
		'imageId': '67652030',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910524&docid=67652036&x=2839',
		'title': '',
		'imageId': '67652036',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910524&docid=67652031&x=2839',
		'title': '',
		'imageId': '67652031',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910524&docid=67652034&x=2839',
		'title': '',
		'imageId': '67652034',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910524&docid=67652025&x=2839',
		'title': '',
		'imageId': '67652025',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910524&docid=67652032&x=2839',
		'title': '',
		'imageId': '67652032',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910524&docid=67652026&x=2839',
		'title': '',
		'imageId': '67652026',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910524&docid=67652033&x=2839',
		'title': '',
		'imageId': '67652033',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910524&docid=67652035&x=2839',
		'title': '',
		'imageId': '67652035',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3910524';

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