var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4018703&docid=70195814&x=470',
		'title': '',
		'imageId': '70195814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018703&docid=70195817&x=470',
		'title': '',
		'imageId': '70195817',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018703&docid=70195811&x=470',
		'title': '',
		'imageId': '70195811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018703&docid=70195816&x=470',
		'title': '',
		'imageId': '70195816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018703&docid=70195821&x=470',
		'title': '',
		'imageId': '70195821',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018703&docid=70195822&x=470',
		'title': '',
		'imageId': '70195822',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018703&docid=70195819&x=470',
		'title': '',
		'imageId': '70195819',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018703&docid=70195813&x=470',
		'title': '',
		'imageId': '70195813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018703&docid=70195825&x=470',
		'title': '',
		'imageId': '70195825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018703&docid=70195818&x=470',
		'title': '',
		'imageId': '70195818',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018703&docid=70195828&x=470',
		'title': '',
		'imageId': '70195828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018703&docid=70195823&x=470',
		'title': '',
		'imageId': '70195823',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018703&docid=70195812&x=470',
		'title': '',
		'imageId': '70195812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018703&docid=70195826&x=470',
		'title': '',
		'imageId': '70195826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018703&docid=70195827&x=470',
		'title': '',
		'imageId': '70195827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018703&docid=70195810&x=470',
		'title': '',
		'imageId': '70195810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018703&docid=70195808&x=470',
		'title': '',
		'imageId': '70195808',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018703&docid=70195809&x=470',
		'title': '',
		'imageId': '70195809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018703&docid=70195824&x=470',
		'title': '',
		'imageId': '70195824',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018703&docid=70195820&x=470',
		'title': '',
		'imageId': '70195820',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018703&docid=70195815&x=470',
		'title': '',
		'imageId': '70195815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018703&docid=59270916&x=470',
		'title': '',
		'imageId': '59270916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018703&docid=59270915&x=470',
		'title': '',
		'imageId': '59270915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4018703';

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