var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3947170&docid=68514345&x=915',
		'title': '',
		'imageId': '68514345',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947170&docid=68514350&x=915',
		'title': '',
		'imageId': '68514350',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947170&docid=68514348&x=915',
		'title': '',
		'imageId': '68514348',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947170&docid=68514346&x=915',
		'title': '',
		'imageId': '68514346',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947170&docid=68514352&x=915',
		'title': '',
		'imageId': '68514352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947170&docid=68514354&x=915',
		'title': '',
		'imageId': '68514354',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947170&docid=68514356&x=915',
		'title': '',
		'imageId': '68514356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947170&docid=68514357&x=915',
		'title': '',
		'imageId': '68514357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947170&docid=68514359&x=915',
		'title': '',
		'imageId': '68514359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947170&docid=68514358&x=915',
		'title': '',
		'imageId': '68514358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947170&docid=68514351&x=915',
		'title': '',
		'imageId': '68514351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947170&docid=68514360&x=915',
		'title': '',
		'imageId': '68514360',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3947170';

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