var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3890836&docid=67166104&x=4042',
		'title': '',
		'imageId': '67166104',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890836&docid=67166105&x=4042',
		'title': '',
		'imageId': '67166105',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890836&docid=67166106&x=4042',
		'title': '',
		'imageId': '67166106',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890836&docid=67166107&x=4042',
		'title': '',
		'imageId': '67166107',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890836&docid=67166108&x=4042',
		'title': '',
		'imageId': '67166108',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890836&docid=67166110&x=4042',
		'title': '',
		'imageId': '67166110',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890836&docid=67166113&x=4042',
		'title': '',
		'imageId': '67166113',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890836&docid=67166114&x=4042',
		'title': '',
		'imageId': '67166114',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890836&docid=67166116&x=4042',
		'title': '',
		'imageId': '67166116',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890836&docid=67166117&x=4042',
		'title': '',
		'imageId': '67166117',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890836&docid=67166118&x=4042',
		'title': '',
		'imageId': '67166118',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890836&docid=67166119&x=4042',
		'title': '',
		'imageId': '67166119',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3890836';

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