var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3998189&docid=69661859&x=5422',
		'title': '',
		'imageId': '69661859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998189&docid=69661860&x=5422',
		'title': '',
		'imageId': '69661860',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998189&docid=69661861&x=5422',
		'title': '',
		'imageId': '69661861',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998189&docid=69661862&x=5422',
		'title': '',
		'imageId': '69661862',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998189&docid=69661864&x=5422',
		'title': '',
		'imageId': '69661864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998189&docid=69661865&x=5422',
		'title': '',
		'imageId': '69661865',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998189&docid=69661866&x=5422',
		'title': '',
		'imageId': '69661866',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998189&docid=69661867&x=5422',
		'title': '',
		'imageId': '69661867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998189&docid=69661868&x=5422',
		'title': '',
		'imageId': '69661868',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998189&docid=69661869&x=5422',
		'title': '',
		'imageId': '69661869',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998189&docid=69661870&x=5422',
		'title': '',
		'imageId': '69661870',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998189&docid=69661871&x=5422',
		'title': '',
		'imageId': '69661871',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998189&docid=69661872&x=5422',
		'title': '',
		'imageId': '69661872',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998189&docid=69661873&x=5422',
		'title': '',
		'imageId': '69661873',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998189&docid=69661874&x=5422',
		'title': '',
		'imageId': '69661874',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998189&docid=69661875&x=5422',
		'title': '',
		'imageId': '69661875',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3998189';

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