var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3970446&docid=69028973&x=5921',
		'title': '',
		'imageId': '69028973',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970446&docid=69028972&x=5921',
		'title': '',
		'imageId': '69028972',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970446&docid=69028978&x=5921',
		'title': '',
		'imageId': '69028978',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970446&docid=69028975&x=5921',
		'title': '',
		'imageId': '69028975',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970446&docid=69028974&x=5921',
		'title': '',
		'imageId': '69028974',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970446&docid=69028979&x=5921',
		'title': '',
		'imageId': '69028979',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970446&docid=69028977&x=5921',
		'title': '',
		'imageId': '69028977',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970446&docid=69028980&x=5921',
		'title': '',
		'imageId': '69028980',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970446&docid=69028981&x=5921',
		'title': '',
		'imageId': '69028981',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970446&docid=69028976&x=5921',
		'title': '',
		'imageId': '69028976',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3970446';

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