var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3954478&docid=68085269&x=459',
		'title': '',
		'imageId': '68085269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954478&docid=68085278&x=459',
		'title': '',
		'imageId': '68085278',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954478&docid=68085277&x=459',
		'title': '',
		'imageId': '68085277',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954478&docid=68085268&x=459',
		'title': '',
		'imageId': '68085268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954478&docid=68085272&x=459',
		'title': '',
		'imageId': '68085272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954478&docid=68085276&x=459',
		'title': '',
		'imageId': '68085276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954478&docid=68085274&x=459',
		'title': '',
		'imageId': '68085274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954478&docid=68085271&x=459',
		'title': '',
		'imageId': '68085271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954478&docid=68085275&x=459',
		'title': '',
		'imageId': '68085275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954478&docid=68085267&x=459',
		'title': '',
		'imageId': '68085267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954478&docid=68085279&x=459',
		'title': '',
		'imageId': '68085279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954478&docid=68085266&x=459',
		'title': '',
		'imageId': '68085266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954478&docid=68085273&x=459',
		'title': '',
		'imageId': '68085273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954478&docid=68085270&x=459',
		'title': '',
		'imageId': '68085270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954478&docid=68085280&x=459',
		'title': '',
		'imageId': '68085280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3954478';

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