var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3913618&docid=67728140&x=180',
		'title': '',
		'imageId': '67728140',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913618&docid=67728141&x=180',
		'title': '',
		'imageId': '67728141',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913618&docid=67728142&x=180',
		'title': '',
		'imageId': '67728142',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913618&docid=67728143&x=180',
		'title': '',
		'imageId': '67728143',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913618&docid=67728144&x=180',
		'title': '',
		'imageId': '67728144',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913618&docid=67728146&x=180',
		'title': '',
		'imageId': '67728146',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913618&docid=67728145&x=180',
		'title': '',
		'imageId': '67728145',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913618&docid=67728147&x=180',
		'title': '',
		'imageId': '67728147',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913618&docid=67728148&x=180',
		'title': '',
		'imageId': '67728148',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913618&docid=67728149&x=180',
		'title': '',
		'imageId': '67728149',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3913618';

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