var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3951276&docid=68616111&x=4314',
		'title': '',
		'imageId': '68616111',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951276&docid=68616109&x=4314',
		'title': '',
		'imageId': '68616109',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951276&docid=68616110&x=4314',
		'title': '',
		'imageId': '68616110',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951276&docid=68616112&x=4314',
		'title': '',
		'imageId': '68616112',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951276&docid=68616115&x=4314',
		'title': '',
		'imageId': '68616115',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951276&docid=68616114&x=4314',
		'title': '',
		'imageId': '68616114',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951276&docid=68616113&x=4314',
		'title': '',
		'imageId': '68616113',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3951276';

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