var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4061517&docid=70413874&x=583',
		'title': '',
		'imageId': '70413874',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061517&docid=70413876&x=583',
		'title': '',
		'imageId': '70413876',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061517&docid=70413877&x=583',
		'title': '',
		'imageId': '70413877',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061517&docid=70413878&x=583',
		'title': '',
		'imageId': '70413878',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061517&docid=70413879&x=583',
		'title': '',
		'imageId': '70413879',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061517&docid=70413880&x=583',
		'title': '',
		'imageId': '70413880',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061517&docid=70413881&x=583',
		'title': '',
		'imageId': '70413881',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061517&docid=70413882&x=583',
		'title': '',
		'imageId': '70413882',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061517&docid=70413883&x=583',
		'title': '',
		'imageId': '70413883',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061517&docid=70413884&x=583',
		'title': '',
		'imageId': '70413884',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061517&docid=70413885&x=583',
		'title': '',
		'imageId': '70413885',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061517&docid=70413886&x=583',
		'title': '',
		'imageId': '70413886',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061517&docid=70413887&x=583',
		'title': '',
		'imageId': '70413887',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061517&docid=70413888&x=583',
		'title': '',
		'imageId': '70413888',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061517&docid=70413889&x=583',
		'title': '',
		'imageId': '70413889',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061517&docid=70413890&x=583',
		'title': '',
		'imageId': '70413890',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061517&docid=70413891&x=583',
		'title': '',
		'imageId': '70413891',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4061517';

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