var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008884&docid=69932778&x=2743',
		'title': '',
		'imageId': '69932778',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008884&docid=69932786&x=2743',
		'title': '',
		'imageId': '69932786',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008884&docid=69932796&x=2743',
		'title': '',
		'imageId': '69932796',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008884&docid=69932920&x=2743',
		'title': '',
		'imageId': '69932920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008884&docid=69932928&x=2743',
		'title': '',
		'imageId': '69932928',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008884&docid=69932932&x=2743',
		'title': '',
		'imageId': '69932932',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008884&docid=69932943&x=2743',
		'title': '',
		'imageId': '69932943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008884&docid=69933003&x=2743',
		'title': '',
		'imageId': '69933003',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008884&docid=69933213&x=2743',
		'title': '',
		'imageId': '69933213',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008884&docid=69933271&x=2743',
		'title': '',
		'imageId': '69933271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008884';

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