var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=918064&docid=7108257&x=129',
		'title': '',
		'imageId': '7108257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=918064&docid=7108239&x=129',
		'title': '',
		'imageId': '7108239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=918064&docid=7108242&x=129',
		'title': '',
		'imageId': '7108242',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=918064&docid=7108245&x=129',
		'title': '',
		'imageId': '7108245',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=918064&docid=7108236&x=129',
		'title': '',
		'imageId': '7108236',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=918064&docid=7108248&x=129',
		'title': '',
		'imageId': '7108248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=918064&docid=7108251&x=129',
		'title': '',
		'imageId': '7108251',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=918064&docid=7108254&x=129',
		'title': '',
		'imageId': '7108254',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=918064&docid=7108260&x=129',
		'title': '',
		'imageId': '7108260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=918064&docid=7108233&x=129',
		'title': '',
		'imageId': '7108233',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #918064';

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