var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3993459&docid=69567841&x=636',
		'title': '',
		'imageId': '69567841',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993459&docid=69567842&x=636',
		'title': '',
		'imageId': '69567842',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993459&docid=69567845&x=636',
		'title': '',
		'imageId': '69567845',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993459&docid=69567847&x=636',
		'title': '',
		'imageId': '69567847',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993459&docid=69567843&x=636',
		'title': '',
		'imageId': '69567843',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993459&docid=69567844&x=636',
		'title': '',
		'imageId': '69567844',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993459&docid=69567840&x=636',
		'title': '',
		'imageId': '69567840',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993459&docid=69567838&x=636',
		'title': '',
		'imageId': '69567838',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993459&docid=69567839&x=636',
		'title': '',
		'imageId': '69567839',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993459&docid=69567848&x=636',
		'title': '',
		'imageId': '69567848',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993459&docid=69567846&x=636',
		'title': '',
		'imageId': '69567846',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993459&docid=69567849&x=636',
		'title': '',
		'imageId': '69567849',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3993459';

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