var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4001675&docid=69751806&x=142',
		'title': '',
		'imageId': '69751806',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001675&docid=69751808&x=142',
		'title': '',
		'imageId': '69751808',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001675&docid=69751807&x=142',
		'title': '',
		'imageId': '69751807',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001675&docid=69751809&x=142',
		'title': '',
		'imageId': '69751809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001675&docid=69751815&x=142',
		'title': '',
		'imageId': '69751815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001675&docid=69751828&x=142',
		'title': '',
		'imageId': '69751828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001675&docid=69751820&x=142',
		'title': '',
		'imageId': '69751820',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001675&docid=69751821&x=142',
		'title': '',
		'imageId': '69751821',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001675&docid=69751826&x=142',
		'title': '',
		'imageId': '69751826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001675&docid=69751827&x=142',
		'title': '',
		'imageId': '69751827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001675&docid=69751805&x=142',
		'title': '',
		'imageId': '69751805',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001675&docid=69751804&x=142',
		'title': '',
		'imageId': '69751804',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4001675';

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