var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3945661&docid=68479737&x=1652',
		'title': '',
		'imageId': '68479737',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945661&docid=68479734&x=1652',
		'title': '',
		'imageId': '68479734',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945661&docid=68479736&x=1652',
		'title': '',
		'imageId': '68479736',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945661&docid=68479735&x=1652',
		'title': '',
		'imageId': '68479735',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945661&docid=68479741&x=1652',
		'title': '',
		'imageId': '68479741',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945661&docid=68479738&x=1652',
		'title': '',
		'imageId': '68479738',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945661&docid=68479740&x=1652',
		'title': '',
		'imageId': '68479740',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945661&docid=68479733&x=1652',
		'title': '',
		'imageId': '68479733',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945661&docid=68479739&x=1652',
		'title': '',
		'imageId': '68479739',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945661&docid=68479732&x=1652',
		'title': '',
		'imageId': '68479732',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945661&docid=68479731&x=1652',
		'title': '',
		'imageId': '68479731',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3945661';

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