var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3973797&docid=68385089&x=2116',
		'title': '',
		'imageId': '68385089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973797&docid=68385091&x=2116',
		'title': '',
		'imageId': '68385091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973797&docid=68385092&x=2116',
		'title': '',
		'imageId': '68385092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973797&docid=68385093&x=2116',
		'title': '',
		'imageId': '68385093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973797&docid=68385094&x=2116',
		'title': '',
		'imageId': '68385094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973797&docid=68385095&x=2116',
		'title': '',
		'imageId': '68385095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973797&docid=68385096&x=2116',
		'title': '',
		'imageId': '68385096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973797&docid=68385097&x=2116',
		'title': '',
		'imageId': '68385097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973797&docid=68385098&x=2116',
		'title': '',
		'imageId': '68385098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973797&docid=68385099&x=2116',
		'title': '',
		'imageId': '68385099',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973797&docid=68385100&x=2116',
		'title': '',
		'imageId': '68385100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973797&docid=68385101&x=2116',
		'title': '',
		'imageId': '68385101',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3973797';

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