var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3953902&docid=68668674&x=2734',
		'title': '',
		'imageId': '68668674',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953902&docid=68668673&x=2734',
		'title': '',
		'imageId': '68668673',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953902&docid=68668675&x=2734',
		'title': '',
		'imageId': '68668675',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953902&docid=68668676&x=2734',
		'title': '',
		'imageId': '68668676',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953902&docid=68668677&x=2734',
		'title': '',
		'imageId': '68668677',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953902&docid=68668678&x=2734',
		'title': '',
		'imageId': '68668678',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953902&docid=68668679&x=2734',
		'title': '',
		'imageId': '68668679',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953902&docid=68668680&x=2734',
		'title': '',
		'imageId': '68668680',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953902&docid=68668681&x=2734',
		'title': '',
		'imageId': '68668681',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953902&docid=68668682&x=2734',
		'title': '',
		'imageId': '68668682',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953902&docid=68668683&x=2734',
		'title': '',
		'imageId': '68668683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953902&docid=68668684&x=2734',
		'title': '',
		'imageId': '68668684',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3953902';

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