var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4003480&docid=69796079&x=4025',
		'title': '',
		'imageId': '69796079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003480&docid=69796080&x=4025',
		'title': '',
		'imageId': '69796080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003480&docid=69796083&x=4025',
		'title': '',
		'imageId': '69796083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003480&docid=69796088&x=4025',
		'title': '',
		'imageId': '69796088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003480&docid=69796089&x=4025',
		'title': '',
		'imageId': '69796089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003480&docid=69796094&x=4025',
		'title': '',
		'imageId': '69796094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003480&docid=69796097&x=4025',
		'title': '',
		'imageId': '69796097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003480&docid=69796100&x=4025',
		'title': '',
		'imageId': '69796100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003480&docid=69796078&x=4025',
		'title': '',
		'imageId': '69796078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003480&docid=69796077&x=4025',
		'title': '',
		'imageId': '69796077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4003480';

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