var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4029795&docid=70453608&x=456',
		'title': '',
		'imageId': '70453608',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029795&docid=70453611&x=456',
		'title': '',
		'imageId': '70453611',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029795&docid=70453610&x=456',
		'title': '',
		'imageId': '70453610',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029795&docid=70453606&x=456',
		'title': '',
		'imageId': '70453606',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029795&docid=70453609&x=456',
		'title': '',
		'imageId': '70453609',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029795&docid=70453612&x=456',
		'title': '',
		'imageId': '70453612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029795&docid=70453613&x=456',
		'title': '',
		'imageId': '70453613',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029795&docid=70453607&x=456',
		'title': '',
		'imageId': '70453607',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029795&docid=70453616&x=456',
		'title': '',
		'imageId': '70453616',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029795&docid=70453615&x=456',
		'title': '',
		'imageId': '70453615',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029795&docid=70453614&x=456',
		'title': '',
		'imageId': '70453614',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4029795';

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