var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3929737&docid=64645889&x=3029',
		'title': '',
		'imageId': '64645889',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929737&docid=64645888&x=3029',
		'title': '',
		'imageId': '64645888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929737&docid=64645895&x=3029',
		'title': '',
		'imageId': '64645895',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929737&docid=64645890&x=3029',
		'title': '',
		'imageId': '64645890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929737&docid=64645892&x=3029',
		'title': '',
		'imageId': '64645892',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929737&docid=64645893&x=3029',
		'title': '',
		'imageId': '64645893',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929737&docid=64645891&x=3029',
		'title': '',
		'imageId': '64645891',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929737&docid=64645894&x=3029',
		'title': '',
		'imageId': '64645894',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929737&docid=64646075&x=3029',
		'title': '',
		'imageId': '64646075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929737&docid=66898359&x=3029',
		'title': '',
		'imageId': '66898359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3929737';

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