var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975018&docid=69146034&x=3111',
		'title': '',
		'imageId': '69146034',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975018&docid=69146033&x=3111',
		'title': '',
		'imageId': '69146033',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975018&docid=69146047&x=3111',
		'title': '',
		'imageId': '69146047',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975018&docid=69146039&x=3111',
		'title': '',
		'imageId': '69146039',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975018&docid=69146040&x=3111',
		'title': '',
		'imageId': '69146040',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975018&docid=69146029&x=3111',
		'title': '',
		'imageId': '69146029',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975018&docid=69146030&x=3111',
		'title': '',
		'imageId': '69146030',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975018&docid=69146031&x=3111',
		'title': '',
		'imageId': '69146031',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975018&docid=69146032&x=3111',
		'title': '',
		'imageId': '69146032',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975018&docid=69146045&x=3111',
		'title': '',
		'imageId': '69146045',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975018';

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