var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3899887&docid=67401985&x=527',
		'title': '',
		'imageId': '67401985',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899887&docid=67401981&x=527',
		'title': '',
		'imageId': '67401981',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899887&docid=67401986&x=527',
		'title': '',
		'imageId': '67401986',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899887&docid=67401983&x=527',
		'title': '',
		'imageId': '67401983',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899887&docid=67401982&x=527',
		'title': '',
		'imageId': '67401982',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899887&docid=67401984&x=527',
		'title': '',
		'imageId': '67401984',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899887&docid=67401980&x=527',
		'title': '',
		'imageId': '67401980',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899887&docid=67401964&x=527',
		'title': '',
		'imageId': '67401964',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899887&docid=67401962&x=527',
		'title': '',
		'imageId': '67401962',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899887&docid=67401963&x=527',
		'title': '',
		'imageId': '67401963',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899887&docid=67401965&x=527',
		'title': '',
		'imageId': '67401965',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3899887';

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