var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=429604&docid=2222080&x=4032',
		'title': '',
		'imageId': '2222080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=429604&docid=2222157&x=4032',
		'title': '',
		'imageId': '2222157',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=429604&docid=2222119&x=4032',
		'title': '',
		'imageId': '2222119',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=429604&docid=2222122&x=4032',
		'title': '',
		'imageId': '2222122',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=429604&docid=2222125&x=4032',
		'title': '',
		'imageId': '2222125',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=429604&docid=2222128&x=4032',
		'title': '',
		'imageId': '2222128',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=429604&docid=2222131&x=4032',
		'title': '',
		'imageId': '2222131',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=429604&docid=2222160&x=4032',
		'title': '',
		'imageId': '2222160',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=429604&docid=2222172&x=4032',
		'title': '',
		'imageId': '2222172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=429604&docid=2222178&x=4032',
		'title': '',
		'imageId': '2222178',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=429604&docid=2222136&x=4032',
		'title': '',
		'imageId': '2222136',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=429604&docid=2222139&x=4032',
		'title': '',
		'imageId': '2222139',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=429604&docid=2222145&x=4032',
		'title': '',
		'imageId': '2222145',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=429604&docid=2222142&x=4032',
		'title': '',
		'imageId': '2222142',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=429604&docid=2222114&x=4032',
		'title': '',
		'imageId': '2222114',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=429604&docid=2222150&x=4032',
		'title': '',
		'imageId': '2222150',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=429604&docid=2222154&x=4032',
		'title': '',
		'imageId': '2222154',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=429604&docid=2222199&x=4032',
		'title': '',
		'imageId': '2222199',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=429604&docid=2222181&x=4032',
		'title': '',
		'imageId': '2222181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=429604&docid=2222187&x=4032',
		'title': '',
		'imageId': '2222187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=429604&docid=2222190&x=4032',
		'title': '',
		'imageId': '2222190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=429604&docid=2222202&x=4032',
		'title': '',
		'imageId': '2222202',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=429604&docid=2222205&x=4032',
		'title': '',
		'imageId': '2222205',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #429604';

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