var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3954155&docid=68677639&x=63',
		'title': '',
		'imageId': '68677639',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954155&docid=68677640&x=63',
		'title': '',
		'imageId': '68677640',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954155&docid=68677641&x=63',
		'title': '',
		'imageId': '68677641',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954155&docid=68677642&x=63',
		'title': '',
		'imageId': '68677642',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954155&docid=68677643&x=63',
		'title': '',
		'imageId': '68677643',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954155&docid=68677644&x=63',
		'title': '',
		'imageId': '68677644',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954155&docid=68677645&x=63',
		'title': '',
		'imageId': '68677645',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954155&docid=68677646&x=63',
		'title': '',
		'imageId': '68677646',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954155&docid=68677647&x=63',
		'title': '',
		'imageId': '68677647',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954155&docid=68677648&x=63',
		'title': '',
		'imageId': '68677648',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954155&docid=68677649&x=63',
		'title': '',
		'imageId': '68677649',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954155&docid=68677651&x=63',
		'title': '',
		'imageId': '68677651',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3954155';

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