var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3947161&docid=68514202&x=150',
		'title': '',
		'imageId': '68514202',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947161&docid=68514206&x=150',
		'title': '',
		'imageId': '68514206',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947161&docid=68514205&x=150',
		'title': '',
		'imageId': '68514205',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947161&docid=68514201&x=150',
		'title': '',
		'imageId': '68514201',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947161&docid=68514209&x=150',
		'title': '',
		'imageId': '68514209',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947161&docid=68514208&x=150',
		'title': '',
		'imageId': '68514208',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947161&docid=68514213&x=150',
		'title': '',
		'imageId': '68514213',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947161&docid=68514212&x=150',
		'title': '',
		'imageId': '68514212',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947161&docid=68514214&x=150',
		'title': '',
		'imageId': '68514214',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947161&docid=68514207&x=150',
		'title': '',
		'imageId': '68514207',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947161&docid=68514215&x=150',
		'title': '',
		'imageId': '68514215',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3947161';

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