var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4061805&docid=71295667&x=821',
		'title': '',
		'imageId': '71295667',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061805&docid=71295668&x=821',
		'title': '',
		'imageId': '71295668',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061805&docid=71295672&x=821',
		'title': '',
		'imageId': '71295672',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061805&docid=71295670&x=821',
		'title': '',
		'imageId': '71295670',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061805&docid=71295675&x=821',
		'title': '',
		'imageId': '71295675',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061805&docid=71295669&x=821',
		'title': '',
		'imageId': '71295669',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061805&docid=71295671&x=821',
		'title': '',
		'imageId': '71295671',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061805&docid=71295680&x=821',
		'title': '',
		'imageId': '71295680',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061805&docid=71295685&x=821',
		'title': '',
		'imageId': '71295685',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061805&docid=71295686&x=821',
		'title': '',
		'imageId': '71295686',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061805&docid=71295687&x=821',
		'title': '',
		'imageId': '71295687',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4061805';

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