var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014917&docid=70073947&x=597',
		'title': '',
		'imageId': '70073947',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014917&docid=70073948&x=597',
		'title': '',
		'imageId': '70073948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014917&docid=70073949&x=597',
		'title': '',
		'imageId': '70073949',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014917&docid=70073950&x=597',
		'title': '',
		'imageId': '70073950',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014917&docid=70073951&x=597',
		'title': '',
		'imageId': '70073951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014917&docid=70073952&x=597',
		'title': '',
		'imageId': '70073952',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014917&docid=70073964&x=597',
		'title': '',
		'imageId': '70073964',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014917&docid=70073966&x=597',
		'title': '',
		'imageId': '70073966',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014917&docid=70073967&x=597',
		'title': '',
		'imageId': '70073967',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014917&docid=70073968&x=597',
		'title': '',
		'imageId': '70073968',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014917';

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