var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3930140&docid=68209881&x=116',
		'title': '',
		'imageId': '68209881',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930140&docid=68209886&x=116',
		'title': '',
		'imageId': '68209886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930140&docid=68209888&x=116',
		'title': '',
		'imageId': '68209888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930140&docid=68209882&x=116',
		'title': '',
		'imageId': '68209882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930140&docid=68209884&x=116',
		'title': '',
		'imageId': '68209884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930140&docid=68209885&x=116',
		'title': '',
		'imageId': '68209885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930140&docid=68209880&x=116',
		'title': '',
		'imageId': '68209880',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930140&docid=68209878&x=116',
		'title': '',
		'imageId': '68209878',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930140&docid=68209883&x=116',
		'title': '',
		'imageId': '68209883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930140&docid=68209879&x=116',
		'title': '',
		'imageId': '68209879',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930140&docid=68209877&x=116',
		'title': '',
		'imageId': '68209877',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930140&docid=68209876&x=116',
		'title': '',
		'imageId': '68209876',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3930140';

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