var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3929557&docid=68120448&x=315',
		'title': '',
		'imageId': '68120448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929557&docid=68120453&x=315',
		'title': '',
		'imageId': '68120453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929557&docid=68120455&x=315',
		'title': '',
		'imageId': '68120455',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929557&docid=68120446&x=315',
		'title': '',
		'imageId': '68120446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929557&docid=68120450&x=315',
		'title': '',
		'imageId': '68120450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929557&docid=68120451&x=315',
		'title': '',
		'imageId': '68120451',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929557&docid=68120449&x=315',
		'title': '',
		'imageId': '68120449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929557&docid=68120456&x=315',
		'title': '',
		'imageId': '68120456',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929557&docid=68120454&x=315',
		'title': '',
		'imageId': '68120454',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929557&docid=68120447&x=315',
		'title': '',
		'imageId': '68120447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929557&docid=68120452&x=315',
		'title': '',
		'imageId': '68120452',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3929557';

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