var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3947062&docid=68510152&x=3043',
		'title': '',
		'imageId': '68510152',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947062&docid=68510158&x=3043',
		'title': '',
		'imageId': '68510158',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947062&docid=68510162&x=3043',
		'title': '',
		'imageId': '68510162',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947062&docid=68510161&x=3043',
		'title': '',
		'imageId': '68510161',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947062&docid=68510164&x=3043',
		'title': '',
		'imageId': '68510164',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947062&docid=68510156&x=3043',
		'title': '',
		'imageId': '68510156',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947062&docid=68510159&x=3043',
		'title': '',
		'imageId': '68510159',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947062&docid=68510160&x=3043',
		'title': '',
		'imageId': '68510160',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947062&docid=68510157&x=3043',
		'title': '',
		'imageId': '68510157',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947062&docid=68510153&x=3043',
		'title': '',
		'imageId': '68510153',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947062&docid=68510163&x=3043',
		'title': '',
		'imageId': '68510163',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947062&docid=68510155&x=3043',
		'title': '',
		'imageId': '68510155',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3947062';

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