var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3967791&docid=68726990&x=2938',
		'title': '',
		'imageId': '68726990',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967791&docid=68726991&x=2938',
		'title': '',
		'imageId': '68726991',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967791&docid=68726994&x=2938',
		'title': '',
		'imageId': '68726994',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967791&docid=68726992&x=2938',
		'title': '',
		'imageId': '68726992',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967791&docid=68726993&x=2938',
		'title': '',
		'imageId': '68726993',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967791&docid=68726995&x=2938',
		'title': '',
		'imageId': '68726995',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967791&docid=68726996&x=2938',
		'title': '',
		'imageId': '68726996',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967791&docid=68726998&x=2938',
		'title': '',
		'imageId': '68726998',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967791&docid=68726999&x=2938',
		'title': '',
		'imageId': '68726999',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967791&docid=68727000&x=2938',
		'title': '',
		'imageId': '68727000',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967791&docid=68727001&x=2938',
		'title': '',
		'imageId': '68727001',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967791&docid=68726989&x=2938',
		'title': '',
		'imageId': '68726989',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3967791';

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