var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3973502&docid=69106029&x=144',
		'title': '',
		'imageId': '69106029',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973502&docid=69106035&x=144',
		'title': '',
		'imageId': '69106035',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973502&docid=69106037&x=144',
		'title': '',
		'imageId': '69106037',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973502&docid=69106032&x=144',
		'title': '',
		'imageId': '69106032',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973502&docid=69106034&x=144',
		'title': '',
		'imageId': '69106034',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973502&docid=69106038&x=144',
		'title': '',
		'imageId': '69106038',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973502&docid=69106028&x=144',
		'title': '',
		'imageId': '69106028',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973502&docid=69106031&x=144',
		'title': '',
		'imageId': '69106031',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973502&docid=69106030&x=144',
		'title': '',
		'imageId': '69106030',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973502&docid=69106036&x=144',
		'title': '',
		'imageId': '69106036',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973502&docid=69106033&x=144',
		'title': '',
		'imageId': '69106033',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3973502';

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