var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4081112&docid=71736081&x=599',
		'title': '',
		'imageId': '71736081',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081112&docid=71736082&x=599',
		'title': '',
		'imageId': '71736082',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081112&docid=71736083&x=599',
		'title': '',
		'imageId': '71736083',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081112&docid=71736086&x=599',
		'title': '',
		'imageId': '71736086',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081112&docid=71736096&x=599',
		'title': '',
		'imageId': '71736096',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081112&docid=71736098&x=599',
		'title': '',
		'imageId': '71736098',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081112&docid=71736100&x=599',
		'title': '',
		'imageId': '71736100',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081112&docid=71736099&x=599',
		'title': '',
		'imageId': '71736099',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081112&docid=71736102&x=599',
		'title': '',
		'imageId': '71736102',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081112&docid=71736104&x=599',
		'title': '',
		'imageId': '71736104',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081112&docid=71736122&x=599',
		'title': '',
		'imageId': '71736122',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081112&docid=71736125&x=599',
		'title': '',
		'imageId': '71736125',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081112&docid=71736131&x=599',
		'title': '',
		'imageId': '71736131',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081112&docid=71736128&x=599',
		'title': '',
		'imageId': '71736128',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081112&docid=71736132&x=599',
		'title': '',
		'imageId': '71736132',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081112&docid=71736133&x=599',
		'title': '',
		'imageId': '71736133',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081112&docid=71736139&x=599',
		'title': '',
		'imageId': '71736139',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081112&docid=71736144&x=599',
		'title': '',
		'imageId': '71736144',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081112&docid=71736079&x=599',
		'title': '',
		'imageId': '71736079',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081112&docid=71736080&x=599',
		'title': '',
		'imageId': '71736080',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4081112';

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