var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3978671&docid=69227235&x=4237',
		'title': '',
		'imageId': '69227235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978671&docid=69227243&x=4237',
		'title': '',
		'imageId': '69227243',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978671&docid=69227238&x=4237',
		'title': '',
		'imageId': '69227238',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978671&docid=69227244&x=4237',
		'title': '',
		'imageId': '69227244',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978671&docid=69227211&x=4237',
		'title': '',
		'imageId': '69227211',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978671&docid=69227212&x=4237',
		'title': '',
		'imageId': '69227212',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978671&docid=69227231&x=4237',
		'title': '',
		'imageId': '69227231',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978671&docid=69227209&x=4237',
		'title': '',
		'imageId': '69227209',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978671&docid=69227214&x=4237',
		'title': '',
		'imageId': '69227214',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978671&docid=69227224&x=4237',
		'title': '',
		'imageId': '69227224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978671&docid=69227213&x=4237',
		'title': '',
		'imageId': '69227213',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978671&docid=69227232&x=4237',
		'title': '',
		'imageId': '69227232',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978671&docid=69227217&x=4237',
		'title': '',
		'imageId': '69227217',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978671&docid=69227210&x=4237',
		'title': '',
		'imageId': '69227210',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978671&docid=69227221&x=4237',
		'title': '',
		'imageId': '69227221',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978671&docid=69227230&x=4237',
		'title': '',
		'imageId': '69227230',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978671&docid=69227257&x=4237',
		'title': '',
		'imageId': '69227257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978671&docid=69227261&x=4237',
		'title': '',
		'imageId': '69227261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978671&docid=69227263&x=4237',
		'title': '',
		'imageId': '69227263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978671&docid=69227266&x=4237',
		'title': '',
		'imageId': '69227266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978671&docid=69227271&x=4237',
		'title': '',
		'imageId': '69227271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978671&docid=69227272&x=4237',
		'title': '',
		'imageId': '69227272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978671&docid=69227249&x=4237',
		'title': '',
		'imageId': '69227249',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978671&docid=69227251&x=4237',
		'title': '',
		'imageId': '69227251',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3978671';

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