var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3974999&docid=69145183&x=5830',
		'title': '',
		'imageId': '69145183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974999&docid=69145189&x=5830',
		'title': '',
		'imageId': '69145189',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974999&docid=69145187&x=5830',
		'title': '',
		'imageId': '69145187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974999&docid=69145186&x=5830',
		'title': '',
		'imageId': '69145186',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974999&docid=69145190&x=5830',
		'title': '',
		'imageId': '69145190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974999&docid=69145185&x=5830',
		'title': '',
		'imageId': '69145185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974999&docid=69145182&x=5830',
		'title': '',
		'imageId': '69145182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974999&docid=69145188&x=5830',
		'title': '',
		'imageId': '69145188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974999&docid=69145191&x=5830',
		'title': '',
		'imageId': '69145191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974999&docid=69145184&x=5830',
		'title': '',
		'imageId': '69145184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3974999';

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