var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4037173&docid=70655010&x=2658',
		'title': '',
		'imageId': '70655010',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037173&docid=70655020&x=2658',
		'title': '',
		'imageId': '70655020',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037173&docid=70655015&x=2658',
		'title': '',
		'imageId': '70655015',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037173&docid=70655017&x=2658',
		'title': '',
		'imageId': '70655017',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037173&docid=70655021&x=2658',
		'title': '',
		'imageId': '70655021',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037173&docid=70655102&x=2658',
		'title': '',
		'imageId': '70655102',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037173&docid=70655011&x=2658',
		'title': '',
		'imageId': '70655011',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037173&docid=70655012&x=2658',
		'title': '',
		'imageId': '70655012',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037173&docid=70655023&x=2658',
		'title': '',
		'imageId': '70655023',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037173&docid=70655024&x=2658',
		'title': '',
		'imageId': '70655024',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037173&docid=70655016&x=2658',
		'title': '',
		'imageId': '70655016',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037173&docid=70655059&x=2658',
		'title': '',
		'imageId': '70655059',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037173&docid=70655058&x=2658',
		'title': '',
		'imageId': '70655058',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037173&docid=70655022&x=2658',
		'title': '',
		'imageId': '70655022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037173&docid=70655014&x=2658',
		'title': '',
		'imageId': '70655014',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037173&docid=70655248&x=2658',
		'title': '',
		'imageId': '70655248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4037173';

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