var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3970662&docid=69034790&x=1821',
		'title': '',
		'imageId': '69034790',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970662&docid=69034531&x=1821',
		'title': '',
		'imageId': '69034531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970662&docid=69034530&x=1821',
		'title': '',
		'imageId': '69034530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970662&docid=69034535&x=1821',
		'title': '',
		'imageId': '69034535',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970662&docid=69034532&x=1821',
		'title': '',
		'imageId': '69034532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970662&docid=69034543&x=1821',
		'title': '',
		'imageId': '69034543',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970662&docid=69034536&x=1821',
		'title': '',
		'imageId': '69034536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970662&docid=69034534&x=1821',
		'title': '',
		'imageId': '69034534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970662&docid=69034533&x=1821',
		'title': '',
		'imageId': '69034533',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970662&docid=69034539&x=1821',
		'title': '',
		'imageId': '69034539',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970662&docid=69034537&x=1821',
		'title': '',
		'imageId': '69034537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970662&docid=69034540&x=1821',
		'title': '',
		'imageId': '69034540',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970662&docid=69034538&x=1821',
		'title': '',
		'imageId': '69034538',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970662&docid=69034545&x=1821',
		'title': '',
		'imageId': '69034545',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970662&docid=69034544&x=1821',
		'title': '',
		'imageId': '69034544',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970662&docid=69034542&x=1821',
		'title': '',
		'imageId': '69034542',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3970662';

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