var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3964245&docid=68912134&x=5830',
		'title': '',
		'imageId': '68912134',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964245&docid=68912135&x=5830',
		'title': '',
		'imageId': '68912135',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964245&docid=68912139&x=5830',
		'title': '',
		'imageId': '68912139',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964245&docid=68912136&x=5830',
		'title': '',
		'imageId': '68912136',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964245&docid=68912138&x=5830',
		'title': '',
		'imageId': '68912138',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964245&docid=68912137&x=5830',
		'title': '',
		'imageId': '68912137',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964245&docid=68912140&x=5830',
		'title': '',
		'imageId': '68912140',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964245&docid=68912141&x=5830',
		'title': '',
		'imageId': '68912141',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964245&docid=68912142&x=5830',
		'title': '',
		'imageId': '68912142',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964245&docid=68912133&x=5830',
		'title': '',
		'imageId': '68912133',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3964245';

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