var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3991041&docid=69524499&x=5627',
		'title': '',
		'imageId': '69524499',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991041&docid=69511187&x=5627',
		'title': '',
		'imageId': '69511187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991041&docid=69511189&x=5627',
		'title': '',
		'imageId': '69511189',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991041&docid=69511186&x=5627',
		'title': '',
		'imageId': '69511186',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991041&docid=69511180&x=5627',
		'title': '',
		'imageId': '69511180',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991041&docid=69511184&x=5627',
		'title': '',
		'imageId': '69511184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991041&docid=69511190&x=5627',
		'title': '',
		'imageId': '69511190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991041&docid=69511181&x=5627',
		'title': '',
		'imageId': '69511181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991041&docid=69511188&x=5627',
		'title': '',
		'imageId': '69511188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991041&docid=69511182&x=5627',
		'title': '',
		'imageId': '69511182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991041&docid=69511185&x=5627',
		'title': '',
		'imageId': '69511185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991041&docid=69511183&x=5627',
		'title': '',
		'imageId': '69511183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3991041';

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