var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3929266&docid=68114254&x=4140',
		'title': '',
		'imageId': '68114254',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929266&docid=68114255&x=4140',
		'title': '',
		'imageId': '68114255',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929266&docid=68114256&x=4140',
		'title': '',
		'imageId': '68114256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929266&docid=68114257&x=4140',
		'title': '',
		'imageId': '68114257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929266&docid=68114258&x=4140',
		'title': '',
		'imageId': '68114258',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929266&docid=68114259&x=4140',
		'title': '',
		'imageId': '68114259',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929266&docid=68114260&x=4140',
		'title': '',
		'imageId': '68114260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929266&docid=68114261&x=4140',
		'title': '',
		'imageId': '68114261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929266&docid=68114262&x=4140',
		'title': '',
		'imageId': '68114262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929266&docid=68114263&x=4140',
		'title': '',
		'imageId': '68114263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929266&docid=68114264&x=4140',
		'title': '',
		'imageId': '68114264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929266&docid=68114265&x=4140',
		'title': '',
		'imageId': '68114265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3929266';

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