var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3962246&docid=68862185&x=2530',
		'title': '',
		'imageId': '68862185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962246&docid=68862187&x=2530',
		'title': '',
		'imageId': '68862187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962246&docid=68862186&x=2530',
		'title': '',
		'imageId': '68862186',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962246&docid=68862183&x=2530',
		'title': '',
		'imageId': '68862183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962246&docid=68862192&x=2530',
		'title': '',
		'imageId': '68862192',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962246&docid=68862190&x=2530',
		'title': '',
		'imageId': '68862190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962246&docid=68862184&x=2530',
		'title': '',
		'imageId': '68862184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962246&docid=68862193&x=2530',
		'title': '',
		'imageId': '68862193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962246&docid=68862189&x=2530',
		'title': '',
		'imageId': '68862189',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962246&docid=68862191&x=2530',
		'title': '',
		'imageId': '68862191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962246&docid=68862182&x=2530',
		'title': '',
		'imageId': '68862182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962246&docid=68862188&x=2530',
		'title': '',
		'imageId': '68862188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3962246';

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