var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4007672&docid=69900528&x=3732',
		'title': '',
		'imageId': '69900528',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007672&docid=69900522&x=3732',
		'title': '',
		'imageId': '69900522',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007672&docid=69900518&x=3732',
		'title': '',
		'imageId': '69900518',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007672&docid=69900516&x=3732',
		'title': '',
		'imageId': '69900516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007672&docid=69900537&x=3732',
		'title': '',
		'imageId': '69900537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007672&docid=69900529&x=3732',
		'title': '',
		'imageId': '69900529',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007672&docid=69900526&x=3732',
		'title': '',
		'imageId': '69900526',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007672&docid=69900524&x=3732',
		'title': '',
		'imageId': '69900524',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007672&docid=69900520&x=3732',
		'title': '',
		'imageId': '69900520',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007672&docid=69900532&x=3732',
		'title': '',
		'imageId': '69900532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007672&docid=69900521&x=3732',
		'title': '',
		'imageId': '69900521',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007672&docid=69900519&x=3732',
		'title': '',
		'imageId': '69900519',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007672&docid=69900536&x=3732',
		'title': '',
		'imageId': '69900536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007672&docid=69900517&x=3732',
		'title': '',
		'imageId': '69900517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007672&docid=69900527&x=3732',
		'title': '',
		'imageId': '69900527',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007672&docid=69900525&x=3732',
		'title': '',
		'imageId': '69900525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007672&docid=69900535&x=3732',
		'title': '',
		'imageId': '69900535',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007672&docid=69900523&x=3732',
		'title': '',
		'imageId': '69900523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007672&docid=69900533&x=3732',
		'title': '',
		'imageId': '69900533',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007672&docid=69900531&x=3732',
		'title': '',
		'imageId': '69900531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007672&docid=69900530&x=3732',
		'title': '',
		'imageId': '69900530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007672&docid=69900534&x=3732',
		'title': '',
		'imageId': '69900534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4007672';

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