var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3941341&docid=68395176&x=4357',
		'title': '',
		'imageId': '68395176',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941341&docid=68395178&x=4357',
		'title': '',
		'imageId': '68395178',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941341&docid=68395186&x=4357',
		'title': '',
		'imageId': '68395186',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941341&docid=68395184&x=4357',
		'title': '',
		'imageId': '68395184',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941341&docid=68395185&x=4357',
		'title': '',
		'imageId': '68395185',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941341&docid=68395183&x=4357',
		'title': '',
		'imageId': '68395183',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941341&docid=68395181&x=4357',
		'title': '',
		'imageId': '68395181',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941341&docid=68395182&x=4357',
		'title': '',
		'imageId': '68395182',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941341&docid=68395179&x=4357',
		'title': '',
		'imageId': '68395179',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941341&docid=68395180&x=4357',
		'title': '',
		'imageId': '68395180',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941341&docid=68395177&x=4357',
		'title': '',
		'imageId': '68395177',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3941341';

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