var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3996827&docid=69630874&x=1737',
		'title': '',
		'imageId': '69630874',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996827&docid=69630875&x=1737',
		'title': '',
		'imageId': '69630875',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996827&docid=69630864&x=1737',
		'title': '',
		'imageId': '69630864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996827&docid=69630863&x=1737',
		'title': '',
		'imageId': '69630863',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996827&docid=69630865&x=1737',
		'title': '',
		'imageId': '69630865',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996827&docid=69630872&x=1737',
		'title': '',
		'imageId': '69630872',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996827&docid=69630869&x=1737',
		'title': '',
		'imageId': '69630869',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996827&docid=69630870&x=1737',
		'title': '',
		'imageId': '69630870',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996827&docid=69630868&x=1737',
		'title': '',
		'imageId': '69630868',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996827&docid=69630873&x=1737',
		'title': '',
		'imageId': '69630873',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996827&docid=69630871&x=1737',
		'title': '',
		'imageId': '69630871',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996827&docid=69630867&x=1737',
		'title': '',
		'imageId': '69630867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3996827';

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