var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3946481&docid=66191135&x=636',
		'title': '',
		'imageId': '66191135',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946481&docid=66191136&x=636',
		'title': '',
		'imageId': '66191136',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946481&docid=66191137&x=636',
		'title': '',
		'imageId': '66191137',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946481&docid=66191138&x=636',
		'title': '',
		'imageId': '66191138',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946481&docid=66191139&x=636',
		'title': '',
		'imageId': '66191139',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946481&docid=66191140&x=636',
		'title': '',
		'imageId': '66191140',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946481&docid=66191141&x=636',
		'title': '',
		'imageId': '66191141',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946481&docid=66191142&x=636',
		'title': '',
		'imageId': '66191142',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946481&docid=66191143&x=636',
		'title': '',
		'imageId': '66191143',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946481&docid=66191144&x=636',
		'title': '',
		'imageId': '66191144',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946481&docid=66191145&x=636',
		'title': '',
		'imageId': '66191145',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946481&docid=66191146&x=636',
		'title': '',
		'imageId': '66191146',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3946481';

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