var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3982793&docid=69031182&x=015',
		'title': '',
		'imageId': '69031182',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982793&docid=69031181&x=015',
		'title': '',
		'imageId': '69031181',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982793&docid=69031190&x=015',
		'title': '',
		'imageId': '69031190',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982793&docid=69031186&x=015',
		'title': '',
		'imageId': '69031186',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982793&docid=69031183&x=015',
		'title': '',
		'imageId': '69031183',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982793&docid=69031184&x=015',
		'title': '',
		'imageId': '69031184',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982793&docid=69031185&x=015',
		'title': '',
		'imageId': '69031185',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982793&docid=69031188&x=015',
		'title': '',
		'imageId': '69031188',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982793&docid=69031189&x=015',
		'title': '',
		'imageId': '69031189',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982793&docid=69031191&x=015',
		'title': '',
		'imageId': '69031191',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982793&docid=69031187&x=015',
		'title': '',
		'imageId': '69031187',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3982793';

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