var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013439&docid=70043590&x=336',
		'title': '',
		'imageId': '70043590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013439&docid=70043591&x=336',
		'title': '',
		'imageId': '70043591',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013439&docid=70043592&x=336',
		'title': '',
		'imageId': '70043592',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013439&docid=70043593&x=336',
		'title': '',
		'imageId': '70043593',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013439&docid=70043594&x=336',
		'title': '',
		'imageId': '70043594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013439&docid=70043595&x=336',
		'title': '',
		'imageId': '70043595',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013439&docid=70043596&x=336',
		'title': '',
		'imageId': '70043596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013439&docid=70043597&x=336',
		'title': '',
		'imageId': '70043597',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013439&docid=70043598&x=336',
		'title': '',
		'imageId': '70043598',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013439&docid=70043599&x=336',
		'title': '',
		'imageId': '70043599',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013439&docid=70043600&x=336',
		'title': '',
		'imageId': '70043600',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013439';

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