var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3883241&docid=66964297&x=3242',
		'title': '',
		'imageId': '66964297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883241&docid=66964270&x=3242',
		'title': '',
		'imageId': '66964270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883241&docid=66964285&x=3242',
		'title': '',
		'imageId': '66964285',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883241&docid=66964309&x=3242',
		'title': '',
		'imageId': '66964309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883241&docid=66964321&x=3242',
		'title': '',
		'imageId': '66964321',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883241&docid=66964334&x=3242',
		'title': '',
		'imageId': '66964334',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883241&docid=66964347&x=3242',
		'title': '',
		'imageId': '66964347',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883241&docid=66964360&x=3242',
		'title': '',
		'imageId': '66964360',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883241&docid=66964375&x=3242',
		'title': '',
		'imageId': '66964375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883241&docid=66964389&x=3242',
		'title': '',
		'imageId': '66964389',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3883241';

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