var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3962245&docid=68862143&x=3518',
		'title': '',
		'imageId': '68862143',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962245&docid=68862135&x=3518',
		'title': '',
		'imageId': '68862135',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962245&docid=68862139&x=3518',
		'title': '',
		'imageId': '68862139',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962245&docid=68862140&x=3518',
		'title': '',
		'imageId': '68862140',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962245&docid=68862141&x=3518',
		'title': '',
		'imageId': '68862141',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962245&docid=68862137&x=3518',
		'title': '',
		'imageId': '68862137',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962245&docid=68862136&x=3518',
		'title': '',
		'imageId': '68862136',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962245&docid=68862138&x=3518',
		'title': '',
		'imageId': '68862138',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962245&docid=68862144&x=3518',
		'title': '',
		'imageId': '68862144',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962245&docid=68862146&x=3518',
		'title': '',
		'imageId': '68862146',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962245&docid=68862142&x=3518',
		'title': '',
		'imageId': '68862142',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962245&docid=68862145&x=3518',
		'title': '',
		'imageId': '68862145',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3962245';

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