var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4001051&docid=69741647&x=5919',
		'title': '',
		'imageId': '69741647',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001051&docid=69741645&x=5919',
		'title': '',
		'imageId': '69741645',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001051&docid=69741639&x=5919',
		'title': '',
		'imageId': '69741639',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001051&docid=69741638&x=5919',
		'title': '',
		'imageId': '69741638',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001051&docid=69741643&x=5919',
		'title': '',
		'imageId': '69741643',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001051&docid=69741642&x=5919',
		'title': '',
		'imageId': '69741642',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001051&docid=69741640&x=5919',
		'title': '',
		'imageId': '69741640',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001051&docid=69741646&x=5919',
		'title': '',
		'imageId': '69741646',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001051&docid=69741644&x=5919',
		'title': '',
		'imageId': '69741644',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001051&docid=69741637&x=5919',
		'title': '',
		'imageId': '69741637',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001051&docid=69741641&x=5919',
		'title': '',
		'imageId': '69741641',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001051&docid=69741636&x=5919',
		'title': '',
		'imageId': '69741636',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4001051';

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