var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3951282&docid=68616267&x=237',
		'title': '',
		'imageId': '68616267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951282&docid=68616268&x=237',
		'title': '',
		'imageId': '68616268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951282&docid=68616269&x=237',
		'title': '',
		'imageId': '68616269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951282&docid=68616275&x=237',
		'title': '',
		'imageId': '68616275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951282&docid=68616271&x=237',
		'title': '',
		'imageId': '68616271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951282&docid=68616273&x=237',
		'title': '',
		'imageId': '68616273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951282&docid=68616266&x=237',
		'title': '',
		'imageId': '68616266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951282&docid=68616274&x=237',
		'title': '',
		'imageId': '68616274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951282&docid=68616270&x=237',
		'title': '',
		'imageId': '68616270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951282&docid=68616272&x=237',
		'title': '',
		'imageId': '68616272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3951282';

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