var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3962062&docid=68856533&x=358',
		'title': '',
		'imageId': '68856533',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962062&docid=68856527&x=358',
		'title': '',
		'imageId': '68856527',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962062&docid=68856531&x=358',
		'title': '',
		'imageId': '68856531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962062&docid=68856530&x=358',
		'title': '',
		'imageId': '68856530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962062&docid=68856525&x=358',
		'title': '',
		'imageId': '68856525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962062&docid=68856526&x=358',
		'title': '',
		'imageId': '68856526',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962062&docid=68856532&x=358',
		'title': '',
		'imageId': '68856532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962062&docid=68856528&x=358',
		'title': '',
		'imageId': '68856528',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962062&docid=68856529&x=358',
		'title': '',
		'imageId': '68856529',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962062&docid=68856534&x=358',
		'title': '',
		'imageId': '68856534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962062&docid=68856524&x=358',
		'title': '',
		'imageId': '68856524',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962062&docid=68856523&x=358',
		'title': '',
		'imageId': '68856523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3962062';

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