var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3913603&docid=67727983&x=4521',
		'title': '',
		'imageId': '67727983',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913603&docid=67727984&x=4521',
		'title': '',
		'imageId': '67727984',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913603&docid=67727985&x=4521',
		'title': '',
		'imageId': '67727985',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913603&docid=67727986&x=4521',
		'title': '',
		'imageId': '67727986',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913603&docid=67727987&x=4521',
		'title': '',
		'imageId': '67727987',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913603&docid=67727988&x=4521',
		'title': '',
		'imageId': '67727988',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913603&docid=67727989&x=4521',
		'title': '',
		'imageId': '67727989',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913603&docid=67727990&x=4521',
		'title': '',
		'imageId': '67727990',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913603&docid=67727991&x=4521',
		'title': '',
		'imageId': '67727991',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913603&docid=67727993&x=4521',
		'title': '',
		'imageId': '67727993',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913603&docid=67727992&x=4521',
		'title': '',
		'imageId': '67727992',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3913603';

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