var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3956763&docid=68745755&x=5627',
		'title': '',
		'imageId': '68745755',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956763&docid=68745754&x=5627',
		'title': '',
		'imageId': '68745754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956763&docid=68745757&x=5627',
		'title': '',
		'imageId': '68745757',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956763&docid=68745756&x=5627',
		'title': '',
		'imageId': '68745756',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956763&docid=68745758&x=5627',
		'title': '',
		'imageId': '68745758',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956763&docid=68745759&x=5627',
		'title': '',
		'imageId': '68745759',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956763&docid=68745761&x=5627',
		'title': '',
		'imageId': '68745761',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956763&docid=68745760&x=5627',
		'title': '',
		'imageId': '68745760',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956763&docid=69090273&x=5627',
		'title': '',
		'imageId': '69090273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956763&docid=69090274&x=5627',
		'title': '',
		'imageId': '69090274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956763&docid=69090272&x=5627',
		'title': '',
		'imageId': '69090272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956763&docid=69090271&x=5627',
		'title': '',
		'imageId': '69090271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3956763';

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