var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3998939&docid=69681419&x=1138',
		'title': '',
		'imageId': '69681419',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998939&docid=69681411&x=1138',
		'title': '',
		'imageId': '69681411',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998939&docid=69681416&x=1138',
		'title': '',
		'imageId': '69681416',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998939&docid=69681410&x=1138',
		'title': '',
		'imageId': '69681410',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998939&docid=69681420&x=1138',
		'title': '',
		'imageId': '69681420',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998939&docid=69681422&x=1138',
		'title': '',
		'imageId': '69681422',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998939&docid=69681415&x=1138',
		'title': '',
		'imageId': '69681415',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998939&docid=69681423&x=1138',
		'title': '',
		'imageId': '69681423',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998939&docid=69681412&x=1138',
		'title': '',
		'imageId': '69681412',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998939&docid=69681425&x=1138',
		'title': '',
		'imageId': '69681425',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998939&docid=69681426&x=1138',
		'title': '',
		'imageId': '69681426',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998939&docid=69681424&x=1138',
		'title': '',
		'imageId': '69681424',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998939&docid=69681427&x=1138',
		'title': '',
		'imageId': '69681427',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998939&docid=69681421&x=1138',
		'title': '',
		'imageId': '69681421',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998939&docid=69681413&x=1138',
		'title': '',
		'imageId': '69681413',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998939&docid=69681414&x=1138',
		'title': '',
		'imageId': '69681414',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998939&docid=69681418&x=1138',
		'title': '',
		'imageId': '69681418',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998939&docid=69681417&x=1138',
		'title': '',
		'imageId': '69681417',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3998939';

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