var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3950311&docid=68591086&x=127',
		'title': '',
		'imageId': '68591086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950311&docid=68591088&x=127',
		'title': '',
		'imageId': '68591088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950311&docid=68591089&x=127',
		'title': '',
		'imageId': '68591089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950311&docid=68591090&x=127',
		'title': '',
		'imageId': '68591090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950311&docid=68591101&x=127',
		'title': '',
		'imageId': '68591101',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950311&docid=68591091&x=127',
		'title': '',
		'imageId': '68591091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950311&docid=68591096&x=127',
		'title': '',
		'imageId': '68591096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950311&docid=68591097&x=127',
		'title': '',
		'imageId': '68591097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950311&docid=68591106&x=127',
		'title': '',
		'imageId': '68591106',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950311&docid=68591105&x=127',
		'title': '',
		'imageId': '68591105',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950311&docid=68591087&x=127',
		'title': '',
		'imageId': '68591087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3950311';

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