var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3938411&docid=68330084&x=5545',
		'title': '',
		'imageId': '68330084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938411&docid=68330085&x=5545',
		'title': '',
		'imageId': '68330085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938411&docid=68330090&x=5545',
		'title': '',
		'imageId': '68330090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938411&docid=68330089&x=5545',
		'title': '',
		'imageId': '68330089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938411&docid=68330093&x=5545',
		'title': '',
		'imageId': '68330093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938411&docid=68330106&x=5545',
		'title': '',
		'imageId': '68330106',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938411&docid=68330122&x=5545',
		'title': '',
		'imageId': '68330122',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938411&docid=68330128&x=5545',
		'title': '',
		'imageId': '68330128',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938411&docid=68330132&x=5545',
		'title': '',
		'imageId': '68330132',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938411&docid=68330135&x=5545',
		'title': '',
		'imageId': '68330135',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938411&docid=68330144&x=5545',
		'title': '',
		'imageId': '68330144',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938411&docid=68330140&x=5545',
		'title': '',
		'imageId': '68330140',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3938411';

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