var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3971291&docid=69048188&x=4138',
		'title': '',
		'imageId': '69048188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971291&docid=69048189&x=4138',
		'title': '',
		'imageId': '69048189',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971291&docid=69048190&x=4138',
		'title': '',
		'imageId': '69048190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971291&docid=69048191&x=4138',
		'title': '',
		'imageId': '69048191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971291&docid=69048192&x=4138',
		'title': '',
		'imageId': '69048192',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971291&docid=69048193&x=4138',
		'title': '',
		'imageId': '69048193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971291&docid=69048194&x=4138',
		'title': '',
		'imageId': '69048194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971291&docid=69048195&x=4138',
		'title': '',
		'imageId': '69048195',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971291&docid=69048196&x=4138',
		'title': '',
		'imageId': '69048196',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971291&docid=69048197&x=4138',
		'title': '',
		'imageId': '69048197',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3971291';

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