var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3912841&docid=67703087&x=184',
		'title': '',
		'imageId': '67703087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912841&docid=67703089&x=184',
		'title': '',
		'imageId': '67703089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912841&docid=67703090&x=184',
		'title': '',
		'imageId': '67703090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912841&docid=67703091&x=184',
		'title': '',
		'imageId': '67703091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912841&docid=67703092&x=184',
		'title': '',
		'imageId': '67703092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912841&docid=67703093&x=184',
		'title': '',
		'imageId': '67703093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912841&docid=67703095&x=184',
		'title': '',
		'imageId': '67703095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912841&docid=67703094&x=184',
		'title': '',
		'imageId': '67703094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912841&docid=67703096&x=184',
		'title': '',
		'imageId': '67703096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912841&docid=67703097&x=184',
		'title': '',
		'imageId': '67703097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912841&docid=67703098&x=184',
		'title': '',
		'imageId': '67703098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912841&docid=67703100&x=184',
		'title': '',
		'imageId': '67703100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3912841';

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