var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3913608&docid=67728038&x=2743',
		'title': '',
		'imageId': '67728038',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913608&docid=67728039&x=2743',
		'title': '',
		'imageId': '67728039',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913608&docid=67728040&x=2743',
		'title': '',
		'imageId': '67728040',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913608&docid=67728041&x=2743',
		'title': '',
		'imageId': '67728041',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913608&docid=67728042&x=2743',
		'title': '',
		'imageId': '67728042',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913608&docid=67728044&x=2743',
		'title': '',
		'imageId': '67728044',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913608&docid=67728043&x=2743',
		'title': '',
		'imageId': '67728043',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913608&docid=67728045&x=2743',
		'title': '',
		'imageId': '67728045',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913608&docid=67728046&x=2743',
		'title': '',
		'imageId': '67728046',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913608&docid=67728047&x=2743',
		'title': '',
		'imageId': '67728047',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3913608';

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