var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014911&docid=70073550&x=4136',
		'title': '',
		'imageId': '70073550',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014911&docid=70073551&x=4136',
		'title': '',
		'imageId': '70073551',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014911&docid=70073552&x=4136',
		'title': '',
		'imageId': '70073552',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014911&docid=70073553&x=4136',
		'title': '',
		'imageId': '70073553',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014911&docid=70073563&x=4136',
		'title': '',
		'imageId': '70073563',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014911&docid=70073565&x=4136',
		'title': '',
		'imageId': '70073565',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014911&docid=70073566&x=4136',
		'title': '',
		'imageId': '70073566',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014911&docid=70073567&x=4136',
		'title': '',
		'imageId': '70073567',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014911&docid=70073568&x=4136',
		'title': '',
		'imageId': '70073568',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014911&docid=70073571&x=4136',
		'title': '',
		'imageId': '70073571',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014911&docid=70073549&x=4136',
		'title': '',
		'imageId': '70073549',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014911&docid=70073548&x=4136',
		'title': '',
		'imageId': '70073548',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014911';

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