var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3929803&docid=68284787&x=846',
		'title': '',
		'imageId': '68284787',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929803&docid=68284792&x=846',
		'title': '',
		'imageId': '68284792',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929803&docid=68284794&x=846',
		'title': '',
		'imageId': '68284794',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929803&docid=68284793&x=846',
		'title': '',
		'imageId': '68284793',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929803&docid=68284790&x=846',
		'title': '',
		'imageId': '68284790',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929803&docid=68284797&x=846',
		'title': '',
		'imageId': '68284797',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929803&docid=68284808&x=846',
		'title': '',
		'imageId': '68284808',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929803&docid=68284810&x=846',
		'title': '',
		'imageId': '68284810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929803&docid=68284814&x=846',
		'title': '',
		'imageId': '68284814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929803&docid=68284815&x=846',
		'title': '',
		'imageId': '68284815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929803&docid=68284791&x=846',
		'title': '',
		'imageId': '68284791',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3929803';

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