var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3917373&docid=68014263&x=5829',
		'title': '',
		'imageId': '68014263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917373&docid=68014261&x=5829',
		'title': '',
		'imageId': '68014261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917373&docid=68014260&x=5829',
		'title': '',
		'imageId': '68014260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917373&docid=68014269&x=5829',
		'title': '',
		'imageId': '68014269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917373&docid=68014268&x=5829',
		'title': '',
		'imageId': '68014268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917373&docid=68014267&x=5829',
		'title': '',
		'imageId': '68014267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917373&docid=68014264&x=5829',
		'title': '',
		'imageId': '68014264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917373&docid=68014266&x=5829',
		'title': '',
		'imageId': '68014266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917373&docid=68014271&x=5829',
		'title': '',
		'imageId': '68014271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917373&docid=68014270&x=5829',
		'title': '',
		'imageId': '68014270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917373&docid=68014265&x=5829',
		'title': '',
		'imageId': '68014265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917373&docid=68014262&x=5829',
		'title': '',
		'imageId': '68014262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3917373';

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