var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3949180&docid=68573806&x=038',
		'title': '',
		'imageId': '68573806',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949180&docid=68573815&x=038',
		'title': '',
		'imageId': '68573815',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949180&docid=68573808&x=038',
		'title': '',
		'imageId': '68573808',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949180&docid=68573810&x=038',
		'title': '',
		'imageId': '68573810',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949180&docid=68573814&x=038',
		'title': '',
		'imageId': '68573814',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949180&docid=68573812&x=038',
		'title': '',
		'imageId': '68573812',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949180&docid=68573811&x=038',
		'title': '',
		'imageId': '68573811',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949180&docid=68573816&x=038',
		'title': '',
		'imageId': '68573816',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949180&docid=68573807&x=038',
		'title': '',
		'imageId': '68573807',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949180&docid=68573809&x=038',
		'title': '',
		'imageId': '68573809',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949180&docid=68573813&x=038',
		'title': '',
		'imageId': '68573813',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3949180';

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