var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4032789&docid=70527635&x=2957',
		'title': '',
		'imageId': '70527635',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032789&docid=70527636&x=2957',
		'title': '',
		'imageId': '70527636',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032789&docid=70527637&x=2957',
		'title': '',
		'imageId': '70527637',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032789&docid=70527638&x=2957',
		'title': '',
		'imageId': '70527638',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032789&docid=70527643&x=2957',
		'title': '',
		'imageId': '70527643',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032789&docid=70527646&x=2957',
		'title': '',
		'imageId': '70527646',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032789&docid=70527650&x=2957',
		'title': '',
		'imageId': '70527650',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032789&docid=70527654&x=2957',
		'title': '',
		'imageId': '70527654',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032789&docid=70527656&x=2957',
		'title': '',
		'imageId': '70527656',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032789&docid=70527661&x=2957',
		'title': '',
		'imageId': '70527661',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032789&docid=70527662&x=2957',
		'title': '',
		'imageId': '70527662',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032789&docid=70527665&x=2957',
		'title': '',
		'imageId': '70527665',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4032789';

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