var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3968985&docid=69000243&x=1519',
		'title': '',
		'imageId': '69000243',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968985&docid=69000245&x=1519',
		'title': '',
		'imageId': '69000245',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968985&docid=69000246&x=1519',
		'title': '',
		'imageId': '69000246',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968985&docid=69000247&x=1519',
		'title': '',
		'imageId': '69000247',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968985&docid=69000248&x=1519',
		'title': '',
		'imageId': '69000248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968985&docid=69000249&x=1519',
		'title': '',
		'imageId': '69000249',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968985&docid=69000250&x=1519',
		'title': '',
		'imageId': '69000250',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968985&docid=69000251&x=1519',
		'title': '',
		'imageId': '69000251',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968985&docid=69000252&x=1519',
		'title': '',
		'imageId': '69000252',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968985&docid=69000253&x=1519',
		'title': '',
		'imageId': '69000253',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968985&docid=69000254&x=1519',
		'title': '',
		'imageId': '69000254',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3968985';

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