var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3969294&docid=69116420&x=4817',
		'title': '',
		'imageId': '69116420',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969294&docid=69116417&x=4817',
		'title': '',
		'imageId': '69116417',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969294&docid=69116421&x=4817',
		'title': '',
		'imageId': '69116421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969294&docid=69116416&x=4817',
		'title': '',
		'imageId': '69116416',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969294&docid=69116418&x=4817',
		'title': '',
		'imageId': '69116418',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969294&docid=69116423&x=4817',
		'title': '',
		'imageId': '69116423',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969294&docid=69116415&x=4817',
		'title': '',
		'imageId': '69116415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969294&docid=69116419&x=4817',
		'title': '',
		'imageId': '69116419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969294&docid=69116422&x=4817',
		'title': '',
		'imageId': '69116422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969294&docid=69128821&x=4817',
		'title': '',
		'imageId': '69128821',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3969294';

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