var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3906220&docid=67553245&x=4356',
		'title': '',
		'imageId': '67553245',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906220&docid=67553236&x=4356',
		'title': '',
		'imageId': '67553236',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906220&docid=67553230&x=4356',
		'title': '',
		'imageId': '67553230',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906220&docid=68063190&x=4356',
		'title': '',
		'imageId': '68063190',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906220&docid=67553232&x=4356',
		'title': '',
		'imageId': '67553232',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906220&docid=67553233&x=4356',
		'title': '',
		'imageId': '67553233',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906220&docid=67553229&x=4356',
		'title': '',
		'imageId': '67553229',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906220&docid=67553238&x=4356',
		'title': '',
		'imageId': '67553238',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906220&docid=67553239&x=4356',
		'title': '',
		'imageId': '67553239',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906220&docid=67553237&x=4356',
		'title': '',
		'imageId': '67553237',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906220&docid=67553234&x=4356',
		'title': '',
		'imageId': '67553234',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906220&docid=67553235&x=4356',
		'title': '',
		'imageId': '67553235',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906220&docid=67553231&x=4356',
		'title': '',
		'imageId': '67553231',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906220&docid=67553241&x=4356',
		'title': '',
		'imageId': '67553241',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906220&docid=67553243&x=4356',
		'title': '',
		'imageId': '67553243',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906220&docid=67553244&x=4356',
		'title': '',
		'imageId': '67553244',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906220&docid=67553228&x=4356',
		'title': '',
		'imageId': '67553228',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906220&docid=67553240&x=4356',
		'title': '',
		'imageId': '67553240',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3906220';

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