var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3963179&docid=68884054&x=252',
		'title': '',
		'imageId': '68884054',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963179&docid=68884055&x=252',
		'title': '',
		'imageId': '68884055',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963179&docid=68884052&x=252',
		'title': '',
		'imageId': '68884052',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963179&docid=68884053&x=252',
		'title': '',
		'imageId': '68884053',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963179&docid=68884056&x=252',
		'title': '',
		'imageId': '68884056',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963179&docid=68884057&x=252',
		'title': '',
		'imageId': '68884057',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963179&docid=68884063&x=252',
		'title': '',
		'imageId': '68884063',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963179&docid=68884066&x=252',
		'title': '',
		'imageId': '68884066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963179&docid=68884070&x=252',
		'title': '',
		'imageId': '68884070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963179&docid=68884071&x=252',
		'title': '',
		'imageId': '68884071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3963179';

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