var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3937869&docid=68316654&x=4434',
		'title': '',
		'imageId': '68316654',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937869&docid=68316655&x=4434',
		'title': '',
		'imageId': '68316655',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937869&docid=68316653&x=4434',
		'title': '',
		'imageId': '68316653',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937869&docid=68316650&x=4434',
		'title': '',
		'imageId': '68316650',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937869&docid=68316652&x=4434',
		'title': '',
		'imageId': '68316652',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937869&docid=68316651&x=4434',
		'title': '',
		'imageId': '68316651',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937869&docid=68316656&x=4434',
		'title': '',
		'imageId': '68316656',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937869&docid=68316658&x=4434',
		'title': '',
		'imageId': '68316658',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937869&docid=68316649&x=4434',
		'title': '',
		'imageId': '68316649',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937869&docid=68316657&x=4434',
		'title': '',
		'imageId': '68316657',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3937869';

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