var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3917284&docid=67835618&x=2028',
		'title': '',
		'imageId': '67835618',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917284&docid=67835619&x=2028',
		'title': '',
		'imageId': '67835619',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917284&docid=67835620&x=2028',
		'title': '',
		'imageId': '67835620',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917284&docid=67835622&x=2028',
		'title': '',
		'imageId': '67835622',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917284&docid=67835621&x=2028',
		'title': '',
		'imageId': '67835621',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917284&docid=67835623&x=2028',
		'title': '',
		'imageId': '67835623',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917284&docid=67835624&x=2028',
		'title': '',
		'imageId': '67835624',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917284&docid=67835625&x=2028',
		'title': '',
		'imageId': '67835625',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917284&docid=67835626&x=2028',
		'title': '',
		'imageId': '67835626',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917284&docid=67835627&x=2028',
		'title': '',
		'imageId': '67835627',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917284&docid=67835628&x=2028',
		'title': '',
		'imageId': '67835628',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917284&docid=67835629&x=2028',
		'title': '',
		'imageId': '67835629',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3917284';

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