var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3950790&docid=68603935&x=5530',
		'title': '',
		'imageId': '68603935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950790&docid=68603936&x=5530',
		'title': '',
		'imageId': '68603936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950790&docid=68603937&x=5530',
		'title': '',
		'imageId': '68603937',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950790&docid=68603938&x=5530',
		'title': '',
		'imageId': '68603938',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950790&docid=68603939&x=5530',
		'title': '',
		'imageId': '68603939',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950790&docid=68603940&x=5530',
		'title': '',
		'imageId': '68603940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950790&docid=68603941&x=5530',
		'title': '',
		'imageId': '68603941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950790&docid=68603942&x=5530',
		'title': '',
		'imageId': '68603942',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950790&docid=68603943&x=5530',
		'title': '',
		'imageId': '68603943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950790&docid=68603944&x=5530',
		'title': '',
		'imageId': '68603944',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950790&docid=68603945&x=5530',
		'title': '',
		'imageId': '68603945',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950790&docid=68603946&x=5530',
		'title': '',
		'imageId': '68603946',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3950790';

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