var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3998182&docid=69661733&x=518',
		'title': '',
		'imageId': '69661733',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998182&docid=69661734&x=518',
		'title': '',
		'imageId': '69661734',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998182&docid=69661735&x=518',
		'title': '',
		'imageId': '69661735',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998182&docid=69661736&x=518',
		'title': '',
		'imageId': '69661736',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998182&docid=69661737&x=518',
		'title': '',
		'imageId': '69661737',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998182&docid=69661738&x=518',
		'title': '',
		'imageId': '69661738',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998182&docid=69661739&x=518',
		'title': '',
		'imageId': '69661739',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998182&docid=69661740&x=518',
		'title': '',
		'imageId': '69661740',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998182&docid=69661741&x=518',
		'title': '',
		'imageId': '69661741',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998182&docid=69661742&x=518',
		'title': '',
		'imageId': '69661742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998182&docid=69661743&x=518',
		'title': '',
		'imageId': '69661743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3998182';

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