var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3956801&docid=68746257&x=5328',
		'title': '',
		'imageId': '68746257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956801&docid=68746259&x=5328',
		'title': '',
		'imageId': '68746259',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956801&docid=68746260&x=5328',
		'title': '',
		'imageId': '68746260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956801&docid=68746262&x=5328',
		'title': '',
		'imageId': '68746262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956801&docid=68746261&x=5328',
		'title': '',
		'imageId': '68746261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956801&docid=68746258&x=5328',
		'title': '',
		'imageId': '68746258',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956801&docid=68746263&x=5328',
		'title': '',
		'imageId': '68746263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3956801';

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