var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4085779&docid=71830109&x=123',
		'title': '',
		'imageId': '71830109',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085779&docid=71830118&x=123',
		'title': '',
		'imageId': '71830118',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085779&docid=71830111&x=123',
		'title': '',
		'imageId': '71830111',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085779&docid=71830115&x=123',
		'title': '',
		'imageId': '71830115',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085779&docid=71830113&x=123',
		'title': '',
		'imageId': '71830113',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085779&docid=71830114&x=123',
		'title': '',
		'imageId': '71830114',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085779&docid=71830117&x=123',
		'title': '',
		'imageId': '71830117',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085779&docid=71830112&x=123',
		'title': '',
		'imageId': '71830112',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085779&docid=71830116&x=123',
		'title': '',
		'imageId': '71830116',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085779&docid=71830110&x=123',
		'title': '',
		'imageId': '71830110',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085779&docid=71830119&x=123',
		'title': '',
		'imageId': '71830119',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4085779';

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