var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3929271&docid=68114317&x=400',
		'title': '',
		'imageId': '68114317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929271&docid=68114318&x=400',
		'title': '',
		'imageId': '68114318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929271&docid=68114319&x=400',
		'title': '',
		'imageId': '68114319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929271&docid=68114320&x=400',
		'title': '',
		'imageId': '68114320',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929271&docid=68114321&x=400',
		'title': '',
		'imageId': '68114321',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929271&docid=68114322&x=400',
		'title': '',
		'imageId': '68114322',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929271&docid=68114323&x=400',
		'title': '',
		'imageId': '68114323',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929271&docid=68114324&x=400',
		'title': '',
		'imageId': '68114324',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929271&docid=68114325&x=400',
		'title': '',
		'imageId': '68114325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929271&docid=68114326&x=400',
		'title': '',
		'imageId': '68114326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929271&docid=68114327&x=400',
		'title': '',
		'imageId': '68114327',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929271&docid=68114328&x=400',
		'title': '',
		'imageId': '68114328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3929271';

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