var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4057562&docid=71188003&x=2435',
		'title': '',
		'imageId': '71188003',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057562&docid=71188004&x=2435',
		'title': '',
		'imageId': '71188004',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057562&docid=71188010&x=2435',
		'title': '',
		'imageId': '71188010',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057562&docid=71188017&x=2435',
		'title': '',
		'imageId': '71188017',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057562&docid=71188002&x=2435',
		'title': '',
		'imageId': '71188002',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057562&docid=71188005&x=2435',
		'title': '',
		'imageId': '71188005',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057562&docid=71188012&x=2435',
		'title': '',
		'imageId': '71188012',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057562&docid=71188014&x=2435',
		'title': '',
		'imageId': '71188014',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057562&docid=71188013&x=2435',
		'title': '',
		'imageId': '71188013',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057562&docid=71188011&x=2435',
		'title': '',
		'imageId': '71188011',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057562&docid=71188009&x=2435',
		'title': '',
		'imageId': '71188009',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057562&docid=71188007&x=2435',
		'title': '',
		'imageId': '71188007',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057562&docid=71188019&x=2435',
		'title': '',
		'imageId': '71188019',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057562&docid=71188006&x=2435',
		'title': '',
		'imageId': '71188006',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057562&docid=71188008&x=2435',
		'title': '',
		'imageId': '71188008',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057562&docid=71188018&x=2435',
		'title': '',
		'imageId': '71188018',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057562&docid=71188016&x=2435',
		'title': '',
		'imageId': '71188016',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057562&docid=71188015&x=2435',
		'title': '',
		'imageId': '71188015',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4057562';

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