var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3962717&docid=68871711&x=4935',
		'title': '',
		'imageId': '68871711',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962717&docid=68871709&x=4935',
		'title': '',
		'imageId': '68871709',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962717&docid=68871710&x=4935',
		'title': '',
		'imageId': '68871710',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962717&docid=68871717&x=4935',
		'title': '',
		'imageId': '68871717',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962717&docid=68871713&x=4935',
		'title': '',
		'imageId': '68871713',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962717&docid=68871716&x=4935',
		'title': '',
		'imageId': '68871716',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962717&docid=68871714&x=4935',
		'title': '',
		'imageId': '68871714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962717&docid=68871712&x=4935',
		'title': '',
		'imageId': '68871712',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962717&docid=68871708&x=4935',
		'title': '',
		'imageId': '68871708',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962717&docid=68871715&x=4935',
		'title': '',
		'imageId': '68871715',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3962717';

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