var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3962720&docid=68871848&x=2441',
		'title': '',
		'imageId': '68871848',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962720&docid=68871844&x=2441',
		'title': '',
		'imageId': '68871844',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962720&docid=68871850&x=2441',
		'title': '',
		'imageId': '68871850',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962720&docid=68871846&x=2441',
		'title': '',
		'imageId': '68871846',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962720&docid=68871854&x=2441',
		'title': '',
		'imageId': '68871854',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962720&docid=68871849&x=2441',
		'title': '',
		'imageId': '68871849',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962720&docid=68871855&x=2441',
		'title': '',
		'imageId': '68871855',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962720&docid=68871853&x=2441',
		'title': '',
		'imageId': '68871853',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962720&docid=68871852&x=2441',
		'title': '',
		'imageId': '68871852',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962720&docid=68871851&x=2441',
		'title': '',
		'imageId': '68871851',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3962720';

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