var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4088437&docid=68731689&x=1851',
		'title': '',
		'imageId': '68731689',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088437&docid=68731693&x=1851',
		'title': '',
		'imageId': '68731693',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088437&docid=68731694&x=1851',
		'title': '',
		'imageId': '68731694',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088437&docid=68731692&x=1851',
		'title': '',
		'imageId': '68731692',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088437&docid=68731696&x=1851',
		'title': '',
		'imageId': '68731696',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088437&docid=68731695&x=1851',
		'title': '',
		'imageId': '68731695',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088437&docid=68731690&x=1851',
		'title': '',
		'imageId': '68731690',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088437&docid=68731691&x=1851',
		'title': '',
		'imageId': '68731691',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4088437';

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