var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3956982&docid=68750182&x=1228',
		'title': '',
		'imageId': '68750182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956982&docid=68750187&x=1228',
		'title': '',
		'imageId': '68750187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956982&docid=68750185&x=1228',
		'title': '',
		'imageId': '68750185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956982&docid=68750186&x=1228',
		'title': '',
		'imageId': '68750186',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956982&docid=68750188&x=1228',
		'title': '',
		'imageId': '68750188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956982&docid=68750184&x=1228',
		'title': '',
		'imageId': '68750184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956982&docid=68750183&x=1228',
		'title': '',
		'imageId': '68750183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3956982';

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