var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3948616&docid=68554982&x=565',
		'title': '',
		'imageId': '68554982',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948616&docid=68554985&x=565',
		'title': '',
		'imageId': '68554985',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948616&docid=68554986&x=565',
		'title': '',
		'imageId': '68554986',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948616&docid=68554987&x=565',
		'title': '',
		'imageId': '68554987',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948616&docid=68554988&x=565',
		'title': '',
		'imageId': '68554988',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948616&docid=68554989&x=565',
		'title': '',
		'imageId': '68554989',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948616&docid=68554991&x=565',
		'title': '',
		'imageId': '68554991',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948616&docid=68554992&x=565',
		'title': '',
		'imageId': '68554992',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948616&docid=68554994&x=565',
		'title': '',
		'imageId': '68554994',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948616&docid=68554993&x=565',
		'title': '',
		'imageId': '68554993',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948616&docid=68554990&x=565',
		'title': '',
		'imageId': '68554990',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948616&docid=68554995&x=565',
		'title': '',
		'imageId': '68554995',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948616&docid=68554996&x=565',
		'title': '',
		'imageId': '68554996',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948616&docid=68554997&x=565',
		'title': '',
		'imageId': '68554997',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948616&docid=68554998&x=565',
		'title': '',
		'imageId': '68554998',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948616&docid=68555003&x=565',
		'title': '',
		'imageId': '68555003',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948616&docid=68555002&x=565',
		'title': '',
		'imageId': '68555002',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948616&docid=68554999&x=565',
		'title': '',
		'imageId': '68554999',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948616&docid=68555000&x=565',
		'title': '',
		'imageId': '68555000',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948616&docid=68555001&x=565',
		'title': '',
		'imageId': '68555001',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948616&docid=68555005&x=565',
		'title': '',
		'imageId': '68555005',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948616&docid=68555004&x=565',
		'title': '',
		'imageId': '68555004',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948616&docid=68555006&x=565',
		'title': '',
		'imageId': '68555006',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948616&docid=68555007&x=565',
		'title': '',
		'imageId': '68555007',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3948616';

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