var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3900716&docid=67416974&x=348',
		'title': '',
		'imageId': '67416974',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900716&docid=67416975&x=348',
		'title': '',
		'imageId': '67416975',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900716&docid=67416976&x=348',
		'title': '',
		'imageId': '67416976',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900716&docid=67416977&x=348',
		'title': '',
		'imageId': '67416977',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900716&docid=67416978&x=348',
		'title': '',
		'imageId': '67416978',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900716&docid=67416979&x=348',
		'title': '',
		'imageId': '67416979',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900716&docid=67416980&x=348',
		'title': '',
		'imageId': '67416980',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900716&docid=67416981&x=348',
		'title': '',
		'imageId': '67416981',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900716&docid=67416982&x=348',
		'title': '',
		'imageId': '67416982',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900716&docid=67416983&x=348',
		'title': '',
		'imageId': '67416983',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900716&docid=67416984&x=348',
		'title': '',
		'imageId': '67416984',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900716&docid=67416985&x=348',
		'title': '',
		'imageId': '67416985',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3900716';

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