var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3955582&docid=68719661&x=5343',
		'title': '',
		'imageId': '68719661',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955582&docid=68719664&x=5343',
		'title': '',
		'imageId': '68719664',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955582&docid=68719657&x=5343',
		'title': '',
		'imageId': '68719657',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955582&docid=68719660&x=5343',
		'title': '',
		'imageId': '68719660',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955582&docid=68719658&x=5343',
		'title': '',
		'imageId': '68719658',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955582&docid=68719662&x=5343',
		'title': '',
		'imageId': '68719662',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955582&docid=68719656&x=5343',
		'title': '',
		'imageId': '68719656',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955582&docid=68719663&x=5343',
		'title': '',
		'imageId': '68719663',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955582&docid=68719659&x=5343',
		'title': '',
		'imageId': '68719659',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955582&docid=68719665&x=5343',
		'title': '',
		'imageId': '68719665',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955582&docid=68719666&x=5343',
		'title': '',
		'imageId': '68719666',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3955582';

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