var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4011494&docid=69453087&x=2517',
		'title': '',
		'imageId': '69453087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011494&docid=69453069&x=2517',
		'title': '',
		'imageId': '69453069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011494&docid=69453085&x=2517',
		'title': '',
		'imageId': '69453085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011494&docid=69453089&x=2517',
		'title': '',
		'imageId': '69453089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011494&docid=69453068&x=2517',
		'title': '',
		'imageId': '69453068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011494&docid=69453073&x=2517',
		'title': '',
		'imageId': '69453073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011494&docid=69453071&x=2517',
		'title': '',
		'imageId': '69453071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011494&docid=69453075&x=2517',
		'title': '',
		'imageId': '69453075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011494&docid=69453074&x=2517',
		'title': '',
		'imageId': '69453074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011494&docid=69453072&x=2517',
		'title': '',
		'imageId': '69453072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011494&docid=69453088&x=2517',
		'title': '',
		'imageId': '69453088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011494&docid=69453082&x=2517',
		'title': '',
		'imageId': '69453082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4011494';

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