var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3970194&docid=69023534&x=3711',
		'title': '',
		'imageId': '69023534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970194&docid=69023536&x=3711',
		'title': '',
		'imageId': '69023536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970194&docid=69023503&x=3711',
		'title': '',
		'imageId': '69023503',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970194&docid=69023535&x=3711',
		'title': '',
		'imageId': '69023535',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970194&docid=69023533&x=3711',
		'title': '',
		'imageId': '69023533',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970194&docid=69023501&x=3711',
		'title': '',
		'imageId': '69023501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970194&docid=69023502&x=3711',
		'title': '',
		'imageId': '69023502',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970194&docid=69023504&x=3711',
		'title': '',
		'imageId': '69023504',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970194&docid=69023537&x=3711',
		'title': '',
		'imageId': '69023537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970194&docid=69023538&x=3711',
		'title': '',
		'imageId': '69023538',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3970194';

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