var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3952117&docid=68632496&x=5846',
		'title': '',
		'imageId': '68632496',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952117&docid=68632497&x=5846',
		'title': '',
		'imageId': '68632497',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952117&docid=68632498&x=5846',
		'title': '',
		'imageId': '68632498',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952117&docid=68632499&x=5846',
		'title': '',
		'imageId': '68632499',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952117&docid=68632500&x=5846',
		'title': '',
		'imageId': '68632500',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952117&docid=68632501&x=5846',
		'title': '',
		'imageId': '68632501',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952117&docid=68632502&x=5846',
		'title': '',
		'imageId': '68632502',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952117&docid=68632503&x=5846',
		'title': '',
		'imageId': '68632503',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952117&docid=68632504&x=5846',
		'title': '',
		'imageId': '68632504',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952117&docid=68632505&x=5846',
		'title': '',
		'imageId': '68632505',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952117&docid=68632507&x=5846',
		'title': '',
		'imageId': '68632507',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3952117';

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