var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3929268&docid=68114278&x=4154',
		'title': '',
		'imageId': '68114278',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929268&docid=68114279&x=4154',
		'title': '',
		'imageId': '68114279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929268&docid=68114280&x=4154',
		'title': '',
		'imageId': '68114280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929268&docid=68114281&x=4154',
		'title': '',
		'imageId': '68114281',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929268&docid=68114282&x=4154',
		'title': '',
		'imageId': '68114282',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929268&docid=68114283&x=4154',
		'title': '',
		'imageId': '68114283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929268&docid=68114284&x=4154',
		'title': '',
		'imageId': '68114284',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929268&docid=68114285&x=4154',
		'title': '',
		'imageId': '68114285',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929268&docid=68114286&x=4154',
		'title': '',
		'imageId': '68114286',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929268&docid=68114287&x=4154',
		'title': '',
		'imageId': '68114287',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929268&docid=68114288&x=4154',
		'title': '',
		'imageId': '68114288',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929268&docid=68114289&x=4154',
		'title': '',
		'imageId': '68114289',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3929268';

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