var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019382&docid=69616179&x=3549',
		'title': '',
		'imageId': '69616179',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019382&docid=69262237&x=3549',
		'title': '',
		'imageId': '69262237',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019382&docid=69262238&x=3549',
		'title': '',
		'imageId': '69262238',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019382&docid=69262239&x=3549',
		'title': '',
		'imageId': '69262239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019382&docid=69262241&x=3549',
		'title': '',
		'imageId': '69262241',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019382&docid=69262242&x=3549',
		'title': '',
		'imageId': '69262242',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019382&docid=69262244&x=3549',
		'title': '',
		'imageId': '69262244',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019382&docid=69262243&x=3549',
		'title': '',
		'imageId': '69262243',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019382&docid=69262246&x=3549',
		'title': '',
		'imageId': '69262246',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019382&docid=69262240&x=3549',
		'title': '',
		'imageId': '69262240',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019382&docid=69262245&x=3549',
		'title': '',
		'imageId': '69262245',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019382&docid=69262236&x=3549',
		'title': '',
		'imageId': '69262236',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019382';

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