var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4011254&docid=70174814&x=4230',
		'title': '',
		'imageId': '70174814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011254&docid=70174836&x=4230',
		'title': '',
		'imageId': '70174836',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011254&docid=70174834&x=4230',
		'title': '',
		'imageId': '70174834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011254&docid=70174818&x=4230',
		'title': '',
		'imageId': '70174818',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011254&docid=70174824&x=4230',
		'title': '',
		'imageId': '70174824',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011254&docid=70174833&x=4230',
		'title': '',
		'imageId': '70174833',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011254&docid=70174832&x=4230',
		'title': '',
		'imageId': '70174832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011254&docid=70174825&x=4230',
		'title': '',
		'imageId': '70174825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011254&docid=70174819&x=4230',
		'title': '',
		'imageId': '70174819',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011254&docid=70174821&x=4230',
		'title': '',
		'imageId': '70174821',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011254&docid=70174835&x=4230',
		'title': '',
		'imageId': '70174835',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011254&docid=70174822&x=4230',
		'title': '',
		'imageId': '70174822',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011254&docid=70174826&x=4230',
		'title': '',
		'imageId': '70174826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011254&docid=70174815&x=4230',
		'title': '',
		'imageId': '70174815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011254&docid=70174823&x=4230',
		'title': '',
		'imageId': '70174823',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011254&docid=70174820&x=4230',
		'title': '',
		'imageId': '70174820',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011254&docid=70174827&x=4230',
		'title': '',
		'imageId': '70174827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011254&docid=70174831&x=4230',
		'title': '',
		'imageId': '70174831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011254&docid=70174817&x=4230',
		'title': '',
		'imageId': '70174817',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011254&docid=70174830&x=4230',
		'title': '',
		'imageId': '70174830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011254&docid=70174829&x=4230',
		'title': '',
		'imageId': '70174829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011254&docid=70174816&x=4230',
		'title': '',
		'imageId': '70174816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011254&docid=70174828&x=4230',
		'title': '',
		'imageId': '70174828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4011254';

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