var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3953949&docid=68686546&x=5026',
		'title': '',
		'imageId': '68686546',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953949&docid=68686541&x=5026',
		'title': '',
		'imageId': '68686541',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953949&docid=68686543&x=5026',
		'title': '',
		'imageId': '68686543',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953949&docid=68686539&x=5026',
		'title': '',
		'imageId': '68686539',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953949&docid=68686540&x=5026',
		'title': '',
		'imageId': '68686540',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953949&docid=68686536&x=5026',
		'title': '',
		'imageId': '68686536',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953949&docid=68686535&x=5026',
		'title': '',
		'imageId': '68686535',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953949&docid=68686537&x=5026',
		'title': '',
		'imageId': '68686537',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953949&docid=68686538&x=5026',
		'title': '',
		'imageId': '68686538',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953949&docid=68686545&x=5026',
		'title': '',
		'imageId': '68686545',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953949&docid=68686544&x=5026',
		'title': '',
		'imageId': '68686544',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3953949';

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