var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4083590&docid=71465134&x=5746',
		'title': '',
		'imageId': '71465134',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083590&docid=71465140&x=5746',
		'title': '',
		'imageId': '71465140',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083590&docid=71465142&x=5746',
		'title': '',
		'imageId': '71465142',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083590&docid=71465135&x=5746',
		'title': '',
		'imageId': '71465135',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083590&docid=71465137&x=5746',
		'title': '',
		'imageId': '71465137',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083590&docid=71465139&x=5746',
		'title': '',
		'imageId': '71465139',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083590&docid=71465136&x=5746',
		'title': '',
		'imageId': '71465136',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083590&docid=71465133&x=5746',
		'title': '',
		'imageId': '71465133',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083590&docid=71465143&x=5746',
		'title': '',
		'imageId': '71465143',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083590&docid=71465138&x=5746',
		'title': '',
		'imageId': '71465138',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083590&docid=71465141&x=5746',
		'title': '',
		'imageId': '71465141',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4083590';

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