var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3953136&docid=68653842&x=402',
		'title': '',
		'imageId': '68653842',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953136&docid=68653851&x=402',
		'title': '',
		'imageId': '68653851',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953136&docid=68653847&x=402',
		'title': '',
		'imageId': '68653847',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953136&docid=68653844&x=402',
		'title': '',
		'imageId': '68653844',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953136&docid=68653848&x=402',
		'title': '',
		'imageId': '68653848',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953136&docid=68653846&x=402',
		'title': '',
		'imageId': '68653846',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953136&docid=68653850&x=402',
		'title': '',
		'imageId': '68653850',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953136&docid=68653845&x=402',
		'title': '',
		'imageId': '68653845',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953136&docid=68653843&x=402',
		'title': '',
		'imageId': '68653843',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953136&docid=68653849&x=402',
		'title': '',
		'imageId': '68653849',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953136&docid=68653841&x=402',
		'title': '',
		'imageId': '68653841',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953136&docid=68653911&x=402',
		'title': '',
		'imageId': '68653911',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3953136';

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