var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3883251&docid=66964994&x=4851',
		'title': '',
		'imageId': '66964994',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883251&docid=66964988&x=4851',
		'title': '',
		'imageId': '66964988',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883251&docid=66964991&x=4851',
		'title': '',
		'imageId': '66964991',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883251&docid=66964996&x=4851',
		'title': '',
		'imageId': '66964996',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883251&docid=66964997&x=4851',
		'title': '',
		'imageId': '66964997',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883251&docid=66964998&x=4851',
		'title': '',
		'imageId': '66964998',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883251&docid=66964999&x=4851',
		'title': '',
		'imageId': '66964999',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883251&docid=66965000&x=4851',
		'title': '',
		'imageId': '66965000',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883251&docid=66965001&x=4851',
		'title': '',
		'imageId': '66965001',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883251&docid=66965005&x=4851',
		'title': '',
		'imageId': '66965005',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883251&docid=66965010&x=4851',
		'title': '',
		'imageId': '66965010',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3883251';

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