var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3963525&docid=68891974&x=5736',
		'title': '',
		'imageId': '68891974',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963525&docid=68891976&x=5736',
		'title': '',
		'imageId': '68891976',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963525&docid=68891975&x=5736',
		'title': '',
		'imageId': '68891975',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963525&docid=68891998&x=5736',
		'title': '',
		'imageId': '68891998',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963525&docid=68891999&x=5736',
		'title': '',
		'imageId': '68891999',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963525&docid=68892001&x=5736',
		'title': '',
		'imageId': '68892001',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963525&docid=68892000&x=5736',
		'title': '',
		'imageId': '68892000',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963525&docid=68892002&x=5736',
		'title': '',
		'imageId': '68892002',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963525&docid=68892003&x=5736',
		'title': '',
		'imageId': '68892003',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963525&docid=68892004&x=5736',
		'title': '',
		'imageId': '68892004',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3963525';

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