var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4004640&docid=69826884&x=166',
		'title': '',
		'imageId': '69826884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004640&docid=69826885&x=166',
		'title': '',
		'imageId': '69826885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004640&docid=69826886&x=166',
		'title': '',
		'imageId': '69826886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004640&docid=69826887&x=166',
		'title': '',
		'imageId': '69826887',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004640&docid=69826888&x=166',
		'title': '',
		'imageId': '69826888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004640&docid=69826889&x=166',
		'title': '',
		'imageId': '69826889',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004640&docid=69826890&x=166',
		'title': '',
		'imageId': '69826890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004640&docid=69826891&x=166',
		'title': '',
		'imageId': '69826891',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004640&docid=69826892&x=166',
		'title': '',
		'imageId': '69826892',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004640&docid=69826893&x=166',
		'title': '',
		'imageId': '69826893',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004640&docid=69826894&x=166',
		'title': '',
		'imageId': '69826894',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4004640';

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