var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3953130&docid=68653573&x=4013',
		'title': '',
		'imageId': '68653573',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953130&docid=68653575&x=4013',
		'title': '',
		'imageId': '68653575',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953130&docid=68653576&x=4013',
		'title': '',
		'imageId': '68653576',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953130&docid=68653574&x=4013',
		'title': '',
		'imageId': '68653574',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953130&docid=68653577&x=4013',
		'title': '',
		'imageId': '68653577',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953130&docid=68653583&x=4013',
		'title': '',
		'imageId': '68653583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953130&docid=68653580&x=4013',
		'title': '',
		'imageId': '68653580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953130&docid=68653581&x=4013',
		'title': '',
		'imageId': '68653581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953130&docid=68653582&x=4013',
		'title': '',
		'imageId': '68653582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953130&docid=68653578&x=4013',
		'title': '',
		'imageId': '68653578',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953130&docid=68653579&x=4013',
		'title': '',
		'imageId': '68653579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953130&docid=68653634&x=4013',
		'title': '',
		'imageId': '68653634',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3953130';

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