var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3887621&docid=67368224&x=2639',
		'title': '',
		'imageId': '67368224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887621&docid=67368225&x=2639',
		'title': '',
		'imageId': '67368225',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887621&docid=67368328&x=2639',
		'title': '',
		'imageId': '67368328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887621&docid=67368331&x=2639',
		'title': '',
		'imageId': '67368331',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887621&docid=67368354&x=2639',
		'title': '',
		'imageId': '67368354',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887621&docid=67368391&x=2639',
		'title': '',
		'imageId': '67368391',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887621&docid=67368431&x=2639',
		'title': '',
		'imageId': '67368431',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887621&docid=67368507&x=2639',
		'title': '',
		'imageId': '67368507',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887621&docid=67368511&x=2639',
		'title': '',
		'imageId': '67368511',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887621&docid=67368586&x=2639',
		'title': '',
		'imageId': '67368586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887621&docid=67368599&x=2639',
		'title': '',
		'imageId': '67368599',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887621&docid=67606182&x=2639',
		'title': '',
		'imageId': '67606182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3887621';

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