var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008761&docid=69929411&x=2121',
		'title': '',
		'imageId': '69929411',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008761&docid=69929393&x=2121',
		'title': '',
		'imageId': '69929393',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008761&docid=69929809&x=2121',
		'title': '',
		'imageId': '69929809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008761&docid=69929686&x=2121',
		'title': '',
		'imageId': '69929686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008761&docid=69929677&x=2121',
		'title': '',
		'imageId': '69929677',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008761&docid=69929389&x=2121',
		'title': '',
		'imageId': '69929389',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008761&docid=69929398&x=2121',
		'title': '',
		'imageId': '69929398',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008761&docid=69929399&x=2121',
		'title': '',
		'imageId': '69929399',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008761&docid=69929400&x=2121',
		'title': '',
		'imageId': '69929400',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008761&docid=69929402&x=2121',
		'title': '',
		'imageId': '69929402',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008761&docid=69929407&x=2121',
		'title': '',
		'imageId': '69929407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008761&docid=69929408&x=2121',
		'title': '',
		'imageId': '69929408',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008761';

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