var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3962222&docid=68858341&x=1644',
		'title': '',
		'imageId': '68858341',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962222&docid=68858344&x=1644',
		'title': '',
		'imageId': '68858344',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962222&docid=68858347&x=1644',
		'title': '',
		'imageId': '68858347',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962222&docid=68858337&x=1644',
		'title': '',
		'imageId': '68858337',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962222&docid=68858343&x=1644',
		'title': '',
		'imageId': '68858343',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962222&docid=68858346&x=1644',
		'title': '',
		'imageId': '68858346',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962222&docid=68858345&x=1644',
		'title': '',
		'imageId': '68858345',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962222&docid=68858338&x=1644',
		'title': '',
		'imageId': '68858338',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962222&docid=68858340&x=1644',
		'title': '',
		'imageId': '68858340',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962222&docid=68858342&x=1644',
		'title': '',
		'imageId': '68858342',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962222&docid=68858339&x=1644',
		'title': '',
		'imageId': '68858339',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3962222';

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