var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=926693&docid=7425442&x=139',
		'title': '',
		'imageId': '7425442',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=926693&docid=7425453&x=139',
		'title': '',
		'imageId': '7425453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=926693&docid=7425495&x=139',
		'title': '',
		'imageId': '7425495',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=926693&docid=7425445&x=139',
		'title': '',
		'imageId': '7425445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=926693&docid=7425450&x=139',
		'title': '',
		'imageId': '7425450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=926693&docid=7425489&x=139',
		'title': '',
		'imageId': '7425489',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=926693&docid=7425718&x=139',
		'title': '',
		'imageId': '7425718',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=926693&docid=7425498&x=139',
		'title': '',
		'imageId': '7425498',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=926693&docid=7425486&x=139',
		'title': '',
		'imageId': '7425486',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=926693&docid=7425483&x=139',
		'title': '',
		'imageId': '7425483',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=926693&docid=7425480&x=139',
		'title': '',
		'imageId': '7425480',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=926693&docid=7425477&x=139',
		'title': '',
		'imageId': '7425477',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=926693&docid=7425439&x=139',
		'title': '',
		'imageId': '7425439',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=926693&docid=7425715&x=139',
		'title': '',
		'imageId': '7425715',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=926693&docid=7425492&x=139',
		'title': '',
		'imageId': '7425492',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=926693&docid=7425474&x=139',
		'title': '',
		'imageId': '7425474',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=926693&docid=7425471&x=139',
		'title': '',
		'imageId': '7425471',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=926693&docid=7425468&x=139',
		'title': '',
		'imageId': '7425468',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=926693&docid=7425465&x=139',
		'title': '',
		'imageId': '7425465',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=926693&docid=7425462&x=139',
		'title': '',
		'imageId': '7425462',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=926693&docid=7425459&x=139',
		'title': '',
		'imageId': '7425459',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=926693&docid=7425456&x=139',
		'title': '',
		'imageId': '7425456',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=926693&docid=7425436&x=139',
		'title': '',
		'imageId': '7425436',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #926693';

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