var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4082137&docid=71750104&x=152',
		'title': '',
		'imageId': '71750104',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4082137&docid=71750108&x=152',
		'title': '',
		'imageId': '71750108',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4082137&docid=71750105&x=152',
		'title': '',
		'imageId': '71750105',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4082137&docid=71750107&x=152',
		'title': '',
		'imageId': '71750107',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4082137&docid=71750106&x=152',
		'title': '',
		'imageId': '71750106',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4082137&docid=71750169&x=152',
		'title': '',
		'imageId': '71750169',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4082137&docid=71750168&x=152',
		'title': '',
		'imageId': '71750168',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4082137&docid=71750167&x=152',
		'title': '',
		'imageId': '71750167',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4082137&docid=71750165&x=152',
		'title': '',
		'imageId': '71750165',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4082137&docid=71750166&x=152',
		'title': '',
		'imageId': '71750166',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4082137&docid=71750190&x=152',
		'title': '',
		'imageId': '71750190',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4082137';

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