var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3980156&docid=69268349&x=389',
		'title': '',
		'imageId': '69268349',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980156&docid=69268350&x=389',
		'title': '',
		'imageId': '69268350',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980156&docid=69268351&x=389',
		'title': '',
		'imageId': '69268351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980156&docid=69268347&x=389',
		'title': '',
		'imageId': '69268347',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980156&docid=69268354&x=389',
		'title': '',
		'imageId': '69268354',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980156&docid=69268352&x=389',
		'title': '',
		'imageId': '69268352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980156&docid=69268355&x=389',
		'title': '',
		'imageId': '69268355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980156&docid=69268346&x=389',
		'title': '',
		'imageId': '69268346',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980156&docid=69268345&x=389',
		'title': '',
		'imageId': '69268345',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980156&docid=69268353&x=389',
		'title': '',
		'imageId': '69268353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980156&docid=69268356&x=389',
		'title': '',
		'imageId': '69268356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980156&docid=69268348&x=389',
		'title': '',
		'imageId': '69268348',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3980156';

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