var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3917080&docid=67829185&x=322',
		'title': '',
		'imageId': '67829185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917080&docid=67829181&x=322',
		'title': '',
		'imageId': '67829181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917080&docid=67829178&x=322',
		'title': '',
		'imageId': '67829178',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917080&docid=67829175&x=322',
		'title': '',
		'imageId': '67829175',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917080&docid=67829182&x=322',
		'title': '',
		'imageId': '67829182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917080&docid=67829180&x=322',
		'title': '',
		'imageId': '67829180',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917080&docid=67829179&x=322',
		'title': '',
		'imageId': '67829179',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917080&docid=67829183&x=322',
		'title': '',
		'imageId': '67829183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917080&docid=67829184&x=322',
		'title': '',
		'imageId': '67829184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917080&docid=67829174&x=322',
		'title': '',
		'imageId': '67829174',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917080&docid=67829176&x=322',
		'title': '',
		'imageId': '67829176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917080&docid=67829177&x=322',
		'title': '',
		'imageId': '67829177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3917080';

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