var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3965988&docid=68948568&x=239',
		'title': '',
		'imageId': '68948568',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965988&docid=68948578&x=239',
		'title': '',
		'imageId': '68948578',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965988&docid=68948575&x=239',
		'title': '',
		'imageId': '68948575',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965988&docid=68948573&x=239',
		'title': '',
		'imageId': '68948573',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965988&docid=68948569&x=239',
		'title': '',
		'imageId': '68948569',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965988&docid=68948576&x=239',
		'title': '',
		'imageId': '68948576',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965988&docid=68948577&x=239',
		'title': '',
		'imageId': '68948577',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965988&docid=68948574&x=239',
		'title': '',
		'imageId': '68948574',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965988&docid=68948570&x=239',
		'title': '',
		'imageId': '68948570',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965988&docid=68948571&x=239',
		'title': '',
		'imageId': '68948571',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965988&docid=68948572&x=239',
		'title': '',
		'imageId': '68948572',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3965988';

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