var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3998641&docid=69667965&x=1117',
		'title': '',
		'imageId': '69667965',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998641&docid=69667966&x=1117',
		'title': '',
		'imageId': '69667966',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998641&docid=69667970&x=1117',
		'title': '',
		'imageId': '69667970',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998641&docid=69667969&x=1117',
		'title': '',
		'imageId': '69667969',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998641&docid=69667973&x=1117',
		'title': '',
		'imageId': '69667973',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998641&docid=69667981&x=1117',
		'title': '',
		'imageId': '69667981',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998641&docid=69667980&x=1117',
		'title': '',
		'imageId': '69667980',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998641&docid=69667982&x=1117',
		'title': '',
		'imageId': '69667982',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998641&docid=69667967&x=1117',
		'title': '',
		'imageId': '69667967',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998641&docid=69667968&x=1117',
		'title': '',
		'imageId': '69667968',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3998641';

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