var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008291&docid=69547329&x=331',
		'title': '',
		'imageId': '69547329',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008291&docid=69547330&x=331',
		'title': '',
		'imageId': '69547330',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008291&docid=69547333&x=331',
		'title': '',
		'imageId': '69547333',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008291&docid=69547336&x=331',
		'title': '',
		'imageId': '69547336',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008291&docid=69547339&x=331',
		'title': '',
		'imageId': '69547339',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008291&docid=69547352&x=331',
		'title': '',
		'imageId': '69547352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008291&docid=69547357&x=331',
		'title': '',
		'imageId': '69547357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008291&docid=69547359&x=331',
		'title': '',
		'imageId': '69547359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008291&docid=69547361&x=331',
		'title': '',
		'imageId': '69547361',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008291&docid=69547366&x=331',
		'title': '',
		'imageId': '69547366',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008291&docid=69547367&x=331',
		'title': '',
		'imageId': '69547367',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008291';

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