var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3943068&docid=68415203&x=5951',
		'title': '',
		'imageId': '68415203',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943068&docid=68415202&x=5951',
		'title': '',
		'imageId': '68415202',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943068&docid=68415199&x=5951',
		'title': '',
		'imageId': '68415199',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943068&docid=68415200&x=5951',
		'title': '',
		'imageId': '68415200',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943068&docid=68415195&x=5951',
		'title': '',
		'imageId': '68415195',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943068&docid=68415196&x=5951',
		'title': '',
		'imageId': '68415196',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943068&docid=68415201&x=5951',
		'title': '',
		'imageId': '68415201',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943068&docid=68415194&x=5951',
		'title': '',
		'imageId': '68415194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943068&docid=68415197&x=5951',
		'title': '',
		'imageId': '68415197',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943068&docid=68415198&x=5951',
		'title': '',
		'imageId': '68415198',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3943068';

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