var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3923725&docid=67990051&x=457',
		'title': '',
		'imageId': '67990051',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923725&docid=67990044&x=457',
		'title': '',
		'imageId': '67990044',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923725&docid=67990037&x=457',
		'title': '',
		'imageId': '67990037',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923725&docid=67990047&x=457',
		'title': '',
		'imageId': '67990047',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923725&docid=67990038&x=457',
		'title': '',
		'imageId': '67990038',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923725&docid=67990054&x=457',
		'title': '',
		'imageId': '67990054',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923725&docid=67990039&x=457',
		'title': '',
		'imageId': '67990039',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923725&docid=67990057&x=457',
		'title': '',
		'imageId': '67990057',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923725&docid=67990041&x=457',
		'title': '',
		'imageId': '67990041',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923725&docid=67990055&x=457',
		'title': '',
		'imageId': '67990055',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923725&docid=67990033&x=457',
		'title': '',
		'imageId': '67990033',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923725&docid=67990036&x=457',
		'title': '',
		'imageId': '67990036',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923725&docid=67990050&x=457',
		'title': '',
		'imageId': '67990050',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923725&docid=67990045&x=457',
		'title': '',
		'imageId': '67990045',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923725&docid=67990040&x=457',
		'title': '',
		'imageId': '67990040',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923725&docid=67990048&x=457',
		'title': '',
		'imageId': '67990048',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923725&docid=67990056&x=457',
		'title': '',
		'imageId': '67990056',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923725&docid=67990042&x=457',
		'title': '',
		'imageId': '67990042',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923725&docid=67990052&x=457',
		'title': '',
		'imageId': '67990052',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923725&docid=67990043&x=457',
		'title': '',
		'imageId': '67990043',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923725&docid=67990035&x=457',
		'title': '',
		'imageId': '67990035',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923725&docid=67990034&x=457',
		'title': '',
		'imageId': '67990034',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3923725';

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