var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3982239&docid=69310800&x=4345',
		'title': '',
		'imageId': '69310800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982239&docid=69310801&x=4345',
		'title': '',
		'imageId': '69310801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982239&docid=69310802&x=4345',
		'title': '',
		'imageId': '69310802',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982239&docid=69310803&x=4345',
		'title': '',
		'imageId': '69310803',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982239&docid=69310804&x=4345',
		'title': '',
		'imageId': '69310804',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982239&docid=69310805&x=4345',
		'title': '',
		'imageId': '69310805',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982239&docid=69310806&x=4345',
		'title': '',
		'imageId': '69310806',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3982239';

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