var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3925219&docid=68025780&x=846',
		'title': '',
		'imageId': '68025780',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925219&docid=68025781&x=846',
		'title': '',
		'imageId': '68025781',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925219&docid=68025782&x=846',
		'title': '',
		'imageId': '68025782',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925219&docid=68025783&x=846',
		'title': '',
		'imageId': '68025783',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925219&docid=68025784&x=846',
		'title': '',
		'imageId': '68025784',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925219&docid=68025785&x=846',
		'title': '',
		'imageId': '68025785',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925219&docid=68025786&x=846',
		'title': '',
		'imageId': '68025786',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925219&docid=68025787&x=846',
		'title': '',
		'imageId': '68025787',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925219&docid=68025788&x=846',
		'title': '',
		'imageId': '68025788',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925219&docid=68025789&x=846',
		'title': '',
		'imageId': '68025789',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925219&docid=68025790&x=846',
		'title': '',
		'imageId': '68025790',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925219&docid=68025791&x=846',
		'title': '',
		'imageId': '68025791',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925219&docid=68025792&x=846',
		'title': '',
		'imageId': '68025792',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925219&docid=68025793&x=846',
		'title': '',
		'imageId': '68025793',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925219&docid=68025794&x=846',
		'title': '',
		'imageId': '68025794',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925219&docid=68025798&x=846',
		'title': '',
		'imageId': '68025798',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925219&docid=68025795&x=846',
		'title': '',
		'imageId': '68025795',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925219&docid=68025796&x=846',
		'title': '',
		'imageId': '68025796',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925219&docid=68025797&x=846',
		'title': '',
		'imageId': '68025797',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3925219';

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