var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3991679&docid=69526176&x=2621',
		'title': '',
		'imageId': '69526176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991679&docid=69526464&x=2621',
		'title': '',
		'imageId': '69526464',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991679&docid=69526174&x=2621',
		'title': '',
		'imageId': '69526174',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991679&docid=69526175&x=2621',
		'title': '',
		'imageId': '69526175',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991679&docid=69526178&x=2621',
		'title': '',
		'imageId': '69526178',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991679&docid=69526177&x=2621',
		'title': '',
		'imageId': '69526177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991679&docid=69526183&x=2621',
		'title': '',
		'imageId': '69526183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991679&docid=69526182&x=2621',
		'title': '',
		'imageId': '69526182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991679&docid=69526181&x=2621',
		'title': '',
		'imageId': '69526181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991679&docid=69526179&x=2621',
		'title': '',
		'imageId': '69526179',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991679&docid=69526184&x=2621',
		'title': '',
		'imageId': '69526184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991679&docid=69526180&x=2621',
		'title': '',
		'imageId': '69526180',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3991679';

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