var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3964561&docid=68921285&x=4741',
		'title': '',
		'imageId': '68921285',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964561&docid=68937746&x=4741',
		'title': '',
		'imageId': '68937746',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964561&docid=68921286&x=4741',
		'title': '',
		'imageId': '68921286',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964561&docid=68921287&x=4741',
		'title': '',
		'imageId': '68921287',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964561&docid=68921288&x=4741',
		'title': '',
		'imageId': '68921288',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964561&docid=68921289&x=4741',
		'title': '',
		'imageId': '68921289',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964561&docid=68921290&x=4741',
		'title': '',
		'imageId': '68921290',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964561&docid=68921291&x=4741',
		'title': '',
		'imageId': '68921291',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964561&docid=68921292&x=4741',
		'title': '',
		'imageId': '68921292',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964561&docid=68921293&x=4741',
		'title': '',
		'imageId': '68921293',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964561&docid=68921294&x=4741',
		'title': '',
		'imageId': '68921294',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3964561';

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