var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4003718&docid=69803734&x=219',
		'title': '',
		'imageId': '69803734',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003718&docid=69803740&x=219',
		'title': '',
		'imageId': '69803740',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003718&docid=69803736&x=219',
		'title': '',
		'imageId': '69803736',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003718&docid=69803739&x=219',
		'title': '',
		'imageId': '69803739',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003718&docid=69803735&x=219',
		'title': '',
		'imageId': '69803735',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003718&docid=69803737&x=219',
		'title': '',
		'imageId': '69803737',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003718&docid=69803741&x=219',
		'title': '',
		'imageId': '69803741',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003718&docid=69803743&x=219',
		'title': '',
		'imageId': '69803743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003718&docid=69803742&x=219',
		'title': '',
		'imageId': '69803742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003718&docid=69803744&x=219',
		'title': '',
		'imageId': '69803744',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003718&docid=69803738&x=219',
		'title': '',
		'imageId': '69803738',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4003718';

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