var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3960849&docid=68834469&x=3120',
		'title': '',
		'imageId': '68834469',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960849&docid=68834476&x=3120',
		'title': '',
		'imageId': '68834476',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960849&docid=68834480&x=3120',
		'title': '',
		'imageId': '68834480',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960849&docid=68834475&x=3120',
		'title': '',
		'imageId': '68834475',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960849&docid=68834474&x=3120',
		'title': '',
		'imageId': '68834474',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960849&docid=68834477&x=3120',
		'title': '',
		'imageId': '68834477',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960849&docid=68834471&x=3120',
		'title': '',
		'imageId': '68834471',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960849&docid=68834470&x=3120',
		'title': '',
		'imageId': '68834470',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960849&docid=68834472&x=3120',
		'title': '',
		'imageId': '68834472',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960849&docid=68834478&x=3120',
		'title': '',
		'imageId': '68834478',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960849&docid=68834479&x=3120',
		'title': '',
		'imageId': '68834479',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960849&docid=68834473&x=3120',
		'title': '',
		'imageId': '68834473',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3960849';

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