var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3972006&docid=69064593&x=5855',
		'title': '',
		'imageId': '69064593',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972006&docid=69064596&x=5855',
		'title': '',
		'imageId': '69064596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972006&docid=69064597&x=5855',
		'title': '',
		'imageId': '69064597',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972006&docid=69064598&x=5855',
		'title': '',
		'imageId': '69064598',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972006&docid=69064595&x=5855',
		'title': '',
		'imageId': '69064595',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972006&docid=69064603&x=5855',
		'title': '',
		'imageId': '69064603',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972006&docid=69064600&x=5855',
		'title': '',
		'imageId': '69064600',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972006&docid=69064601&x=5855',
		'title': '',
		'imageId': '69064601',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972006&docid=69064602&x=5855',
		'title': '',
		'imageId': '69064602',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972006&docid=69064604&x=5855',
		'title': '',
		'imageId': '69064604',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3972006';

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