var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3911525&docid=67678748&x=3950',
		'title': '',
		'imageId': '67678748',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911525&docid=67678742&x=3950',
		'title': '',
		'imageId': '67678742',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911525&docid=67678752&x=3950',
		'title': '',
		'imageId': '67678752',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911525&docid=67678745&x=3950',
		'title': '',
		'imageId': '67678745',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911525&docid=67678743&x=3950',
		'title': '',
		'imageId': '67678743',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911525&docid=67678741&x=3950',
		'title': '',
		'imageId': '67678741',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911525&docid=67678744&x=3950',
		'title': '',
		'imageId': '67678744',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911525&docid=67678747&x=3950',
		'title': '',
		'imageId': '67678747',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911525&docid=67678749&x=3950',
		'title': '',
		'imageId': '67678749',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911525&docid=67678750&x=3950',
		'title': '',
		'imageId': '67678750',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3911525&docid=67678746&x=3950',
		'title': '',
		'imageId': '67678746',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3911525';

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